Dell PowerConnect 5524 User Manual

Dell PowerConnect 5524 User Manual

Dell PowerConnect 5500

Series

CLI Reference Guide

Regulatory Model: PC5524, PC5524P,

PC5548 and PC5548P

Notes, Cautions, and Warnings

NOTE: A NOTE indicates important information that helps you make better use of your computer.

CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed.

WARNING: A WARNING indicates a potential for property damage, personal injury, or death.

COMMENT

____________________

Information in this publication is subject to change without notice. © 2012-2013 Dell Inc. All rights reserved.

Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.

Trademarks used in this text: Dell™, the DELL logo, Dell Precision™, OptiPlex™, Latitude™, PowerEdge™, PowerVault™, PowerConnect™, OpenManage™, EqualLogic™, KACE™, FlexAddress™ and Vostro™ are trademarks of Dell Inc. Intel®, Pentium®, Xeon®, Core™ and Celeron® are registered trademarks of Intel Corporation in the U.S. and other countries. AMD® is a registered trademark and AMD Opteron™, AMD Phenom™, and AMD Sempron™ are trademarks of Advanced Micro Devices, Inc. Microsoft®, Windows®, Windows Server®, MS-DOS® and Windows Vista® are either trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Red Hat Enterprise Linux® and Enterprise Linux® are registered trademarks of Red Hat, Inc. in the United States and/or other countries. Novell® is a registered trademark and SUSE ™ is a trademark of Novell Inc. in the United States and other countries. Oracle® is a registered trademark of Oracle Corporation and/or its affiliates. Citrix®, Xen®, XenServer® and XenMotion® are either registered trademarks or trademarks of Citrix Systems, Inc. in the United States and/or other countries. VMware®, Virtual SMP®, vMotion®, vCenter®, and vSphere® are registered trademarks or trademarks of VMWare, Inc. in the United States or other countries.

Other trademarks and trade names may be used in this publication to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.

Regulatory Models: PC5524, PC5524P, PC5548 and PC5548P

October 2013 Rev. A08

Contents

1 Preface....................................................................

33

2 User Interface Commands . . . . . . . . . . . . 41

enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 login. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 exit (Configuration). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 exit (EXEC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 history size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 terminal history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 terminal history size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 terminal datadump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 debug-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 show history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 show privilege. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 banner exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 banner login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 banner motd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

3

exec-banner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 login-banner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 motd-banner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 show banner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

3 Macro Commands . . . . . . . . . . . . . . . . . . 63

macro name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 macro apply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 macro description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 macro global . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 macro global description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 show parser macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

4 System Management Commands . . . . . . 71

ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 traceroute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 telnet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 reload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 stack master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 system light . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 switch renumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 show switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 service cpu-utilization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 show cpu utilization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

4

clear cpu counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 service cpu-counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 show cpu counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 show users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 show sessions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 show version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 system resources routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 show system resources routings. . . . . . . . . . . . . . . . . . . . . . 95 show system tcam utilization. . . . . . . . . . . . . . . . . . . . . . . . . 96 show system defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 show tech-support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 system fans always-on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 show system fans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 asset-tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 show system id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

5 Clock Commands . . . . . . . . . . . . . . . . . . 107

clock set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 clock timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 clock summer-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 sntp authentication-key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 sntp authenticate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 sntp trusted-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 sntp client poll timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114

5

sntp broadcast client enable . . . . . . . . . . . . . . . . . . . . . . . . 114 sntp anycast client enable . . . . . . . . . . . . . . . . . . . . . . . . . . 115 sntp client enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 sntp client enable (Interface) . . . . . . . . . . . . . . . . . . . . . . . 117 sntp unicast client enable . . . . . . . . . . . . . . . . . . . . . . . . . . 118 sntp unicast client poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 sntp server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 sntp port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 show clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 show sntp configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 show sntp status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

6 Configuration/Image File Commands . . 127

copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 write memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 pwd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 more . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 cd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 rename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 boot system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 show startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 show bootvar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

6

7 Auto-Update and Auto-Configuration . . 143

boot host auto-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 boot host auto-update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 boot host dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 boot host auto-save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 show boot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 ip dhcp tftp-server ip addr. . . . . . . . . . . . . . . . . . . . . . . . . . . 148 ip dhcp tftp-server file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 show ip dhcp tftp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149

8 Management ACL Commands . . . . . . . . . 151

management access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 permit (Management). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 deny (Management) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 management access-class . . . . . . . . . . . . . . . . . . . . . . . . . . 154 show management access-list . . . . . . . . . . . . . . . . . . . . . . 155 show management access-class . . . . . . . . . . . . . . . . . . . . 156

9 SNMP Commands . . . . . . . . . . . . . . . . . . 157

snmp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 snmp-server community . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 snmp-server view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 snmp-server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 snmp-server user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 snmp-server filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165

7

snmp-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 snmp-server engineID local. . . . . . . . . . . . . . . . . . . . . . . . . 168 snmp-server engineID remote . . . . . . . . . . . . . . . . . . . . . . 170 snmp-server enable traps. . . . . . . . . . . . . . . . . . . . . . . . . . . 171 snmp-server trap authentication. . . . . . . . . . . . . . . . . . . . . 171 snmp-server contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 snmp-server location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 snmp-server set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 show snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 show snmp engineID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 show snmp views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 show snmp groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 show snmp filters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 show snmp users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179

10 RSA and Certificate Commands . . . . . . 181

crypto key generate dsa . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 crypto key generate rsa . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 show crypto key mypubkey . . . . . . . . . . . . . . . . . . . . . . . . . 182 crypto certificate generate . . . . . . . . . . . . . . . . . . . . . . . . . 183 crypto certificate request. . . . . . . . . . . . . . . . . . . . . . . . . . . 185 crypto certificate import. . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 crypto certificate export pkcs12 . . . . . . . . . . . . . . . . . . . . . 188 crypto certificate import pkcs12 . . . . . . . . . . . . . . . . . . . . . 189 show crypto certificate mycertificate . . . . . . . . . . . . . . . . 191

8

11 Web Server Commands . . . . . . . . . . . . . 193

ip http server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 ip http port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 ip http timeout-policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 ip http secure-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 ip http secure-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 ip https certificate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 show ip http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 show ip https . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 ssl version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 show ssl version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200

12 Telnet, SSH and Slogin Commands . . . . 201

ip telnet server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 ip ssh port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 ip ssh server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 ip ssh pubkey-auth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 crypto key pubkey-chain ssh . . . . . . . . . . . . . . . . . . . . . . . . 204 user-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 key-string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 show ip ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 show crypto key pubkey-chain ssh. . . . . . . . . . . . . . . . . . . 209

13 Line Commands . . . . . . . . . . . . . . . . . . . . 211

line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211

9

speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 autobaud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 exec-timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 show line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

14 AAA Commands . . . . . . . . . . . . . . . . . . . 217

aaa authentication login. . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 aaa authentication enable . . . . . . . . . . . . . . . . . . . . . . . . . . 219 login authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 enable authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 ip http authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 show authentication methods . . . . . . . . . . . . . . . . . . . . . . . 223 password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 service password-recovery . . . . . . . . . . . . . . . . . . . . . . . . . 225 enable password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 show user accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 aaa accounting login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 aaa accounting dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 show accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 passwords min-length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 passwords strength-check enable. . . . . . . . . . . . . . . . . . . 234 passwords strength minimum character-classes . . . . . . 235 passwords strength max-limit repeated-characters . . . 236 passwords aging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 passwords history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238

10

passwords history hold-time . . . . . . . . . . . . . . . . . . . . . . . . 239 passwords lockout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 aaa login-history file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 set username active . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 set line active . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 set enable-password active . . . . . . . . . . . . . . . . . . . . . . . . . 243 show passwords configuration . . . . . . . . . . . . . . . . . . . . . . 244 show users login-history. . . . . . . . . . . . . . . . . . . . . . . . . . . . 245

15 RADIUS Commands . . . . . . . . . . . . . . . . . 247

radius-server host. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 radius-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 radius-server retransmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 radius-server source-ip. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 radius-server source-ipv6. . . . . . . . . . . . . . . . . . . . . . . . . . . 252 radius-server timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 radius-server deadtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 show radius-servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254

16 TACACS+ Commands . . . . . . . . . . . . . . . 257

tacacs-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 tacacs-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258 tacacs-server timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 tacacs-server source-ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 show tacacs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261

11

17 Syslog Commands . . . . . . . . . . . . . . . . . 263

logging on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 Logging host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 logging console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 logging buffered . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 clear logging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 logging file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268 clear logging file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268 aaa logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 file-system logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 management logging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 show logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 show logging file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 show syslog-servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274

18 RMON Commands . . . . . . . . . . . . . . . . . 275

show rmon statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 rmon collection stats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 show rmon collection stats . . . . . . . . . . . . . . . . . . . . . . . . . 278 show rmon history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 show rmon alarm-table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 show rmon alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 rmon event. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 show rmon events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288 show rmon log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289

12

rmon table-size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290

19 802.1x Commands . . . . . . . . . . . . . . . . . . 293

aaa authentication dot1x. . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 dot1x system-auth-control . . . . . . . . . . . . . . . . . . . . . . . . . . 294 dot1x port-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 dot1x re-authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 dot1x timeout reauth-period . . . . . . . . . . . . . . . . . . . . . . . . 296 dot1x re-authenticate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 dot1x timeout quiet-period . . . . . . . . . . . . . . . . . . . . . . . . . . 298 dot1x timeout tx-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 dot1x max-req . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 dot1x timeout supp-timeout . . . . . . . . . . . . . . . . . . . . . . . . . 301 dot1x timeout server-timeout . . . . . . . . . . . . . . . . . . . . . . . . 302 show dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 show dot1x users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 show dot1x statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 clear dot1x statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309 dot1x auth-not-req . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310 dot1x host-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311 dot1x violation-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 dot1x guest-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 dot1x guest-vlan timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 dot1x guest-vlan enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 dot1x mac-authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 dot1x traps mac-authentication success. . . . . . . . . . . . . . 317

13

dot1x traps mac-authentication failure . . . . . . . . . . . . . . . 317 dot1x radius-attributes vlan. . . . . . . . . . . . . . . . . . . . . . . . . 318 dot1x radius-attributes filter-id. . . . . . . . . . . . . . . . . . . . . . 319 dot1x radius-attributes errors . . . . . . . . . . . . . . . . . . . . . . . 320 dot1x legacy-supp-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 show dot1x advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 dot1x system-auth-control monitor . . . . . . . . . . . . . . . . . . 322 show dot1x monitoring result . . . . . . . . . . . . . . . . . . . . . . . 323

20 Ethernet Configuration Commands . . . . 327

interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 interface range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 duplex. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330 flowcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331 mdix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 back-pressure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 port jumbo-frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 clear counters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 set interface active . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 show interfaces configuration . . . . . . . . . . . . . . . . . . . . . . 336 show interfaces status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 show interfaces advertise . . . . . . . . . . . . . . . . . . . . . . . . . . 338 show interfaces description . . . . . . . . . . . . . . . . . . . . . . . . 339

14

show interfaces counters . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 show port jumbo-frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 show errdisable interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . 343 storm-control broadcast enable . . . . . . . . . . . . . . . . . . . . . 344 storm-control broadcast level kbps . . . . . . . . . . . . . . . . . . 345 storm-control include-multicast . . . . . . . . . . . . . . . . . . . . . 346 show storm-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347

21 PHY Diagnostics Commands . . . . . . . . . . 349

test cable-diagnostics tdr . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 show cable-diagnostics tdr . . . . . . . . . . . . . . . . . . . . . . . . . 350 show cable-diagnostics cable-length . . . . . . . . . . . . . . . . 351 show fiber-ports optical-transceiver . . . . . . . . . . . . . . . . . 352

22 Power over Ethernet (PoE) Commands . 355

power inline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 power inline limit-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356 power inline powered-device . . . . . . . . . . . . . . . . . . . . . . . 356 power inline priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 power inline usage-threshold . . . . . . . . . . . . . . . . . . . . . . . 358 power inline traps enable. . . . . . . . . . . . . . . . . . . . . . . . . . . 359 power inline limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359 show power inline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 show power inline consumption . . . . . . . . . . . . . . . . . . . . . 364 show power inline version . . . . . . . . . . . . . . . . . . . . . . . . . . 365

15

23 EEE Commands . . . . . . . . . . . . . . . . . . . 367

eee enable (global) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367 eee enable (interface). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367 eee lldp enable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 show eee . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368

24 Green Ethernet . . . . . . . . . . . . . . . . . . .

375

show green-ethernet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 green-ethernet short-reach (global). . . . . . . . . . . . . . . . . . 377 green-ethernet short-reach (interface) . . . . . . . . . . . . . . . 377 green-ethernet short-reach force . . . . . . . . . . . . . . . . . . . . 378 green-ethernet short-reach threshold . . . . . . . . . . . . . . . . 379 green-ethernet power-meter reset. . . . . . . . . . . . . . . . . . . 380

25 Port Channel Commands . . . . . . . . . . . . 381

channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381 port-channel load-balance . . . . . . . . . . . . . . . . . . . . . . . . . 382 show interfaces port-channel . . . . . . . . . . . . . . . . . . . . . . . 383

26 Address Table Commands . . . . . . . . . . . 385

bridge multicast filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 bridge multicast address . . . . . . . . . . . . . . . . . . . . . . . . . . . 386 bridge multicast forbidden address . . . . . . . . . . . . . . . . . . 387 bridge multicast unregistered . . . . . . . . . . . . . . . . . . . . . . . 388 bridge multicast forward-all . . . . . . . . . . . . . . . . . . . . . . . . 389

16

bridge multicast forbidden forward-all . . . . . . . . . . . . . . . 390 mac address-table static . . . . . . . . . . . . . . . . . . . . . . . . . . . 391 clear mac address-table . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 mac address-table aging-time . . . . . . . . . . . . . . . . . . . . . . 393 port security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 port security mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 port security max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 port security routed secure-address. . . . . . . . . . . . . . . . . . 396 show mac address-table . . . . . . . . . . . . . . . . . . . . . . . . . . . 397 show mac address-table count . . . . . . . . . . . . . . . . . . . . . . 399 show bridge multicast address-table. . . . . . . . . . . . . . . . . 399 show bridge multicast address-table static . . . . . . . . . . . 403 show bridge multicast filtering . . . . . . . . . . . . . . . . . . . . . . 406 show bridge multicast unregistered. . . . . . . . . . . . . . . . . . 407 show ports security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408 show ports security addresses . . . . . . . . . . . . . . . . . . . . . . 409

27 Port Monitor Commands . . . . . . . . . . . . . 411

port monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 show ports monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413

28 sFlow Commands . . . . . . . . . . . . . . . . . . 415

sflow receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415 sflow flow-sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416 sflow counters-sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 clear sflow statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417

17

show sflow configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 418 show sflow statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419

29 LLDP Commands . . . . . . . . . . . . . . . . . . 421

lldp run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421 lldp transmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421 lldp receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422 lldp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423 lldp hold-multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424 lldp reinit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 lldp tx-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426 lldp optional-tlv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426 lldp management-address . . . . . . . . . . . . . . . . . . . . . . . . . . 427 lldp notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 lldp notifications interval . . . . . . . . . . . . . . . . . . . . . . . . . . . 429 lldp optional-tlv 802.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430 lldp med enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 lldp med notifications topology-change . . . . . . . . . . . . . . 432 lldp med fast-start repeat-count . . . . . . . . . . . . . . . . . . . . . 433 lldp med network-policy (global) . . . . . . . . . . . . . . . . . . . . 433 lldp med network-policy (interface) . . . . . . . . . . . . . . . . . 434 clear lldp table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 lldp med location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436 show lldp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437 show lldp med configuration. . . . . . . . . . . . . . . . . . . . . . . . 439 show lldp local tlvs-overloading . . . . . . . . . . . . . . . . . . . . 441

18

show lldp local . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442 show lldp neighbors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444 show lldp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449

30 Spanning-Tree Commands . . . . . . . . . . . 451

spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451 spanning-tree mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451 spanning-tree forward-time . . . . . . . . . . . . . . . . . . . . . . . . . 452 spanning-tree hello-time. . . . . . . . . . . . . . . . . . . . . . . . . . . . 453 spanning-tree max-age . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454 spanning-tree priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455 spanning-tree disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456 spanning-tree cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457 spanning-tree port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . 458 spanning-tree portfast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458 spanning-tree link-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459 spanning-tree pathcost method . . . . . . . . . . . . . . . . . . . . . . 460 spanning-tree bpdu (Global). . . . . . . . . . . . . . . . . . . . . . . . . 461 spanning-tree bpdu (Interface) . . . . . . . . . . . . . . . . . . . . . . 462 spanning-tree guard root. . . . . . . . . . . . . . . . . . . . . . . . . . . . 463 spanning-tree bpduguard . . . . . . . . . . . . . . . . . . . . . . . . . . . 464 clear spanning-tree detected-protocols . . . . . . . . . . . . . . 465 spanning-tree mst priority. . . . . . . . . . . . . . . . . . . . . . . . . . . 465 spanning-tree mst max-hops . . . . . . . . . . . . . . . . . . . . . . . . 466 spanning-tree mst port-priority . . . . . . . . . . . . . . . . . . . . . . 467 spanning-tree mst cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468

19

spanning-tree mst configuration. . . . . . . . . . . . . . . . . . . . . 469 instance (MST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470 name (MST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471 revision (MST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471 show (MST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472 exit (MST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473 abort (MST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474 show spanning-tree. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474 show spanning-tree bpdu. . . . . . . . . . . . . . . . . . . . . . . . . . . 489

31 VLAN Commands . . . . . . . . . . . . . . . . . . 491

vlan database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491 interface vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492 interface range vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493 name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494 switchport protected-port . . . . . . . . . . . . . . . . . . . . . . . . . . 495 switchport community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496 show interfaces protected-ports . . . . . . . . . . . . . . . . . . . . 496 switchport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497 switchport mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498 switchport access vlan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499 switchport access multicast-tv vlan . . . . . . . . . . . . . . . . . 500 switchport trunk allowed vlan . . . . . . . . . . . . . . . . . . . . . . 501 switchport trunk native vlan . . . . . . . . . . . . . . . . . . . . . . . . 502 switchport general allowed vlan . . . . . . . . . . . . . . . . . . . . 503

20

switchport general pvid . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504 switchport general ingress-filtering disable . . . . . . . . . . 505 switchport general acceptable-frame-type . . . . . . . . . . . 506 switchport customer vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . 507 switchport general forbidden vlan . . . . . . . . . . . . . . . . . . . 507 map protocol protocols-group . . . . . . . . . . . . . . . . . . . . . . . 508 switchport general map protocols-group vlan . . . . . . . . . 509 private-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510 private-vlan association . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511 switchport private-vlan mapping . . . . . . . . . . . . . . . . . . . . 512 switchport private-vlan host-association . . . . . . . . . . . . . 513 show vlan private-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514 ip internal-usage-vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514 show vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516 show vlan multicast-tv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517 show vlan protocols-groups. . . . . . . . . . . . . . . . . . . . . . . . . 517 show vlan internal usage . . . . . . . . . . . . . . . . . . . . . . . . . . . 518 show interfaces switchport . . . . . . . . . . . . . . . . . . . . . . . . . 519

32 IGMP Snooping Commands . . . . . . . . . . 521

ip igmp snooping (Global) . . . . . . . . . . . . . . . . . . . . . . . . . . .

521

ip igmp snooping vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

521

ip igmp snooping mrouter . . . . . . . . . . . . . . . . . . . . . . . . . .

522

ip igmp snooping mrouter interface . . . . . . . . . . . . . . . . . .

523

ip igmp snooping forbidden mrouter interface . . . . . . . .

524

ip igmp snooping static . . . . . . . . . . . . . . . . . . . . . . . . . . . .

525

21

ip igmp snooping multicast-tv . . . . . . . . . . . . . . . . . . . . . . . 526 ip igmp snooping querier . . . . . . . . . . . . . . . . . . . . . . . . . . . 527 ip igmp snooping querier address . . . . . . . . . . . . . . . . . . . 528 ip igmp robustness. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529 ip igmp query-interval. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529 ip igmp query-max-response-time . . . . . . . . . . . . . . . . . . . 530 ip igmp last-member-query-count . . . . . . . . . . . . . . . . . . . 531 ip igmp last-member-query-interval . . . . . . . . . . . . . . . . . 532 ip igmp snooping vlan immediate-leave . . . . . . . . . . . . . . 532 show ip igmp snooping mrouter . . . . . . . . . . . . . . . . . . . . . 533 show ip igmp snooping interface . . . . . . . . . . . . . . . . . . . . 534 show ip igmp snooping groups . . . . . . . . . . . . . . . . . . . . . . 535 show ip igmp snooping multicast-tv . . . . . . . . . . . . . . . . . 536

33 LACP Commands . . . . . . . . . . . . . . . . . . 539

lacp system-priority. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539 lacp port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540 lacp timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540 show lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541 show lacp port-channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544

34 GVRP Commands . . . . . . . . . . . . . . . . . . 545

gvrp enable (Global) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545 gvrp enable (Interface) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545 garp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546 gvrp vlan-creation-forbid . . . . . . . . . . . . . . . . . . . . . . . . . . . 548

22

gvrp registration-forbid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548 clear gvrp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549 show gvrp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550 show gvrp statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550 show gvrp error-statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . 552

35 Voice VLAN Commands . . . . . . . . . . . . . 553

voice vlan id. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553 voice vlan oui-table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554 voice vlan cos mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 voice vlan cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556 voice vlan aging-timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . 557 voice vlan enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557 voice vlan secure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558 show voice vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559

36DHCP Snooping and ARP Inspection Commands 563

ip dhcp snooping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563 ip dhcp snooping vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564 ip dhcp snooping trust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564 ip dhcp snooping information option allowed-untrusted 565 ip dhcp snooping verify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566 ip dhcp snooping database. . . . . . . . . . . . . . . . . . . . . . . . . . 567 ip dhcp snooping database update-freq. . . . . . . . . . . . . . . 568 ip dhcp snooping binding . . . . . . . . . . . . . . . . . . . . . . . . . . . 568

23

clear ip dhcp snooping database . . . . . . . . . . . . . . . . . . . . 570 show ip dhcp snooping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570 show ip dhcp snooping binding . . . . . . . . . . . . . . . . . . . . . 571 ip arp inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572 ip arp inspection vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573 ip arp inspection trust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574 ip arp inspection validate. . . . . . . . . . . . . . . . . . . . . . . . . . . 575 ip arp inspection list create. . . . . . . . . . . . . . . . . . . . . . . . . 576 ip mac. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576 ip arp inspection list assign. . . . . . . . . . . . . . . . . . . . . . . . . 577 ip arp inspection logging interval. . . . . . . . . . . . . . . . . . . . 578 show ip arp inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579 show ip arp inspection list. . . . . . . . . . . . . . . . . . . . . . . . . . 580 show ip arp inspection statistics . . . . . . . . . . . . . . . . . . . . 580 clear ip arp inspection statistics . . . . . . . . . . . . . . . . . . . . 581 ip dhcp information option . . . . . . . . . . . . . . . . . . . . . . . . . . 582 show ip dhcp information option . . . . . . . . . . . . . . . . . . . . 582

37 iSCSI Commands . . . . . . . . . . . . . . . . . . 585

iscsi enable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585 iscsi target port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 iscsi cos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587 iscsi aging-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589 iscsi max-tcp-connections . . . . . . . . . . . . . . . . . . . . . . . . . 590 show iscsi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591 show iscsi sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592

24

38 IP Addressing Commands . . . . . . . . . . . . 595

address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595 ip address dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597 renew dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598 ip default-gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599 show ip interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599 arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600 arp timeout (Global) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601 arp timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602 ip arp proxy disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 ip proxy-arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 clear arp-cache. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 604 show arp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 604 show arp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 interface ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 directed-broadcast. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607 broadcast-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608 ip helper-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608 show ip helper-address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 610 source-precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 ip domain lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 ip domain name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 ip name-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613 ip host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615 clear host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616 clear host dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616

25

show hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617

39 IPv6 Addressing Commands . . . . . . . . . 619

ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619 ipv6 address autoconfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . 620 ipv6 icmp error-interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621 show ipv6 icmp error-interval . . . . . . . . . . . . . . . . . . . . . . . 622 ipv6 address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623 ipv6 address link-local . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624 ipv6 unreachables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625 ipv6 default-gateway. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626 show ipv6 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627 show IPv6 route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629 ipv6 nd dad attempts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630 ipv6 host. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 631 ipv6 neighbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632 ipv6 set mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633 ipv6 mld version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634 ipv6 mld join-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635 show ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636 clear ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637

40 Tunnel Commands . . . . . . . . . . . . . . . . . 639

interface tunnel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 tunnel mode ipv6ip. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 tunnel isatap router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640

26

tunnel source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641 tunnel isatap query-interval . . . . . . . . . . . . . . . . . . . . . . . . . 642 tunnel isatap solicitation-interval. . . . . . . . . . . . . . . . . . . . 643 tunnel isatap robustness . . . . . . . . . . . . . . . . . . . . . . . . . . . . 644 show ipv6 tunnel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645

41 DHCP Relay Commands . . . . . . . . . . . . . 647

ip dhcp relay enable (Global) . . . . . . . . . . . . . . . . . . . . . . . . 647 ip dhcp relay enable (Interface). . . . . . . . . . . . . . . . . . . . . . 647 ip dhcp relay address (Global) . . . . . . . . . . . . . . . . . . . . . . . 648 ip dhcp relay address (Interface). . . . . . . . . . . . . . . . . . . . . 649 show ip dhcp relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650 ip dhcp information option . . . . . . . . . . . . . . . . . . . . . . . . . . 651 show ip dhcp information option. . . . . . . . . . . . . . . . . . . . . 652

42 DHCP Server Commands . . . . . . . . . . . . 653

ip dhcp server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653 ip dhcp pool host. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653 ip dhcp pool network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 654 address (DHCP Host) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655 address (DHCP Network) . . . . . . . . . . . . . . . . . . . . . . . . . . . 656 lease . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657 client-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659 default-router. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659 dns-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660 domain-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661

27

netbios-name-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662 netbios-node-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663 next-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663 next-server-name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 664 bootfile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665 time-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666 option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667 ip dhcp excluded-address . . . . . . . . . . . . . . . . . . . . . . . . . . 668 ip dhcp ping enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669 ping enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670 ip dhcp ping count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671 ip dhcp ping timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672 clear ip dhcp binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673 show ip dhcp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673 show ip dhcp excluded-addresses . . . . . . . . . . . . . . . . . . 674 show ip dhcp pool host. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674 show ip dhcp pool network . . . . . . . . . . . . . . . . . . . . . . . . . 676 show ip dhcp binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677 show ip dhcp server statistics . . . . . . . . . . . . . . . . . . . . . . 679 show ip dhcp allocated . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680 show ip dhcp declined . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682 show ip dhcp expired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 show ip dhcp pre-allocated. . . . . . . . . . . . . . . . . . . . . . . . . 684

43 IP Routing Protocol-Independent Commands 687

ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687

28

ip routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688 show ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688

44 ACL Commands . . . . . . . . . . . . . . . . . . . . 691

ip access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691 permit ( IP ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 deny ( IP ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695 ipv6 access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698 permit ( IPv6 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 deny ( IPv6 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701 mac access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704 permit ( MAC ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705 service-acl input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706 service-acl output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707 service-acl input block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 708 time-range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710 absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711 periodic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712 show time-range. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713 show access-lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714 show interfaces access-lists . . . . . . . . . . . . . . . . . . . . . . . . 715 clear access-lists counters . . . . . . . . . . . . . . . . . . . . . . . . . 716 show interfaces access-lists counters . . . . . . . . . . . . . . . 716

45 Quality of Service (QoS) Commands . . . 719

qos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719

29

show qos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 720 class-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721 show class-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722 match . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723 policy-map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723 class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725 show policy-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726 trust. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727 set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728 police . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729 service-policy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731 qos aggregate-policer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731 show qos aggregate-policer . . . . . . . . . . . . . . . . . . . . . . . . 733 police aggregate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733 wrr-queue cos-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734 wrr-queue bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736 priority-queue out num-of-queues . . . . . . . . . . . . . . . . . . . 737 traffic-shape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738 traffic-shape queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739 rate-limit (Ethernet) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740 qos wrr-queue wrtd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740 show qos wrr-queue wrtd . . . . . . . . . . . . . . . . . . . . . . . . . . 741 show qos interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742 qos wrr-queue threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . 745 qos map policed-dscp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 746 qos map dscp-queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747

30

Loading...
+ 742 hidden pages