04-04-2017 04:21 PM
I see that regular IOS & NX-OS & ASR(IOS-XE) have different ways of setting out-of-band management interface.
Below is brief config.
I can ping my immediate default gw but can't ping anything outside of my vlan/subnet.
Help appreciated, thanks!
#################################################################################
#################################################################################
RP/0/RSP0/CPU0:ios#show run
Tue Apr 4 16:17:55.079 UTC
Building configuration...
!! IOS XR Configuration 5.3.3
!! Last configuration change at Tue Apr 4 15:58:22 2017 by admin
!
vrf mgmt
!
interface MgmtEth0/RSP0/CPU0/0
ipv4 address 10.7.0.38 255.255.255.0
!
interface MgmtEth0/RSP0/CPU0/1
shutdown
!
!
router static
address-family ipv4 unicast
0.0.0.0/8 10.7.0.1
!
vrf mgmt
address-family ipv4 unicast
0.0.0.0/0 10.7.0.1
!
06-12-2024 12:42 PM - edited 06-12-2024 12:43 PM
This is how I have mine setup:
vrf MGMT
description Management
address-family ipv4 unicast
import route-target
200:200
!
export route-target
200:200
!
interface MgmtEth0/RSP0/CPU0/0
description MGMT
vrf MGMT
ipv4 address 10.1.2.111 255.255.255.0
load-interval 30
!
router static
vrf MGMT
address-family ipv4 unicast
0.0.0.0/0 10.1.2.1
I just tested and this works.
06-12-2024 01:22 PM - edited 06-12-2024 01:24 PM
Hi @sendalot7 ,
The mgmt interface is in the global and the default route in the global is wrong (0.0.0.0/8 instead of 0.0.0.0/0), hence it is not working. The best thing would be to put the mgmt interface in the mgmt vrf. You already have the proper default static route in vrf mgmt.
interface MgmtEth0/RSP0/CPU0/0
vrf mgmt
ipv4 address 10.7.0.38 255.255.255.0
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide