Converged Enhanced Ethernet Command Reference
53-1001762-01 March
Brocade Communications Systems, Incorporated
Contents
Chapter Vlan Commands
Chapter Interface Commands
Clear counters access-list mac
Mac access-list extended
Mac access-list standard
Mac access-group
Vii
Ip igmp snooping enable global version
Ip igmp snooping enable Vlan version
Ip igmp snooping mrouter-timeout
Ip igmp snooping querier enable
Dot1x authentication
Dot1x enable
Dot1x reauthenticate interface
Dot1x reauthentication
Converged Enhanced Ethernet Command Reference
About This Document
Supported hardware and software
Bold text
Italic text
Key terms
Additional information
Getting technical help
FT00X0054E9 Serial number label is located as follows
Document feedback
Page
CLI Basics
CLI command modes Accessing the CEE CLI command modes
Exec
Standard Access Control Lists
Extended Access Control Lists
L2 ACL commands
Copy
Copy startup-config
Synopsis Copy startup-config destination-file-url Operands
Defaults Command Modes Description Usage Guidelines
Destination-file-url
Filename
See Also Copy startup-config
Delete filename
See Also Delete
Dir
Synopsis dir Operands
Disable
Disable
See Also Enable, end, exit
Switch#disable
See Also None
Do command
Command
Enable
Enable
See Also Disable
Switch enable Switch#
See Also Exit , disable , enable
Switchconfig#interface tengigabitethernet 0/0
Switchconf-if-te-0/0# end
End
Switch#erase flash
Erase flash
Erases all the files from the Flash
See Also Dir , delete
Exec-timeout
Exec-timeout minutes seconds
Minutes
Seconds
Exits the current mode and returns to the previous mode
See Also End , enable , disable
Exit
Exit
Executes Fabric OS commands from the from the cmsh shell
Fos command
Specifies the Fabric OS command
Fos
Supportsave switchshow zoneshow
Switch#fos switchshow
See Also Show line
Configures the Line configuration mode
Line console
Last number
Line vty first number last number
First number
Switch# pwd
Pwd
Pwd
Flash
Rename
Rename sourcefile renamedfile
Sourcefile
Renamedfile
Switch#show calendar
Show calendar
Show calendar
UTC Tue Feb 14
Show clock
Show clock
Displays the time and date from the system clock
See Also Show calendar
Show environment
Synopsis Show environment Operands
Show file
Filename
See Also Line vty, line console, exec-timeout
Last line number
Displays the internal syslog buffer of the switch
Switch#show logging
Show logging
Show logging
See Also Show media interface, show media linecard
Show media
Synopsis Show media Operands
Show media interface
Synopsis Show media interface Operands Tengigabitethernet
Slot
Port
Show media linecard
Synopsis Show media linecard number Operands
Number
See Also Show media interface, show media
Switch#show processes cpu summary
Show processes cpu
Show processes cpu
To show CPU usage information by individual processes
Switch#show processes memory summary
Switch#show processes memory
Show processes memory
Show processes memory
See Also Show startup-config
Show running-config
Show running-config
Show startup-config
Show startup-config
Displays the content of the startup configuration file
Switch#show startup-config
Show system
Displays system information
Synopsis Show system Operands
To display the system information
Show tech-support
Synopsis Show tech-support Operands
To display information on users logged into the switch
Switch#show users
Show users
Show users
See Also Show system
Show version
Synopsis Show version Operands
Terminal length
Synopsis Terminal length number Operands
Switch#terminal monitor
Switch#terminal no monitor
Terminal monitor
Terminal monitor
Removes the startup configuration from the switch
Switch#write erase
Write erase
Write erase
See Also Write erase
Write memory
Write memory
Switchconfig#interface vlan
Switchconf-if-vl-777# fcf forward
Fcf forward
See Also Interface vlan
Vlanid
See Also Interface switchport , fcf forward , shutdown
Interface vlan
Switchport
Show interface
Port-channel number
See Also Show interface vlan
Show vlan
Displays information about a specific Vlan interface
Synopsis Show vlan vlanid brief classifier fcoe Operands
Vlanid
Show vlan classifier
Operands Group number
To remove an interface from Layer 2 mode
Switchport
Synopsis switchport no switchport Operands none
Switchport access
Sets the Layer 2 interface as access
Interface configuration mode
To the default Vlan
Switchport converged
Allowed vlan
Add vlanid
All
Switchport mode
Switchport mode
Sets the mode of the Layer 2 interface
To set the mode of the interface to trunk
Switchport trunk
Switchport trunk
Switchconf-if-te-0/19#switchport truck allowed vlan add
Switchconf-if-te-0/19#switchport truck allowed vlan remove
Vlan classifier activate group
Activates a Vlan classifier group
Number
Vlan vlanid
Vlan classifier group
Vlan classifier group
Adds and deletes rules to a Vlan classifier group
Add rule number
Vlan classifier rule
Vlan classifier rule
Access-list mac accesslistname
Clear counters
Modes User Guidelines
Example
Clear counters
See Also Show interfaces
Line
Switchconf-if-te-0/1#description converged101
Description
Specifies the Vlan number. The range of valid values is
See Also Show interface, interface vlan
Size
Mtu
Synopsis Mtu size Operands
Specifies to display a specific 10 Gbps Ethernet interface
Specifies to display a valid slot number
Specifies to display a valid port number
Specifies to display information for Layer 2 interfaces
See Also Show ip interface
Switch#show interface switchport
To display Layer 2 information for all interfaces
There are no usage guidelines for the command
Switch#show ip interface brief
Show ip interface
Vlanid brief
See Also Show interface
Disables the selected interface
To enable an interface
Shutdown
See Also Interface, show ip interface, show interface
Link Layer Discovery Protocol Commands
Advertise dcbx-fcoe-app-tlv
Advertise dcbx-fcoe-logical-link-tlv
Advertise dcbx-tlv
Length, Values TLVs
Advertise dot1-tlv
Advertise dot3-tlv
Advertise optional-tlv
Advertises the optional Type, Length, and Value TLVs
Clear lldp neighbors
See Also Show lldp neighbors
Clear lldp statistics
Statistics
Interfaces
To clear all the Lldp statistics for all interfaces
Debug lldp packet
Interface tengigabitethernet
Both
Detail
Switchconf-lldp#description Brocade-LLDP
Specifies a string that contains the description of the Lldp
Hello
Hello seconds
No hello Operands
Seconds
Switchconf-if-te-0/1# lldp dcbx-version cee
Lldp dcbx-version
Switchconf-if-te-0/1#lldp disable
Lldp disable
Lldp disable
Switchconf-if-te-0/1#lldp fcoe-priority-bits 0xff
Lldp fcoe-priority-bits
Sets the priorities on which FCoE traffic will be allowed
Value
Switchconf-if-te-0/1#lldp profile test
Lldp profile
Lldp profile
Name
Sets the Lldp mode on the switch
Switchconf-lldp# mode tx
Mode
See Also Show lldp
Multiplier
Synopsis Multiplier value No multiplier Operands
Value
See Also Hello
Defaults none
Profile
Synopsis Profile name No profile name Operands
Name
Switchconfig#no protocol lldp
Protocol lldp
Displays the Lldp debugging status on the switch
Show debug lldp
Lldp debugging status
Interface te0/0 Transmit Receive Detail
Displays the Lldp status on the specified interface
Switch#show lldp interface Tengigabitethernet 0/0
Show lldp interface
Detail
Show lldp neighbors
Show lldp neighbors
MaxVersion SeqNo 2 AckNo Dcbx ETS OperVersion Will
Show lldp statistics
Show lldp statistics
Statistics for all interfaces
To display Lldp statistics on the specified interface
System-description Line
System-description Line
Sets the global system description specific to Lldp
Characters
System-name
System-name
Sets the global system name specific to Lldp
Synopsis System-name name Operands
Channel-group
No channel-group Operands
Mode
Type
See Also Interface port-channel
Switchconf-if#channel-group 4 mode active
Channel-group
Synopsis Clear lacp number counters Operands
Counters
Clears traffic counters
To clear the Lacp counters for a specific port-channel
See Also Show lacp
Switch#clear lacp counters
Clear lacp counters
Debug lacp
See Also Show debug lacp
To clear the configured Lacp system-priority
Switchconfig#lacp system-priority
Switchconfig#no lacp system-priority
Lacp system-priority
Lacp timeout
Switchconf-if-te-0/1 #lacp timeout short
Show lacp counter
Synopsis Show lacp counter number Operands
Port-channel or a specific interface
To show the Lacp counters for port-channel
System 8000,00-05-1e-76-1a-a6
Switch#show lacp sys-id
Show lacp-sys-id
Load-balance
Show port-channel
Channel-group number
Show port-channel
Forward
Mac-address-table
Static mac-addr
See Also Show mac address-table static
Switchconfig#mac-address-table aging-time
Mac-address-table To set the aging time to 10 minutes
Show mac-address-table
Aging-time
Count
Linecard
Switch#show mac-address-table aging-time
Switch#show mac-address-table dynamic
To display the aging time for a specific MAC address table
To display a dynamic MAC address table
Clear counters access-list mac
See Also Show mac access-list , show statistics access-list
Operands
Interface
Deny extended ACLs
Ipv4 count
Fcoe ipv4 Operands Any
Ipv4
Deny extended ACLs
See Also Mac-access-list extended , permit
Deny standard ACLs
Synopsis Deny Macacl any count No deny Macacl any Operands
Guidelines Example
Mac access-list extended
Command
See Also Deny, permit , show access-lists
Modes Description
Mac access-list standard
Creates and assigns a name to the standard MAC access list
See Also Deny , permit , show access-lists
Limit is
Mac access-group
Switchconf-if#mac access-group macacl2
Switchconf-if#no mac access-group macacl2
Specifies to filter inbound packets only
Permit extended ACLs
Fcoe ipv4 count
Page
Enables the counting of the packets matching the rule
See Also Mac-access-list extended , no seq
Switchconf-macl-std#permit 0022.3333.4444 count
Switchconf-macl-std#no permit
Resequence access-list mac
See Also Mac-access-list extended , seq
Seqnum
Increment
Seq extended MAC ACLs
EtherType arp fcoe ipv4 count
No seq value Operands
Permit or deny
See Also Deny, permit, resequence
Switchconf-macl-std#seq 100 deny 0022.3333.4444 count
Switchconf-macl-std#seq 1000 permit 0022.3333.4444 count
Seq standard MAC ACLs
To delete a filter rule in a MAC standard ACL
Operands Interface
Show mac access-group
See Also Show running-config , show statistics
Slot/port vlan vlanid
Show statistics access-list mac
See Also Show running-config , show mac access-group
Bridge-priority
Specifies the priority of the bridge
Priority
Specifies the bridge priority. The range of valid values is
To disable Cisco interoperability on a switch
Switchconf-mstp#cisco-interoperability enable
Switchconf-mstp#cisco-interoperability disable
Cisco-interoperability
Clear spanning-tree counter
See Also Show spanning-tree
Debug spanning-tree
Error-disable-timeout enable
Error-disable-timeout enable
See Also Error-disable-timeout interval
Switchconf-rstp#error-disable-timeout enable
Error-disable-timeout interval
Error-disable-timeout interval
Synopsis Error-disable-timeout interval seconds Operands
See Also Error-disable-timeout enable
Forward-delay
Synopsis Forward-delay seconds No forward-delay Operands
Default is 15 seconds
Protocol Spanning Tree mode
Synopsis Hello-time seconds No hello-time Operands
See Also Forward-delay,max-age
Hello-time
Instance instanceid vlan vlanid priority priorityid
No instance Operands
Instanceid
Priority priorityid
Max-age
See Also Show spanning-tree mst
Max-hops
Hopcount
Custom
Port-channel path-cost
Synopsis Port-channel path-cost custom standard Operands
Protocol spanning-tree
Protocol spanning-tree
Region
Region region-name
No region Operands
Region-name
Revision
See Also Region, show spanning-tree
Show spanning-tree
Synopsis Show spanning-tree Operands
See Also Show spanning-tree interface
Show spanning-tree brief
Switch#show spanning-tree brief
Show spanning-tree brief
See Also Show spanning-tree brief
Show spanning-tree interface
Show spanning-tree interface
Show spanning-tree mst brief
Show spanning-tree mst brief
Information in brief
Synopsis Show spanning-tree mst brief Operands
There are no default configuration for this command
To display Mstp information on the switch in detail
Switch#show spanning-tree mst detail
Show spanning-tree mst detail
Show spanning-tree mst detail
Show spanning-tree mst detail
Show spanning-tree mst instance
Show spanning-tree mst interface
To enable STP globally
Switchconf-rstp#shutdown
Switchconf-rstp#no shutdown
Tree Protocol STP globally
Enables automatic edge detection
Switchconf-if-te-0/1# spanning-tree autoedge
Spanning-tree autoedge
Spanning-tree autoedge
Cost
Spanning-tree cost
Synopsis Spanning-tree cost cost Operands
Spanning-tree edgeport
Spanning-tree edgeport
To set the edgeport Bpdu filter for the port
To guard the port against reception of BPDUs
Path-to-the root for the switch
Switchconf-if-te-0/1#spanning-tree guard root
Spanning-tree guard root
Spanning-tree guard root
Configures the hello-time in seconds on the interface
See Also Forward-delay , max-age , show spanning-tree
Switchconf-if-te-0/1#spanning-tree hello-time
Spanning-tree hello-time
Spanning-tree instance
Spanning-tree link-type
Switchconf-if-te-0/0#spanning-tree link-type shared
Spanning-tree link-type
Spanning-tree portfast
Spanning-tree portfast
To set the Port Fast Bpdu filter for the port
To guard the port against the reception of BPDUs
Spanning-tree priority
Spanning-tree priority
Changes an interfaces spanning-tree port priority
Is 0-240. Port priority is in increments
Switchconf-if-te-0/1#spanning-tree restricted-role
Spanning-tree restricted-role
Spanning-tree restricted-role
Restricts the role of the port from becoming a root port
Spanning-tree restricted-tcn
Switchconf-if-te-0/1#spanning-tree restricted-tcn
Spanning-tree restricted-tcn
Enables or disables spanning tree on the interface
To enable spanning tree on Vlan
Spanning-tree shutdown
Spanning-tree shutdown
Spanning-tree tc-flush-standard
Switchconfig#no spanning-tree tc-flush-standard
Spanning-tree tc-flush-standard
Before pausing for 1 second. The range of valid values is
Switchconf-mstp#transmit-holdcount
Transmit-holdcount
Transmit-holdcount
There are no defaults for this command
Clear ip igmp group
Multicast group
Information. The range of valid values is
Switch#clear ip igmp groups
Clear ip igmp groups
Debug ip igmp all
Displays all Igmp information
Displays all values
Example none See Also None
Default value is 1000 milliseconds
Ip igmp last-member-query-interval
Sets the last member query interval
Milliseconds
Synopsis Ip igmp query-interval seconds Operands
Ip igmp query-interval
Sets the query interval
Ip igmp query-max-response-time
Synopsis Ip igmp query-max-response-time seconds Operands
Ip igmp snooping enable global version
Switchconfig# ip igmp snooping enable
Ip igmp snooping enable Vlan version
Switch#ip igmp snooping enable
Enables snooping fast-leave
Ip igmp snooping fast-leave
Ip igmp snooping mrouter
See Also Show ip igmp snooping mrouter
Synopsis Ip igmp snooping mrouter-timeout seconds Operands
Ip igmp snooping mrouter-timeout
Configures the mrouter-time-out
Ip igmp snooping querier enable
Switchconf-if-vl-1#ip igmp snooping querier enable
Configures the static group membership entries
Ip igmp static-group
Show debug ip igmp
Show ip igmp groups
Displays the IGMPv3 source information
Show ip igmp snooping
Displays Igmp snooping information
Mrouter interface
Statistics interface
Show running-config igmp
Displays the Igmp configuration
Show running-config igmp
Rmon alarm
See Also Rmon event , show rmon
See Also Show rmon statistics
Rmon collection stats
Owner name
Rmon event
Description word
Log
Trap word
Operands Alarms
Events
Logs
Statistics
To display the Rmon events
See Also Rmon alarm , rmon event
Switch#show rmon events
See Also cee-map
Cee
Synopsis Cee name No cee Operands
See Also Cee , priority-group-table , priority-table
Cee-map
Precedence number
Weight weight
Priority-group-table
Pgid
Pfc
No priority-table
Priority-table
Synopsis
Switchconf-ceemap#priority- 1 0 1 1 1 1
See Also Cee , cee-map , priority-group-table
See Also Show qos , qos map , qos trust
Qos cos
Synopsis Qos cos value No qos cos Operands
See Also Qos map cos-mutation , show qos maps
Qos cos-mutation
Synopsis Qos cos-mutation name No qos cos-mutation Operands
Switchconf-if-te-0/1#qos cos-traffic-class test
Qos cos-traffic-class
Applies a CoS-to-Traffic Class QoS map on an interface
To apply a CoS-to-Traffic Class QoS map to an interface
Qos map cos-mutation
No qos map cos-mutation name
See Also Qos cos-mutation , show qos maps
See Also Qos trust , qos map cos-mutation
Qos map cos-traffic-class
No qos map cos-traffic-class
Qos map cos-traffic-class
There are no usage guidelines for this command
Qos queue multicast scheduler
Guidelines Examples
Bandwidth, and Traffic Class 3 getting 40 percent bandwidth
Qos queue scheduler
No qos queue scheduler
Strict-priority
Dwrr
Weight5
Weight6
Weight7
Switchconfig#no qos queue scheduler
Qos rcv-queue multicast rate-limit
Qos rcv-queue multicast rate-limit
Rate
Burst burst-size
Qos rcv-queue multicast threshold
Tdto
Tdt1
Tdt2
See Also Qos cos , show qos
Qos trust cos
Synopsis Qos trust cos No qos trust Operands
See Also cee, cee-map
Show cee maps
Synopsis Show cee maps name Operands
Show qos flowcontrol interface
Linecard portset
Chip
See Also Show qos interface , show cee maps
Switch#show qos interface tengigabitethernet 0/1
Show qos interface
Show qos interface
Scheduler policy
See Also Cee-map , priority table
See Also Qos maps , show qos interface
Show qos maps
Cos-traffic-class name
Switch#show qos queue interface tengigabitethernet 0/2
Show qos queue interface
Show qos queue interface
Packets and bytes sent and received for each priority
Show qos rcv-queue interface
See Also Show qos rcv-queue multicast
Show qos rcv-queue multicast
See Also Show qos rcv-queue interface
Switch#clear dot1x statistics
Clear dot1x statistics
Clears all dot1x statistics
See Also Clear dot1x statistics interface
Port
Clear dot1x statistics interface
Slot
Switchconf-if-te-0/1# dot1x authentication
Dot1x authentication
Enables dot1x on a port
Dot1x enable
13 dot1x enable
Enables 802.1X authentication globally
Switchconfig# dot1x enable
Dot1x port-control
Controls the authorization of a port state
Switchconf-if-te-0/1# dot1x port-control auto
Switchconfig#interface tengigabiethernet 0/1
Switchconf-if-te-0/1# dot1x quiet-period
Dot1x quiet-period
13 dot1x quiet-period
Dot1x reauthenticate interface
Initiates reauthentication on a specified interface
Synopsis Dot1x reauthenticate interface name Operands
Specifies the name of the interface
Dot1x reauthentication
13 dot1x reauthentication
Enables reauthentication on a port
Switchconf-if-te-0/1# dot1x reauthentication
To the default setting
To set the maximum number of reauthentication attempts to
To set the reauthentication maximum to the default value
Dot1x reauthMax
Dot1x timeout re-authperiod
13 dot1x timeout re-authperiod
Sets the number of seconds between reauthorization attempts
Synopsis Dot1x timeout re-authperiod seconds Operands
Dot1x timeout server-timeout
Sets the authentication sever response timeout
Synopsis Dot1x timeout server-timeout seconds Operands
Default timeout is 30 seconds
Dot1x timeout supp-timeout
13 dot1x timeout supp-timeout
Synopsis Dot1x timeout supp-timeout seconds Operands
Switchconf-if-te-0/1#dot1x timeout supp-timeout
Dot1x timeout tx-period
Synopsis Dot1x timeout tx-period seconds Operands
Switchconfig-if#dot1x timeout tx-period
Range of valid values is
Displays the overall state of dot1x on the system
Switch#show dot1x
Show dot1x
Displays detailed information for all of the ports
Switch#show dot1x all
Show dot1x all
See Also None
Specifies the name of the interface
Show dot1x diagnostics interface
Synopsis Show dot1x diagnostics interface name Operands
Show dot1x interface
Displays the state of a specified interface
Synopsis Show dot1x interface name Operands
To display the state of 10 Gbps Ethernet interface 0/1
802.1X Session info for te0/1
Show dot1x session-info interface
Synopsis Show dot1x session-info interface name Operands
Synopsis Show dot1x statistics interface name Operands
Show dot1x statistics interface
Displays the statistics of a specified interface