Skip Navigation Links | |
Exit Print View | |
![]() |
Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide |
Verifying DCB and LLDP Configurations
Determine Whether Interfaces Are Active
Determine Whether LLDP is Running and Recognizing Peers
Disable DCB for Each Interface
Enable and Disable a Specific DCB Feature
Configure the Mode for the DCB Feature
Show DCBX Feature Statistics and Control Information
You can set PFC feature attributes. But whether your configuration takes effect depends on the willing state on both local and remote side.
When local willing state is false, the new configuration changes the operational status, but changes the remote configuration only if the remote willing state is true.
SEFOS# show interfaces extreme-ethernet 0/21 dcb priority-flow-control detail Port : Ex0/21 Show Type : Admin Config Feature : Priority Flow Control Enable : true Advertise : true Willing : false Priority Mask : 0 0 0 0 1 0 0 0 Max Traffic Class: 8 Show Type : Oper Config Feature : Priority Flow Control Errors : 0x0 - none Operational Mode : true Syncd with Peer : false Priority Mask : 0 0 0 0 1 0 0 0 Max Traffic Class: 8 Show Type : Peer Config Feature : Priority Flow Control Local Interface : Ex0/21 Status : successful Enable : true Willing : true Priority Mask : 0 0 0 0 1 0 0 0 Max Traffic Class: 8 ------------------------------------------------------------ Total Entries Displayed : 1
The local willing state is false and the remote willing state is true, so local configuration change are used on both the local switch and the remote Oracle Solaris server.
SEFOS# configure terminal SEFOS(config)# interface extreme-ethernet 0/21 SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 0 1 1 0 0 0 0 SEFOS(config-if)# end
SEFOS# show interfaces extreme-ethernet 0/21 dcb priority-flow-control detail Port : Ex0/21 Show Type : Admin Config Feature : Priority Flow Control Enable : true Advertise : true Willing : false Priority Mask : 0 0 1 1 0 0 0 0 Max Traffic Class: 8 Show Type : Oper Config Feature : Priority Flow Control Errors : 0x0 - none Operational Mode : true Syncd with Peer : true Priority Mask : 0 0 1 1 0 0 0 0 Max Traffic Class: 8 Show Type : Peer Config Feature : Priority Flow Control Local Interface : Ex0/21 Status : successful Enable : true Willing : true Priority Mask : 0 0 1 1 0 0 0 0 Max Traffic Class: 8 ------------------------------------------------------------ Total Entries Displayed : 1
The PFC configuration on the remote server is the same as the local configuration and is synchronized up with the switch.
SEFOS# configure terminal SEFOS(config)# interface extreme-ethernet 0/21 SEFOS(config-if)# set dcb priority-flow-control willing enable SEFOS(config-if)# end
SEFOS# show interfaces extreme-ethernet 0/21 dcb priority-flow-control detail Port : Ex0/21 Show Type : Admin Config Feature : Priority Flow Control Enable : true Advertise : true Willing : true Priority Mask : 0 0 1 1 0 0 0 0 Max Traffic Class: 8 Show Type : Oper Config Feature : Priority Flow Control Errors : 0x0 - none Operational Mode : true Syncd with Peer : true Priority Mask : 0 0 1 1 0 0 0 0 Max Traffic Class: 8 Show Type : Peer Config Feature : Priority Flow Control Local Interface : Ex0/21 Status : successful Enable : true Willing : true Priority Mask : 0 0 1 1 0 0 0 0 Max Traffic Class: 8 ------------------------------------------------------------ Total Entries Displayed : 1
The operational and remote configuration is not affected.
SEFOS# configure terminal SEFOS(config)# interfaces extreme-ethernet 0/21 SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 0 1 0 0 0 0 0 SEFOS(config-if)# end SEFOS# show interfaces extreme-ethernet 0/21 dcb priority-flow-control detail Port : Ex0/21 Show Type : Admin Config Feature : Priority Flow Control Enable : true Advertise : true Willing : true Priority Mask : 0 0 1 0 0 0 0 0 Max Traffic Class: 8 Show Type : Oper Config Feature : Priority Flow Control Errors : 0x0 - none Operational Mode : true Syncd with Peer : true Priority Mask : 0 0 1 0 0 0 0 0 Max Traffic Class: 8 Show Type : Peer Config Feature : Priority Flow Control Local Interface : Ex0/21 Status : successful Enable : true Willing : true Priority Mask : 0 0 1 0 0 0 0 0 Max Traffic Class: 8 ------------------------------------------------------------ Total Entries Displayed : 1
When both sides are willing to accept the changes, configuration on the interface with smaller MAC address is used. Port 21 of the switch has the MAC address 00:10:e0:2c:0f:41 and net 3 of the Oracle Solaris server has the MAC address 00:1b:21:bc:b4:89. The preceding output shows that the configuration of the switch is used.
Since the local willing state has already been set to true, type the following Oracle Solaris commands to change the remote willing state to false.
# lldpadm set-atp -p willing=off -a net3 pfc # lldpadm show-atp -a net3 pfc AGENT TLVNAME PROPERTY PERM VALUE DEFAULT POSSIBLE net3 pfc willing rw off on on,off
SEFOS# show interfaces extreme-ethernet 0/21 dcb priority-flow-control detail Port : Ex0/21 Show Type : Admin Config Feature : Priority Flow Control Enable : true Advertise : true Willing : true Priority Mask : 0 0 1 0 0 0 0 0 Max Traffic Class: 8 Show Type : Oper Config Feature : Priority Flow Control Errors : 0x0 - none Operational Mode : true Syncd with Peer : true Priority Mask : 0 0 0 1 1 0 0 0 Max Traffic Class: 8 Show Type : Peer Config Feature : Priority Flow Control Local Interface : Ex0/21 Status : successful Enable : true Willing : false Priority Mask : 0 0 0 1 1 0 0 0 Max Traffic Class: 8 ------------------------------------------------------------ Total Entries Displayed : 1
The local operational status has been changed to the remote configuration once the willing state is changed.
The operational and remote configuration is not affected.
SEFOS# configure terminal SEFOS(config)# interfaces extreme-ethernet 0/21 SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 0 1 1 0 0 0 0 SEFOS(config-if)# end SEFOS# show interfaces extreme-ethernet 0/21 dcb priority-flow-control detail Port : Ex0/21 Show Type : Admin Config Feature : Priority Flow Control Enable : true Advertise : true Willing : true Priority Mask : 0 0 1 1 0 0 0 0 Max Traffic Class: 8 Show Type : Oper Config Feature : Priority Flow Control Errors : 0x0 - none Operational Mode : true Syncd with Peer : true Priority Mask : 0 0 0 1 1 0 0 0 Max Traffic Class: 8 Show Type : Peer Config Feature : Priority Flow Control Local Interface : Ex0/21 Status : successful Enable : true Willing : false Priority Mask : 0 0 0 1 1 0 0 0 Max Traffic Class: 8 ------------------------------------------------------------ Total Entries Displayed : 1
When the local willing and remote willing states are both false, the local admin configuration should match the peer's configuration, since neither side is willing to accept the peer's configuration.
SEFOS# show interfaces extreme-ethernet 0/21 dcb priority-flow-control detail Port : Ex0/21 Show Type : Admin Config Feature : Priority Flow Control Enable : true Advertise : true Willing : false Priority Mask : 0 0 0 1 0 0 0 0 Max Traffic Class: 8 Show Type : Oper Config Feature : Priority Flow Control Errors : 0x0 - none Operational Mode : true Syncd with Peer : true Priority Mask : 0 0 0 1 0 0 0 0 Max Traffic Class: 8 Show Type : Peer Config Feature : Priority Flow Control Local Interface : Ex0/21 Status : successful Enable : true Willing : false Priority Mask : 0 0 0 1 0 0 0 0 Max Traffic Class: 8 ------------------------------------------------------------ Total Entries Displayed : 1