Objective: To separate management traffic from data/customer traffic in your Cisco XR routers.
Preferably, Data and Management are into 2 separate network domains.
Pre-requisite:
UTP cables (for each RSP management port in case for switchover) are connected to a network switch to access the OOB management gateway
* * Management IP Configuration* *
1. Configure the vrf for management
vrf management
description VRF for Out-of-Band
address-family ipv4 unicast
2. Set the physical IP address on each RSP management port. There are total of 2 ports per RSP. For this example, we will use port 0
RSP0:
interface MgmtEth0/RSP0/CPU0/0
description OOB RSP0
vrf management
ipv4 address 10.10.10.100 255.255.255.0
no shutdown
RSP1:
interface MgmtEth0/RSP1/CPU0/0
description OOB RSP1
vrf management
ipv4 address 10.10.10.101 255.255.255.0
no shutdown
ipv4 virtual address vrf management 10.10.10.102/24ipv4 virtual address use-as-src-addr
router static vrf management address-family ipv4 unicast 0.0.0.0/0 10.10.10.1
control-planemanagement-planeout-of-bandinterface MgmtEth0/RSP0/CPU0/0allow SSH peeraddress ipv4 10.20.20.20interface MgmtEth0/RSP1/CPU0/0allow SSH peeraddress ipv4 10.20.20.20
line defaultaccess-class ingress SSH-ACLipv4 access-list SSH-ACL10 permit ipv4 host 10.20.20.2020 deny ipv4 any any log
SNMP Trap Server = 10.30.30.30
SNMP Community = MyP0llingP455
control-planemanagement-plane
out-of-bandinterface MgmtEth0/RSP0/CPU0/0allow SNMP peeraddress ipv4 10.20.20.20interface MgmtEth0/RSP1/CPU0/0allow SNMP peeraddress ipv4 10.20.20.20
ipv4 access-list SNMP-ACL10 permit ipv4 host 10.20.20.20 anysnmp-server vrf managementsnmp-server community MyP0llingP455 RO SystemOwner IPv4 SNMP-ACL
snmp-server host 10.30.30.30 traps trapcommunity123
logging 10.50.50.50 vrf management severity notifications
ntp
server vrf management 10.40.40.40
ntpaccess-group vrf management ipv4 peer ALLOW-NTP-SERVERSaccess-group vrf management ipv4 serve BLOCK-NTPaccess-group vrf management ipv4 serve-only BLOCK-NTPaccess-group vrf management ipv4 query-only BLOCK-NTP
ipv4 access-list ALLOW-NTP-SERVERS10 permit ipv4 host 10.40.40.40 anyipv4 access-list BLOCK-NTP10 deny ipv4 any any
aaa group server tacacs+ TACACS
aaa group server tacacs+ TACACS vrf managementaaa group server tacacs+ TACACS server-private 10.55.55.56aaa group server tacacs+ TACACS server-private 10.55.55.57
aaa group server tacacs+ TACACSvrf managementserver-private 10.55.55.56 port 49key 7 071B204F711918160405041E006A!server-private 10.55.55.57 port 49key 7 09584F0A26151601181B0B382F64
ftp client vrf management username ftpuser1ftp client vrf management password clear ftppassword1
[…] Related link –> Out of Band (OOB) Management Configuration in Cisco IOS-XR (SSH,SNMP,NTP,AAA,Syslog) […]