#configure terminal | Enter Configure mode. |
(config)#interface po1 | Enter Interface mode for po1 |
(config-if)#switchport | Make it L2 interface |
(config-if)#evpn multi-homed system-mac 8899.4400.6745 | Configure system mac as ESI value for LAG (po1) interface |
(config-if)#exit | Exit Interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter Configure mode. |
(config)#interface xe41 | Enter Interface mode for xe41 |
(config-if)#switchport | Make it L2 interface |
(config-if)# evpn multi-homed esi 00:01:02:03:04:05:06:07:08 | Configure 9-octet ESI value for xe41 interface (in static config, out of 10-octet ESI value, first octet is reserved) |
(config-if)#exit | Exit Interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter Configure mode. |
(config)#hardware-profile filter vxlan enable | Enable hardware-profile filter for VXLAN. |
(config)#hardware-profile filter vxlan-mh enable | Enable hardware-profile filter for VXLAN multi-homing. |
(config)#hardware-profile filter egress-ipv4 enable | Enable hardware-profile filter for egress IPv4. |
(config)#evpn vxlan multihoming enable | Enable Multihoming, save configs and reboot the board for multihoming to be effective |
(config)#hardware-profile statistics ac-lif enable | Enable ac-lif for VxLAN access-if port counters |
(config)#qos enable | Enabling QoS |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#interface po1 | Enter Interface mode for po1 (MH1) |
(config-if)#switchport | Make it L2 interface |
(config-if)# evpn multi-homed system-mac 0000.0000.1111 | Configure system MAC as ESI value for LAG (po1) interface |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe9 | Enter Interface mode for xe9 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe10 | Enter Interface mode for xe10 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface lo | Enter Interface mode for lo |
(config-if)#ip address 1.1.1.1/32 secondary | Configure loopback ip address as 1.1.1.1 for VTEP1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe8 | Enter Interface mode for xe8 |
(config-if)#ip address 10.10.10.1/24 | Configure IP address as 10.10.10.1 on network side of Spine1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe31 | Enter Interface mode for xe31 |
(config-if)#ip address 20.20.20.1/24 | Configure IP address as 20.20.20.1 on network side of Spine2 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router ospf 100 | Enter into router OSPF mode |
(config-router)#ospf router-id 1.1.1.1 | Configure router-id as 1.1.1.1 (lo ip address) |
(config-router)#network 1.1.1.1/32 area 0.0.0.0 | Add 1.1.1.1 (lo IP address) network into area 0 |
(config-router)#network 10.10.10.0/24 area 0.0.0.0 | Add 10.10.10.0 (Spine1) network into area 0 |
(config-router)#network 20.20.20.0/24 area 0.0.0.0 | Add 20.20.20.0 (Spine2) network into area 0 |
(config-router)#bfd all-interfaces | Enabling BFD on all OSPF interface for fast convergence |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router bgp 500 | Enter into Router BGP mode |
(config-router)#bgp router-id 1.1.1.1 | Configure router-id as 1.1.1.1 (lo IP address) |
(config-router)#neighbor 2.2.2.2 remote-as 500 | Specify a VTEP2 loopback IP address and remote-as defined |
(config-router)#neighbor 2.2.2.2 update-source lo | Configure update as loopback for VTEP2 |
(config-router)#neighbor 2.2.2.2 advertisement-interval 0 | Configure advertisement-interval as 0 for fast convergence for VTEP2 |
(config-router)#neighbor 3.3.3.3 remote-as 500 | Specify a VTEP3 loopback IP address and remote-as defined |
(config-router)#neighbor 3.3.3.3 update-source lo | Configure update as loopback for VTEP3 |
(config-router)#neighbor 3.3.3.3 advertisement-interval 0 | Configure advertisement-interval as 0 for fast convergence for VTEP3 |
(config-router)#address-family ipv4 unicast | Enter into ipv4 unicast address family mode |
(config-router-af)#network 1.1.1.1/32 | Advertise loopback network into BGP for VTEP ID reachability |
(config-router-af)#neighbor 2.2.2.2 activate | Activate 2.2.2.2 (VTEP2) into ipv4 unicast address family mode |
(config-router-af)#neighbor 3.3.3.3 activate | Activate 3.3.3.3 (VTEP2) into ipv4 unicast address family mode |
(config-router-af)#exit-address-family | Exit from ipv4 unicast address family mode |
(config-router)#address-family l2vpn evpn | Enter into L2VPN EVPN address family mode |
(config-router-af)#neighbor 2.2.2.2 activate | Activate 2.2.2.2 (VTEP2) into L2VPN evpn address family mode |
(config-router-af)#neighbor 3.3.3.3 activate | Activate 3.3.3.3 (VTEP3) into L2VPN evpn address family mode |
(config-router-af)#exit-address-family | Exit from L2VPN address family mode |
(config-router)#exit | Exit from Router BGP mode and enter into config mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#mac vrf VRF1 | Create mac routing/forwarding instance with VRF1 name and enter into VRF mode |
(config-vrf)#rd 1.1.1.1:11 | Assign RD value |
(config-vrf)#route-target both 9.9.9.9:100 | Assign route-target value for same for import and export. Should be same on all node for VRF1 |
(config-vrf)#exit | Exit from VRF mode |
(config)#mac vrf VRF2 | Create MAC routing/forwarding instance with VRF1 name and enter into VRF mode |
(config-vrf)#rd 1.1.1.1:21 | Assign RD value |
(config-vrf)#route-target both 90.90.90.90:100 | Assign route-target value for same for import and export |
(config-vrf)#exit | Exit from VRF mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#nvo vxlan enable | Enable VxLAN |
(config)#evpn esi hold-time 60 | Configure ESI hold time to allow tunnel to come up at the time of VxLAN initialization before making the ESI up |
(config)#nvo vxlan vtep-ip-global 1.1.1.1 | Configure Source VTEP-IP-global configuration |
(config)#nvo vxlan id 10 ingress-replication inner-vid-disabled | Configure VxLAN Network identifier with/without inner-VID- disabled configure and enter into VxLAN tenant mode |
(config-nvo)#vxlan host-reachability-protocol evpn-bgp VRF1 | Assign VRF for EVPN-BGP to carry EVPN route |
(config-nvo)#vni-name VNI-RED | Configure VNI-name as VNI-RED |
(config-nvo)#exit | Exit from VxLAN tenant mode and enter into configuration mode. |
(config)#nvo vxlan id 20 ingress-replication inner-vid-disabled | Configure VxLAN Network identifier with/without inner-VID- disabled configure and enter into VxLAN tenant mode |
(config-nvo)#vxlan host-reachability-protocol evpn-bgp VRF2 | Assign VRF for EVPN-BGP to carry EVPN route |
(config-nvo)#vni-name VNI-BLUE | Configure VNI-name as VNI-BLUE |
(config-nvo)#exit | Exit from VxLAN tenant mode and enter into configuration mode. |
(config)#nvo vxlan access-if port-vlan po1 1001 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-RED | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#nvo vxlan access-if port-vlan po1 1002 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-RED | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#nvo vxlan access-if port-vlan po1 3001 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-BLUE | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit from configuration mode |
#configure terminal | Enter Configure mode. |
(config)#hardware-profile filter vxlan enable | Enable hardware-profile filter for VxLAN. |
(config)#hardware-profile filter vxlan-mh enable | Enable hardware-profile filter for VxLAN multi-homing. |
(config)#hardware-profile filter egress-ipv4 enable | Enable hardware-profile filter for egress IPv4. |
(config)#evpn vxlan multihoming enable | Enable Multihoming, save configs and reboot the board for multihoming to be effective |
(config)#hardware-profile statistics ac-lif enable | Enable ac-lif for VxLAN access-if port counters |
(config)#qos enable | Enabling QoS |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#interface po1 | Enter Interface mode for po1 (MH1) |
(config-if)#switchport | Make it L2 interface |
(config-if)# evpn multi-homed system-mac 0000.0000.1111 | Configure system MAC as ESI value for LAG (po1) interface |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe3 | Enter Interface mode for xe3 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe4 | Enter Interface mode for xe4 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe32 | Enter Interface mode for xe32 (SH2) |
(config-if)#switchport | Make it L2 interface |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface lo | Enter Interface mode for lo |
(config-if)#ip address 2.2.2.2/32 secondary | Configure loopback IP address as 2.2.2.2 for VTEP2 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe21 | Enter Interface mode for xe21 |
(config-if)#ip address 30.30.30.1/24 | Configure IP address as 30.30.30.1 on network side of Spine1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface ce53 | Enter Interface mode for ce53 |
(config-if)#ip address 40.40.40.1/24 | Configure IP address as 40.40.40.1 on network side of Spine2 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router ospf 100 | Enter into router OSPF mode |
(config-router)#ospf router-id 2.2.2.2 | Configure router-id as 2.2.2.2 (lo IP address) |
(config-router)#network 2.2.2.2/32 area 0.0.0.0 | Add 2.2.2.2 (lo IP address) network into area 0 |
(config-router)#network 30.30.30.0/24 area 0.0.0.0 | Add 30.30.30.0 (Spine1) network into area 0 |
(config-router)#network 40.40.40.0/24 area 0.0.0.0 | Add 40.40.40.0 (Spine2) network into area 0 |
(config-router)#bfd all-interfaces | Enabling BFD on all OSPF interface for fast convergence |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router bgp 500 | Enter into Router BGP mode |
(config-router)#bgp router-id 2.2.2.2 | Configure router-id as 2.2.2.2 (lo IP address) |
(config-router)#neighbor 1.1.1.1 remote-as 500 | Specify a VTEP1 loopback IP address and remote-as defined |
(config-router)#neighbor 1.1.1.1 update-source lo | Configure update as loopback for VTEP1 |
(config-router)#neighbor 1.1.1.1 advertisement-interval 0 | Configure advertisement-interval as 0 for fast convergence for VTEP1 |
(config-router)#neighbor 3.3.3.3 remote-as 500 | Specify a VTEP3 loopback IP address and remote-as defined |
(config-router)#neighbor 3.3.3.3 update-source lo | Configure update as loopback for VTEP3 |
(config-router)#neighbor 3.3.3.3 advertisement-interval 0 | Configure advertisement-interval as 0 for fast convergence for VTEP3 |
(config-router)#address-family ipv4 unicast | Enter into ipv4 unicast address family mode |
(config-router-af)#network 2.2.2.2/32 | Advertise loopback network into BGP for VTEP ID reachability |
(config-router-af)#neighbor 1.1.1.1 activate | Activate 1.1.1.1 (VTEP2) into ipv4 unicast address family mode |
(config-router-af)#neighbor 3.3.3.3 activate | Activate 3.3.3.3 (VTEP2) into ipv4 unicast address family mode |
(config-router-af)#exit-address-family | Exit from ipv4 unicast address family mode |
(config-router)#address-family l2vpn evpn | Enter into L2VPN EVPN address family mode |
(config-router-af)#neighbor 1.1.1.1 activate | Activate 1.1.1.1(VTEP1) into L2VPN evpn address family mode |
(config-router-af)#neighbor 3.3.3.3 activate | Activate 3.3.3.3(VTEP3) into L2VPN evpn address family mode |
(config-router-af)#exit-address-family | Exit from L2VPN address family mode |
(config-router)#exit | Exit from Router BGP mode and enter into config mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)# mac vrf VRF1 | Create mac routing/forwarding instance with VRF1 name and enter into VRF mode |
(config-vrf)#rd 2.2.2.2:11 | Assign RD value |
(config-vrf)#route-target both 9.9.9.9:100 | Assign route-target value for same for import and export. Should be same on all node for VRF1 |
(config-vrf)#exit | Exit from VRF mode |
(config)#mac vrf VRF2 | Create MAC routing/forwarding instance with VRF1 name and enter into VRF mode |
(config-vrf)#rd 2.2.2.2:21 | Assign RD value |
(config-vrf)#route-target both 90.90.90.90:100 | Assign route-target value for same for import and export |
(config-vrf)#exit | Exit from VRF mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#nvo vxlan enable | Enable VxLAN |
(config)#evpn esi hold-time 60 | Configure ESI hold time to allow tunnel to come up at the time of VxLAN initialization before making the ESI up |
(config)#nvo vxlan vtep-ip-global 2.2.2.2 | Configure Source VTEP-IP-global configuration |
(config)#nvo vxlan id 10 ingress-replication inner-vid-disabled | Configure VxLAN Network identifier with/without inner-VID- disabled configure and enter into VxLAN tenant mode |
(config-nvo)#vxlan host-reachability-protocol evpn-bgp VRF1 | Assign VRF for EVPN-BGP to carry EVPN route |
(config-nvo)#vni-name VNI-RED | Configure VNI-name as VNI-RED |
(config-nvo)#exit | Exit from VxLAN tenant mode and enter into configuration mode. |
(config)#nvo vxlan id 20 ingress-replication inner-vid-disabled | Configure VxLAN Network identifier with/without inner-VID- disabled configure and enter into VxLAN tenant mode |
(config-nvo)#vxlan host-reachability-protocol evpn-bgp VRF2 | Assign VRF for EVPN-BGP to carry EVPN route |
(config-nvo)#vni-name VNI-BLUE | Configure VNI-name as VNI-BLUE |
(config-nvo)#exit | Exit from VxLAN tenant mode and enter into configuration mode. |
(config)#nvo vxlan access-if port-vlan po1 1001 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-RED | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#nvo vxlan access-if port-vlan po1 1002 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-RED | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VXLAN access-interface mode and enter into configuration mode |
(config)#nvo vxlan access-if port-vlan po1 3001 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-BLUE | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#nvo vxlan access-if port xe32 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-RED | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#exit | Exit from configuration mode |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter Configure mode. |
(config)#hardware-profile filter vxlan enable | Enable hardware-profile filter for VxLAN. |
(config)#hardware-profile filter vxlan-mh enable | Enable hardware-profile filter for VxLAN multi-homing. |
(config)#hardware-profile filter egress-ipv4 enable | Enable hardware-profile filter for egress IPv4. |
(config)#evpn vxlan multihoming enable | Enable Multihoming, save configs and reboot the board for multihoming to be effective |
(config)#hardware-profile statistics ac-lif enable | Enable ac-lif for VxLAN access-if port counters |
(config)#qos enable | Enabling QoS |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#interface xe48 | Enter Interface mode for xe48 (SH3) |
(config-if)#switchport | Make it L2 interface |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface lo | Enter Interface mode for lo |
(config-if)#ip address 3.3.3.3/32 secondary | Configure loopback IP address as 3.3.3.3 for VTEP3 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe18 | Enter Interface mode for xe18 |
(config-if)#ip address 50.50.50.1/24 | Configure IP address as 50.50.50.1 on network side of Spine1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe19 | Enter Interface mode for xe19 |
(config-if)#ip address 60.60.60.1/24 | Configure IP address as 60.60.60.1 on network side of Spine2 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router ospf 100 | Enter into router OSPF mode |
(config-router)#ospf router-id 3.3.3.3 | Configure router-ID as 3.3.3.3 (lo IP address) |
(config-router)#network 3.3.3.3/32 area 0.0.0.0 | Add 3.3.3.3 (lo IP address) network into area 0 |
(config-router)#network 50.50.50.0/24 area 0.0.0.0 | Add 50.50.50.0 (Spine1) network into area 0 |
(config-router)#network 60.60.60.0/24 area 0.0.0.0 | Add 60.60.60.0 (Spine2) network into area 0 |
(config-router)#bfd all-interfaces | Enabling BFD on all OSPF interface for fast convergence |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router bgp 500 | Enter into Router BGP mode |
(config-router)#bgp router-id 3.3.3.3 | Configure router-ID as 3.3.3.3 (lo ip address) |
(config-router)#neighbor 1.1.1.1 remote-as 500 | Specify a VTEP1 loopback IP address and remote-as defined |
(config-router)#neighbor 1.1.1.1 update-source lo | Configure update as loopback for VTEP1 |
(config-router)#neighbor 1.1.1.1 advertisement-interval 0 | Configure advertisement-interval as 0 for fast convergence for VTEP1 |
(config-router)#neighbor 2.2.2.2 remote-as 500 | Specify a VTEP2 loopback IP address and remote-as defined |
(config-router)#neighbor 2.2.2.2 update-source lo | Configure update as loopback for VTEP2 |
(config-router)#neighbor 2.2.2.2 advertisement-interval 0 | Configure advertisement-interval as 0 for fast convergence for VTEP3 |
(config-router)#address-family ipv4 unicast | Enter into ipv4 unicast address family mode |
(config-router-af)#network 3.3.3.3/32 | Advertise loopback network into BGP for VTEP ID reachability |
(config-router-af)#neighbor 1.1.1.1 activate | Activate 1.1.1.1 (VTEP2) into ipv4 unicast address family mode |
(config-router-af)#neighbor 2.2.2.2 activate | Activate 2.2.2.2 (VTEP2) into ipv4 unicast address family mode |
(config-router-af)#exit-address-family | Exit from ipv4 unicast address family mode |
(config-router)#address-family l2vpn evpn | Enter into L2VPN EVPN address family mode |
(config-router-af)#neighbor 1.1.1.1 activate | Activate 1.1.1.1 (VTEP1) into L2VPN evpn address family mode |
(config-router-af)#neighbor 2.2.2.2 activate | Activate 2.2.2.2 (VTEP2) into L2VPN evpn address family mode |
(config-router-af)#exit-address-family | Exit from L2VPN address family mode |
(config-router)#exit | Exit from Router BGP mode and enter into config mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)# mac vrf VRF1 | Create MAC routing/forwarding instance with VRF1 name and enter into VRF mode |
(config-vrf)#rd 3.3.3.3:11 | Assign RD value |
(config-vrf)#route-target both 9.9.9.9:100 | Assign route-target value for same for import and export. Should be same on all node for VRF1 |
(config-vrf)#exit | Exit from VRF mode |
(config)#mac vrf VRF2 | Create MAC routing/forwarding instance with VRF2 name and enter into VRF mode |
(config-vrf)#rd 3.3.3.3:21 | Assign RD value |
(config-vrf)#route-target both 90.90.90.90:100 | Assign route-target value for same for import and export |
(config-vrf)#exit | Exit from VRF |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#nvo vxlan enable | Enable VxLAN |
(config)#nvo vxlan vtep-ip-global 3.3.3.3 | Configure Source VTEP-IP-global configuration |
(config)#nvo vxlan id 10 ingress-replication inner-vid-disabled | Configure VxLAN Network identifier with/without inner-VID- disabled configure and enter into VxLAN tenant mode |
(config-nvo)#vxlan host-reachability-protocol evpn-bgp VRF1 | Assign VRF for EVPN-BGP to carry EVPN route |
(config-nvo)#vni-name VNI-RED | Configure VNI-name as VNI-RED |
(config-nvo)#exit | Exit from VxLAN tenant mode and enter into configuration mode. |
(config)#nvo vxlan id 20 ingress-replication inner-vid-disabled | Configure VxLAN Network identifier with/without inner-VID- disabled configure and enter into VxLAN tenant mode |
(config-nvo)#vxlan host-reachability-protocol evpn-bgp VRF2 | Assign VRF for EVPN-BGP to carry EVPN route |
(config-nvo)#vni-name VNI-BLUE | Configure VNI-name as VNI-BLUE |
(config-nvo)#exit | Exit from VxLAN tenant mode and enter into configuration mode. |
(config)#nvo vxlan access-if port-vlan xe48 1001 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-RED | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#nvo vxlan access-if port-vlan xe48 1002 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-RED | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#nvo vxlan access-if port-vlan xe48 3001 | Enable port-VLAN mapping i.e. access port to outer-VLAN (SVLAN) - Multihomed access port |
(config-nvo-acc-if)#map vni-name VNI-BLUE | Map VxLAN Identified to access-port for VxLAN |
(config-nvo-acc-if)#exit | Exit from VxLAN access-interface mode and enter into configuration mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit from configuration mode |
#configure terminal | Enter Configure mode. |
(config)#bridge 1 protocol ieee vlan-bridge | Configure IEEE VLAN bridge |
(config)#vlan 1001-1002 bridge 1 state enable | Configure VLANs from 1001-1002 and associate with bridge 1 |
(config)#vlan 3001 bridge 1 state enable | Configure VLANs from 3001 and associate with bridge 1 |
(config)#interface xe22 | Enter Interface mode for xe22 |
(config-if)#switchport | Make xe22 as L2 port by configuring switchport |
(config-if)#bridge-group 1 | Associate xe22 to bridge 1 |
(config-if)#switchport mode hybrid | Configure xe22 as hybrid port |
(config-if)#switchport hybrid allowed vlan add 1001-1002,3001 egress-tagged enable | Allow 1001-1002 and 3001 configured VLANs on xe22 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface po1 | Enter Interface mode for po1 |
(config-if)#switchport | Make po1 as L2 port by configuring switchport |
(config-if)#bridge-group 1 | Associate po1 to bridge 1 |
(config-if)#switchport mode hybrid | Configure po1 as hybrid port |
(config-if)#switchport hybrid allowed vlan add 1001-1002,3001 egress-tagged enable | Allow 1001-1002 and 3001 configured VLANs on po1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe3 | Enter Interface mode for xe3 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe4 | Enter Interface mode for xe4 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config-if)#exit | Exit from configuration mode |
(config)#interface xe9 | Enter Interface mode for xe9 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config)#interface xe10 | Enter Interface mode for xe10 |
(config-if)#channel-group 1 mode active | Make it member port of po1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit from configuration mode |
#configure terminal | Enter Configure mode. |
(config)#qos enable | Enabling QoS |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#interface lo | Enter Interface mode for lo |
(config-if)#ip address 11.11.11.11/32 secondary | Configure loopback IP address as 11.11.11.11 for Spine1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe8 | Enter Interface mode for xe8 |
(config-if)#ip address 10.10.10.2/24 | Configure IP address as 10.10.10.2 on network side of VTEP1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe1 | Enter Interface mode for xe1 |
(config-if)#ip address 30.30.30.2/24 | Configure IP address as 30.30.30.2 on network side of VTEP2 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe18 | Enter Interface mode for xe18 |
(config-if)#ip address 50.50.50.2/24 | Configure IP address as 50.50.50.2 on network side of VTEP3 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router ospf 100 | Enter into router OSPF mode |
(config-router)#ospf router-id 11.11.11.11 | Configure router-ID as 11.11.11.11 (lo IP address) |
(config-router)#network 11.11.11.11/32 area 0.0.0.0 | Add 11.11.11.11 (lo IP address) network into area 0 |
(config-router)#network 10.10.10.0/24 area 0.0.0.0 | Add 10.10.10.0 (VTEP1) network into area 0 |
(config-router)#network 30.30.30.0/24 area 0.0.0.0 | Add 30.30.30.0 (VTEP2) network into area 0 |
(config-router)#network 50.50.50.0/24 area 0.0.0.0 | Add 50.50.50.0 (VTEP3) network into area 0 |
(config-router)#bfd all-interfaces | Enabling BFD on all OSPF interface for fast convergence |
(config-router)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter Configure mode. |
(config)#qos enable | Enabling QoS |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#interface lo | Enter Interface mode for lo |
(config-if)#ip address 22.22.22.22/32 secondary | Configure loopback IP address as 22.22.22.22 for Spine2 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe5 | Enter Interface mode for xe5 |
(config-if)#ip address 20.20.20.2/24 | Configure IP address as 20.20.20.2 on network side of VTEP1 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface ce0 | Enter Interface mode for ce0 |
(config-if)#ip address 40.40.40.2/24 | Configure IP address as 40.40.40.2 on network side of VTEP2 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#interface xe19 | Enter Interface mode for xe19 |
(config-if)#ip address 60.60.60.2/24 | Configure IP address as 60.60.60.2 on network side of VTEP3 |
(config-if)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#router ospf 100 | Enter into router OSPF mode |
(config-router)#ospf router-id 22.22.22.22 | Configure router-id as 11.11.11.11 (lo IP address) |
(config-router)#network 22.22.22.22/32 area 0.0.0.0 | Add 22.22.22.22 (lo IP address) network into area 0 |
(config-router)#network 20.20.20.0/24 area 0.0.0.0 | Add 20.20.20.0 (VTEP1) network into area 0 |
(config-router)#network 40.40.40.0/24 area 0.0.0.0 | Add 40.40.40.0 (VTEP2) network into area 0 |
(config-router)#network 60.60.60.0/24 area 0.0.0.0 | Add 60.60.60.0 (VTEP3) network into area 0 |
(config-router)#bfd all-interfaces | Enabling BFD on all OSPF interface for fast convergence |
(config-router)#exit | Exit Interface mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter Configure mode. |
(config)# nvo vxlan access-if port-vlan po1 1001 | Enter into VxLAN MH po1 access-port with VLAN 1001 |
(config-nvo-acc-if)#mac 0000.1111.1001 ip 11.11.10.1 | Configure static MAC IP |
(config-nvo-acc-if)#exit | Exit from VxLAN access-port config mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit from configuration mode |
#configure terminal | Enter Configure mode. |
(config)#nvo vxlan access-if port-vlan po1 1001 | Enter into VxLAN MH po1 access-port with vlan 1001 |
(config-nvo-acc-if)# mac 0000.1111.1001 ip 11.11.10.1 | Configure static MAC IP |
(config-nvo-acc-if)#exit | Exit from VxLAN access-port config mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit from configuration mode |
#configure terminal | Enter Configure mode. |
(config)# nvo vxlan access-if port-vlan xe48 1001 | Enter into single-homed access-port - xe48 with VLAN 1001 |
(config-nvo-acc-if)#mac 0000.3333.1001 ip 11.11.10.2 | Configure static MAC IP |
(config-nvo-acc-if)#exit | Exit from VxLAN access-port config mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit from configuration mode |