OcNOS-RON : Layer 2 Guide : Data Center Bridging Configuration Guide : DCBx Configuration
DCBx Configuration
This chapter show how to configure PFC parameter exchange.
Topology
DCBx Configurat ion
Configuring ETS Parameter Exchange
SW1
 
#configure terminal
Enter configure mode
(config)#bridge 1 protocol ieee vlan-bridge
Create bridge 1 as an IEEE VLAN-enabled bridge
(config)#data-center-bridging enable bridge 1
Enables DCB on the bridge
(config)#priority-flow-control enable bridge 1
Enables PFC on the bridge
(config)#interface eth1
Configure interface eth1
(config-if)#switchport
Configure eth1 as a layer 2 port
(config-if)#bridge-group 1
Configure eth1 in bridge group 1
(config-if)#lldp-agent
Enter into LLDP agent mode.
(lldp-agent)#set lldp enable txrx
Configure LLDP for transmit and receive mode on eth1
(lldp-agent)#llldp tlv ieee-8021-org-specific data-center-bridging select
Configure LLDP to send an IEEE 802.1 organizationally specific TLV set in the packet
(lldp-agent)#exit
Exit from LLDP mode.
(config-if)#priority-flow-control mode on
Configure the advertise flag and start sending DCBX TLVs in LLDP messages
(config-if)# priority-flow-control cap 4
Configure the maximum number of PFC priorities
(config-if)# priority-flow-control enable
priority 2 3 4
Enables PFC on priorities 2,3, and 4
(config-if)# priority-flow-control linkdelay-
allowance 34567
Configure the link delay allowance
SW2
 
#configure terminal
Enter configure mode
(config)#bridge 1 protocol ieee vlan-bridge
Create bridge 1 as an IEEE VLAN-enabled bridge
(config)#data-center-bridging enable bridge 1
Enables DCB on the bridge
(config)#priority-flow-control enable bridge 1
Enables PFC on the bridge
(config)#interface eth1
Configure interface eth1
(config-if)#switchport
Configure eth1 as a layer 2 port
(config-if)#bridge-group 1
Configure eth1 in bridge group 1
(config-if)#lldp-agent
Enter into LLDP agent mode.
(lldp-agent)#set lldp enable txrx
Configure LLDP for transmit and receive mode on eth1
(lldp-agent)#lldp tlv ieee-8021-org-specific data-center-bridging select
Configure LLDP to send an IEEE 802.1 organizationally specific TLV set in the packet
(lldp-agent)#exit
Exit from LLDP mode.
(config-if)#priority-flow-control mode auto
Configure the advertise flag and start sending DCBX TLVs in LLDP messages
(config-if)# priority-flow-control cap 4
Configure the maximum number of PFC priorities
(config-if)# priority-flow-control enable
priority 2 3 4
Enables PFC on priorities 2,3, and 4
(config-if)# priority-flow-control linkdelay-
allowance 34567
Configure the link delay allowance
Validation
SW1
Verify the data set.
OcNOS#sh priority-flow-control details interface xe31
 
bridge : 1
priority flow control : on
interface : eth1
 
Admin Configuration
--------------------
mode advertise willing cap link delay priorities
allowance
================================================================================
auto on on 4 34567 2 3 4
 
--------------------------------------------------------------------------------
 
Operational Configuration
-------------------------
state cap link delay priorities
allowance
================================================================================
off 4 34567 2 3 4
SW2
Verify the data set.
OcNOS#sh priority-flow-control details interface xe31
 
bridge : 1
priority flow control : on
interface : eth1
 
Admin Configuration
--------------------
mode advertise willing cap link delay priorities
allowance
================================================================================
on on off 4 34567 2 3 4
 
--------------------------------------------------------------------------------
 
Operational Configuration
-------------------------
state cap link delay priorities
allowance
================================================================================
on 4 34567 2 3 4
Configuring PFC Parameter Exchange
SW2
 
#configure terminal
Enter configure mode
(config)#bridge 1 protocol ieee vlan-bridge
Create bridge 1 as an IEEE VLAN-enabled bridge
(config)#data-center-bridging enable bridge 1
Enable DCB on the bridge
(config)#priority-flow-control enable bridge 1
Enable PFC on the bridge
(config)#interface eth1
Configure interface eth1
(config-if)#switchport
Configure eth1 as a layer 2 port
(config-if)#bridge-group 1
Configure eth1 in bridge group 1
(config-if)#lldp-agent
Enter into LLDP agent mode.
(lldp-agent)#set lldp enable txrx
Configure LLDP for transmit and receive mode on eth1
(lldp-agent)#lldp tlv-select ieee-8021-org-specific
Configure LLDP to send an IEEE 802.1 organizationally specific TLV set in the packet
(lldp-agent)#exit
Exit from LLDP mode.
(config-if)#priority-flow-control mode on
Configure the advertise flag and start sending DCBx TLVs in LLDP messages
(config-if)#priority-flow-control cap 4
Configure the maximum number of PFC priorities
(config-if)#priority-flow-control enable priority 2 4 5
Enables PFC on priorities 2,4, and 5
(config-if)#priority-flow-control link-delay-allowance 34567
Configure the link delay allowance
SW1
 
#configure terminal
Enter configure mode
(config)#bridge 1 protocol ieee vlan-bridge
Create bridge 1 as an IEEE VLAN-enabled bridge
(config)#data-center-bridging enable bridge 1
Enable DCB on the bridge
(config)#priority-flow-control enable bridge 1
Enable PFC on the bridge
(config)#interface eth1
Configure interface eth1
(config-if)#switchport
Configure eth1 as a layer 2 port
(config-if)#bridge-group 1
Configure eth1 in bridge group 1
(config-if)#lldp-agent
Enter into LLDP agent mode.
(lldp-agent)#set lldp enable txrx
Configure LLDP for transmit and receive mode on eth1
(lldp-agent)#lldp tlv-select ieee-8021-org-specific
Configure LLDP to send an IEEE 802.1 organizationally specific TLV set in the packet
(lldp-agent)#exit
Exit from LLDP mode.
(config-if)#priority-flow-control mode on
Configure the advertise flag and start sending DCBx TLVs in LLDP messages
(config-if)#priority-flow-control cap 4
Configure the maximum number of PFC priorities
(config-if)#priority-flow-control enable priority 2 4 5
Enables PFC on priorities 2,4, and 5
(config-if)#priority-flow-control link-delay-allowance 34567
Configure the link delay allowance
Validation
SW1
Verify the data set.
#show priority-flow-control details interface eth1
bridge : 1
priority flow control : on
interface : eth1
 
Admin Configuration
mode advertise willing cap link priorities
delay
allowance
==============================================================================
on on off 4 34567 2 4 5
 
Operational Configuration
state cap link priorities
delay
allowance
==============================================================================
on 4 34567 2 4 5
SW2
Verify the data set.
#show priority-flow-control details interface eth1
bridge : 1
priority flow control : on
interface : eth1
 
Admin Configuration
mode advertise willing cap link priorities
delay
allowance
================================================================================
on on off 4 34567 2 4 5
 
Operational Configuration
state cap link priorities
delay
allowance
================================================================================
on 4 34567 2 4 5