Brocade Communications Systems 53-1001762-01 User Manual

®
DRAFT: BROCADE CONFIDENTIAL
53-1001762-01 30 March 2010
Converged Enhanced Ethernet Command Reference
DRAFT: BROCADE CONFIDENTIAL
Copyright © 2006-2010 Brocade Communications Systems, Inc. All Rights Reserved.
Brocade, the B-wing symbol, BigIron, DCX, Fabric OS, FastIron, IronPoint, IronShield, IronView, IronWare, JetCore, NetIron, SecureIron, ServerIron, StorageX, and TurboIron are registered trademarks, and DCFM, Extraordinary Networks, and SAN Health are trademarks of Brocade Communications Systems, Inc., in the United States and/or in other countries. All other brands, products, or service names are or may be trademarks or service marks of, and are used to identify, products or services of their respective owners.
Notice: This document is for informational purposes only and does not set forth any warranty, expressed or implied, concerning any equipment, equipment feature, or service offered or to be offered by Brocade. Brocade reserves the right to make changes to this document at any time, without notice, and assumes no responsibility for its use. This informational document describes features that may not be currently available. Contact a Brocade sales office for information on feature and product availability. Export of technical data contained in this document may require an export license from the United States government.
The authors and Brocade Communications Systems, Inc. shall have no liability or responsibility to any person or entity with respect to any loss, cost, liability, or damages arising from the information contained in this book or the computer programs that accompany it.
The product described by this document may contain “open source” software covered by the GNU General Public License or other open source license agreements. To find out which open source software is included in Brocade products, view the licensing terms applicable to the open source software, and obtain a copy of the programming source code, please visit http://www.brocade.com/support/oscd.
Brocade Communications Systems, Incorporated
Corporate and Latin American Headquarters Brocade Communications Systems, Inc. 1745 Technology Drive San Jose, CA 95110 Tel: 1-408-333-8000 Fax: 1-408-333-8101 E-mail: info@brocade.com
European Headquarters Brocade Communications Switzerland Sàrl Centre Swissair Tour B - 4ème étage 29, Route de l'Aéroport Case Postale 105 CH-1215 Genève 15 Switzerland Tel: +41 22 799 5640 Fax: +41 22 799 5641 E-mail: emea-info@brocade.com
Asia-Pacific Headquarters Brocade Communications Systems China HK, Ltd. No. 1 Guanghua Road Chao Yang District Units 2718 and 2818 Beijing 100020, China Tel: +8610 6588 8888 Fax: +8610 6588 9999 E-mail: china-info@brocade.com
Asia-Pacific Headquarters Brocade Communications Systems Co., Ltd. (Shenzhen WFOE) Citic Plaza No. 233 Tian He Road North Unit 1308 – 13th Floor Guangzhou, China Tel: +8620 3891 2000 Fax: +8620 3891 2111 E-mail: china-info@brocade.com
Document History
Title Publication number Summary of changes Date
Converged Enhanced Ethernet Command Reference
Converged Enhanced Ethernet Command Reference
Converged Enhanced Ethernet Command Reference
53-1001217-01 New document March 2009
53-1001347-01 Updated for 6.3.0
Added new commands for
802.1x Port Authentication
53-1001762-01 Added new commands for
IGMP
July 2009
March 2010

Contents

DRAFT: BROCADE CONFIDENTIAL
About This Document
In this chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
How this document is organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Supported hardware and software . . . . . . . . . . . . . . . . . . . . . . . . . . xii
What’s new in this document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Document conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Text formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Command syntax conventions . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Notes, cautions, and warnings . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Key terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Notice to the reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Additional information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Brocade resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Other industry resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Getting technical help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Document feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xvii
Chapter 1 CLI Basics
In this chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Accessing the Brocade CEE Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CLI command modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
L2 ACL commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2 Configuration Management Commands
copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
copy startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
erase flash. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
exec-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Converged Enhanced Ethernet Command Reference iii 53-1001762-01
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
fos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
line console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
line vty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
pwd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
rename. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
show calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
show clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
show environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
show file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
show line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
show logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
show media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
show media interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
show media linecard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
show processes cpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
show processes memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
show startup-config. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
show tech-support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
show users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
show version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
terminal length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
terminal monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
write erase. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
write memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Chapter 3 VLAN Commands
fcf forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
interface vlan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
show interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
show vlan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
show vlan classifier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
switchport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
switchport access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
switchport converged . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
iv Converged Enhanced Ethernet Command Reference
53-1001762-01
switchport mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
switchport trunk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
vlan classifier activate group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
vlan classifier group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
vlan classifier rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Chapter 4 Interface Commands
clear counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
show interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
show ip interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
Chapter 5 Link Layer Discovery Protocol Commands
advertise dcbx-fcoe-app-tlv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
advertise dcbx-fcoe-logical-link-tlv . . . . . . . . . . . . . . . . . . . . . . . . . . .68
advertise dcbx-tlv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
advertise dot1-tlv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
advertise dot3-tlv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
advertise optional-tlv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
clear lldp neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
clear lldp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
debug lldp packet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
hello . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
lldp dcbx-version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
lldp disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
lldp fcoe-priority-bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
lldp profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
profile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
protocol lldp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
show debug lldp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
show lldp interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Converged Enhanced Ethernet Command Reference v 53-1001762-01
show lldp neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
show lldp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
system-description LINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
system-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Chapter 6 Link Aggregation Control Protocol Commands
channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
clear lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
clear lacp counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
debug lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
lacp system-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
lacp timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
show lacp counter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
show lacp-sys-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
show port-channel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Chapter 7 Layer 2 System Commands
mac-address-table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
show mac-address-table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
Chapter 8 Layer 2 ACL commands
clear counters access-list mac. . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
deny (extended ACLs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
deny (standard ACLs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
mac access-list extended . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
mac access-list standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
mac access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
permit (extended ACLs). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
permit (standard ACLs). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118
resequence access-list mac. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
seq (extended MAC ACLs). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
seq (standard MAC ACLs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
show mac access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
show statistics access-list mac . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
Chapter 9 Spanning Tree Protocol Commands
bridge-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
cisco-interoperability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .126
vi Converged Enhanced Ethernet Command Reference
53-1001762-01
clear spanning-tree counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127
debug spanning-tree. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .128
error-disable-timeout enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
error-disable-timeout interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130
forward-delay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131
hello-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132
instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133
max-age . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
max-hops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
port-channel path-cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
protocol spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
revision. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
show spanning-tree. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
show spanning-tree brief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
show spanning-tree interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143
show spanning-tree mst brief. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
show spanning-tree mst detail. . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
show spanning-tree mst instance . . . . . . . . . . . . . . . . . . . . . . . . . .148
show spanning-tree mst interface . . . . . . . . . . . . . . . . . . . . . . . . . .149
shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150
spanning-tree autoedge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
spanning-tree cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
spanning-tree edgeport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153
spanning-tree guard root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .154
spanning-tree hello-time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
spanning-tree instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156
spanning-tree link-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157
spanning-tree portfast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158
spanning-tree priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
spanning-tree restricted-role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160
spanning-tree restricted-tcn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
spanning-tree shutdown. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .162
spanning-tree tc-flush-standard. . . . . . . . . . . . . . . . . . . . . . . . . . . .163
transmit-holdcount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .164
Converged Enhanced Ethernet Command Reference vii 53-1001762-01
Chapter 10 Internet Group Management Protocol Commands
clear ip igmp group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
clear ip igmp groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166
debug ip igmp all. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167
ip igmp last-member-query-interval . . . . . . . . . . . . . . . . . . . . . . . . .168
ip igmp query-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169
ip igmp query-max-response-time . . . . . . . . . . . . . . . . . . . . . . . . . .170
ip igmp snooping enable (global version) . . . . . . . . . . . . . . . . . . . . 171
ip igmp snooping enable (VLAN version). . . . . . . . . . . . . . . . . . . . .172
ip igmp snooping fast-leave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
ip igmp snooping mrouter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
ip igmp snooping mrouter-timeout. . . . . . . . . . . . . . . . . . . . . . . . . .175
ip igmp snooping querier enable . . . . . . . . . . . . . . . . . . . . . . . . . . .176
ip igmp static-group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
show debug ip igmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178
show ip igmp groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179
show ip igmp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .180
show running-config igmp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181
Chapter 11 RMON Commands
rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183
rmon collection stats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .185
rmon event. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .186
show rmon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187
Chapter 12 QoS Commands
cee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189
cee-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .190
priority-group-table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191
priority-table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .192
qos cos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .194
qos cos-mutation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195
qos cos-traffic-class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196
qos map cos-mutation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .197
qos map cos-traffic-class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199
qos queue multicast scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . .201
qos queue scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .202
viii Converged Enhanced Ethernet Command Reference
53-1001762-01
qos rcv-queue multicast rate-limit . . . . . . . . . . . . . . . . . . . . . . . . . .204
qos rcv-queue multicast threshold . . . . . . . . . . . . . . . . . . . . . . . . .205
qos trust cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206
show cee maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207
show qos flowcontrol interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . .208
show qos interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209
show qos maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211
show qos queue interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212
show qos rcv-queue interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213
show qos rcv-queue multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214
Chapter 13 Port Authentication Commands
clear dot1x statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215
clear dot1x statistics interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
dot1x authentication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
dot1x enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .218
dot1x port-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219
dot1x quiet-period. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .220
dot1x reauthenticate interface . . . . . . . . . . . . . . . . . . . . . . . . . . . .221
dot1x reauthentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222
dot1x reauthMax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .223
dot1x timeout re-authperiod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .224
dot1x timeout server-timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
dot1x timeout supp-timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .226
dot1x timeout tx-period. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227
show dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .228
show dot1x all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .229
show dot1x diagnostics interface . . . . . . . . . . . . . . . . . . . . . . . . . .231
show dot1x interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .232
show dot1x session-info interface . . . . . . . . . . . . . . . . . . . . . . . . . .233
show dot1x statistics interface . . . . . . . . . . . . . . . . . . . . . . . . . . . .234
Converged Enhanced Ethernet Command Reference ix 53-1001762-01
x Converged Enhanced Ethernet Command Reference
53-1001762-01

About This Document

In this chapter

How this document is organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Supported hardware and software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
What’s new in this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Document conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Notice to the reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Additional information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Getting technical help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Document feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
DRAFT: BROCADE CONFIDENTIAL

How this document is organized

This document is organized to help you find the information that you want as quickly and easily as possible.
The document contains the following components:
Chapter 1, “CLI Basics” describes how to access the switch and the CEE CLI command modes.
Chapter 2, “Configuration Management Commands”describes the commands to manage the
configuration files and includes other file management commands.
Chapter 3, “VLAN Commands” describes the commands to create and manage Virtual LAN
interfaces.
Chapter 4, “Interface Commands” describes the commands to configure interfaces.
Chapter 5, “Link Layer Discovery Protocol Commands” describes the commands that support
the Link Layer Discovery Protocol (LLDP) implementation.
Chapter 6, “Link Aggregation Control Protocol Commands” describes the commands to clear
counters of all LACP aggregators or a given LACP aggregator.
Chapter 7, “Layer 2 System Commands” describes the commands to configure Layer 2
features.
Chapter 8, “Layer 2 ACL commands” describes the commands to configure, manage, and view
MAC addresses.
Chapter 9, “Spanning Tree Protocol Commands” describes the commands to configure the
Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), and Multiple Spanning Tree Protocol (MSTP).
Chapter 10, “Internet Group Management Protocol Commands” describes the commands
used to configure and maintain IGMP snooping.
Converged Enhanced Ethernet Command Reference xi 53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
Chapter 11, “RMON Commands” describes the Remote Network Monitoring (RMON)
commands used to monitor and collect long-term statistics.
Chapter 12, “QoS Commands” describes the commands used to enable Quality of Service on
the device.
Chapter 13, “Port Authentication Commands” describes the 802.1x port authentication
configuration commands.

Supported hardware and software

This document includes updated information specific to Fabric OS 6.4.0. The following hardware platforms are supported in this release:
Brocade 300
Brocade 4100
Brocade 4900
Brocade 5000
Brocade 5100
Brocade 5300
Brocade 5410
Brocade 5424
Brocade 5450
Brocade 5480
Brocade 7500
Brocade 7500E
Brocade 7600
Brocade 7800
Brocade 8000
Brocade Encryption Switch
Brocade VA-40FC
Brocade 48000
Brocade DCX
Brocade DCX-4S
Within this manual, any appearance of the term “Brocade FCoE hardware” is referring to:
Brocade 8000
Brocade FCOE10-24 port blade
Although many different software and hardware configurations are tested and supported by Brocade Communications Systems, Inc. for Fabric OS 6.4.0, documenting all possible configurations and scenarios is beyond the scope of this document.
To obtain information about an OS version other than 6.4.0, refer to the documentation specific to that OS version.
xii Converged Enhanced Ethernet Command Reference
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL

What’s new in this document

This document has been updated for 6.4.0.
New commands have been added for:
Internet Group Management Protocol
For further information about new features and documentation updates for this release, refer to the release notes.

Document conventions

This section describes text formatting conventions and important notice formats used in this document.

Text formatting

The narrative-text formatting conventions that are used are as follows:
bold text Identifies command names
Identifies the names of user-manipulated GUI elements Identifies keywords and operands Identifies text to enter at the GUI or CLI
italic text Provides emphasis
Identifies variables Identifies paths and Internet addresses Identifies document titles
code text Identifies CLI output
Identifies command syntax examples
For readability, command names in the narrative portions of this guide are presented in mixed lettercase: for example, switchShow. In actual examples, command lettercase is all lowercase.
.

Command syntax conventions

Command syntax in this manual follows these conventions:
TABLE 1 Command syntax conventions
Convention Description
bold face font Commands and keywords.
italic Variables for which you supply values.
[ ] Keywords or arguments that appear within square brackets are
optional.
{x | y | z} A choice of required keywords appears in braces separated by vertical
bars. You must select one.
screen font Examples of information displayed on the screen.
Converged Enhanced Ethernet Command Reference xiii 53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
NOTE
ATTENTION
CAUTION
DANGER
TABLE 1 Command syntax conventions
Convention Description
<> Nonprinting characters, for example passwords, appear in angle
brackets
[ ] Default responses to system prompts appear in square brackets.

Notes, cautions, and warnings

The following notices and statements are used in this manual. They are listed below in order of increasing severity of potential hazards.
A note provides a tip, guidance, or advice, emphasizes important information, or provides a reference to related information.
An Attention statement indicates potential damage to hardware or data.
A Caution statement alerts you to situations that can be potentially hazardous to you or cause damage to hardware, firmware, software, or data.
A Danger statement indicates conditions or situations that can be potentially lethal or extremely hazardous to you. Safety labels are also attached directly to products to warn of these conditions or situations.

Key terms

For definitions specific to Brocade and Fibre Channel, see the technical glossaries on Brocade Connect. See “Brocade resources” on page xv for instructions on accessing Brocade Connect.

Notice to the reader

This document may contain references to the trademarks of the following corporations. These trademarks are the properties of their respective companies and corporations.
These references are made for informational purposes only.
Corporation Referenced Trademarks and Products
Microsoft Corporation Windows, Windows NT, Internet Explorer
Oracle Corporation Oracle, Java
xiv Converged Enhanced Ethernet Command Reference
53-1001762-01
Corporation Referenced Trademarks and Products
Netscape Communications Corporation Netscape
Red Hat, Inc. Red Hat, Red Hat Network, Maximum RPM, Linux Undercover

Additional information

This section lists additional Brocade and industry-specific documentation that you might find helpful.

Brocade resources

To get up-to-the-minute information, go to http://my.brocade.com and register at no cost for a user ID and password.
White papers, online demonstrations, and data sheets are available through the Brocade website at:
DRAFT: BROCADE CONFIDENTIAL
http://www.brocade.com/products-solutions/products/index.page
For additional Brocade documentation, visit the Brocade website:
http://www.brocade.com
Release notes are available on the Brocade Connect website and are also bundled with the Fabric OS firmware.

Other industry resources

White papers, online demonstrations, and data sheets are available through the Brocade website at http://www.brocade.com/products/software.jhtml.
Best practice guides, white papers, data sheets, and other documentation is available through
the Brocade Partner website.
For additional resource information, visit the Technical Committee T11 website. This website provides interface standards for high-performance and mass storage applications for Fibre Channel, storage management, and other applications:
http://www.t11.org
For information about the Fibre Channel industry, visit the Fibre Channel Industry Association website:
http://www.fibrechannel.org
Converged Enhanced Ethernet Command Reference xv 53-1001762-01

Getting technical help

Contact your switch support supplier for hardware, firmware, and software support, including product repairs and part ordering. To expedite your call, have the following information available:
1. General Information
Switch model
Switch operating system version
Error numbers and messages received
supportSave command output
Detailed description of the problem, including the switch or fabric behavior immediately
following the problem, and specific questions
Description of any troubleshooting steps already performed and the results
Serial console and Telnet session logs
syslog message logs
DRAFT: BROCADE CONFIDENTIAL
2. Switch Serial Number
The switch serial number and corresponding bar code are provided on the serial number label, as illustrated below:
*FT00X0054E9*
FT00X0054E9
The serial number label is located as follows:
Brocade 300, 4100, 4900, 5100, 5300, 7500, 7800, 8000, VA-40FC, and Brocade
Encryption Switch—On the switch ID pull-out tab located inside the chassis on the port side on the left
Brocade 5000—On the switch ID pull-out tab located on the bottom of the port side of the
switch
Brocade 7600—On the bottom of the chassis
Brocade 48000—Inside the chassis next to the power supply bays
Brocade DCX—On the bottom right on the port side of the chassis
Brocade DCX-4S—On the bottom right on the port side of the chassis, directly above the
cable management comb
3. World Wide Name (WWN)
Use the licenseIdShow command to display the WWN of the chassis.
If you cannot use the licenseIdShow command because the switch is inoperable, you can get the WWN from the same place as the serial number, except for the Brocade DCX. For the Brocade DCX, access the numbers on the WWN cards by removing the Brocade logo plate at the top of the nonport side of the chassis.
xvi Converged Enhanced Ethernet Command Reference
53-1001762-01

Document feedback

Quality is our first concern at Brocade and we have made every effort to ensure the accuracy and completeness of this document. However, if you find an error or an omission, or you think that a topic needs further development, we want to hear from you. Forward your feedback to:
documentation@brocade.com
Provide the title and version number of the document and as much detail as possible about your comment, including the topic heading and page number and your suggestions for improvement.
DRAFT: BROCADE CONFIDENTIAL
Converged Enhanced Ethernet Command Reference xvii 53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
xviii Converged Enhanced Ethernet Command Reference
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
Chapter

CLI Basics

In this chapter

Accessing the Brocade CEE Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CLI command modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
L2 ACL commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Accessing the Brocade CEE Switch

After you log on to the switch, you can access the commands through a serial terminal port or a Telnet session. When you Telnet into the switch, you are prompted to enter a login name and password. When you log on to a switch supporting CEE, all of the 10 Gbps ports are disabled and must be enabled. Refer to the Fibre Channel over Ethernet Administrator’s Guide for information regarding feature configuration and management procedures.
Following is an example of logging in to a switch supporting FCoE and CEE.
1
telnet 10.32.152.21 switch login: admin Password:xxxxxx switch cmsh – cmsh takes you to the CEE Brocade8000 CLI prompt. switch>

CLI command modes

Following are the main command modes for the Brocade FCoE hardware:
EXEC
Privileged EXEC
Global configuration
Interface configuration
Feature configuration
CEE map: switch (config-ceemap)
Standard ACL: switch (conf-macl-std)
Extended ACL: switch (conf-macl-ext)
Console and VTY (line) configuration
Tab le 2 lists the main command modes, how to access each mode, the prompt you see in that
mode, and how to exit that mode. The prompts listed use the default name switch.
Converged Enhanced Ethernet Command Reference 1 53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
CLI command modes
1
TABLE 2 Accessing the CEE CLI command modes
Command mode
EXEC switch> Enter the cmsh command at the
Privileged EXEC
Global configuration
Interface configuration
Prompt How to access the command mode Description
Fabric OS prompt after you have logged in as an appropriate user.
switch# From the EXEC mode, enter the
enable command.
switch(config)# From the EXEC mode, enter the
configure terminal EXEC command.
Port-channel: switch (conf-if-po-63)#
10-Gigabit Ethernet (CEE port): switch (conf-if-te-0/1)#
From the global configuration mode, specify an interface by entering one of the following interface types:
interface port-channel
interface tengigabitethernet
interface vlan
VLAN: switch (conf-if-vl-1)#
Protocol configuration
Feature configuration
LLDP: switch (conf-lldp)#
Spanning-tree: switch (conf-mstp)# switch (conf-rstp)# switch (conf-stp)#
CEE map: switch (config-ceemap)#
Standard ACL: switch (conf-macl-std)#
From the global configuration mode, specify a protocol by entering one of the following protocol types:
protocol lldp
protocol spanning-tree mstp
protocol spanning-tree rstp
protocol spanning-tree stp
From the global configuration mode, specify a CEE feature by entering one of the following feature names:
cee-map
mac access-list
Display running system information and set terminal line parameters.
This is the administrative mode which also includes EXEC mode commands and allows you to display and change system parameters.
Configure features that affect the entire switch.
Access and configure individual interfaces.
Access and configure protocols.
Access and configure CEE features.
Extended ACL: switch (conf-macl-ext)#
Console and VTY (line) configuration
2 Converged Enhanced Ethernet Command Reference
switch (config-line)# From the global configuration mode,
configure a terminal connected through the console port by entering the line console command. Configure a terminal connected through a Telnet session by entering the line vty command.
Configure a terminal connected through the console port or a terminal connected through a Telnet session.
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL

L2 ACL commands

Use Layer 2 Media Access Control (MAC) list commands to do the following:
Identify traffic based on the MAC-addresses, such as VLAN IDs and different encapsulations.
Configure multiple access-lists or rules and store them in a configuration.
After you apply the access list either to an interface, a Virtual TeletYpe (VTY), or through a
command using the access-list keyword, it becomes effective.
Following are the two types of access list commands:
Standard Access Control Lists
Standard Access Control Lists filter the traffic on a source address and block traffic close to a destination. There are exceptions when the address in a standard access list is not a source address. When using a Telnet session, for outbound VTY access lists, the address in the access list entry is used as a destination address instead of a source address.
Extended Access Control Lists
Extended Access Lists block traffic based on any given packet attribute. Use Extended access control lists to test source and destination addresses and other IP packet data, such as protocols, TCP or UDP port numbers, type of service and to provide Reflective access-lists and Time-based access-lists.capabilities.
L2 ACL commands
1
Converged Enhanced Ethernet Command Reference 3 53-1001762-01
L2 ACL commands
1
DRAFT: BROCADE CONFIDENTIAL
4 Converged Enhanced Ethernet Command Reference
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
Chapter

Configuration Management Commands

copy

Copies one file to another location.
Synopsis copy source-file-url destination-file-url
Operands source-file-url Specifies location of the source file to be copied using one of the following
formats:
FLASH Copies from URL [flash://]filename
FTP Copies from URL ftp://[username[:password]@server/path]
SCP Copies from URL scp://[username[:password]@server/path]
destination-file-url Specifies the destination file using one of the following formats:
FLASH Copies to URL [flash://]filename
FTP Copies to URL ftp://[username[:password]@server/path]
2
SCP Copies to URL scp://[username[:password]@server/path]
running-config Copies to the current running configuration.
startup--config Copies to the current startup configuration file.
Defaults There are no usage guidelines for this command.
Command
Modes
Description Use this command to copy a file to another location.
Usage
Guidelines
Examples To copy the source file to a remote machine using FTP:
Privileged EXEC mode
There are no usage guidelines for this command.
switch#copy ftp://user@10.10.10.10/file1 file2 Source password[]?
To copy the source file from a remote machine using SCP:
switch#copy scp://user:password@10.10.10.10/file1 file2
To copy the source file from a local switch:
switch#copy flash://file1 file2
See Also write erase, copy running-config
Converged Enhanced Ethernet Command Reference 5 53-1001762-01

copy startup-config

2
copy startup-config
Copies the startup configuration file to a network server or a file URL.
Synopsis copy startup-config destination-file-url
Operands destination-file-url Specifies the destination path to which the startup-config is to be copied
Defaults There are no default configurations for this command.
DRAFT: BROCADE CONFIDENTIAL
using the following formats:
FLASH Copies to URL [flash://]filename
FTP Copies to URL ftp://[username[:password]@server/path]
SCP Copies to URL scp://[username[:password]@server/path]
running-config Copies to the current running configuration.
Command
Privileged EXEC mode
Modes
Description Use this command to copy the startup configuration file to a network server or a file URL.
Usage
Guidelines
The following guidelines apply when using this command:
An error displays if there is no startup configuration file, for example:
switch #copy startup-config file2 % Error: No Startup-config.
Use the write memory command to add entries in the startup configuration file.
Use the write erase command to delete entries from the startup configuration file.
Examples To copy the startup configuration file to the local switch:
switch#copy startup-config file2 Building configuration...
switch#copy startup-config flash://file2 Building configuration...
To copy the startup configuration file to a remote server through FTP:
switch#copy startup-config ftp://admin@10.10.10.10/file2 Source password[]? Building configuration...
To copy the startup configuration file to a remote server through SCP:
switch#copy startup-config scp://admin@10.10.10.10/file2 Source password[]? Building configuration...
See Also write erase, copy running-config
6 Converged Enhanced Ethernet Command Reference
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL

delete

delete
Deletes a specified file from the Flash.
Synopsis delete filename
Operands filename Specifies the name of the file to be deleted from the Flash of the local switch
using the following format: [flash://]filename.
Defaults There is no default configuration for this command.
Command
Modes
Description Use this command to delete a file from the Flash. After the file is deleted, it cannot be restored.
Usage
Guidelines
Examples To delete a file from the Flash:
Privileged EXEC mode
There are no usage guidelines for this command.
2
switch#delete file1 % Warning: File will be deleted (from flash:)! Continue?(y/n):y
[or]
switch#delete flash://file1 % Warning: File will be deleted (from flash:)! Continue?(y/n):y
See Also copy startup-config
Converged Enhanced Ethernet Command Reference 7 53-1001762-01
dir
DRAFT: BROCADE CONFIDENTIAL
dir
2
Lists the contents of the current directory.
Synopsis dir
Operands none
Defaults The default is the current directory.
Command
Modes
Description Use this command to list the contents of the current directory.
Usage
Guidelines
Examples To list the contents of the current directory:
See Also delete
Privileged EXEC mode
There are no usage guidelines for this command.
switch#dir Contents of flash://
-rw-r----- 1276 Wed Feb 4 07:08:49 2009 startup_rmon_config
-rw-r----- 1276 Wed Feb 4 07:10:30 2009 rmon_config
-rw-r----- 1276 Wed Feb 4 07:12:33 2009 rmon_configuration
-rw-r----- 1276 Wed Feb 4 10:18:15 2009 starup-config
8 Converged Enhanced Ethernet Command Reference
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL

disable

Exits the Privileged EXEC mode and returns to the EXEC mode.
Synopsis disable
Operands none
Defaults There are no default configurations for this command.
Command
Modes
Description Use this command to exit the Privileged EXEC mode and return to the EXEC mode.
Usage
Guidelines
Examples To return to the EXEC mode:
Privileged EXEC mode
This is the only command that allows you to return to the EXEC mode. Using the exit or quit commands from the Privileged EXEC mode ends the session instead of returning to the EXEC mode.
disable
2
switch#disable switch>
See Also enable, end, exit
Converged Enhanced Ethernet Command Reference 9 53-1001762-01
2
do
DRAFT: BROCADE CONFIDENTIAL
do
Allows you to run commands in EXEC mode from the configuration mode.
Synopsis do command
Operands command Specifies the command you want to run.
Defaults There are no default configurations for this command.
Command
All configuration modes
Modes
Description Use this command to save time when you are configuring the switch in any configuration mode and
you want to run a command in the Privileged EXEC mode.
Usage
There are no usage guidelines for this command.
Guidelines
Examples To r un the clear counters all command with the do command:
switch(config)#do clear counters all switch(config)#
To display the contents from the working directory using the do command:
switch(config)#do dir Contents of flash://
-rw-r----- 1276 Wed Feb 4 07:08:49 2009 startup_rmon_config
-rw-r----- 1276 Wed Feb 4 07:10:30 2009 rmon_config
-rw-r----- 1276 Wed Feb 4 07:12:33 2009 rmon_configuration
-rw-r----- 1276 Wed Feb 4 10:48:59 2009 starup-config switch(config)#
See Also none
10 Converged Enhanced Ethernet Command Reference
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL

enable

Enables the Privilege EXEC mode.
Synopsis enable
Operands none
Defaults There are no default configurations for this command.
Command
Modes
Description Use this command to enable the Privileged EXEC command mode.
Usage
Guidelines
Examples To enable the Privileged EXEC mode:
EXEC mode
To return to the EXEC mode from Privileged EXEC mode, use the disable command. Using the exit or quit command from the Privileged EXEC mode ends the session.
switch> enable switch#
enable
2
See Also disable
Converged Enhanced Ethernet Command Reference 11 53-1001762-01
2
end
DRAFT: BROCADE CONFIDENTIAL
end
Returns to the Privileged EXEC command mode from all configuration modes.
Synopsis end
Operands none
Defaults There are no default configurations for this command.
Command
Modes
Description Use this command to return to the Privileged EXEC command mode from any command mode.
Usage
Guidelines
Examples To return to the Privileged EXEC mode from interface configuration mode:
See Also exit, disable, enable
All configuration modes
There are no usage guidelines for this command.
switch(config)#interface tengigabitethernet 0/0 switch(conf-if-te-0/0)#end switch#
12 Converged Enhanced Ethernet Command Reference
53-1001762-01
Loading...
+ 222 hidden pages