Enabling automatic edge detection (dcb), Configuring the path cost (dcb) – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 425

Enabling automatic edge detection (DCB)
From the DCB interface, use this command to automatically identify the edge port. The port can
become an edge port if no BPDU is received. By default, automatic edge detection is disabled.
To enable automatic edge detection on the DCB interface, perform the following steps from privileged
EXEC mode.
1. Enter the configure terminal command to access global configuration mode.
2. Enter the interface command to specify the DCB interface type and slot/port number.
The gigabitethernet rbridge-id/slot/port operand is used only for the Brocade VDX 6710, Brocade
VDX 8770-4, and Brocade VDX 8770-8. The prompt for these ports is in the format: switch(config-if-
gi-22/0/1)#.
switch(config)# interface tengigabitethernet 0/1
3. Enter the no shutdown command to enable the DCB interface.
switch(conf-if-te-0/1)# no shutdown
4. Enter the spanning-tree command to enable automatic edge detection on the DCB interface.
switch(conf-if-te-0/1)# spanning-tree autoedge
Configuring the path cost (DCB)
From the DCB interface, use this command to configure the path cost for spanning tree calculations.
The lower the path cost means there is a greater chance of the interface becoming the root port.
The range is 1 through 200000000. The default path cost is 2000 for a 10-gigabit Ethernet interface.
Additionally, you may specify the spanning tree cost for a specific VLAN. If the VLAN parameter is not
provided, the priority value is applied globally for all per-VLAN instances. However, for the VLANs that
have been configured explicitly, the per-VLAN configuration takes precedence over the global
configuration.
On the Brocade VDX 8770, the VLAN value can be 1 through 4086. VLAN IDs 4087 through 4094 are
internally-reserved VLAN IDs. On all other Brocade VDX switches, the VLAN value can be 1
through 3962, as 3963 through 4094 are reserved.
To configure the path cost for spanning tree calculations on the DCB interface, perform the following
steps from privileged EXEC mode.
1. Enter the configure terminal command to access global configuration mode.
2. Enter the interface command to specify the DCB interface type and slot/port number.
The gigabitethernet rbridge-id/slot/port keyword is used only for the Brocade VDX 6710, Brocade
VDX 8770-4, and Brocade VDX 8770-8. The prompt for these ports is in the following format:
switch(config-if-gi-22/0/1)#.
switch(config)# interface tengigabitethernet 0/1
3. Enter the no shutdown command to enable the DCB interface.
switch(conf-if-te-0/1)# no shutdown
4. Enter the spanning-tree command to configure the path cost for spanning tree calculations on the
DCB interface.
switch(conf-if-te-0/1)# spanning-tree cost 10000
5. Enter the spanning-tree command to configure the path cost for spanning tree calculations on the
DCB interface.
switch(conf-if-te-0/1)# spanning-tree cost 10000 vlan 10
6. Return to privileged EXEC mode.
switch(conf-if-te-0/1)# end
7. Enter the copy command to save the running-config file to the startup-config file.
switch# copy running-config startup-config
Enabling automatic edge detection (DCB)
Network OS Administrator’s Guide
425
53-1003225-04