We are using a nexus switch as a Neighbour of BL
We will be creating neighborship with routed interface as well as through Vlan (SVI)
Routed Port
Configuration from Nexus
Let's take interface ethernet 1/14 as routed interface
A) Create vrf "ospf"
vrf context ospf
router ospf 1
B) Configure interface 14
interface Ethernet1/14 (It is connected to Leaf3 port 14)
no switchport
vrf member ospf
ip address 60.60.60.2/30 → P2P
ip ospf network point-to-point --> It must match with OSPF interface policy
ip ospf mtu-ignore --> It must match with OSPF interface policy
ip router ospf 1 area 0.0.0.0
no shutdown
On ACI Side
n9k# show ip ospf neighbors vrf ospf
OSPF Process ID 1 VRF ospf
Total number of neighbors: 1
Neighbor ID Pri State Up Time Address Interface
60.60.60.60 1 FULL/ - 11:05:08 60.60.60.1 Eth1/14
2. Now let's create neighborship of ospf with vlan interface
A) Create vrf & vlan
vrf context OSPF_61
router ospf 1
vlan 61 --> vlan created
B) Configure interface
interface Vlan61
no shutdown
vrf member OSPF_61
ip address 61.61.61.2/30
ip ospf network point-to-point
ip ospf mtu-ignore
ip router ospf 1 area 0.0.0.1 --> Area 0
vrf context OSPF_62
router ospf 1
vlan 62 --> vlan created
interface Vlan62
no shutdown
vrf member OSPF_62
ip address 62.62.62.2/30
ip ospf network point-to-point
ip ospf mtu-ignore
ip router ospf 1 area 0.0.0.2 --> Area 2
Configure interface to allow Vlan to pass to ACI
interface Ethernet1/15
switchport mode trunk
switchport trunk allowed vlan 61-62 → OSPF Neighbourship through vlans (SVI)
n9k# show ip ospf neighbors vrf OSPF_61
OSPF Process ID 1 VRF OSPF_61
Total number of neighbors: 1
Neighbor ID Pri State Up Time Address Interface
60.60.60.60 1 FULL/ - 10:31:48 61.61.61.1 Vlan61
n9k# show ip ospf neighbors vrf OSPF_62
OSPF Process ID 1 VRF OSPF_62
Total number of neighbors: 1
Neighbor ID Pri State Up Time Address Interface
60.60.60.60 1 FULL/ - 10:30:21 62.62.62.1 Vlan62
------------------------------------------------------------------------------------------------------------------------------
BGP Node Profile --Click → Will show option to enable BGP Protocol Profile.
------------------------------------------------------------------------------------------------------------------------------
Encap vlan PI Vlan
61 1
62 2
leaf3# show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 poc:poc-vrf:l3out- active Eth1/15
POC_OSPF_Sw3_Eth15:vlan-61 —-------------> Encap vlan is 61 and is mapped with PI vlan 1
2 poc:poc-vrf:l3out- active Eth1/15
POC_OSPF_Sw3_Eth15_A2:vlan-62 —---------> Encap vlan is 62 and is mapped with PI vlan 2
-------------------------------------------------------------------------------------------------------------------------------
Logical Interface Profile will show the configuration of ip address and path (LF and port)
-------------------------------------------------------------------------------------------------------------------------------
Peer Ip Address and connection status
Logical Node Profile ---> Configured Nodes
------------------------------------------------------------------------------------------------------------------------------
BGP
Create vrf "BGP1" & vlan 63
interface Vlan63
no shutdown
vrf member BGP1
ip address 63.63.63.2/30
router bgp 65004
vrf BGP1
address-family ipv4 unicast
network 63.63.63.0/30
neighbor 63.63.63.1
remote-as 65001
update-source Vlan63
ebgp-multihop 2
address-family ipv4 unicast
interface Ethernet1/18
switchport mode trunk
switchport trunk allowed vlan 63
n9k# show lldp nei int eth1/18
Device ID Local Intf Hold-time Capability Port ID
leaf4 Eth1/18 120 BR Eth1/13
leaf4# show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
19 poc:poc-vrf:l3out- active Eth1/13
BGP_LF4_13_63:vlan-63
20 poc:poc-vrf:l3out- active Eth1/13
BGP_LF4_13_64:vlan-64
Endpoint Creation with Vlan interface (SVI on ACI)
Create BD with subnet
Create vlan & then vlan interface
Vlan 93
interface Vlan93
no shutdown
ip address 222.222.221.2/24
vlan 96
interface Vlan96
no shutdown
ip address 222.222.222.2/24
interface Ethernet1/12
switchport mode trunk
switchport trunk allowed vlan 93,96 → EP through Vlan
n9k# show lldp nei int eth1/12
Device ID Local Intf Hold-time Capability Port ID
leaf3 Eth1/12 120 BR Eth1/12
Note: Since here There is no real host. So, we need to put vlan in VRF and put default Gateway towards ACI.
Comments