Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### DCB Administration Guide

Search Scope:

- This Document
- Entire Library

## Configure DCB Attributes

You can set PG and PFC feature attributes. This example configures a total of three groups with bandwidths of 40%, 20%, and 40%.

1. Configure PG with different priority grouping and bandwidth.

       SEFOS# configure terminal
       SEFOS(config)# interface extreme-ethernet 0/2
       SEFOS(config-if)# set dcb priority-group 0 0 0 1 2 2 2 2 bandwidth 40 20 40 0 0 0 0 0
       SEFOS(config-if)# end

2. View the configuration to verify that the PG feature is enabled and advertised.

   If the feature is not enabled, it will not be in operating mode.

       SEFOS# show int ex 0/2 dcb priority-group detail

       Port             :      Ex0/2
       Show Type        :      Admin Config
       Feature          :      Priority Group
       Enable           :      true
       Advertise        :      true
       Willing          :      false
       Group Bandwidth  :      40%     20%     40%     0%      0%      0%      0%      0%
       Priority Group ID:      0       0       0       1       2       2       2       2
       Max Traffic Class:      8

       Show Type        :      Oper Config
       Feature          :      Priority Group
       Oper Version     :      0
       Max Version      :      0
       Errors           :      0x0 - none
       Operational Mode :      true
       Syncd with Peer  :      true
       Group Bandwidth  :      40%     20%     40%     0%      0%      0%      0%      0%
       Priority Group ID:      0       0       0       1       2       2       2       2
       Max Traffic Class:      8

       Show Type        :      Peer Config
       Feature          :      Priority Group
       Local Interface  :      Ex0/2
       Status           :      successful
       Enable           :      true
       Willing          :      false
       Group Bandwidth  :      50%     50%     0%      0%      0%      0%      0%      0%
       Priority Group ID:      0       0       0       1       0       0       0       0
       Max Traffic Class:      2

       ------------------------------------------------------------
       Total Entries Displayed : 1

   This configuration has the following values:

   - Group 0 - priority members (0, 1, 2), bandwidth 40% (share bandwidth among priority 0, 1, 2)

   - Group 1 - priority member (3), bandwidth 20% (priority 3)

   - Group 2 - priority members (4, 5, 6), bandwidth 40% (share bandwidth among priority 4, 5, 6)

   - Group 3 to 7 - priority members (none)

   The output shows the group bandwidth of each group. For groups that have no priorities assigned to them, the bandwidth shows 0%, as follows:

   Group 0 Group 1 Group 2 Group 3 Group 4 Group 5 Group 6 Group 7

   40% 20% 40% 0% 0% 0% 0% 0%

   The output also shows the priority group ID assigned to a priority (ID shown from 0 - 2 in this example).

3. Set the PFC priority with the following commands when the PFC priority set does not match what the peer has configured, then set the priority to match the peer's priority set.

       SEFOS# configure terminal
       SEFOS(config)# interface extreme-ethernet 0/2
       SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 0 0 1 1 0 0 0
       SEFOS(config-if)# end
       SEFOS# show interfaces extreme-ethernet 0/2 dcb priority-flow-control detail

       Port             :      Ex0/2
       Show Type        :      Admin Config
       Feature          :      Priority Flow Control
       Enable           :      true
       Advertise        :      true
       Willing          :      false
       Priority Mask    :      0       0       0       1       1       0       0       0
       Max Traffic Class:      8

       Show Type        :      Oper Config
       Feature          :      Priority Flow Control
       Oper Version     :      0
       Max Version      :      0
       Errors           :      0x2 - config mismatch with peer
       Operational Mode :      false
       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/2
       Status           :      successful
       Enable           :      true
       Willing          :      false
       Priority Mask    :      0       0       0       1       0       0       0       0
       Max Traffic Class:      8
       ------------------------------------------------------------
       Total Entries Displayed : 1

4. Set the PFC priority the same as the PFC priority of the peer.

       SEFOS# configure terminal
       SEFOS(config)# interface extreme-ethernet 0/2
       SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 0 0 1 0 0 0 0
       SEFOS(config-if)# end
       SEFOS# show interfaces extreme-ethernet 0/2 dcb priority-flow-control detail

       Port             :      Ex0/2
       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
       Oper Version     :      0
       Max Version      :      0
       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/2
       Status           :      successful
       Enable           :      true
       Willing          :      false
       Priority Mask    :      0       0       0       1       0       0       0       0
       Max Traffic Class:      8
       ------------------------------------------------------------
       Total Entries Displayed : 1

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |