OcNOS DC : Virtual eXtensible Local Area Network Guide : VxLAN - Artificial Intelligence Networking : ECN and PFC Support for Lossless VxLAN Transport
ECN and PFC Support for Lossless VxLAN Transport
This document describes the functionalities of ECN and PFC over VxLAN network for Artificial intelligence applications and other workloads that unitize RDMA over Converged Ethernet (RoCEv2) transport protocol.
Overview
Artificial intelligence and machine learning (AI/ML) workloads in modern data centers demand ultra-high bandwidth and low-latency network fabrics, typically utilizing RDMA over Converged Ethernet (RoCE) v2 transports to enable efficient Graphics Processing Unit (GPU)-to-GPU communication for distributed training. Because these applications are extremely sensitive to packet loss, even small amounts of dropped traffic can cause retransmissions, add latency, and significantly delay training completion.
To address this, data center fabrics are designed to be lossless, with:
Priority Flow Control (PFC) - ensuring that traffic in critical queues is paused during congestion rather than dropped, while other traffic continues unaffected, and
Explicit Congestion Notification (ECN) - that allows two endpoints in a network to signal congestion without dropping packets.
The combination of Explicit Congestion Notification (ECN) based congestion signaling and PFC is fundamental to achieving predictable, efficient, and scalable network performance required for AI/ML workload in large-scale data centers.
PFC
When the ingress buffer for a lossless priority on a port reaches its limit, the device immediately transmits an XOFF (pause) frame to the link partner. This action halts traffic transmission for the Classes of Service (CoS) mapped to that congested priority, preventing packet loss while in-flight packets are buffered.
OcNOS facilitates this process by supporting CoS-to-queue and DSCP-to-queue mapping profiles, which route incoming traffic to one of up to eight available lossless priority queues..
ECN - Marking
When an egress queue exceeds its configured buffering threshold, ECN manages traffic flow by marking packets with congestion bits instead of dropping them. This marking strategy helps reduce the occurrence of PFC pauses, thereby improving overall network throughput and latency.
Combining ECN and PFC
ECN and PFC work together to deliver lossless and efficient transport in the VxLAN network. While PFC provides a mechanism to pause incoming traffic when the buffering limit is reached, ECN complements it by signaling congestion before the buffers become full. Marking packets at early stages of congestion, allows endpoints to reduce their sending rate gracefully, rather than abruptly pauses traffic. This proactive approach lowers the frequency of PFC pause events, helping maintain higher throughput and reducing latency.
Feature Characteristics
OcNOS supports the following for ECN to work in L3 VxLAN transport:
End-to-end ECN support, including:
ECN over VXLAN is supported for both Layer 2 and Layer 3 (IRB) VXLAN forwarding. ECN markings are propagated from ingress to egress - specifically, from the inner IP header to the outer IP header during VXLAN encapsulation, and back from the outer to the inner header upon decapsulation.
VTEP node that encapsulate packet with ECN value will copy the Inner IP ECN bits to the outer IP header.
Transit nodes in the middle of the tunnel carries the ECN value in the outer IP header.
VTEP that decapsulates the packet received from VxLAN and transfers the ECN marking to the customer packet.
Triggers ECN marking or PFC pause frames based on queue occupancy when congestion occurs either in encapsulation or transit or decapsulation.
OcNOS supports the following for PFC to work in L2 and L3 VxLAN transport:
CoS to queue and DSCP to queue mapping profiles can be configured using policy map. The mapping can be applied to tagged or untagged access ports.
For L2 forwarded packet, queue is derived from the Class of Service (CoS) value.
For L3 forwarded packet, queue is derived from the Differentiated Services Code Point (DSCP) value.
Benefits
This feature delivers lossless Ethernet fabric required for transport of AI/ML and other workloads that utilize RoCEv2 transport protocol.
It enables multi-tenant and multi-cluster isolation using EVPN-VXLAN while successfully maintaining the lossless transport essential for RDMA (RoCEv2).
For operators utilizing Trident3 (TR3) platforms and Trident4 (TR4) platforms, it guarantees predictable congestion management across large-scale fabrics.
Prerequisites
Ensure the IP underlay provides reachability between all VTEP loopback addresses. This connectivity, established via routing protocols like OSPF or BGP (both present in the base configurations), is fundamental for the VxLAN tunnels where PFC and ECN will function.
Configuration
This section describes the configuration procedures for Priority Flow Control (PFC) and Explicit Congestion Notification (ECN) over VxLAN. It involves applying PFC on underlay and access links, and enabling ECN within the Lossless queuing policy map applied to the hardware.
Topology
The following topology shows
two Spine nodes (Spine1 - Eth63/1, Eth1/1, Eth11/1 and Spine 2 - cd27/1, cd3/1, cd9/1) responsible for interconnectivity between VTEPs,
three Leaf nodes (VTEP1- cd3/1, cd4/1, xe0, cd8/1, VTEP2- ce1, xe34, ce31 and VTEP3 - ce2, ce3, xe4/4) that encapsulate and decapsulate traffic. They connect North to the Spines and South to the hosts/access switch.
A Switch (Eth29/1, Eth1/1, Eth3/1) that manages access layer connectivity for one multihoming host and three single homing hosts.
PFC and ECN over VxLAN
Configuring PFC and ECN over VxLAN
Configuring PFC and ECN over VxLAN involves the following steps:
1. Global ECN and Lossless Queuing Configuration on all devices.
Note: The #qos remark dscp command is mandatory in the TR4 board, specifically to ensure ECN functionality operates correctly and that ECN-related counters increment as expected.
2. PFC configuration on Underlay and Access Interfaces.
1. PFC on Spine Underlay Links (Layer 3 Routed)
2. PFC on Leaf access switchport (VTEPs).
3. PFC on Switch (Single home and Multihome).
3. Load-balancing configuration on all devices.
4. Configure a router to distribute connected routes within networks.
Note: The below configuration procedure include setups for both OSPF and BGP to establish underlay reachability for VTEP loopbacks. However, only one active underlay protocol is required. Choose either OSPF or BGP based on your network requirements. Enable the chosen protocol (e.g., remove shutdown from the OSPF process or ensure BGP neighbors are correctly configured and active) and ensure the other protocol is disabled or unconfigured to avoid routing conflicts.
It includes the following sections:
Configuration on VTEP1, VTEP2 and VTEP3
Configuration on Spine 1 and Spine 2.
Configuration on Switch
Sample Running Configurations
VTEP1
VTEP2
VTEP3
Spine 1
Spine 2
Switch
PFC Validation
VTEP1
Before Congestion
After Congestion
VTEP2, VTEP3
Spine 1, Spine 2
ECN Validation
VTEP1
Before Congestion
After Congestion
VTEP2, VTEP3
Spine1, Spine2
Configuration on VTEP1, VTEP2 and VTEP3
1. Enable the global QoS
qos enable
qos remark dscp
2. Configured PFC queuing policy for eight queues (q0–q7), all configured as priority lossless queues.
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
3. Configure the egress queuing policy map to define ECN behavior and specify priority and lossless attributes for all eight queues. Set each queue as lossless as required for RDMA or other PFC-enabled traffic. Enable Explicit Congestion Notification (ECN) marking based on WRED thresholds for green, yellow, and red color profiles on all lossless queues.
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
 
4. Configure PFC on the access and network ports of the fabric that is connected to hosts/servers and Spines respectively.
On VTEP1
Access Interfaces:
!
interface xe0
description ***SH to SH ****
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!
interface po1
description ****SW1-MH****
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
evpn multi-homed system-mac 0000.0000.3333
!
Network Interfaces:
interface cd3/1
priority-flow-control mode auto
ip address 30.1.15.1/24
ipv6 address 3015::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
 
interface cd4/1
priority-flow-control mode auto
ip address 30.1.16.1/24
ipv6 address 3016::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
 
 
On VTEP2
Access Interfaces:
!
interface xe34
description ***GPU-4 ***
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!!
interface po1
description ****SW1-MH****
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
evpn multi-homed system-mac 0000.0000.3333
!
Network Interfaces:
interface ce1
priority-flow-control mode auto
ip address 10.1.17.1/24
ipv6 address 1017::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
 
 
interface ce5
priority-flow-control mode auto
ip address 10.1.18.1/24
ipv6 address 1018::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
 
 
On VTEP3
Access Interfaces:
!
interface xe4/4
description ***GPU-4 ***
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!
Network Interfaces:
interface ce2
priority-flow-control mode auto
 
 
interface ce3
priority-flow-control mode auto
 
5. Attach the configured ECN profile to the network ECMP interfaces on all the VTEPS/Spines in the fabric.
On VTEP1
!
interface cd3/1
priority-flow-control mode auto
ip address 30.1.15.1/24
ipv6 address 3015::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
service-policy type queuing output lossless_ecn_egress
lldp-agent
exit
!
 
interface cd4/1
priority-flow-control mode auto
ip address 30.1.16.1/24
ipv6 address 3016::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
service-policy type queuing output lossless_ecn_egress
lldp-agent
exit
 
On VTEP2
interface ce1
priority-flow-control mode auto
ip address 10.1.17.1/24
ipv6 address 1017::1/64
service-policy type queuing output lossless_ecn_egress
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
 
 
interface ce5
priority-flow-control mode auto
ip address 10.1.18.1/24
ipv6 address 1018::1/64
service-policy type queuing output lossless_ecn_egress
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
 
On VTEP2
Network Interface:
interface ce2
priority-flow-control mode auto
service-policy type queuing output lossless_ecn_egress
 
interface ce3
priority-flow-control mode auto
service-policy type queuing output lossless_ecn_egress
 
6. Configure load balancing using RTAG7 across multiple ECMP paths for both Layer 2 and Layer 3 traffic. Enable Layer 2 hashing based on source and destination MAC addresses, Ethertype, and VLAN. Configure IPv4 hashing to include Layer 4 source and destination ports and the protocol ID, which is required for VxLAN underlay routing. Enable support for up to 64 ECMP paths.
!
load-balance rtag7
load-balance rtag7 all-lag-if
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id rocev2-dest-qpairs
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port rocev2-dest-qpairs next-hdr
!
maximum-paths 64
!
!
2 3 4 5 6
load-interval 30
trust dscp
!
7. Configure an IRB (Integrated Routing and Bridging) interface irb2 for each SMS VRF. By enabling evpn irb-if-forwarding anycast-gateway-mac, the interface functions as a distributed anycast gateway within an EVPN-VXLAN fabric, allowing all Leaf switches to advertise the same MAC address for this subnet. This setup provides tenant-specific routing isolation, seamless host mobility across the fabric, and distributed Layer 3 forwarding for devices in the network.
On VTEP1
!
interface irb2
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 2.1.1.1/24 anycast
ipv6 address 2::1/48 anycast
!
On VTEP2
!
interface irb2
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 2.1.1.1/24 anycast
ipv6 address 2::1/48 anycast
!
On VTEP3
!
interface irb2
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 2.1.1.1/24 anycast
ipv6 address 2::1/48 anycast
 
8. Configure a OSPF router to distribute connected routes within networks in Area 0.0.0.0.
VTEP1
!
router ospf 100
ospf router-id 3.3.3.3
shutdown
network 3.3.3.3/32 area 0.0.0.0
network 10.1.15.0/24 area 0.0.0.0
network 10.1.16.0/24 area 0.0.0.0
network 20.1.15.0/24 area 0.0.0.0
network 20.1.16.0/24 area 0.0.0.0
network 30.1.15.0/24 area 0.0.0.0
network 30.1.16.0/24 area 0.0.0.0
network 103.1.1.0/24 area 0.0.0.1
network 113.1.1.0/24 area 0.0.0.1
network 173.1.1.0/24 area 0.0.0.1
network 173.1.2.0/24 area 0.0.0.1
network 173.1.3.0/24 area 0.0.0.1
network 173.1.4.0/24 area 0.0.0.1
network 173.1.5.0/24 area 0.0.0.1
!
router ipv6 ospf
router-id 3.3.3.3
!
 
VTEP2
!
router ospf 100
ospf router-id 4.4.4.4
shutdown
network 4.4.4.4/32 area 0.0.0.0
network 10.1.17.0/24 area 0.0.0.0
network 10.1.18.0/24 area 0.0.0.0
network 104.1.1.0/24 area 0.0.0.1
network 174.1.1.0/24 area 0.0.0.1
network 174.1.2.0/24 area 0.0.0.1
network 174.1.3.0/24 area 0.0.0.1
network 174.1.4.0/24 area 0.0.0.1
network 174.1.5.0/24 area 0.0.0.1
!
router ipv6 ospf
router-id 4.4.4.4
!
9. Configure a BGP router.
VTEP1
!
router bgp 4294967203
bgp router-id 3.3.3.3
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
no bgp inbound-route-filter
neighbor overlay peer-group
neighbor overlay remote-as 4294967209
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 4294967209
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 7.7.7.7 peer-group overlay
neighbor 8.8.8.8 peer-group overlay
!
bgp unnumbered-mode
neighbor cd4/1 peergroup underlay
neighbor cd3/1 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor cd4/1 route-map HIG_MED in
neighbor cd3/1 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
address-family ipv4 vrf l3_vrf_10
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_45
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_10
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_45
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
exit
VTEP2
!
router bgp 4294967204
bgp router-id 4.4.4.4
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
neighbor overlay peer-group
neighbor overlay remote-as 4294967209
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 4294967209
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 7.7.7.7 peer-group overlay
neighbor 8.8.8.8 peer-group overlay
!
bgp unnumbered-mode
neighbor ce1 peergroup underlay
neighbor ce5 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor ce1 route-map HIG_MED in
neighbor ce5 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
VTEP3
!
router bgp 4294967205
bgp router-id 5.5.5.5
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
neighbor overlay peer-group
neighbor overlay remote-as 4294967209
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 4294967209
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 7.7.7.7 peer-group overlay
neighbor 8.8.8.8 peer-group overlay
!
bgp unnumbered-mode
neighbor ce3 peergroup underlay
neighbor ce2 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor ce3 route-map HIG_MED in
neighbor ce2 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
10. Configure VxLAN access port to associate with VXLAN VNID for encapsulation or forward in the corresponding VXLAN overlay tunnel.
On VTEP1
!
nvo vxlan access-if port-vlan xe0 2
description ***VTEP3-SH-TENENT-2***
map vnid 50002
!
nvo vxlan access-if port-vlan xe0 3
description ***VTEP3-SH-TENENT-3***
map vnid 50003
!
nvo vxlan access-if port-vlan xe0 4
description ***VTEP3-SH-TENENT-4***
map vnid 50004
!
nvo vxlan access-if port-vlan xe0 10
description ***VTEP3-SH-TENENT-10***
map vnid 50010
!
nvo vxlan access-if port-vlan po1 6
description ***VTEP3-MH-TENENT-6***
map vnid 50006
!
nvo vxlan access-if port-vlan po1 7
description ***VTEP3-MH-TENENT-7***
map vnid 50007
!
nvo vxlan access-if port-vlan po1 8
description ***VTEP3-MH-TENENT-8***
map vnid 50008
!
On VTEP2
!
nvo vxlan access-if port-vlan xe34 2
description ***VTEP4-SH-TENENT-2***
map vnid 50002
!
nvo vxlan access-if port-vlan xe34 3
description ***VTEP4-SH-TENENT-3***
map vnid 50003
!
nvo vxlan access-if port-vlan xe34 5
description ***VTEP4-SH-TENENT-5***
map vnid 50005
!
nvo vxlan access-if port-vlan xe34 10
description ***VTEP4-SH-TENENT-10***
map vnid 50010
!
nvo vxlan access-if port-vlan po1 6
description ***VTEP4-MH-TENENT-6***
map vnid 50006
!
nvo vxlan access-if port-vlan po1 7
description ***VTEP4-MH-TENENT-7***
map vnid 50007
!
nvo vxlan access-if port-vlan po1 8
description ***VTEP4-MH-TENENT-8***
map vnid 50008
!
 
On VTEP3
!
nvo vxlan access-if port-vlan xe4/4 6
description ***VTEP5-SH-TENENT-6***
map vnid 50006
!
nvo vxlan access-if port-vlan xe4/4 7
description ***VTEP5-SH-TENENT-7***
map vnid 50007
!
nvo vxlan access-if port-vlan xe4/4 9
description ***VTEP5-SH-TENENT-9***
map vnid 50009
!
 
Configuration on Spine 1 and Spine 2
1. Enable the global QoS
qos enable
qos remark dscp
 
2. Configured PFC queuing policy for eight queues (q0–q7), all configured as priority lossless queues.
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
3. Configure the egress queuing policy map to define ECN behavior and specify priority and lossless attributes for all eight queues. Set each queue as lossless as required for RDMA or other PFC-enabled traffic. Enable Explicit Congestion Notification (ECN) marking based on WRED thresholds for green, yellow, and red color profiles on all lossless queues.
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
4. PFC is configured on the physical interfaces to handle Lossless Ethernet frames. Configure the physical interfaces with PFC enabled on priorities 0–7, IP address, and 30-second statistics interval.
On Spine1
!
interface ethernet1/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 10.1.17.2/24
ipv6 address 1017::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet11/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 10.1.19.2/24
ipv6 address 1019::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet63/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 30.1.15.2/24
ipv6 address 3015::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
On Spine2
!
interface cd3/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 10.1.18.2/24
ipv6 address 1018::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd27/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 30.1.16.2/24
ipv6 address 3016::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd9/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 10.1.20.2/24
ipv6 address 1020::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
5. Configure load balancing using RTAG7 across multiple ECMP paths for both Layer 2 and Layer 3 traffic. Enable Layer 2 hashing based on source and destination MAC addresses, Ethertype, and VLAN. Configure IPv4 hashing to include Layer 4 source and destination ports and the protocol ID, which is required for VxLAN underlay routing. Enable support for up to 64 ECMP paths.
!
load-balance rtag7
load-balance rtag7 all-lag-if
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id rocev2-dest-qpairs
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port rocev2-dest-qpairs next-hdr
!
maximum-paths 64
6. Configure a OSPF router 1 to distribute connected routes within networks in Area 0.0.0.0
On Spine 1
!
router ospf 100
ospf router-id 7.7.7.7
shutdown
network 7.7.7.7/32 area 0.0.0.0
network 10.1.11.0/24 area 0.0.0.0
network 10.1.13.0/24 area 0.0.0.0
network 10.1.15.0/24 area 0.0.0.0
network 10.1.17.0/24 area 0.0.0.0
network 10.1.19.0/24 area 0.0.0.0
network 20.1.11.0/24 area 0.0.0.0
network 20.1.13.0/24 area 0.0.0.0
network 20.1.15.0/24 area 0.0.0.0
network 20.1.17.0/24 area 0.0.0.0
network 30.1.11.0/24 area 0.0.0.0
network 30.1.13.0/24 area 0.0.0.0
network 30.1.15.0/24 area 0.0.0.0
network 30.1.17.0/24 area 0.0.0.0
network 40.1.13.0/24 area 0.0.0.0
network 50.1.13.0/24 area 0.0.0.0
network 60.1.13.0/24 area 0.0.0.0
!
router ipv6 ospf
router-id 7.7.7.7
!
On Spine 2
!
router ospf 100
ospf router-id 8.8.8.8
shutdown
network 8.8.8.8/32 area 0.0.0.0
network 10.1.12.0/24 area 0.0.0.0
network 10.1.14.0/24 area 0.0.0.0
network 10.1.16.0/24 area 0.0.0.0
network 10.1.18.0/24 area 0.0.0.0
network 10.1.20.0/24 area 0.0.0.0
network 20.1.12.0/24 area 0.0.0.0
network 20.1.14.0/24 area 0.0.0.0
network 20.1.16.0/24 area 0.0.0.0
network 20.1.18.0/24 area 0.0.0.0
network 30.1.12.0/24 area 0.0.0.0
network 30.1.14.0/24 area 0.0.0.0
network 30.1.16.0/24 area 0.0.0.0
network 30.1.18.0/24 area 0.0.0.0
!
router ipv6 ospf
router-id 8.8.8.8
!
7. Create a local ERSPAN-sender monitor session with a source port and destination port to monitor session in both directions. Below is the sample configuration commands.
!
monitor session 1 type local
source interface cd3/1 both
destination interface xe34
no shut
!
 
Configuration on Switch
This section describes the configuration of PFC on MH Access Switch.
1. Enable the global QoS
qos enable
qos remark dscp
2. Configure PFC on the L2 trunk interfaces connecting to the Multihomed VTEPs (Leaf1/Leaf2).
!
interface ethernet3/1
switchport
bridge-group 1
switchport mode trunk
switchport trunk allowed vlan all
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
lldp-agent
exit
!
!
interface po1
description ****VTEP1-VTEP2-MH****
switchport
bridge-group 1
switchport mode trunk
switchport trunk allowed vlan all
priority-flow-control mode auto
!
3. Configure load balancing using RTAG7 across multiple ECMP paths for both Layer 2 and Layer 3 traffic. Enable Layer 2 hashing based on source and destination MAC addresses, Ethertype, and VLAN. Configure IPv4 hashing to include Layer 4 source and destination ports and the protocol ID, which is required for VxLAN underlay routing. Enable support for up to 64 ECMP paths.
!
load-balance rtag7
load-balance rtag7 all-lag-if
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id rocev2-dest-qpairs
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port rocev2-dest-qpairs next-hdr
!
 
Sample Running Configurations
VTEP1
!
feature netconf-ssh vrf management
feature netconf-tls vrf management
no feature netconf-ssh
no feature netconf-tls
!
service password-encryption
!
logging console 5
logging monitor 4
snmp-server enable traps link linkDown
snmp-server enable traps link linkUp
snmp-server enable traps ospf
snmp-server enable traps bgp
!
bgp extended-asn-cap
!
load-balance rtag7
load-balance rtag7 all-lag-if
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id rocev2-dest-qpairs
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port rocev2-dest-qpairs next-hdr
!
bfd interval 100 minrx 100 multiplier 3
!
qos enable
!
hostname Leaf3
port cd3 breakout 1X100g serdes 25g
port cd8 breakout 1X100g serdes 25g
port cd4 breakout 1X100g serdes 25g
default-interface type eth-routed mtu 9200
default-interface type eth-switchport mtu 9200
default-interface type svi mtu 9200
default-interface type irb mtu 9200
default-interface type lag mtu 9200
ip domain-lookup vrf management
ip name-server vrf management 10.12.3.23
default-interface load-interval 30
bridge 1 protocol ieee vlan-bridge
tfo Disable
errdisable cause stp-bpdu-guard
data-center-bridging enable bridge 1
priority-flow-control enable bridge 1
no feature telnet vrf management
no feature telnet
feature ssh vrf management
no feature ssh
feature dns relay
ip dns relay
ipv6 dns relay
feature ntp vrf management
ntp enable vrf management
 
lldp run
lldp tlv-select basic-mgmt port-description
lldp tlv-select basic-mgmt system-name
lldp tlv-select basic-mgmt system-capabilities
lldp tlv-select basic-mgmt system-description
lldp tlv-select basic-mgmt management-address
lldp tlv-select ieee-8021-org-specific data-center-bridging
set lldp msg-tx-hold 1
set lldp timer msg-tx-interval 5
set lldp tx-fast-init 1
lldp notification-interval 5
fault-management enable
maximum-paths 64
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
vlan database
vlan-reservation 4061-4094
vlan 311 bridge 1 name GPU-311 state enable
vlan 312 bridge 1 name GPU-312 state enable
vlan 313 bridge 1 name GPU-313 state enable
vlan 314 bridge 1 name GPU-314 state enable
vlan 315 bridge 1 name GPU-315 state enable
!
nvo vxlan enable
!
nvo vxlan irb
!
evpn esi hold-time 100
!
evpn vxlan multihoming enable
!
ip vrf l3_vrf_10
description ****SH-SH-REMOTE-ROUTING-SYMMETRIC-IRB-BETWEEN TENENT-4 AND TENENT-5****
rd 3333:10
route-target both 10:10
l3vni 101010
!
ip vrf l3_vrf_23
description ****SH-SH-REMOTE-ROUTING-ASYMMETRIC-IRB-BETWEEN TENENT-2 AND TENENT-3****
rd 3333:23
route-target both 23:23
!
ip vrf l3_vrf_45
description ****SH-SH-REMOTE-ROUTING-SYMMETRIC-IRB-BETWEEN TENENT-4 AND TENENT-5****
rd 3333:45
route-target both 45:45
l3vni 77777
!
ip vrf l3_vrf_67
description ****SH-MH-REMOTE-ROUTING-ASYMMETRIC-IRB-BETWEEN TENENT-6 AND TENENT-7****
rd 3333:67
route-target both 67:67
!
ip vrf l3_vrf_89
description ****SH-MH-REMOTE-ROUTING-SYMMETRIC-IRB-BETWEEN TENENT-8 AND TENENT-9****
rd 3333:89
route-target both 89:89
l3vni 88888
!
ip vrf management
!
mac vrf l2_vrf_10
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-10****
rd 3.3.3.3:10
route-target both evpn-auto-rt
!
mac vrf l2_vrf_2
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-2****
rd 3.3.3.3:2
route-target both evpn-auto-rt
!
mac vrf l2_vrf_3
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-3****
rd 3.3.3.3:3
route-target both evpn-auto-rt
!
mac vrf l2_vrf_4
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-4****
rd 3.3.3.3:4
route-target both evpn-auto-rt
!
mac vrf l2_vrf_6
evpn-vlan-service vlan-based
description ****MH-SH-REMOTE-SWITCHING-TENENT-6****
rd 3.3.3.3:6
route-target both evpn-auto-rt
!
mac vrf l2_vrf_7
evpn-vlan-service vlan-based
description ****MH-SH-REMOTE-SWITCHING-TENENT-7****
rd 3.3.3.3:7
route-target both evpn-auto-rt
!
mac vrf l2_vrf_8
evpn-vlan-service vlan-based
description ****MH-SH-REMOTE-SWITCHING-TENENT-8****
rd 3.3.3.3:8
route-target both evpn-auto-rt
!
evpn irb-forwarding anycast-gateway-mac deed.beef.cafe
!
nvo vxlan vtep-ip-global 3.3.3.3
!
nvo vxlan id 50002 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_2
evpn irb2
!
nvo vxlan id 50003 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_3
evpn irb3
!
nvo vxlan id 50004 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_4
evpn irb4
!
nvo vxlan id 50006 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_6
evpn irb6
!
nvo vxlan id 50007 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_7
evpn irb7
!
nvo vxlan id 50008 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_8
evpn irb8
!
nvo vxlan id 50010 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_10
evpn irb10
!
route-map HIG_MED permit 10
set metric 55555
!
interface po1
description ****SW1-MH****
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
evpn multi-homed system-mac 0000.0000.3333
!
interface cd3/1
priority-flow-control mode auto
ip address 30.1.15.1/24
ipv6 address 3015::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd4/1
priority-flow-control mode auto
ip address 30.1.16.1/24
ipv6 address 3016::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
interface cd8/1
channel-group 1 mode active
lldp-agent
exit
!
interface eth0
ip vrf forwarding management
ip address dhcp
!
interface irb2
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 2.1.1.1/24 anycast
ipv6 address 2::1/48 anycast
!
interface irb3
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 3.1.1.1/24 anycast
ipv6 address 3::1/48 anycast
!
interface irb4
ip vrf forwarding l3_vrf_45
evpn irb-if-forwarding anycast-gateway-mac
ip address 4.1.1.1/24 anycast
ipv6 address 4::1/48 anycast
!
interface irb6
ip vrf forwarding l3_vrf_67
evpn irb-if-forwarding anycast-gateway-mac
ip address 6.1.1.1/24 anycast
ipv6 address 6::1/48 anycast
!
interface irb7
ip vrf forwarding l3_vrf_67
evpn irb-if-forwarding anycast-gateway-mac
ip address 7.1.1.1/24 anycast
ipv6 address 7::1/48 anycast
!
interface irb8
ip vrf forwarding l3_vrf_89
evpn irb-if-forwarding anycast-gateway-mac
ip address 8.1.1.1/24 anycast
ipv6 address 8::1/48 anycast
!
interface irb10
ip vrf forwarding l3_vrf_10
evpn irb-if-forwarding anycast-gateway-mac
ip address 10.1.1.1/24 anycast
ipv6 address 10::1/48 anycast
!
interface irb102
evpn irb-if-forwarding anycast-gateway-mac
!
interface lo
ip address 127.0.0.1/8
ip address 3.3.3.3/32 secondary
ipv6 address ::1/128
ipv6 router ospf area 0.0.0.0 instance-id 0
!
interface lo.management
ip vrf forwarding management
ip address 127.0.0.1/8
ipv6 address ::1/128
!
interface vlan1.311
ip address 173.1.1.1/24
ipv6 address 173:1::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.312
ip address 173.1.2.1/24
ipv6 address 173:2::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.313
ip address 173.1.3.1/24
ipv6 address 173:3::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.314
ip address 173.1.4.1/24
ipv6 address 173:4::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.315
ip address 173.1.5.1/24
ipv6 address 173:5::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface xe0
description ***SH to SH --> STC 2/17 ****
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!
router ospf 100
ospf router-id 3.3.3.3
shutdown
network 3.3.3.3/32 area 0.0.0.0
network 10.1.15.0/24 area 0.0.0.0
network 10.1.16.0/24 area 0.0.0.0
network 20.1.15.0/24 area 0.0.0.0
network 20.1.16.0/24 area 0.0.0.0
network 30.1.15.0/24 area 0.0.0.0
network 30.1.16.0/24 area 0.0.0.0
network 103.1.1.0/24 area 0.0.0.1
network 113.1.1.0/24 area 0.0.0.1
network 173.1.1.0/24 area 0.0.0.1
network 173.1.2.0/24 area 0.0.0.1
network 173.1.3.0/24 area 0.0.0.1
network 173.1.4.0/24 area 0.0.0.1
network 173.1.5.0/24 area 0.0.0.1
!
router ipv6 ospf
router-id 3.3.3.3
!
router bgp 4294967203
bgp router-id 3.3.3.3
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
no bgp inbound-route-filter
neighbor overlay peer-group
neighbor overlay remote-as 4294967209
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 4294967209
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 7.7.7.7 peer-group overlay
neighbor 8.8.8.8 peer-group overlay
!
bgp unnumbered-mode
neighbor cd4/1 peergroup underlay
neighbor cd3/1 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor cd4/1 route-map HIG_MED in
neighbor cd3/1 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
address-family ipv4 vrf l3_vrf_10
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_45
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_10
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_45
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
exit
!
line console 0
exec-timeout 0 0
line vty 0 16
exec-timeout 0 0
!
nvo vxlan access-if port-vlan xe0 2
description ***VTEP3-SH-TENENT-2***
map vnid 50002
!
nvo vxlan access-if port-vlan xe0 3
description ***VTEP3-SH-TENENT-3***
map vnid 50003
!
nvo vxlan access-if port-vlan xe0 4
description ***VTEP3-SH-TENENT-4***
map vnid 50004
!
nvo vxlan access-if port-vlan xe0 10
description ***VTEP3-SH-TENENT-10***
map vnid 50010
!
nvo vxlan access-if port-vlan po1 6
description ***VTEP3-MH-TENENT-6***
map vnid 50006
!
nvo vxlan access-if port-vlan po1 7
description ***VTEP3-MH-TENENT-7***
map vnid 50007
!
nvo vxlan access-if port-vlan po1 8
description ***VTEP3-MH-TENENT-8***
map vnid 50008
!
!
end
 
VTEP2
!
feature netconf-ssh vrf management
feature netconf-tls vrf management
no feature netconf-ssh
no feature netconf-tls
!
service password-encryption
!
logging console 5
logging monitor 4
logging level all 2
snmp-server enable traps link linkDown
snmp-server enable traps link linkUp
snmp-server enable traps ospf
snmp-server enable traps bgp
banner motd "NODE BELONGS TO L2 TEAM TESTING.PLEASE REFINE FROM USING IT"
!
bgp extended-asn-cap
!
load-balance rtag7
load-balance rtag7 all-lag-if
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port next-hdr
hardware-profile filter ingress-ipv6 disable
hardware-profile filter bfd-group enable
!
bfd interval 100 minrx 100 multiplier 3
!
qos enable
!
hostname Leaf4
default-interface type eth-routed mtu 9200
default-interface type eth-switchport mtu 9200
default-interface type svi mtu 9200
default-interface type irb mtu 9200
default-interface type lag mtu 9200
ip domain-lookup vrf management
ip name-server vrf management 10.12.3.23
default-interface load-interval 30
bridge 1 protocol ieee vlan-bridge
tfo Disable
errdisable cause stp-bpdu-guard
data-center-bridging enable bridge 1
priority-flow-control enable bridge 1
no feature telnet vrf management
no feature telnet
feature ssh vrf management
no feature ssh
feature dns relay
ip dns relay
ipv6 dns relay
feature ntp vrf management
ntp enable vrf management
feature rsyslog
logging remote server 10.16.100.20 5 port 1514 vrf management
lldp run
lldp tlv-select basic-mgmt port-description
lldp tlv-select basic-mgmt system-name
lldp tlv-select basic-mgmt system-capabilities
lldp tlv-select basic-mgmt system-description
lldp tlv-select basic-mgmt management-address
lldp tlv-select ieee-8021-org-specific data-center-bridging
set lldp msg-tx-hold 1
set lldp timer msg-tx-interval 5
set lldp tx-fast-init 1
lldp notification-interval 1000
fault-management enable
maximum-paths 64
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
vlan database
vlan-reservation 4061-4094
vlan 411 bridge 1 name GPU-411 state enable
vlan 412 bridge 1 name GPU-412 state enable
vlan 413 bridge 1 name GPU-413 state enable
vlan 414 bridge 1 name GPU-414 state enable
vlan 415 bridge 1 name GPU-415 state enable
!
nvo vxlan enable
!
nvo vxlan irb
!
evpn esi hold-time 100
!
evpn vxlan multihoming enable
!
ip vrf l3_vrf_10
description ****SH-SH-REMOTE-ROUTING-SYMMETRIC-IRB-BETWEEN TENENT-4 AND TENENT-5****
rd 4444:10
route-target both 10:10
l3vni 101010
!
ip vrf l3_vrf_23
description ****SH-SH-REMOTE-ROUTING-ASYMMETRIC-IRB-BETWEEN TENENT-2 AND TENENT-3****
rd 4444:23
route-target both 23:23
!
ip vrf l3_vrf_45
description ****SH-SH-REMOTE-ROUTING-SYMMETRIC-IRB-BETWEEN TENENT-4 AND TENENT-5****
rd 4444:45
route-target both 45:45
l3vni 77777
!
ip vrf l3_vrf_67
description ****SH-MH-REMOTE-ROUTING-ASYMMETRIC-IRB-BETWEEN TENENT-6 AND TENENT-7****
rd 4444:67
route-target both 67:67
!
ip vrf l3_vrf_89
description ****SH-MH-REMOTE-ROUTING-SYMMETRIC-IRB-BETWEEN TENENT-8 AND TENENT-9****
rd 4444:89
route-target both 89:89
l3vni 88888
!
ip vrf management
!
mac vrf l2_vrf_10
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-10****
rd 4.4.4.4:10
route-target both evpn-auto-rt
!
mac vrf l2_vrf_2
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-2****
rd 4.4.4.4:2
route-target both evpn-auto-rt
!
mac vrf l2_vrf_3
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-3****
rd 4.4.4.4:3
route-target both evpn-auto-rt
!
mac vrf l2_vrf_5
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-5****
rd 4.4.4.4:5
route-target both evpn-auto-rt
!
mac vrf l2_vrf_6
evpn-vlan-service vlan-based
description ****MH-SH-REMOTE-SWITCHING-TENENT-6****
rd 4.4.4.4:6
route-target both evpn-auto-rt
!
mac vrf l2_vrf_7
evpn-vlan-service vlan-based
description ****MH-SH-REMOTE-SWITCHING-TENENT-7****
rd 4.4.4.4:7
route-target both evpn-auto-rt
!
mac vrf l2_vrf_8
evpn-vlan-service vlan-based
description ****MH-SH-REMOTE-SWITCHING-TENENT-8****
rd 4.4.4.4:8
route-target both evpn-auto-rt
!
evpn irb-forwarding anycast-gateway-mac deed.beef.cafe
!
nvo vxlan vtep-ip-global 4.4.4.4
!
nvo vxlan id 50002 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_2
evpn irb2
!
nvo vxlan id 50003 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_3
evpn irb3
!
nvo vxlan id 50005 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_5
evpn irb5
!
nvo vxlan id 50006 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_6
evpn irb6
!
nvo vxlan id 50007 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_7
evpn irb7
!
nvo vxlan id 50008 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_8
evpn irb8
!
nvo vxlan id 50010 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_10
evpn irb10
!
route-map HIG_MED permit 10
set metric 55555
!
interface po1
description ****SW1-MH****
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
evpn multi-homed system-mac 0000.0000.3333
!
interface ce1
priority-flow-control mode auto
ip address 10.1.17.1/24
ipv6 address 1017::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ce3
speed 100g
shutdown
!
interface ce5
priority-flow-control mode auto
ip address 10.1.18.1/24
ipv6 address 1018::1/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ce6
!
interface ce7
description ***GPU-14 --> STC ***
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 114.1.1.1/24
ipv6 address 114::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
lldp-agent
exit
!
interface ce8
description ***GPU-24.1 to 24.5 --> STC ***
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 124.1.1.1/24
ipv6 address 124::1/64
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ce31
channel-group 1 mode active
lldp-agent
exit
!
interface ce32
!
interface eth0
ip vrf forwarding management
ip address dhcp
!
interface irb2
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 2.1.1.1/24 anycast
ipv6 address 2::1/48 anycast
!
interface irb3
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 3.1.1.1/24 anycast
ipv6 address 3::1/48 anycast
!
interface irb5
ip vrf forwarding l3_vrf_45
evpn irb-if-forwarding anycast-gateway-mac
ip address 5.1.1.1/24 anycast
ipv6 address 5::1/48 anycast
!
interface irb6
ip vrf forwarding l3_vrf_67
evpn irb-if-forwarding anycast-gateway-mac
ip address 6.1.1.1/24 anycast
ipv6 address 6::1/48 anycast
!
interface irb7
ip vrf forwarding l3_vrf_67
evpn irb-if-forwarding anycast-gateway-mac
ip address 7.1.1.1/24 anycast
ipv6 address 7::1/48 anycast
!
interface irb8
ip vrf forwarding l3_vrf_89
evpn irb-if-forwarding anycast-gateway-mac
ip address 8.1.1.1/24 anycast
ipv6 address 8::1/48 anycast
!
interface irb10
ip vrf forwarding l3_vrf_10
evpn irb-if-forwarding anycast-gateway-mac
ip address 20.1.1.1/24 anycast
ipv6 address 20::1/48 anycast
!
interface irb103
evpn irb-if-forwarding anycast-gateway-mac
!
interface lo
ip address 127.0.0.1/8
ip address 4.4.4.4/32 secondary
ipv6 address ::1/128
ipv6 router ospf area 0.0.0.0 instance-id 0
!
interface lo.management
ip vrf forwarding management
ip address 127.0.0.1/8
ipv6 address ::1/128
!
interface vlan1.411
ip address 174.1.1.1/24
ipv6 address 174:1::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.412
ip address 174.1.2.1/24
ipv6 address 174:2::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.413
ip address 174.1.3.1/24
ipv6 address 174:3::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.414
ip address 174.1.4.1/24
ipv6 address 174:4::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface vlan1.415
ip address 174.1.5.1/24
ipv6 address 174:5::1/64
ipv6 router ospf area 0.0.0.1 instance-id 0
!
interface xe33
!
interface xe34
description ***GPU-4 --> STC 6/6 ***
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!
exit
!
router ospf 100
ospf router-id 4.4.4.4
shutdown
network 4.4.4.4/32 area 0.0.0.0
network 10.1.17.0/24 area 0.0.0.0
network 10.1.18.0/24 area 0.0.0.0
network 104.1.1.0/24 area 0.0.0.1
network 174.1.1.0/24 area 0.0.0.1
network 174.1.2.0/24 area 0.0.0.1
network 174.1.3.0/24 area 0.0.0.1
network 174.1.4.0/24 area 0.0.0.1
network 174.1.5.0/24 area 0.0.0.1
!
router ipv6 ospf
router-id 4.4.4.4
!
router bgp 4294967204
bgp router-id 4.4.4.4
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
neighbor overlay peer-group
neighbor overlay remote-as 4294967209
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 4294967209
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 7.7.7.7 peer-group overlay
neighbor 8.8.8.8 peer-group overlay
!
bgp unnumbered-mode
neighbor ce1 peergroup underlay
neighbor ce5 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor ce1 route-map HIG_MED in
neighbor ce5 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
address-family ipv4 vrf l3_vrf_10
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_45
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_10
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_45
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
exit
!
line console 0
exec-timeout 0 0
line vty 0 16
exec-timeout 0 0
!
nvo vxlan access-if port-vlan xe34 2
description ***VTEP4-SH-TENENT-2***
map vnid 50002
!
nvo vxlan access-if port-vlan xe34 3
description ***VTEP4-SH-TENENT-3***
map vnid 50003
!
nvo vxlan access-if port-vlan xe34 5
description ***VTEP4-SH-TENENT-5***
map vnid 50005
!
nvo vxlan access-if port-vlan xe34 10
description ***VTEP4-SH-TENENT-10***
map vnid 50010
!
nvo vxlan access-if port-vlan po1 6
description ***VTEP4-MH-TENENT-6***
map vnid 50006
!
nvo vxlan access-if port-vlan po1 7
description ***VTEP4-MH-TENENT-7***
map vnid 50007
!
nvo vxlan access-if port-vlan po1 8
description ***VTEP4-MH-TENENT-8***
map vnid 50008
!
!
end
VTEP3
!
feature netconf-ssh vrf management
feature netconf-tls vrf management
no feature netconf-ssh
no feature netconf-tls
!
feature streaming-telemetry vrf management
!
telemetry maximum-subscribe-paths 140
!
service password-encryption
!
logging console 5
logging level all 2
snmp-server enable traps link linkDown
snmp-server enable traps link linkUp
snmp-server enable traps ospf
snmp-server enable traps bgp
banner motd "NODE BELONGS TO L2 TEAM TESTING.PLEASE REFINE FROM USING IT"
!
bgp extended-asn-cap
!
load-balance rtag7
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port next-hdr
hardware-profile filter ingress-ipv6 disable
hardware-profile filter bfd-group enable
!
bfd interval 100 minrx 100 multiplier 3
!
qos enable
!
hostname Leaf5
port ce4 breakout 4X10g
default-interface type eth-routed mtu 9200
default-interface type eth-switchport mtu 9200
default-interface type svi mtu 9200
default-interface type irb mtu 9200
ip domain-lookup vrf management
ip name-server vrf management 10.12.3.23
default-interface load-interval 30
bridge 1 protocol ieee vlan-bridge
tfo Disable
errdisable cause stp-bpdu-guard
data-center-bridging enable bridge 1
priority-flow-control enable bridge 1
no feature telnet vrf management
no feature telnet
feature ssh vrf management
no feature ssh
feature dns relay
ip dns relay
ipv6 dns relay
feature ntp vrf management
ntp enable vrf management
feature rsyslog
logging remote server 10.16.100.22 5 port 1514 vrf management
logging remote server 10.16.100.20 5 port 1514 vrf management
logging remote server 192.168.6.102 5 port 1514 vrf management
lldp run
lldp tlv-select basic-mgmt port-description
lldp tlv-select basic-mgmt system-name
lldp tlv-select basic-mgmt system-capabilities
lldp tlv-select basic-mgmt system-description
lldp tlv-select basic-mgmt management-address
lldp tlv-select ieee-8021-org-specific data-center-bridging
set lldp msg-tx-hold 1
set lldp timer msg-tx-interval 5
set lldp tx-fast-init 1
lldp notification-interval 1000
fault-management enable
maximum-paths 64
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
vlan database
vlan-reservation 4001-4094
!
nvo vxlan enable
!
nvo vxlan irb
!
evpn esi hold-time 100
!
evpn vxlan multihoming enable
!
ip vrf l3_vrf_23
description ****SH-SH-REMOTE-ROUTING-ASYMMETRIC-IRB-BETWEEN TENENT-2 AND TENENT-3****
rd 5555:23
route-target both 23:23
!
ip vrf l3_vrf_67
description ****SH-MH-REMOTE-ROUTING-ASYMMETRIC-IRB-BETWEEN TENENT-6 AND TENENT-7****
rd 5555:67
route-target both 67:67
!
ip vrf l3_vrf_89
description ****SH-MH-REMOTE-ROUTING-SYMMETRIC-IRB-BETWEEN TENENT-8 AND TENENT-9****
rd 5555:89
route-target both 89:89
l3vni 88888
!
ip vrf management
!
mac vrf l2_vrf_2
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-2****
rd 5.5.5.5:2
route-target both evpn-auto-rt
!
mac vrf l2_vrf_3
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-3****
rd 5.5.5.5:3
route-target both evpn-auto-rt
!
mac vrf l2_vrf_6
evpn-vlan-service vlan-based
description ****SH-MH-REMOTE-SWITCHING-TENENT-6****
rd 5.5.5.5:6
route-target both evpn-auto-rt
!
mac vrf l2_vrf_7
evpn-vlan-service vlan-based
description ****SH-MH-REMOTE-SWITCHING-TENENT-7****
rd 5.5.5.5:7
route-target both evpn-auto-rt
!
mac vrf l2_vrf_9
evpn-vlan-service vlan-based
description ****SH-SH-REMOTE-SWITCHING-TENENT-9****
rd 5.5.5.5:9
route-target both evpn-auto-rt
!
evpn irb-forwarding anycast-gateway-mac deed.beef.cafe
!
nvo vxlan vtep-ip-global 5.5.5.5
!
nvo vxlan id 50002 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_2
evpn irb2
!
nvo vxlan id 50003 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_3
evpn irb3
!
nvo vxlan id 50006 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_6
evpn irb6
!
nvo vxlan id 50007 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_7
evpn irb7
!
nvo vxlan id 50009 ingress-replication inner-vid-disabled
vxlan host-reachability-protocol evpn-bgp l2_vrf_9
evpn irb9
!
nvo vxlan id 50010 ingress-replication inner-vid-disabled
!
route-map HIG_MED permit 10
set metric 55555
!
interface ce2
priority-flow-control mode auto
!
interface ce3
priority-flow-control mode auto
!
interface eth0
ip vrf forwarding management
ip address dhcp
!
interface irb2
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 2.1.1.1/24 anycast
ipv6 address 2::1/48 anycast
!
interface irb3
ip vrf forwarding l3_vrf_23
evpn irb-if-forwarding anycast-gateway-mac
ip address 3.1.1.1/24 anycast
ipv6 address 3::1/48 anycast
!
interface irb5
evpn irb-if-forwarding anycast-gateway-mac
shutdown
!
interface irb6
ip vrf forwarding l3_vrf_67
evpn irb-if-forwarding anycast-gateway-mac
ip address 6.1.1.1/24 anycast
ipv6 address 6::1/48 anycast
!
interface irb7
ip vrf forwarding l3_vrf_67
evpn irb-if-forwarding anycast-gateway-mac
ip address 7.1.1.1/24 anycast
ipv6 address 7::1/48 anycast
!
interface irb9
ip vrf forwarding l3_vrf_89
evpn irb-if-forwarding anycast-gateway-mac
ip address 9.1.1.1/24 anycast
ipv6 address 9::1/48 anycast
!
interface irb10
evpn irb-if-forwarding anycast-gateway-mac
shutdown
!
interface lo
ip address 127.0.0.1/8
ip address 5.5.5.5/32 secondary
ipv6 address ::1/128
!
interface lo.management
ip vrf forwarding management
ip address 127.0.0.1/8
ipv6 address ::1/128
!
interface xe4/4
description ***GPU-4 --> STC 6/6 ***
switchport
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!
router bgp 4294967205
bgp router-id 5.5.5.5
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
neighbor overlay peer-group
neighbor overlay remote-as 4294967209
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 4294967209
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 7.7.7.7 peer-group overlay
neighbor 8.8.8.8 peer-group overlay
!
bgp unnumbered-mode
neighbor ce3 peergroup underlay
neighbor ce2 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor ce3 route-map HIG_MED in
neighbor ce2 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
address-family ipv4 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv4 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_23
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_67
max-paths ebgp 50
redistribute connected
exit-address-family
!
address-family ipv6 vrf l3_vrf_89
max-paths ebgp 50
redistribute connected
exit-address-family
!
exit
!
line console 0
exec-timeout 0 0
line vty 0 16
exec-timeout 0 0
!
nvo vxlan access-if port-vlan xe4/4 6
description ***VTEP5-SH-TENENT-6***
map vnid 50006
!
nvo vxlan access-if port-vlan xe4/4 7
description ***VTEP5-SH-TENENT-7***
map vnid 50007
!
nvo vxlan access-if port-vlan xe4/4 9
description ***VTEP5-SH-TENENT-9***
map vnid 50009
!
!
end
 
Spine 1
!
feature netconf-ssh vrf management
feature netconf-tls vrf management
!
service password-encryption
!
logging monitor 4
logging level all 2
snmp-server enable traps link linkDown
snmp-server enable traps link linkUp
snmp-server enable traps ospf
snmp-server enable traps bgp
banner motd "NODE BELONGS TO L2 TEAM TESTING.PLEASE REFINE FROM USING IT"
!
bgp extended-asn-cap
!
load-balance rtag7
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id rocev2-dest-qpairs
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port rocev2-dest-qpairs next-hdr
!
bfd interval 100 minrx 100 multiplier 3
!
qos enable
!
hostname Spine1
port ethernet63 breakout 1X100g serdes 25g
port ethernet11 breakout 1X100g serdes 25g
port ethernet1 breakout 1X100g serdes 25g
default-interface type eth-routed mtu 9200
default-interface type eth-switchport mtu 9200
default-interface type svi mtu 9200
ip domain-lookup vrf management
ip name-server vrf management 10.12.3.23
default-interface load-interval 30
tfo Disable
errdisable cause stp-bpdu-guard
feature ssh vrf management
no feature ssh
feature dns relay
ip dns relay
ipv6 dns relay
feature ntp vrf management
username aimldlb role network-admin password encrypted $6$bJoWX2G1$aPj0g5d5ithuKPmXMvxjxtLgCBiasltAcOUfxRC6DGMfO99X5R7.JKUbznYl0vqiqYWTc64cl.MfKNFXF1CSw.
lldp run
lldp tlv-select basic-mgmt port-description
lldp tlv-select basic-mgmt system-name
lldp tlv-select basic-mgmt system-capabilities
lldp tlv-select basic-mgmt system-description
lldp tlv-select basic-mgmt management-address
lldp tlv-select ieee-8021-org-specific data-center-bridging
set lldp msg-tx-hold 1
set lldp timer msg-tx-interval 5
set lldp tx-fast-init 1
lldp notification-interval 5
fault-management enable
maximum-paths 64
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
vlan database
vlan-reservation 4001-4094
!
ip vrf management
!
route-map HIG_MED permit 10
set metric 55555
!
interface eth0
ip vrf forwarding management
ip address dhcp
!
interface ethernet1/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 10.1.17.2/24
ipv6 address 1017::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet2/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 20.1.11.2/24
ipv6 address 2011::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet3/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 10.1.11.2/24
ipv6 address 1011::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet4
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 40.1.13.2/24
ipv6 address 4013::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet5
!
interface ethernet6/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!
interface ethernet11/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 10.1.19.2/24
ipv6 address 1019::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet25/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 50.1.13.2/24
ipv6 address 5013::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet25/2
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 60.1.13.2/24
ipv6 address 6013::2/64
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet30/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 20.1.13.2/24
ipv6 address 2013::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet31/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 10.1.15.2/24
ipv6 address 1015::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet32/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 20.1.15.2/24
ipv6 address 2015::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet61/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 30.1.13.2/24
ipv6 address 3013::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet62/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 30.1.11.2/24
ipv6 address 3011::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet63/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 30.1.15.2/24
ipv6 address 3015::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface ethernet64/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
ip address 10.1.13.2/24
ipv6 address 1013::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface lo
ip address 127.0.0.1/8
ip address 7.7.7.7/32 secondary
ipv6 address ::1/128
ipv6 router ospf area 0.0.0.0 instance-id 0
!
interface lo.management
ip vrf forwarding management
ip address 127.0.0.1/8
ipv6 address ::1/128
!
interface mgmt1
ip vrf forwarding management
!
interface mgmt2
ip vrf forwarding management
!
exit
!
router ospf 100
ospf router-id 7.7.7.7
shutdown
network 7.7.7.7/32 area 0.0.0.0
network 10.1.11.0/24 area 0.0.0.0
network 10.1.13.0/24 area 0.0.0.0
network 10.1.15.0/24 area 0.0.0.0
network 10.1.17.0/24 area 0.0.0.0
network 10.1.19.0/24 area 0.0.0.0
network 20.1.11.0/24 area 0.0.0.0
network 20.1.13.0/24 area 0.0.0.0
network 20.1.15.0/24 area 0.0.0.0
network 20.1.17.0/24 area 0.0.0.0
network 30.1.11.0/24 area 0.0.0.0
network 30.1.13.0/24 area 0.0.0.0
network 30.1.15.0/24 area 0.0.0.0
network 30.1.17.0/24 area 0.0.0.0
network 40.1.13.0/24 area 0.0.0.0
network 50.1.13.0/24 area 0.0.0.0
network 60.1.13.0/24 area 0.0.0.0
!
router ipv6 ospf
router-id 7.7.7.7
!
router bgp 4294967209
bgp router-id 7.7.7.7
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
no bgp inbound-route-filter
neighbor overlay peer-group
neighbor overlay remote-as 12345
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 1
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 3.3.3.3 remote-as 4294967203
neighbor 3.3.3.3 peer-group overlay
neighbor 4.4.4.4 remote-as 4294967204
neighbor 4.4.4.4 peer-group overlay
neighbor 5.5.5.5 remote-as 4294967205
neighbor 5.5.5.5 peer-group overlay
!
bgp unnumbered-mode
neighbor ethernet6/1 remote-as external
neighbor ethernet6/1 peergroup underlay
neighbor ethernet1/1 remote-as external
neighbor ethernet1/1 peergroup underlay
neighbor ethernet31/1 remote-as external
neighbor ethernet31/1 peergroup underlay
neighbor ethernet63/1 remote-as external
neighbor ethernet63/1 peergroup underlay
neighbor ethernet32/1 remote-as external
neighbor ethernet32/1 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor ethernet6/1 route-map HIG_MED in
neighbor ethernet1/1 route-map HIG_MED in
neighbor ethernet31/1 route-map HIG_MED in
neighbor ethernet63/1 route-map HIG_MED in
neighbor ethernet32/1 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
exit
!
line console 0
exec-timeout 0 0
line vty 0 16
exec-timeout 0 0
!
!
end
Spine 2
!
feature netconf-ssh vrf management
feature netconf-tls vrf management
!
service password-encryption
!
logging monitor 4
logging level all 2
snmp-server enable traps link linkDown
snmp-server enable traps link linkUp
snmp-server enable traps ospf
snmp-server enable traps bgp
banner motd "NODE BELONGS TO L2 TEAM TESTING.PLEASE REFINE FROM USING IT"
!
bgp extended-asn-cap
!
load-balance rtag7
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id rocev2-dest-qpairs
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port rocev2-dest-qpairs next-hdr
!
bfd interval 100 minrx 100 multiplier 3
!
qos enable
!
hostname Spine2
port cd3 breakout 1X100g serdes 25g
port cd9 breakout 1X100g serdes 25g
port cd27 breakout 1X100g serdes 25g
default-interface type eth-routed mtu 9200
default-interface type eth-switchport mtu 9200
default-interface type svi mtu 9200
ip domain-lookup vrf management
ip name-server vrf management 10.12.3.23
default-interface load-interval 30
tfo Disable
errdisable cause stp-bpdu-guard
feature ssh vrf management
no feature ssh
feature dns relay
ip dns relay
ipv6 dns relay
feature ntp vrf management
username aimldlb role network-admin password encrypted $6$bJoWB2p/$xK0l6QeSWRV2HmmXbPBRja8uM0ugLRt6o7V4wliZE4p2bNmWfBDY8Zo7iuLzki84KvThCkmerZEq6w09IvOzA1
feature rsyslog
logging remote server 10.16.100.20 5 port 1514 vrf management
lldp run
lldp tlv-select basic-mgmt port-description
lldp tlv-select basic-mgmt system-name
lldp tlv-select basic-mgmt system-capabilities
lldp tlv-select basic-mgmt system-description
lldp tlv-select basic-mgmt management-address
lldp tlv-select ieee-8021-org-specific data-center-bridging
set lldp msg-tx-hold 1
set lldp timer msg-tx-interval 5
set lldp tx-fast-init 1
lldp notification-interval 1000
fault-management enable
maximum-paths 64
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
vlan database
vlan-reservation 4061-4094
!
ip vrf management
!
route-map HIG_MED permit 10
set metric 55555
!
interface cd1/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 10.1.12.2/24
ipv6 address 1012::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd2/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
lldp-agent
exit
!
interface cd3/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 10.1.18.2/24
ipv6 address 1018::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd4/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 20.1.12.2/24
ipv6 address 2012::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd5
!
interface cd6
!
interface cd7/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 20.1.16.2/24
ipv6 address 2016::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd8
!
interface cd9/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 10.1.20.2/24
ipv6 address 1020::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd24
!
interface cd25/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 30.1.14.2/24
ipv6 address 3014::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd26
!
interface cd27/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 30.1.16.2/24
ipv6 address 3016::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd28
!
interface cd29/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 20.1.14.2/24
ipv6 address 2014::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd30/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 10.1.14.2/24
ipv6 address 1014::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd31/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 30.1.12.2/24
ipv6 address 3012::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface cd32/1
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
ip address 10.1.16.2/24
ipv6 address 1016::2/64
ip ospf cost 100
ipv6 ospf cost 100 instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
lldp-agent
exit
!
interface eth0
ip vrf forwarding management
ip address dhcp
!
interface lo
ip address 127.0.0.1/8
ip address 8.8.8.8/32 secondary
ipv6 address ::1/128
ipv6 router ospf area 0.0.0.0 instance-id 0
!
interface lo.management
ip vrf forwarding management
ip address 127.0.0.1/8
ipv6 address ::1/128
!
interface xe33
shutdown
!
interface xe34
shutdown
!
exit
!
router ospf 100
ospf router-id 8.8.8.8
shutdown
network 8.8.8.8/32 area 0.0.0.0
network 10.1.12.0/24 area 0.0.0.0
network 10.1.14.0/24 area 0.0.0.0
network 10.1.16.0/24 area 0.0.0.0
network 10.1.18.0/24 area 0.0.0.0
network 10.1.20.0/24 area 0.0.0.0
network 20.1.12.0/24 area 0.0.0.0
network 20.1.14.0/24 area 0.0.0.0
network 20.1.16.0/24 area 0.0.0.0
network 20.1.18.0/24 area 0.0.0.0
network 30.1.12.0/24 area 0.0.0.0
network 30.1.14.0/24 area 0.0.0.0
network 30.1.16.0/24 area 0.0.0.0
network 30.1.18.0/24 area 0.0.0.0
!
router ipv6 ospf
router-id 8.8.8.8
!
router bgp 4294967209
bgp router-id 8.8.8.8
bgp bestpath as-path multipath-relax
bgp log-neighbor-changes
no bgp inbound-route-filter
neighbor overlay peer-group
neighbor overlay remote-as 12345
neighbor overlay ebgp-multihop
neighbor overlay update-source lo
neighbor overlay advertisement-interval 0
neighbor overlay fall-over bfd multihop
neighbor underlay peer-group
neighbor underlay remote-as 1
neighbor underlay authentication-key 0xb59db09d828b2528
neighbor underlay as-origination-interval 1
neighbor underlay advertisement-interval 0
neighbor underlay fall-over bfd
neighbor 3.3.3.3 remote-as 4294967203
neighbor 3.3.3.3 peer-group overlay
neighbor 4.4.4.4 remote-as 4294967204
neighbor 4.4.4.4 peer-group overlay
neighbor 5.5.5.5 remote-as 4294967205
neighbor 5.5.5.5 peer-group overlay
!
bgp unnumbered-mode
neighbor cd2/1 remote-as external
neighbor cd2/1 peergroup underlay
neighbor cd3/1 remote-as external
neighbor cd3/1 peergroup underlay
neighbor cd32/1 remote-as external
neighbor cd32/1 peergroup underlay
neighbor cd27/1 remote-as external
neighbor cd27/1 peergroup underlay
neighbor cd7/1 remote-as external
neighbor cd7/1 peergroup underlay
exit-unnumbered-mode
!
address-family ipv4 unicast
max-paths ebgp 10
redistribute connected
neighbor underlay activate
!
bgp v4-unnumbered-mode
neighbor cd2/1 route-map HIG_MED in
neighbor cd3/1 route-map HIG_MED in
neighbor cd32/1 route-map HIG_MED in
neighbor cd27/1 route-map HIG_MED in
neighbor cd7/1 route-map HIG_MED in
exit-v4-unnumbered-mode
!
exit-address-family
!
address-family l2vpn evpn
neighbor overlay activate
!
bgp l2vpn-unnumbered-mode
exit-l2vpn-unnumbered-mode
!
exit-address-family
!
exit
!
line console 0
exec-timeout 0 0
line vty 0 16
exec-timeout 0 0
!
!
end
Switch
!
service password-encryption
!
logging level all 2
snmp-server enable traps link linkDown
snmp-server enable traps link linkUp
snmp-server enable traps ospf
snmp-server enable traps bgp
!
bgp extended-asn-cap
!
load-balance rtag7
load-balance rtag7 all-lag-if
load-balance rtag7 macro-flow
load-balance rtag7 l2 dest-mac src-mac ether-type vlan
load-balance rtag7 ipv4 dest-ipv4 src-ipv4 destl4-port srcl4-port protocol-id rocev2-dest-qpairs
load-balance rtag7 ipv6 dest-ipv6 src-ipv6 destl4-port srcl4-port rocev2-dest-qpairs
!
bfd interval 100 minrx 100 multiplier 3
!
qos enable
!
hostname SW1-MH
port ethernet29 breakout 1X100g serdes 25g
port ethernet3 breakout 1X100g serdes 25g
port ethernet1 breakout 1X100g serdes 25g
default-interface type eth-routed mtu 9200
default-interface type eth-switchport mtu 9200
default-interface type svi mtu 9200
default-interface type irb mtu 9200
default-interface type lag mtu 9200
ip domain-lookup vrf management
ip name-server vrf management 10.12.3.23
default-interface load-interval 30
bridge 1 protocol ieee vlan-bridge
tfo Disable
errdisable cause stp-bpdu-guard
data-center-bridging enable bridge 1
feature ssh vrf management
no feature ssh
feature dns relay
ip dns relay
ipv6 dns relay
feature rsyslog
logging remote server 10.16.100.20 5 port 1514 vrf management
lldp run
lldp tlv-select basic-mgmt port-description
lldp tlv-select basic-mgmt system-name
lldp tlv-select basic-mgmt system-capabilities
lldp tlv-select basic-mgmt system-description
lldp tlv-select basic-mgmt management-address
lldp notification-interval 1000
fault-management enable
!
vlan database
vlan-reservation 4029-4094
vlan 2-100 bridge 1
!
ip vrf management
!
interface po1
description ****VTEP3-VTEP4-MH****
switchport
bridge-group 1
switchport mode trunk
switchport trunk allowed vlan all
priority-flow-control mode auto
!
interface eth0
ip vrf forwarding management
ip address dhcp
!
interface ethernet1/1
channel-group 1 mode active
!
interface ethernet3/1
switchport
bridge-group 1
switchport mode trunk
switchport trunk allowed vlan all
priority-flow-control mode on
priority-flow-control advertise-local-config
priority-flow-control enable priority 0 1 2 3 4 5 6 7
load-interval 30
lldp-agent
exit
!
interface lo
ip address 127.0.0.1/8
ipv6 address ::1/128
!
interface lo.management
ip vrf forwarding management
ip address 127.0.0.1/8
ipv6 address ::1/128
!
interface mgmt64
!
interface mgmt65
!
exit
!
line console 0
exec-timeout 0 0
line vty 0 16
exec-timeout 0 0
!
!
end
 
PFC Validation
VTEP1
Before Congestion
This section shows the state of the VTEP1 switch under normal operation before any congestion was introduced.
Verify the status of established VxLAN tunnels. The output confirms that tunnels from the local VTEP1 (3.3.3.3) to remote VTEPs 5.5.5.5 (VTEP2) and 4.4.4.4 (VTEP3) are established.
VTEP1#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
========================================================================
3.3.3.3 5.5.5.5 Installed 02:02:14 02:02:02
3.3.3.3 4.4.4.4 Installed 02:02:13 02:02:02
 
Total number of entries are 2
 
Verify the detailed information about each configured VNID.
 
VTEP1#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr Router-Mac
_______________________________________________________________________________________________________________________________________________
50002 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50002 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50002 ---- -- AC xe0 --- Single Homed Port --- 2 ---- ---- ----
50003 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50003 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50003 ---- -- AC xe0 --- Single Homed Port --- 3 ---- ---- ----
50004 ---- -- AC xe0 --- Single Homed Port --- 4 ---- ---- ----
50006 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50006 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50006 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 6 DF ---- ----
50007 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50007 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50007 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 7 NON-DF ---- ----
50008 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50008 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 8 DF ---- ----
50010 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50010 ---- -- AC xe0 --- Single Homed Port --- 10 ---- ---- ----
77777 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 34ef.b696.dba1
88888 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 5c07.5870.4300
88888 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 34ef.b696.dba1
101010 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 34ef.b696.dba1
 
Total number of entries are 21
VTEP1#
 
Verify the status of BGP sessions used for underlay reachability.
VTEP1#show bgp summary
BGP router identifier 3.3.3.3, local AS number 4294967203
BGP table version is 4
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
cd4/1(fe80::5e17:83ff:feff:3072) 4 4294967209 352 352 4 0 0 02:28:46 7
cd3/1(fe80::d6dc:85ff:fe1a:30f1) 4 4294967209 351 354 4 0 0 02:28:33 6
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP1#
 
Verify the BGP EVPN sessions used for overlay control plane (MAC/IP advertisement).
VTEP1#
VTEP1#show bgp l2vpn evpn summary
BGP router identifier 3.3.3.3, local AS number 4294967203
BGP table version is 196
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
7.7.7.7 4 4294967209 523 647 196 0 0 02:28:35 246 4 221 12 1 8
8.8.8.8 4 4294967209 522 584 195 0 0 02:28:49 246 4 221 12 1 8
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP1#
 
Display the current transmit (Tx) and receive (Rx) traffic rates on interfaces.
VTEP1#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
cd3/1 0.00 6 5.62 76770
cd4/1 0.00 16 2.41 32915
xe0 7.98 109663 0.00 0
VTEP1#
The above output indicates an active traffic flow through the VxLAN fabric.
 
Display the configured QoS settings.
VTEP1#show running-config qos
qos enable
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
 
Display both the configured (Admin) and current operational state of PFC on all interfaces.
 
VTEP1#show priority-flow-control details all
 
Admin Configuration
--------------------
interface mode advertise willing cap link delay priorities
allowance
================================================================================
cd7 on on off 8 0 0 1 2 3 4 5 6 7
xe0 on on off 8 0 0 1 2 3 4 5 6 7
cd8/1 on on off 8 0 0 1 2 3 4 5 6 7
cd0/1 auto on on 8 0
cd2/1 auto on on 8 0
cd3/1 auto on on 8 0
cd4/1 auto on on 8 0
cd5/1 auto on on 8 0
cd6 on on off 8 0 0 1 2 3 4 5 6 7
cd10/1 auto on on 8 0
po1 on on off 8 0 0 1 2 3 4 5 6 7
 
--------------------------------------------------------------------------------
 
Operational Configuration
-------------------------
interface state cap link delay priorities
allowance
================================================================================
cd7 on 8 0 0 1 2 3 4 5 6 7
xe0 on 8 0 0 1 2 3 4 5 6 7
cd8/1 on 8 0 0 1 2 3 4 5 6 7
cd3/1 on 8 0 0 1 2 3 4 5 6 7
cd4/1 on 8 0 0 1 2 3 4 5 6 7
cd6 on 8 0 0 1 2 3 4 5 6 7
 
Verify the counters for PFC pause frames sent and received per priority on each interface.
 
VTEP1#show priority-flow-control statistics all
interface pri pause sent pause received
======================================================
cd7 0 0 0
cd7 1 0 0
cd7 2 0 0
cd7 3 0 0
cd7 4 0 0
cd7 5 0 0
cd7 6 0 0
cd7 7 0 0
xe0 0 0 0
xe0 1 0 0
xe0 2 0 0
xe0 3 0 0
xe0 4 0 0
xe0 5 0 0
xe0 6 0 0
xe0 7 0 0
cd8/1 0 0 0
cd8/1 1 0 0
cd8/1 2 0 0
cd8/1 3 0 0
cd8/1 4 0 0
cd8/1 5 0 0
cd8/1 6 0 0
cd8/1 7 0 0
cd0/1 0 0 0
cd0/1 1 0 0
cd0/1 2 0 0
cd0/1 3 0 0
cd0/1 4 0 0
cd0/1 5 0 0
cd0/1 6 0 0
cd0/1 7 0 0
VTEP1#
 
The above output indicates that no PFC pausing occurred before congestion as all counters are zero.
After Congestion
This section shows the state after congestion was induced by applying a 1 Gbps shaper on the egress network interface cd3/1.
Display the QoS configuration to verify the congestion applied on the interface cd3/1.
Note: Congestion is induced manually in the fabric using shaper on egress interface cd3/1.
===================================================================================================
 
VTEP1#show running-config qos
qos enable
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
interface cd3/1
shape rate 1 gbps burst 10000
!
!
Verify the traffic is throttled on ingress as per egress shape configurations.
VTEP1#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
cd3/1 0.00 6 0.70 9601
cd4/1 0.00 16 0.30 4128
xe0 1.00 13707 0.00 0
VTEP1#
 
The above output traffic rates reflect the congestion. The transmit rate on the shaped interface cd3/1 is capped around 0.70 Gbps. Consequently, the receive rate on the access interface xe0 has reduced to ~1.00 Gbps (down from ~7.98 Gbps) as the PFC throttles the ingress traffic. The rate on the other uplink cd4/1 is also adjusted (~0.30 Gbps).
Verify the PFC pause frames counters on ingress interface xe0 is incremented.
VTEP1#
VTEP1#show priority-flow-control statistics all
interface pri pause sent pause received
======================================================
cd7 0 0 0
cd7 1 0 0
cd7 2 0 0
cd7 3 0 0
cd7 4 0 0
cd7 5 0 0
cd7 6 0 0
cd7 7 0 0
xe0 0 0 0
xe0 1 0 0
xe0 2 0 0
xe0 3 0 0
xe0 4 0 0
xe0 5 0 0
xe0 6 0 0
xe0 7 177351 0
cd8/1 0 0 0
cd8/1 1 0 0
cd8/1 2 0 0
cd8/1 3 0 0
cd8/1 4 0 0
cd8/1 5 0 0
cd8/1 6 0 0
cd8/1 7 0 0
VTEP1#
 
The pause sent counter for interface xe0 (the ingress access port receiving traffic) on priority 7 is rapidly incrementing. This means VTEP1 is sending PFC pause frames out of interface xe0 towards the connected host (SH1) for priority 7 because the downstream path (specifically the shaped egress cd3/1) is congested for traffic mapped to that priority.
 
Verify that the PFC administrative and operational status remain unchanged (identical to before congestion).
VTEP1#show priority-flow-control details all
 
Admin Configuration
--------------------
interface mode advertise willing cap link delay priorities
allowance
================================================================================
cd7 on on off 8 0 0 1 2 3 4 5 6 7
xe0 on on off 8 0 0 1 2 3 4 5 6 7
cd8/1 on on off 8 0 0 1 2 3 4 5 6 7
cd0/1 auto on on 8 0
cd2/1 auto on on 8 0
cd3/1 auto on on 8 0
cd4/1 auto on on 8 0
cd5/1 auto on on 8 0
cd6 on on off 8 0 0 1 2 3 4 5 6 7
cd10/1 auto on on 8 0
po1 on on off 8 0 0 1 2 3 4 5 6 7
 
Operational Configuration
-------------------------
interface state cap link delay priorities
allowance
================================================================================
cd7 on 8 0 0 1 2 3 4 5 6 7
xe0 on 8 0 0 1 2 3 4 5 6 7
cd8/1 on 8 0 0 1 2 3 4 5 6 7
cd3/1 on 8 0 0 1 2 3 4 5 6 7
cd4/1 on 8 0 0 1 2 3 4 5 6 7
cd6 on 8 0 0 1 2 3 4 5 6 7
 
VTEP2
VTEP2#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
========================================================================
4.4.4.4 3.3.3.3 Installed 00:03:53 00:03:04
4.4.4.4 5.5.5.5 Installed 00:03:53 00:03:04
 
Total number of entries are 2
VTEP2#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr Router-Mac
_______________________________________________________________________________________________________________________________________________
50002 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50002 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50002 ---- -- AC xe34 --- Single Homed Port --- 2 ---- ---- ----
50003 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50003 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50003 ---- -- AC xe34 --- Single Homed Port --- 3 ---- ---- ----
50005 ---- -- AC xe34 --- Single Homed Port --- 5 ---- ---- ----
50006 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50006 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50006 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 6 NON-DF ---- ----
50007 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50007 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50007 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 7 DF ---- ----
50008 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50008 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 8 NON-DF ---- ----
50010 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50010 ---- -- AC xe34 --- Single Homed Port --- 10 ---- ---- ----
77777 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 5c07.5827.cb5f
88888 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 5c07.5827.cb5f
88888 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 5c07.5870.4300
101010 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 5c07.5827.cb5f
 
Total number of entries are 21
VTEP2#
VTEP2#
VTEP2#show bgp summary
BGP router identifier 4.4.4.4, local AS number 4294967204
BGP table version is 6
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
ce5(fe80::5e17:83ff:feff:3060) 4 4294967209 15 14 6 0 0 00:04:06 7
ce1(fe80::d6dc:85ff:fe1a:30b0) 4 4294967209 12 14 6 0 0 00:03:13 6
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP2#show bgp l2vpn evpn summary
BGP router identifier 4.4.4.4, local AS number 4294967204
BGP table version is 12
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
7.7.7.7 4 4294967209 46 61 6 0 0 00:03:16 56 4 33 10 1 8
8.8.8.8 4 4294967209 76 48 12 0 0 00:04:08 56 4 33 10 1 8
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP2#
 
 
VTEP2#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
ce1 4.01 54787 0.00 6
ce5 4.01 54787 0.00 6
xe34 0.00 0 7.98 109564
VTEP2#
 
 
VTEP2#show priority-flow-control details all
 
Admin Configuration
--------------------
interface mode advertise willing cap link delay priorities
allowance
================================================================================
ce31 on on off 8 0 0 1 2 3 4 5 6 7
xe34 on on off 8 0 0 1 2 3 4 5 6 7
ce1 auto on on 8 0
ce5 auto on on 8 0
ce7 on on off 8 0 0 1 2 3 4 5 6 7
ce8 on on off 8 0 0 1 2 3 4 5 6 7
po1 on on off 8 0 0 1 2 3 4 5 6 7
 
--------------------------------------------------------------------------------
 
Operational Configuration
-------------------------
interface state cap link delay priorities
allowance
================================================================================
ce31 on 8 0 0 1 2 3 4 5 6 7
xe34 on 8 0 0 1 2 3 4 5 6 7
ce1 on 8 0 0 1 2 3 4 5 6 7
ce5 on 8 0 0 1 2 3 4 5 6 7
ce7 on 8 0 0 1 2 3 4 5 6 7
ce8 on 8 0 0 1 2 3 4 5 6 7
 
 
VTEP2#show priority-flow-control statistics all
interface pri pause sent pause received
======================================================
ce31 0 0 0
ce31 1 0 0
ce31 2 0 0
ce31 3 0 0
ce31 4 0 0
ce31 5 0 0
ce31 6 0 0
ce31 7 0 0
xe34 0 0 0
xe34 1 0 0
xe34 2 0 0
xe34 3 0 0
xe34 4 0 0
xe34 5 0 0
xe34 6 0 0
xe34 7 0 0
ce1 0 0 0
ce1 1 0 0
ce1 2 0 0
ce1 3 0 0
ce1 4 0 0
ce1 5 0 0
ce1 6 0 0
ce1 7 0 0
ce5 0 0 0
ce5 1 0 0
ce5 2 0 0
ce5 3 0 0
ce5 4 0 0
ce5 5 0 0
ce5 6 0 0
ce5 7 0 0
ce7 0 0 0
ce7 1 0 0
ce7 2 0 0
ce7 3 0 0
ce7 4 0 0
ce7 5 0 0
ce7 6 0 0
ce7 7 0 0
ce8 0 0 0
ce8 1 0 0
ce8 2 0 0
ce8 3 0 0
ce8 4 0 0
ce8 5 0 0
ce8 6 0 0
ce8 7 0 0
VTEP2#
 
VTEP3
VTEP3#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
========================================================================
5.5.5.5 3.3.3.3 Installed 00:08:23 00:07:34
5.5.5.5 4.4.4.4 Installed 00:08:23 00:07:34
 
Total number of entries are 2
VTEP3#
VTEP3#
VTEP3#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr Router-Mac
_______________________________________________________________________________________________________________________________________________
50002 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50002 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50003 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50003 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50006 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50006 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50006 ---- -- AC xe4/4 --- Single Homed Port --- 6 ---- ---- ----
50007 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50007 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50007 ---- -- AC xe4/4 --- Single Homed Port --- 7 ---- ---- ----
50009 ---- -- AC xe4/4 --- Single Homed Port --- 9 ---- ---- ----
88888 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 5c07.5827.cb5f
88888 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 34ef.b696.dba1
 
Total number of entries are 13
VTEP3#
 
VTEP3#show bgp summary
BGP router identifier 5.5.5.5, local AS number 4294967205
BGP table version is 4
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
ce3(fe80::d6dc:85ff:fe1a:30b8) 4 4294967209 23 25 4 0 0 00:07:42 7
ce2(fe80::5e17:83ff:feff:305e) 4 4294967209 27 23 4 0 0 00:08:36 8
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP3#
 
VTEP3#show bgp l2vpn evpn summary
BGP router identifier 5.5.5.5, local AS number 4294967205
BGP table version is 8
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
7.7.7.7 4 4294967209 71 56 5 0 0 00:07:42 46 6 28 8 0 4
8.8.8.8 4 4294967209 73 40 8 0 0 00:08:36 46 6 28 8 0 4
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP3#
VTEP3#show priority-flow-control details all
 
Admin Configuration
--------------------
interface mode advertise willing cap link delay priorities
allowance
================================================================================
xe4/4 on on off 8 0 0 1 2 3 4 5 6 7
ce2 auto on on 8 0
ce3 auto on on 8 0
 
--------------------------------------------------------------------------------
 
Operational Configuration
-------------------------
interface state cap link delay priorities
allowance
================================================================================
xe4/4 on 8 0 0 1 2 3 4 5 6 7
ce2 on 8 0 0 1 2 3 4 5 6 7
ce3 on 8 0 0 1 2 3 4 5 6 7
 
 
VTEP3#show priority-flow-control statistics all
interface pri pause sent pause received
======================================================
xe4/4 0 0 0
xe4/4 1 0 0
xe4/4 2 0 0
xe4/4 3 0 0
xe4/4 4 0 0
xe4/4 5 0 0
xe4/4 6 0 0
xe4/4 7 0 0
ce2 0 0 0
ce2 1 0 0
ce2 2 0 0
ce2 3 0 0
ce2 4 0 0
ce2 5 0 0
ce2 6 0 0
ce2 7 0 0
ce3 0 0 0
ce3 1 0 0
ce3 2 0 0
ce3 3 0 0
ce3 4 0 0
ce3 5 0 0
ce3 6 0 0
ce3 7 0 0
VTEP3#
 
Spine 1
SPINE-1#show bgp l2vpn evpn summary
BGP router identifier 7.7.7.7, local AS number 4294967209
BGP table version is 12
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
3.3.3.3 4 4294967203 106 94 12 0 0 00:08:40 42 4 24 7 1 6
4.4.4.4 4 4294967204 76 59 10 0 0 00:08:41 67 4 49 7 1 6
5.5.5.5 4 4294967205 58 74 12 0 0 00:08:40 22 0 15 5 0 2
 
Total number of neighbors 3
 
Total number of Established sessions 3
SPINE-1#show bgp summary
BGP router identifier 7.7.7.7, local AS number 4294967209
BGP table version is 4
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
ethernet32/1 4 0 0 0 0 0 0 never Idle
ethernet63/1(fe80::5e07:58ff:fe27:cb64) 4 4294967203 27 25 3 0 0 00:08:50 3
ethernet31/1 4 0 0 0 0 0 0 never Idle
ethernet1/1(fe80::36ef:b6ff:fe96:dba2) 4 4294967204 28 25 4 0 0 00:08:50 3
ethernet6/1(fe80::5e07:58ff:fe70:4305) 4 4294967205 28 25 4 0 0 00:08:50 1
 
Total number of neighbors 5
 
Total number of Established sessions 3
SPINE-1#
 
SPINE-1#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
ethernet1/1 0.00 6 4.01 54843
ethernet6/1 0.00 6 0.00 6
ethernet63/1 4.01 54844 0.00 6
SPINE-1#
 
 
SPINE-1#show priority-flow-control details all
 
Admin Configuration
--------------------
interface mode advertise willing cap link delay priorities
allowance
================================================================================
ethernet1/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet2/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet4 on on off 8 0 0 1 2 3 4 5 6 7
ethernet3/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet6/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet11/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet25/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet25/2 on on off 8 0 0 1 2 3 4 5 6 7
ethernet30/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet61/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet62/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet32/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet31/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet64/1 on on off 8 0 0 1 2 3 4 5 6 7
ethernet63/1 on on off 8 0 0 1 2 3 4 5 6 7
 
--------------------------------------------------------------------------------
 
Operational Configuration
-------------------------
interface state cap link delay priorities
allowance
================================================================================
ethernet1/1 on 8 0 0 1 2 3 4 5 6 7
ethernet2/1 on 8 0 0 1 2 3 4 5 6 7
ethernet4 on 8 0 0 1 2 3 4 5 6 7
ethernet3/1 on 8 0 0 1 2 3 4 5 6 7
ethernet6/1 on 8 0 0 1 2 3 4 5 6 7
ethernet11/1 on 8 0 0 1 2 3 4 5 6 7
ethernet25/1 on 8 0 0 1 2 3 4 5 6 7
ethernet25/2 on 8 0 0 1 2 3 4 5 6 7
ethernet30/1 on 8 0 0 1 2 3 4 5 6 7
ethernet61/1 on 8 0 0 1 2 3 4 5 6 7
ethernet62/1 on 8 0 0 1 2 3 4 5 6 7
ethernet32/1 on 8 0 0 1 2 3 4 5 6 7
ethernet31/1 on 8 0 0 1 2 3 4 5 6 7
ethernet64/1 on 8 0 0 1 2 3 4 5 6 7
ethernet63/1 on 8 0 0 1 2 3 4 5 6 7
 
 
SPINE-1#show priority-flow-control statistics all
interface pri pause sent pause received
======================================================
ethernet1/1 0 0 0
ethernet1/1 1 0 0
ethernet1/1 2 0 0
ethernet1/1 3 0 0
ethernet1/1 4 0 0
ethernet1/1 5 0 0
ethernet1/1 6 0 0
ethernet1/1 7 0 0
ethernet2/1 0 0 0
ethernet2/1 1 0 0
ethernet2/1 2 0 0
ethernet2/1 3 0 0
ethernet2/1 4 0 0
ethernet2/1 5 0 0
ethernet2/1 6 0 0
ethernet2/1 7 0 0
ethernet4 0 0 0
ethernet4 1 0 0
ethernet4 2 0 0
ethernet4 3 0 0
ethernet4 4 0 0
ethernet4 5 0 0
ethernet4 6 0 0
ethernet4 7 0 0
ethernet3/1 0 0 0
ethernet3/1 1 0 0
ethernet3/1 2 0 0
ethernet3/1 3 0 0
ethernet3/1 4 0 0
ethernet3/1 5 0 0
ethernet3/1 6 0 0
ethernet3/1 7 0 0
ethernet6/1 0 0 0
ethernet6/1 1 0 0
ethernet6/1 2 0 0
ethernet6/1 3 0 0
ethernet6/1 4 0 0
ethernet6/1 5 0 0
ethernet6/1 6 0 0
ethernet6/1 7 0 0
ethernet11/1 0 0 0
ethernet11/1 1 0 0
ethernet11/1 2 0 0
ethernet11/1 3 0 0
ethernet11/1 4 0 0
ethernet11/1 5 0 0
ethernet11/1 6 0 0
ethernet11/1 7 0 0
ethernet25/1 0 0 0
ethernet25/1 1 0 0
ethernet25/1 2 0 0
ethernet25/1 3 0 0
ethernet25/1 4 0 0
ethernet25/1 5 0 0
ethernet25/1 6 0 0
ethernet25/1 7 0 0
ethernet25/2 0 0 0
ethernet25/2 1 0 0
ethernet25/2 2 0 0
ethernet25/2 3 0 0
ethernet25/2 4 0 0
ethernet25/2 5 0 0
ethernet25/2 6 0 0
ethernet25/2 7 0 0
ethernet30/1 0 0 0
ethernet30/1 1 0 0
ethernet30/1 2 0 0
ethernet30/1 3 0 0
ethernet30/1 4 0 0
ethernet30/1 5 0 0
ethernet30/1 6 0 0
ethernet30/1 7 0 0
ethernet61/1 0 0 0
ethernet61/1 1 0 0
ethernet61/1 2 0 0
ethernet61/1 3 0 0
ethernet61/1 4 0 0
ethernet61/1 5 0 0
ethernet61/1 6 0 0
ethernet61/1 7 0 0
ethernet62/1 0 0 0
ethernet62/1 1 0 0
ethernet62/1 2 0 0
ethernet62/1 3 0 0
ethernet62/1 4 0 0
ethernet62/1 5 0 0
ethernet62/1 6 0 0
ethernet62/1 7 0 0
ethernet32/1 0 0 0
ethernet32/1 1 0 0
ethernet32/1 2 0 0
ethernet32/1 3 0 0
ethernet32/1 4 0 0
ethernet32/1 5 0 0
ethernet32/1 6 0 0
ethernet32/1 7 0 0
ethernet31/1 0 0 0
ethernet31/1 1 0 0
ethernet31/1 2 0 0
ethernet31/1 3 0 0
ethernet31/1 4 0 0
ethernet31/1 5 0 0
ethernet31/1 6 0 0
ethernet31/1 7 0 0
ethernet64/1 0 0 0
ethernet64/1 1 0 0
ethernet64/1 2 0 0
ethernet64/1 3 0 0
ethernet64/1 4 0 0
ethernet64/1 5 0 0
ethernet64/1 6 0 0
ethernet64/1 7 0 0
ethernet63/1 0 0 0
ethernet63/1 1 0 0
ethernet63/1 2 0 0
ethernet63/1 3 0 0
ethernet63/1 4 0 0
ethernet63/1 5 0 0
ethernet63/1 6 0 0
ethernet63/1 7 0 0
SPINE-1#
 
Spine 2
SPINE-2#show bgp summary
BGP router identifier 8.8.8.8, local AS number 4294967209
BGP table version is 6
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
cd7/1 4 0 0 0 0 0 0 never Idle
cd27/1(fe80::5e07:58ff:fe27:cb65) 4 4294967203 28 30 6 0 0 00:10:17 3
cd32/1 4 0 0 0 0 0 0 never Idle
cd3/1(fe80::36ef:b6ff:fe96:dba6) 4 4294967204 29 30 5 0 0 00:10:17 3
cd2/1(fe80::5e07:58ff:fe70:4304) 4 4294967205 27 31 6 0 0 00:10:17 1
 
Total number of neighbors 5
 
Total number of Established sessions 3
SPINE-2#show bgp l2vpn evpn summary
BGP router identifier 8.8.8.8, local AS number 4294967209
BGP table version is 13
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
3.3.3.3 4 4294967203 59 97 13 0 0 00:10:21 42 4 24 7 1 6
4.4.4.4 4 4294967204 64 91 11 0 0 00:10:21 67 4 49 7 1 6
5.5.5.5 4 4294967205 42 77 13 0 0 00:10:21 22 0 15 5 0 2
 
Total number of neighbors 3
 
Total number of Established sessions 3
SPINE-2#
 
SPINE-2#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
cd2/1 0.00 6 0.00 6
cd3/1 0.00 6 4.01 54837
cd27/1 4.01 54848 0.00 16
SPINE-2#
 
 
SPINE-2#show priority-flow-control details all
 
Admin Configuration
--------------------
interface mode advertise willing cap link delay priorities
allowance
================================================================================
cd9/1 on on off 8 0 0 1 2 3 4 5 6 7
cd2/1 on on off 8 0 0 1 2 3 4 5 6 7
cd1/1 on on off 8 0 0 1 2 3 4 5 6 7
cd3/1 on on off 8 0 0 1 2 3 4 5 6 7
cd4/1 on on off 8 0 0 1 2 3 4 5 6 7
cd7/1 on on off 8 0 0 1 2 3 4 5 6 7
cd25/1 on on off 8 0 0 1 2 3 4 5 6 7
cd27/1 on on off 8 0 0 1 2 3 4 5 6 7
cd30/1 on on off 8 0 0 1 2 3 4 5 6 7
cd29/1 on on off 8 0 0 1 2 3 4 5 6 7
cd32/1 on on off 8 0 0 1 2 3 4 5 6 7
cd31/1 on on off 8 0 0 1 2 3 4 5 6 7
 
--------------------------------------------------------------------------------
 
Operational Configuration
-------------------------
interface state cap link delay priorities
allowance
================================================================================
cd9/1 on 8 0 0 1 2 3 4 5 6 7
cd2/1 on 8 0 0 1 2 3 4 5 6 7
cd1/1 on 8 0 0 1 2 3 4 5 6 7
cd3/1 on 8 0 0 1 2 3 4 5 6 7
cd4/1 on 8 0 0 1 2 3 4 5 6 7
cd7/1 on 8 0 0 1 2 3 4 5 6 7
cd25/1 on 8 0 0 1 2 3 4 5 6 7
cd27/1 on 8 0 0 1 2 3 4 5 6 7
cd30/1 on 8 0 0 1 2 3 4 5 6 7
cd29/1 on 8 0 0 1 2 3 4 5 6 7
cd32/1 on 8 0 0 1 2 3 4 5 6 7
cd31/1 on 8 0 0 1 2 3 4 5 6 7
 
 
SPINE-2#show priority-flow-control statistics all
interface pri pause sent pause received
======================================================
cd9/1 0 0 0
cd9/1 1 0 0
cd9/1 2 0 0
cd9/1 3 0 0
cd9/1 4 0 0
cd9/1 5 0 0
cd9/1 6 0 0
cd9/1 7 0 0
cd2/1 0 0 0
cd2/1 1 0 0
cd2/1 2 0 0
cd2/1 3 0 0
cd2/1 4 0 0
cd2/1 5 0 0
cd2/1 6 0 0
cd2/1 7 0 0
cd1/1 0 0 0
cd1/1 1 0 0
cd1/1 2 0 0
cd1/1 3 0 0
cd1/1 4 0 0
cd1/1 5 0 0
cd1/1 6 0 0
cd1/1 7 0 0
cd3/1 0 0 0
cd3/1 1 0 0
cd3/1 2 0 0
cd3/1 3 0 0
cd3/1 4 0 0
cd3/1 5 0 0
cd3/1 6 0 0
cd3/1 7 0 0
cd4/1 0 0 0
cd4/1 1 0 0
cd4/1 2 0 0
cd4/1 3 0 0
cd4/1 4 0 0
cd4/1 5 0 0
cd4/1 6 0 0
cd4/1 7 0 0
cd7/1 0 0 0
cd7/1 1 0 0
cd7/1 2 0 0
cd7/1 3 0 0
cd7/1 4 0 0
cd7/1 5 0 0
cd7/1 6 0 0
cd7/1 7 0 0
cd25/1 0 0 0
cd25/1 1 0 0
cd25/1 2 0 0
cd25/1 3 0 0
cd25/1 4 0 0
cd25/1 5 0 0
cd25/1 6 0 0
cd25/1 7 0 0
cd27/1 0 0 0
cd27/1 1 0 0
cd27/1 2 0 0
cd27/1 3 0 0
cd27/1 4 0 0
cd27/1 5 0 0
cd27/1 6 0 0
cd27/1 7 0 0
cd30/1 0 0 0
cd30/1 1 0 0
cd30/1 2 0 0
cd30/1 3 0 0
cd30/1 4 0 0
cd30/1 5 0 0
cd30/1 6 0 0
cd30/1 7 0 0
cd29/1 0 0 0
cd29/1 1 0 0
cd29/1 2 0 0
cd29/1 3 0 0
cd29/1 4 0 0
cd29/1 5 0 0
cd29/1 6 0 0
cd29/1 7 0 0
cd32/1 0 0 0
cd32/1 1 0 0
cd32/1 2 0 0
cd32/1 3 0 0
cd32/1 4 0 0
cd32/1 5 0 0
cd32/1 6 0 0
cd32/1 7 0 0
cd31/1 0 0 0
cd31/1 1 0 0
cd31/1 2 0 0
cd31/1 3 0 0
cd31/1 4 0 0
cd31/1 5 0 0
cd31/1 6 0 0
cd31/1 7 0 0
SPINE-2#
ECN Validation
VTEP1
Before Congestion
 
This section shows the state of the VTEP1 switch under normal operation before any congestion was introduced.
Verify the status of established VxLAN tunnels. The output confirms that tunnels from the local VTEP1 (3.3.3.3) to remote VTEPs 5.5.5.5 (VTEP2) and 4.4.4.4 (VTEP3) are established.
 
VTEP1#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
========================================================================
3.3.3.3 5.5.5.5 Installed 02:02:14 02:02:02
3.3.3.3 4.4.4.4 Installed 02:02:13 02:02:02
 
Total number of entries are 2
 
Verify the detailed information about each configured VNID.
VTEP1#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr Router-Mac
_______________________________________________________________________________________________________________________________________________
50002 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50002 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50002 ---- -- AC xe0 --- Single Homed Port --- 2 ---- ---- ----
50003 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50003 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50003 ---- -- AC xe0 --- Single Homed Port --- 3 ---- ---- ----
50004 ---- -- AC xe0 --- Single Homed Port --- 4 ---- ---- ----
50006 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50006 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50006 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 6 DF ---- ----
50007 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 --------------
50007 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50007 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 7 NON-DF ---- ----
50008 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50008 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 8 DF ---- ----
50010 ---- L2 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 --------------
50010 ---- -- AC xe0 --- Single Homed Port --- 10 ---- ---- ----
77777 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 34ef.b696.dba1
88888 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 5.5.5.5 5c07.5870.4300
88888 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 34ef.b696.dba1
101010 ---- L3 NW ---- ---- ---- ---- 3.3.3.3 4.4.4.4 34ef.b696.dba1
 
Total number of entries are 21
VTEP1#
 
Verify the status of BGP sessions used for underlay reachability.
VTEP1#show bgp summary
BGP router identifier 3.3.3.3, local AS number 4294967203
BGP table version is 4
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
cd4/1(fe80::5e17:83ff:feff:3072) 4 4294967209 352 352 4 0 0 02:28:46 7
cd3/1(fe80::d6dc:85ff:fe1a:30f1) 4 4294967209 351 354 4 0 0 02:28:33 6
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP1#
VTEP1#
Verify the BGP EVPN sessions used for overlay control plane (MAC/IP advertisement).
VTEP1#show bgp l2vpn evpn summary
BGP router identifier 3.3.3.3, local AS number 4294967203
BGP table version is 196
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
7.7.7.7 4 4294967209 523 647 196 0 0 02:28:35 246 4 221 12 1 8
8.8.8.8 4 4294967209 522 584 195 0 0 02:28:49 246 4 221 12 1 8
 
Total number of neighbors 2
Total number of Established sessions 2
VTEP1#
 
Display the configured QoS settings.
VTEP1#show running-config qos
qos enable
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
Display the current transmit (Tx) and receive (Rx) traffic rates on interfaces.
VTEP1#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
cd3/1 0.00 5 5.62 76770
cd4/1 0.00 16 2.41 32915
xe0 7.98 109663 0.00 0
VTEP1#
 
Verify ECN marked packet counters. The output is empty or shows zero, indicating no ECN marking has occurred.
VTEP1#show interface counters ecn
+------------------+----------------------+
| Interface | ECN marked packets |
+------------------+----------------------+
VTEP1#
Verify the policy map applied on interface cd3/1.
The output shows detailed packet and byte counters for each queue within the policy map before congestion. The non-zero output counters for q0 and q7 confirms that the traffic is flowing and no drop occurred.
 
VTEP1#show policy-map interface cd3/1
 
Interface cd3/1
 
Type Queuing policy-map : default-out-policy
 
Service-policy (queuing) output: default-out-policy
Interface Bandwidth 100000000 kbps
-----------------------------------
Class-map (queuing): q0
priority
lossless
output : 1342328 packets, 12276931888 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q1
priority
lossless
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q2
priority
lossless
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q3
priority
lossless
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q4
priority
lossless
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q5
priority
lossless
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q6
priority
lossless
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q7
priority
lossless
output : 82 packets, 5762 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q0
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q1
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q2
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q3
output : 2 packets, 196 bytes
dropped : 0 packets, 0 bytes
 
Wred/Tail Drop Statistics :
----------------------
green : 0 packets
yellow : 0 packets
red : 0 packets
 
VTEP1#
After Congestion
This section shows the state after congestion was induced by applying the lossless_ecn_egress policy map (which includes a 1 Gbps shaper per queue) to the egress network interface cd3/1.
Display the QoS configuration to verify the congestion applied on the interface cd3/1.
Congestion is induced manually in the fabric using ECN policy on egress interface cd3/1.
VTEP1#show running-config qos
qos enable
!
qos remark dscp
 
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 3
00 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
interface cd3/1
service-policy type queuing output lossless_ecn_egress
!
!
Verify the traffic is throttled on ingress as per egress shape configurations. The transmit rate on cd3/1 is now capped at exactly 1.00 Gbps. Ingress traffic on xe0 remains high (~7.98 Gbps), indicating congestion is occurring at the egress cd3/1.
 
VTEP1#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
cd3/1 0.00 5 1.00 76770
cd4/1 0.00 16 2.41 32915
xe0 7.98 109663 0.00 0
VTEP1#
 
Verify the ECN marked packet counters (Incrementing)
The output shows a significant number of ECN marked packets (7,158,293). This confirms that due to congestion (caused by the shaper) and the applied ECN policy, packets egressing the interface cd3/1 are being marked.
 
VTEP1#show interface counters ecn
+------------------+----------------------+
| Interface | ECN marked packets |
+------------------+----------------------+
cd3/1 : 7158293 packets
 
Verify the policy map statistics on interface cd3/1 to show the WRED/Tail drops statistics incremented.
The output shows significant traffic output on queues q0 and q3.
 
VTEP1#show policy-map interface cd3/1
 
Interface cd3/1
 
Type Queuing policy-map : lossless_ecn_egress
 
Service-policy (queuing) output: lossless_ecn_egress
Interface Bandwidth 100000000 kbps
-----------------------------------
Class-map (queuing): q0
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 7202722 packets, 65876095412 bytes
dropped : 7158293 packets, 65140466300 bytes
 
Class-map (queuing): q1
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q2
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q3
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 3383878 packets, 30948948188 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q4
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q5
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q6
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): q7
shape 1 gbps
priority
lossless
random-detect green min-threshold 500 packets max-threshold 600 packets drop-probability 80 yellow min-threshold 300 packets max-threshold 400 packets drop-probability 80 red min-threshold 100 packets max-threshold 200 packets drop-probability 80 weight 8 ecn
output : 2296 packets, 188556 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q0
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q1
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q2
output : 0 packets, 0 bytes
dropped : 0 packets, 0 bytes
 
Class-map (queuing): mc-q3
output : 49 packets, 4818 bytes
dropped : 0 packets, 0 bytes
 
Wred/Tail Drop Statistics :
----------------------
green : 7158293 packets
yellow : 0 packets
red : 0 packets
VTEP1#
 
The above Wred/Tail Drop Statistics output shows that count exactly matches the ECN marked packets counter (counter from the previous command, cd3/1 : 7158293 packets), indicating these are packets marked due to crossing the green WRED/ECN threshold. This comparison helps to confirm that ECN counter and WRED statistics within the policy map under congestion successfully triggers ECM marking.
Note: It is important to capture and check the packets on egress side are marked with CE bits during congestion.
 
VTEP2
VTEP2#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
========================================================================
4.4.4.4 3.3.3.3 Installed 00:03:53 00:03:04
4.4.4.4 5.5.5.5 Installed 00:03:53 00:03:04
 
Total number of entries are 2
VTEP2#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr Router-Mac
_______________________________________________________________________________________________________________________________________________
50002 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50002 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50002 ---- -- AC xe34 --- Single Homed Port --- 2 ---- ---- ----
50003 ---- L2 NW ---- ---- --VTEP3-- ---- 4.4.4.4 3.3.3.3 --------------
50003 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50003 ---- -- AC xe34 --- Single Homed Port --- 3 ---- ---- ----
50005 ---- -- AC xe34 --- Single Homed Port --- 5 ---- ---- ----
50006 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50006 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50006 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 6 NON-DF ---- ----
50007 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50007 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 --------------
50007 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 7 DF ---- ----
50008 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50008 ---- -- AC po1 00:00:00:00:00:33:33:00:00:00 8 NON-DF ---- ----
50010 ---- L2 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 --------------
50010 ---- -- AC xe34 --- Single Homed Port --- 10 ---- ---- ----
77777 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 5c07.5827.cb5f
88888 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 5c07.5827.cb5f
88888 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 5.5.5.5 5c07.5870.4300
101010 ---- L3 NW ---- ---- ---- ---- 4.4.4.4 3.3.3.3 5c07.5827.cb5f
 
Total number of entries are 21
 
VTEP2#
VTEP2#show bgp summary
BGP router identifier 4.4.4.4, local AS number 4294967204
BGP table version is 6
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
ce5(fe80::5e17:83ff:feff:3060) 4 4294967209 15 14 6 0 0 00:04:06 7
ce1(fe80::d6dc:85ff:fe1a:30b0) 4 4294967209 12 14 6 0 0 00:03:13 6
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP2#show bgp l2vpn evpn summary
BGP router identifier 4.4.4.4, local AS number 4294967204
BGP table version is 12
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
7.7.7.7 4 4294967209 46 61 6 0 0 00:03:16 56 4 33 10 1 8
8.8.8.8 4 4294967209 76 48 12 0 0 00:04:08 56 4 33 10 1 8
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP2#
 
VTEP2#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
ce1 4.01 54787 0.00 6
ce5 4.01 54787 0.00 6
xe34 0.00 0 7.98 109564
VTEP2#
 
VTEP2#show running-config qos
qos enable
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
!
VTEP2#
VTEP2#
VTEP2#show interface counters ecn
+------------------+----------------------+
| Interface | ECN marked packets |
+------------------+----------------------+
VTEP2#
 
VTEP3
VTEP3#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
========================================================================
5.5.5.5 3.3.3.3 Installed 00:08:23 00:07:34
5.5.5.5 4.4.4.4 Installed 00:08:23 00:07:34
 
Total number of entries are 2
VTEP3#
VTEP3#
VTEP3#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr Router-Mac
_______________________________________________________________________________________________________________________________________________
50002 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50002 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50003 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50003 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50006 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50006 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50006 ---- -- AC xe4/4 --- Single Homed Port --- 6 ---- ---- ----
50007 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 --------------
50007 ---- L2 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 --------------
50007 ---- -- AC xe4/4 --- Single Homed Port --- 7 ---- ---- ----
50009 ---- -- AC xe4/4 --- Single Homed Port --- 9 ---- ---- ----
88888 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 3.3.3.3 5c07.5827.cb5f
88888 ---- L3 NW ---- ---- ---- ---- 5.5.5.5 4.4.4.4 34ef.b696.dba1
 
Total number of entries are 13
VTEP3#
VTEP3#
VTEP3#
VTEP3#show bgp summary
BGP router identifier 5.5.5.5, local AS number 4294967205
BGP table version is 4
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
ce3(fe80::d6dc:85ff:fe1a:30b8) 4 4294967209 23 25 4 0 0 00:07:42 7
ce2(fe80::5e17:83ff:feff:305e) 4 4294967209 27 23 4 0 0 00:08:36 8
 
Total number of neighbors 2
 
Total number of Established sessions 2
VTEP3#
VTEP3#
VTEP3#show bgp l2vpn evpn summary
BGP router identifier 5.5.5.5, local AS number 4294967205
BGP table version is 8
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
7.7.7.7 4 4294967209 71 56 5 0 0 00:07:42 46 6 28 8 0 4
8.8.8.8 4 4294967209 73 40 8 0 0 00:08:36 46 6 28 8 0 4
 
Total number of neighbors 2
Total number of Established sessions 2
VTEP3#
 
 
VTEP3#show running-config qos
qos enable
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
!
VTEP3#
VTEP3#
VTEP3#show interface counters ecn
+------------------+----------------------+
| Interface | ECN marked packets |
+------------------+----------------------+
VTEP3#
 
Spine1
SPINE-1#show bgp l2vpn evpn summary
BGP router identifier 7.7.7.7, local AS number 4294967209
BGP table version is 12
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
3.3.3.3 4 4294967203 106 94 12 0 0 00:08:40 42 4 24 7 1 6
4.4.4.4 4 4294967204 76 59 10 0 0 00:08:41 67 4 49 7 1 6
5.5.5.5 4 4294967205 58 74 12 0 0 00:08:40 22 0 15 5 0 2
 
Total number of neighbors 3
 
Total number of Established sessions 3
SPINE-1#show bgp summary
BGP router identifier 7.7.7.7, local AS number 4294967209
BGP table version is 4
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
ethernet32/1 4 0 0 0 0 0 0 never Idle
ethernet63/1(fe80::5e07:58ff:fe27:cb64) 4 4294967203 27 25 3 0 0 00:08:50 3
ethernet31/1 4 0 0 0 0 0 0 never Idle
ethernet1/1(fe80::36ef:b6ff:fe96:dba2) 4 4294967204 28 25 4 0 0 00:08:50 3
ethernet6/1(fe80::5e07:58ff:fe70:4305) 4 4294967205 28 25 4 0 0 00:08:50 1
 
Total number of neighbors 5
 
Total number of Established sessions 3
SPINE-1#
 
SPINE-1#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
ethernet1/1 0.00 6 4.01 54843
ethernet6/1 0.00 6 0.00 6
ethernet63/1 4.01 54844 0.00 6
SPINE-1#
 
 
SPINE-1#show running-config qos
qos enable
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
!
 
SPINE-1#show interface counters ecn
+------------------+----------------------+
| Interface | ECN marked packets |
+------------------+----------------------+
SPINE-1#
 
Spine2
SPINE-2#show bgp summary
BGP router identifier 8.8.8.8, local AS number 4294967209
BGP table version is 6
4 BGP AS-PATH entries
0 BGP community entries
10 Configured ebgp ECMP multipath: Currently set at 10
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
cd7/1 4 0 0 0 0 0 0 never Idle
cd27/1(fe80::5e07:58ff:fe27:cb65) 4 4294967203 28 30 6 0 0 00:10:17 3
cd32/1 4 0 0 0 0 0 0 never Idle
cd3/1(fe80::36ef:b6ff:fe96:dba6) 4 4294967204 29 30 5 0 0 00:10:17 3
cd2/1(fe80::5e07:58ff:fe70:4304) 4 4294967205 27 31 6 0 0 00:10:17 1
 
Total number of neighbors 5
 
Total number of Established sessions 3
SPINE-2#show bgp l2vpn evpn summary
BGP router identifier 8.8.8.8, local AS number 4294967209
BGP table version is 13
4 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd AD MACIP MCAST ESI PREFIX-ROUTE Desc
3.3.3.3 4 4294967203 59 97 13 0 0 00:10:21 42 4 24 7 1 6
4.4.4.4 4 4294967204 64 91 11 0 0 00:10:21 67 4 49 7 1 6
5.5.5.5 4 4294967205 42 77 13 0 0 00:10:21 22 0 15 5 0 2
 
Total number of neighbors 3
 
Total number of Established sessions 3
SPINE-2#
 
SPINE-2#show interface counters rate gbps
+-------------------+--------------+-------------+--------------+-------------+
| Interface | Rx gbps | Rx pps | Tx gbps | Tx pps |
+-------------------+--------------+-------------+--------------+-------------+
cd2/1 0.00 6 0.00 6
cd3/1 0.00 6 4.01 54837
cd27/1 4.01 54848 0.00 16
SPINE-2#
 
 
SPINE-2#show running-config qos
qos enable
!
policy-map type queuing default default-out-policy
class type queuing default q0
priority
lossless
exit
class type queuing default q1
priority
lossless
exit
class type queuing default q2
priority
lossless
exit
class type queuing default q3
priority
lossless
exit
class type queuing default q4
priority
lossless
exit
class type queuing default q5
priority
lossless
exit
class type queuing default q6
priority
lossless
exit
class type queuing default q7
priority
lossless
exit
!
policy-map type queuing default lossless_ecn_egress
class type queuing default q0
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q1
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q2
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q3
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q4
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q5
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q6
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
class type queuing default q7
shape 10 gbps
priority
lossless
random-detect green min-threshold 500 max-threshold 600 yellow min-threshold 300 max-threshold 400 red min-threshold 100 max-threshold 200 packets ecn
exit
!
!
 
SPINE-2#show interface counters ecn
+------------------+----------------------+
| Interface | ECN marked packets |
+------------------+----------------------+
SPINE-2#
 
 
 
 
 
 
Implementation Examples
Here are examples illustrating how the configured features (PFC, ECN, QoS policies) would function in a real-time scenario within the described VxLAN fabric:
Example 1: PFC Handling Congestion
Scenario: A GPU server (SH1) connected to Leaf1's access port (xe0) sends a burst of high-priority RDMA traffic (e.g., DSCP mapped to queue 3) towards another server connected to Leaf2 (VTEP2). This traffic traverses Spine1.
Congestion Point: The egress port on Spine1 towards Leaf2 (e.g., ethernet31/1) experiences temporary congestion for queue 3.
Real-time Actions:
1. Buffer Threshold: As packets build up in queue 3 on ethernet31/1, the buffer occupancy crosses the configured PFC threshold for that priority.
2. PFC Pause: Spine1 generates an IEEE 802.3X PFC pause frame specifically for priority 3 and sends it back towards the source of the traffic (in this case, upstream towards Leaf1 via interface ethernet63/1).
3. Transmission Pause: Leaf1, upon receiving the PFC pause frame on its interface connected to Spine1 (e.g., cd4/1 - inferred connection based on IP), temporarily stops transmitting traffic only for priority 3 towards Spine1. Traffic for other priorities (0-2, 4-7) continues flowing if the link isn't paused for those priorities.
4. Buffering: Packets for priority 3 arriving at Spine1 during the pause are buffered in shared memory.
5. Resume: Once the congestion on Spine's egress port clears and buffer levels drop below the resume threshold, Spine1 stops sending pause frames (or sends a resume frame, depending on implementation). Leaf1 then resumes sending priority 3 traffic.
Outcome: Packet loss for the high-priority RDMA traffic is prevented, maintaining lossless transport critical for the AI/ML workload.
Example 2: ECN Marking and Propagation
Scenario: Similar to Example 1, RDMA traffic flows from SH1 (Leaf1) to SH2 (Leaf2) via Spine1. The traffic is marked with a DSCP value mapped to queue 3.
Congestion Point: The egress port queue 3 on Spine1 (ethernet31/1) starts experiencing congestion, but before the PFC threshold is hit.
Real-time Actions:
1. WRED Threshold: As packets queue up, the average queue depth crosses the configured random-detect ... min-threshold for ECN marking within the lossless_ecn_egress policy-map (assuming it's applied).
2. ECN Marking (Transit): Spine1 marks the Congestion Experienced (CE) codepoint in the outer IP header (DSCP field's ECN bits) of the VxLAN-encapsulated packets passing through ethernet31/1. It does not drop the packet.
3. ECN Propagation (Decapsulation): Leaf2 (the destination VTEP) receives the VxLAN packet marked with CE. During decapsulation, it copies the CE marking from the outer IP header to the inner IP header of the original RDMA packet.
4. Endpoint Notification: The destination server (SH2) receives the RDMA packet with the CE marking. Following RoCEv2 or TCP ECN standards, it signals back to the source server (SH1) via its next packet/acknowledgment that congestion was encountered.
5. Rate Reduction: The source server (SH1), upon receiving the congestion signal, reduces its transmission rate.
Outcome: Congestion is signaled before buffers become full enough to trigger a potentially disruptive PFC pause. The endpoints proactively reduce speed, alleviating congestion and improving overall throughput and latency compared to relying solely on PFC. ECN marking is consistently handled across the VxLAN tunnel from encapsulation to decapsulation.
Troubleshooting
Here are troubleshooting tips for PFC and ECN over VxLAN:
Verify Global QoS and Policy Map Configuration
Is QoS Enabled?: Ensure qos enable is configured globally on all relevant devices (VTEPs, Spines).
Is the Correct Policy Map Defined?: Confirm the lossless_ecn_egress policy map is defined correctly with lossless properties and random-detect ... packets ecn settings for the required queues (typically q0-q7).
Is the Policy Map Applied?: Crucially, verify that the lossless_ecn_egress policy map is actually applied either globally or to the relevant interfaces (uplinks, access ports). Use show running-config | include service-policy or similar commands. If it's not applied, the defined ECN/lossless behavior will not be active.
Check DSCP/CoS Mappings and Trust Settings
Is Traffic Mapped Correctly?: Verify the mapping from incoming DSCP values (for L3/IP traffic like RoCE) or CoS values (for L2 traffic) to the correct hardware Traffic Classes (TCs)/queues3. Ensure the TCs corresponding to lossless traffic (e.g., RDMA) are mapped to the queues configured as lossless in the policy map. Use commands like show qos map dscp-tc.
Is Traffic Class Mapped to Priority Group (PG)?: Confirm that the relevant Traffic Classes are mapped to the appropriate Priority Groups (PGs) that PFC will act upon. Use show qos map tc-pg.
Are Markings Trusted?: Ensure interfaces receiving prioritized traffic are configured to trust the incoming markings (e.g., qos trust dscp on routed ports or IRB interfaces, qos trust cos on L2 ports if applicable). Check relevant interface configurations.
Troubleshoot Priority Flow Control (PFC) Issues
Is PFC Enabled Operationally?: Check the PFC status on interfaces where it's configured (priority-flow-control mode on). Use show priority-flow-control interface <interface_name>. Look for Operational Status: On and ensure the expected priorities (0-7 in the examples) are enabled.
Are Pause Frames Being Sent/Received?: Check PFC counters using show priority-flow-control interface <interface_name> counters.
Tx Pause: Indicates the local device is congested and sending pauses upstream.
Rx Pause: Indicates a downstream device is congested and sending pauses to this device. Analyze counters end-to-end to pinpoint congestion.
Is LLDP Running?: PFC negotiation often relies on DCBX exchanged via LLDP. Ensure LLDP is globally enabled (lldp run) and active on the relevant interfaces (lldp-agent). While mode on might force PFC, LLDP issues can sometimes interfere.
Check MTU: Ensure consistent MTU settings across the entire path (access, leaf, spine). Mismatched MTUs can cause drops, especially for large RDMA frames, potentially triggering excessive PFC.
Troubleshoot Explicit Congestion Notification (ECN) Issues
Check ECN Thresholds Values: Verify the random-detect thresholds within the applied lossless_ecn_egress policy map. Ensure they are set appropriately relative to PFC thresholds to allow ECN marking before excessive pausing occurs.
Check Queues Crossing Thresholds: During congestion, monitor queue depths (show qos queue interface <if_name>) to see if they exceed the configured ECN minimum thresholds.
Is ECN Marking Happening?:
Use SPAN/ERSPAN to capture traffic after a potential congestion point (e.g., Spine egress). Check the outer IP header's DSCP/ECN field for the Congestion Experienced (CE) codepoint (binary 11).
Is ECN Propagating Through VxLAN?:
Capture traffic on the egress VTEP before decapsulation. Verify the outer IP header has the CE marking.
Capture traffic after decapsulation on the egress VTEP. Verify the inner IP header now carries the CE marking.
Are Endpoints Reacting?: Check server-side monitoring tools. Confirm the destination server is receiving CE-marked packets and signaling congestion back (e.g., via ECE bit in TCP ACKs or specific RoCEv2 mechanisms), and that the source server is reducing its sending rate.
Verify Underlay Network and VxLAN Health
Check Basic Connectivity: Ensure VTEP loopbacks are reachable via the underlay (use standard ping/traceroute). Verify BGP EVPN and underlay routing protocol sessions are stable (show ip bgp summary, show ip ospf neighbor, etc.).
Check Load Balancing: Ensure traffic is being distributed across ECMP paths as expected (show load-balance rtag7 effective). Uneven hashing could overload specific links, triggering PFC/ECN.
Glossary
The following table provides definitions for key terms or abbreviations and their meanings used throughout this document:
 
Key Terms/Acronym
Description
AI/ML
Artificial Intelligence / Machine Learning. Workloads demanding high bandwidth and low latency, often using RDMA/RoCE.x‘x‘
CoS
Class of Service. Used for selecting queues in L2 forwarding.
DSCP
Differentiated Services Code Point. Used for selecting queues in L3 forwarding. OcNOS supports DSCP-to-Queue mapping profiles.
VxLAN
Virtual Extensible LAN → A tunneling protocol that encapsulates Layer 2 traffic into Layer 3 packets, enabling large-scale virtual networks.
ECN
Explicit Congestion Notification. Allows network endpoints to signal congestion without dropping packets. It marks packets with congestion bits when queue thresholds are crossed. Works in L3 VxLAN transport, requiring support at VTEPs and transit nodes
GPU
Graphics Processing Unit. Large clusters are interconnected for distributed AI/ML training
IRB
Integrated Routing and Bridging. Supported for L3 VxLAN forwarding.
PFC
Priority Flow Control. Pauses traffic in specific priority queues during congestion to prevent packet loss, allowing other traffic to continue. Maps packets to Priority Groups (PGs) and sends XOFF frames when shared memory limits are exceeded. Works in both L2 and L3 VxLAN transport.
 
 
PG
Priority Group. PFC maps packets to PGs based on shared memory limits. Buffers packets during PFC pauses. Up to eight profiles are supported.
RDMA
Remote Direct Memory Access. Used by AI/ML workloads for high bandwidth, low-latency interconnects.
RoCE
RDMA over Converged Ethernet. A protocol used by AI/ML workloads.
VTEP
VxLAN Tunnel Endpoint. Nodes that encapsulate/decapsulate VxLAN packets. ECN functionality is mandatory on VTEP nodes for L3 VxLAN
VxLAN
Virtual Extensible LAN. A tunneling protocol encapsulating L2 traffic into L3 packets for large-scale virtual networks.
WRED
Weighted Random Early Detection. Thresholds used by ECN to determine when to start marking packets for congestion.
 
 
 
 
.