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
Delete filename
See Also Copy startup-config
Filename
Synopsis dir Operands
Dir
See Also Delete
Disable
Disable
See Also Enable, end, exit
Switch#disable
Command
Do command
See Also None
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
Line console
Configures the Line configuration mode
See Also Show line
First number
Line vty first number last number
Last 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
Synopsis Show media Operands
Show media
See Also Show media interface, show media linecard
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
Show running-config
Show running-config
See Also Show startup-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
Synopsis Show version Operands
Show version
See Also Show system
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
Write memory
Write memory
See Also Write erase
Switchconfig#interface vlan
Switchconf-if-vl-777# fcf forward
Fcf forward
See Also Interface vlan
Interface vlan
See Also Interface switchport , fcf forward , shutdown
Vlanid
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
Synopsis switchport no switchport Operands none
Switchport
To remove an interface from Layer 2 mode
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
Description
Switchconf-if-te-0/1#description converged101
Line
Specifies the Vlan number. The range of valid values is
See Also Show interface, interface vlan
Synopsis Mtu size Operands
Mtu
Size
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
To display Layer 2 information for all interfaces
Switch#show interface switchport
See Also Show ip interface
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
Lldp disable
Lldp disable
Switchconf-if-te-0/1#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
Show lldp interface
Switch#show lldp interface Tengigabitethernet 0/0
Displays the Lldp status on the specified interface
Show lldp neighbors
Show lldp neighbors
Detail
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
Channel-group
Switchconf-if#channel-group 4 mode active
See Also Interface port-channel
Synopsis Clear lacp number counters Operands
Counters
Clears traffic counters
To clear the Lacp counters for a specific port-channel
Clear lacp counters
Switch#clear lacp counters
See Also Show lacp
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
Show lacp-sys-id
Switch#show lacp sys-id
System 8000,00-05-1e-76-1a-a6
Channel-group number
Show port-channel
Load-balance
Show port-channel
Static mac-addr
Mac-address-table
Forward
Mac-address-table To set the aging time to 10 minutes
Switchconfig#mac-address-table aging-time
See Also Show mac address-table static
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
See Also Show running-config , show statistics
Show mac access-group
Operands Interface
See Also Show running-config , show mac access-group
Show statistics access-list mac
Slot/port vlan vlanid
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
Hello-time
See Also Forward-delay,max-age
Synopsis Hello-time seconds No hello-time Operands
Instance instanceid vlan vlanid priority priorityid
No instance Operands
Instanceid
Priority priorityid
Max-age
Hopcount
Max-hops
See Also Show spanning-tree mst
Synopsis Port-channel path-cost custom standard Operands
Port-channel path-cost
Custom
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
Show spanning-tree interface
Show spanning-tree interface
See Also Show spanning-tree brief
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
Synopsis Spanning-tree cost cost Operands
Spanning-tree cost
Cost
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
Sets the query interval
Ip igmp query-interval
Synopsis Ip igmp query-interval seconds Operands
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
Configures the mrouter-time-out
Ip igmp snooping mrouter-timeout
Synopsis Ip igmp snooping mrouter-timeout seconds Operands
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
Owner name
Rmon collection stats
See Also Show rmon statistics
Rmon event
Description word
Log
Trap word
Operands Alarms
Events
Logs
Statistics
Switch#show rmon events
See Also Rmon alarm , rmon event
To display the Rmon events
Synopsis Cee name No cee Operands
Cee
See Also cee-map
Precedence number
Cee-map
See Also Cee , priority-group-table , priority-table
Weight weight
Priority-group-table
Pgid
Pfc
Synopsis
Priority-table
No priority-table
Switchconf-ceemap#priority- 1 0 1 1 1 1
See Also Cee , cee-map , priority-group-table
Synopsis Qos cos value No qos cos Operands
Qos cos
See Also Show qos , qos map , qos trust
Synopsis Qos cos-mutation name No qos cos-mutation Operands
Qos cos-mutation
See Also Qos map cos-mutation , show qos maps
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
No qos map cos-traffic-class
Qos map cos-traffic-class
See Also Qos trust , qos map cos-mutation
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
Synopsis Qos trust cos No qos trust Operands
Qos trust cos
See Also Qos cos , show qos
Synopsis Show cee maps name Operands
Show cee maps
See Also cee, cee-map
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
Cos-traffic-class name
Show qos maps
See Also Qos maps , show qos interface
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
Slot
Clear dot1x statistics interface
Port
Enables dot1x on a port
Dot1x authentication
Switchconf-if-te-0/1# dot1x authentication
Dot1x enable
13 dot1x enable
Enables 802.1X authentication globally
Switchconfig# dot1x enable
Switchconf-if-te-0/1# dot1x port-control auto
Controls the authorization of a port state
Dot1x port-control
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
Show dot1x
Switch#show dot1x
Displays the overall state of dot1x on the system
Show dot1x all
Switch#show dot1x all
Displays detailed information for all of the ports
See Also None
Synopsis Show dot1x diagnostics interface name Operands
Show dot1x diagnostics interface
Specifies the name of the interface
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
Synopsis Show dot1x session-info interface name Operands
Show dot1x session-info interface
802.1X Session info for te0/1
Displays the statistics of a specified interface
Show dot1x statistics interface
Synopsis Show dot1x statistics interface name Operands