10-26-2022 07:39 AM
HI ,
I am unable to find an OSPF neighbor in the underlay network. please let us know where exactly the issue in the configuration
spain1 (nx95) - leaf1 (nx97) and leaf2 (nx98) - no OSPF neighbor
spain2 nx(96)- leaf1 (nx 97) no OSPF neighbor
spain2 nx(96)- leaf2 (nx 98)-- yes I can see the OSPF neighbor
spain1 (nx95)
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay
username admin password 5 $5$FJEyg7xf$MkDh/wy8XYwEsG8OUWtKIogmrpXTBqvl8WpTwlUwGk
9 role network-admin
ip domain-lookup
copp profile strict
snmp-server user admin network-admin auth md5 0x635ca61261252ed6271300ee6abd607b
priv 0x635ca61261252ed6271300ee6abd607b localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO
ip pim rp-address 1.2.3.4 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 1.2.3.4 192.168.0.1
ip pim anycast-rp 1.2.3.4 192.168.0.2
vlan 1
vrf context management
interface Vlan1
interface Ethernet1/1
interface Ethernet1/2
interface Ethernet1/3
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/4
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
i
interface mgmt0
vrf member management
interface loopback0
description loopback
ip address 192.168.0.1/32
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
interface loopback1
ip address 1.2.3.4/32
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
line console
line vty
router ospf ospf_underlay_net
log-adjacency-changes
router bgp 65535
log-neighbor-changes
address-family ipv4 unicast
address-family l2vpn evpn
retain route-target all
template peer vxlan_leaf
remote-as 65535
update-source loopback0
address-family ipv4 unicast
send-community extended
route-reflector-client
soft-reconfiguration inbound
address-family l2vpn evpn
send-community
send-community extended
route-reflector-client
neighbor 192.168.0.3
inherit peer vxlan_leaf
neighbor 192.168.0.4
inherit peer vxlan_leaf
sapin1# sh ip ospf neighbors
spain2 (nx96)
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay
username admin password 5 $5$Q.5IqeRy$UjgPZQdBDhWMn6nfZBrcdA1SxdIhrSBndcf7tvyE43
7 role network-admin
ip domain-lookup
copp profile strict
snmp-server user admin network-admin auth md5 0xd1541476fefe5db29f423737342d029d
priv 0xd1541476fefe5db29f423737342d029d localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO
ip pim rp-address 1.2.3.4 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
ip pim anycast-rp 1.2.3.4 192.168.0.1
ip pim anycast-rp 1.2.3.4 192.168.0.2
vlan 1
vrf context management
interface Vlan1
interface Ethernet1/1
interface Ethernet1/2
interface Ethernet1/3
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/4
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
i
interface mgmt0
vrf member management
interface loopback0
description loopback
ip address 192.168.0.2/32
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
interface loopback1
ip address 1.2.3.4/32
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
line console
line vty
router ospf ospf_underlay_net
log-adjacency-changes
router bgp 65535
log-neighbor-changes
address-family ipv4 unicast
address-family l2vpn evpn
retain route-target all
template peer vxlan_leaf
remote-as 65535
update-source loopback0
address-family ipv4 unicast
send-community extended
route-reflector-client
soft-reconfiguration inbound
address-family l2vpn evpn
send-community
send-community extended
route-reflector-client
neighbor 192.168.0.3
inherit peer vxlan_leaf
neighbor 192.168.0.4
inherit peer vxlan_leaf
spain2# sh ip ospf neighbors
OSPF Process ID ospf_underlay_net VRF default
Total number of neighbors: 1
Neighbor ID Pri State Up Time Address Interface
192.168.0.4 1 FULL/ - 01:34:43 192.168.0.4 Eth1/4
leaf1 (nx97)
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay
username admin password 5 $5$Ssb26kUC$Fn2Jz4R6oGmKz0oUEk0mE0gowZu2eAvUeCwLCDUlGM
/ role network-admin
ip domain-lookup
copp profile strict
snmp-server user admin network-admin auth md5 0xb2b5091ed88d91b9f6da9f5130e35526
priv 0xb2b5091ed88d91b9f6da9f5130e35526 localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO
fabric forwarding anycast-gateway-mac 0000.0011.1234
ip pim rp-address 1.2.3.4 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
vlan 1,10,20
vlan 10
vn-segment 100010
vrf context management
interface Vlan1
interface Vlan10
no shutdown
ip address 10.10.1.254/24
fabric forwarding mode anycast-gateway
interface Vlan20
no shutdown
ip address 10.20.1.254/24
fabric forwarding mode anycast-gateway
interface Ethernet1/1
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/2
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/3
switchport access vlan 10
interface mgmt0
vrf member management
interface loopback0
description loopback
ip address 192.168.0.3/32
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
line console
line vty
router ospf ospf_underlay_net
log-adjacency-changes
router bgp 65535
log-neighbor-changes
address-family ipv4 unicast
address-family l2vpn evpn
template peer vxlan_spain
remote-as 65535
update-source loopback0
address-family ipv4 unicast
send-community extended
soft-reconfiguration inbound
address-family l2vpn evpn
send-community
send-community extended
neighbor 192.168.0.1
inherit peer vxlan_spain
neighbor 192.168.0.2
inherit peer vxlan_spain
evpn
vni 100010 l2
rd auto
route-target import auto
route-target export auto
vni 100020 l2
rd auto
route-target import auto
route-target export auto
leaf1(config-if)# sh ip osp neighbors
leaf2 (nx98)
nv overlay evpn
feature ospf
feature bgp
feature pim
feature fabric forwarding
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay
username admin password 5 $5$ulFAd/xM$aDD8rHS.BFfAdEvLUL/VpI.KkPZBmw3h0b61AzMEMK
9 role network-admin
ip domain-lookup
copp profile strict
snmp-server user admin network-admin auth md5 0xb579c27a590f699e304ab015dabcdae0
priv 0xb579c27a590f699e304ab015dabcdae0 localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO
fabric forwarding anycast-gateway-mac 0000.0011.1234
ip pim rp-address 1.2.3.4 group-list 224.0.0.0/4
ip pim ssm range 232.0.0.0/8
vlan 1,10,20
vlan 10
vn-segment 100010
vrf context management
interface Vlan1
interface Vlan10
no shutdown
ip address 10.10.1.254/24
fabric forwarding mode anycast-gateway
interface Vlan20
no shutdown
ip address 10.20.1.254/24
fabric forwarding mode anycast-gateway
interface Ethernet1/1
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
interface Ethernet1/2
no switchport
mtu 9216
medium p2p
ip unnumbered loopback0
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
no shutdown
interface mgmt0
vrf member management
interface loopback0
description loopback
ip address 192.168.0.4/32
ip router ospf ospf_underlay_net area 0.0.0.0
ip pim sparse-mode
line console
line vty
router ospf ospf_underlay_net
log-adjacency-changes
router bgp 65535
log-neighbor-changes
address-family ipv4 unicast
address-family l2vpn evpn
template peer vxlan_spain
remote-as 65535
update-source loopback0
address-family ipv4 unicast
send-community extended
soft-reconfiguration inbound
address-family l2vpn evpn
send-community
send-community extended
neighbor 192.168.0.1
inherit peer vxlan_spain
neighbor 192.168.0.2
inherit peer vxlan_spain
evpn
vni 100010 l2
rd auto
route-target import auto
route-target export auto
vni 100020 l2
rd auto
route-target import auto
route-target export auto
leaf2# sh ip ospf neighbors
OSPF Process ID ospf_underlay_net VRF default
Total number of neighbors: 1
Neighbor ID Pri State Up Time Address Interface
192.168.0.2 1 FULL/ - 01:40:39 192.168.0.2 Eth1/2
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