Dell PowerSwitch S4820T Owner's manual

  • Hello! I am an AI chatbot trained to assist you with the Dell PowerSwitch S4820T Owner's manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Dell Command Line Reference Guide for the
S4820T System
9.14.1.0
Notes, cautions, and warnings
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
© 2018 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks
may be trademarks of their respective owners.
2018 - 11
Rev. A00
Contents
1 About this Guide...........................................................................................................................................43
Objectives......................................................................................................................................................................... 43
Audience............................................................................................................................................................................43
Conventions......................................................................................................................................................................43
Information Icons............................................................................................................................................................. 44
2 CLI Basics....................................................................................................................................................45
Accessing the Command Line........................................................................................................................................45
Multiple Conguration Users..........................................................................................................................................45
Obtaining Help..................................................................................................................................................................46
Navigating the CLI........................................................................................................................................................... 47
Using the no Command.................................................................................................................................................. 48
Filtering show Commands.............................................................................................................................................. 48
Enabling Software Features on Devices Using a Command Option..........................................................................49
feature vrf...................................................................................................................................................................49
show feature...............................................................................................................................................................50
Command Modes............................................................................................................................................................. 51
3 File Management......................................................................................................................................... 62
boot-access password.................................................................................................................................................... 62
boot system...................................................................................................................................................................... 64
cd....................................................................................................................................................................................... 65
HTTP Copy via CLI..........................................................................................................................................................66
copy...................................................................................................................................................................................66
delete.................................................................................................................................................................................69
dir....................................................................................................................................................................................... 70
format................................................................................................................................................................................ 72
fsck ash........................................................................................................................................................................... 72
generate hash................................................................................................................................................................... 73
mkdir.................................................................................................................................................................................. 74
mount nfs..........................................................................................................................................................................75
rmdir...................................................................................................................................................................................75
upgrade system................................................................................................................................................................ 76
rename...............................................................................................................................................................................79
root-access password..................................................................................................................................................... 79
restore factory-defaults.................................................................................................................................................. 80
show boot system............................................................................................................................................................83
show bootvar....................................................................................................................................................................84
show le-systems............................................................................................................................................................ 85
show running-cong........................................................................................................................................................86
show startup-cong........................................................................................................................................................ 90
show os-version................................................................................................................................................................91
Contents
3
show version.....................................................................................................................................................................92
upgrade............................................................................................................................................................................. 93
veried boot..................................................................................................................................................................... 95
veried boot hash............................................................................................................................................................95
veried startup-cong.....................................................................................................................................................96
verify..................................................................................................................................................................................96
4 Control and Monitoring................................................................................................................................98
asf-mode...........................................................................................................................................................................98
banner exec...................................................................................................................................................................... 99
banner login.....................................................................................................................................................................100
banner motd....................................................................................................................................................................102
cam-acl............................................................................................................................................................................ 103
cam-acl-vlan................................................................................................................................................................... 105
clear average-power...................................................................................................................................................... 105
clear line...........................................................................................................................................................................106
congure..........................................................................................................................................................................107
disable.............................................................................................................................................................................. 108
do......................................................................................................................................................................................109
enable............................................................................................................................................................................... 110
enable optic-info-update interval................................................................................................................................... 111
end.................................................................................................................................................................................... 112
exec-timeout....................................................................................................................................................................113
exit.....................................................................................................................................................................................114
ftp-server enable.............................................................................................................................................................115
ftp-server topdir..............................................................................................................................................................116
ftp-server username....................................................................................................................................................... 117
hostname..........................................................................................................................................................................118
ip ftp password................................................................................................................................................................119
ip ftp vrf...........................................................................................................................................................................120
ip ftp source-interface.................................................................................................................................................... 121
ip ftp username...............................................................................................................................................................122
ip telnet server enable....................................................................................................................................................123
ip telnet server vrf.......................................................................................................................................................... 124
ip telnet source-interface.............................................................................................................................................. 125
ip tftp source-interface..................................................................................................................................................126
ip tftp vrf..........................................................................................................................................................................127
line.................................................................................................................................................................................... 128
login concurrent-session................................................................................................................................................129
login statistics.................................................................................................................................................................. 131
motd-banner................................................................................................................................................................... 132
ping...................................................................................................................................................................................133
reload................................................................................................................................................................................136
send.................................................................................................................................................................................. 137
service timestamps........................................................................................................................................................ 138
show alarms.................................................................................................................................................................... 140
4
Contents
show cam-acl-vlan.......................................................................................................................................................... 141
show command-history..................................................................................................................................................141
show cpu-trac-stats................................................................................................................................................... 143
show debugging..............................................................................................................................................................144
show environment..........................................................................................................................................................145
show inventory................................................................................................................................................................147
show login statistics....................................................................................................................................................... 148
show memory................................................................................................................................................................. 150
show processes cpu.......................................................................................................................................................152
show processes ipc ow-control..................................................................................................................................154
show processes memory...............................................................................................................................................156
show software ifm..........................................................................................................................................................158
show system................................................................................................................................................................... 160
show tech-support..........................................................................................................................................................161
ssh-peer-stack-unit........................................................................................................................................................163
telnet................................................................................................................................................................................ 164
telnet-peer-stack-unit....................................................................................................................................................166
terminal length................................................................................................................................................................166
traceroute........................................................................................................................................................................ 167
undebug all...................................................................................................................................................................... 169
virtual-ip...........................................................................................................................................................................170
write.................................................................................................................................................................................. 171
5 802.1X........................................................................................................................................................ 173
debug dot1x..................................................................................................................................................................... 174
dot1x auth-fail-vlan.........................................................................................................................................................175
dot1x auth-server............................................................................................................................................................176
dot1x auth-type mab-only..............................................................................................................................................177
dot1x authentication (Conguration)........................................................................................................................... 178
dot1x authentication (Interface)................................................................................................................................... 178
dot1x critical-vlan............................................................................................................................................................179
dot1x prole.....................................................................................................................................................................180
dot1x static-mab..............................................................................................................................................................181
dot1x guest-vlan..............................................................................................................................................................182
dot1x host-mode.............................................................................................................................................................183
dot1x mac-auth-bypass................................................................................................................................................. 184
dot1x max-eap-req......................................................................................................................................................... 185
dot1x max-supplicants....................................................................................................................................................186
dot1x port-control...........................................................................................................................................................187
dot1x quiet-period...........................................................................................................................................................188
dot1x reauthentication................................................................................................................................................... 189
dot1x reauth-max............................................................................................................................................................190
dot1x server-timeout......................................................................................................................................................190
dot1x supplicant-timeout............................................................................................................................................... 192
dot1x tx-period................................................................................................................................................................192
mac...................................................................................................................................................................................193
Contents
5
show dot1x cos-mapping interface.............................................................................................................................. 194
show dot1x interface......................................................................................................................................................196
show dot1x prole...........................................................................................................................................................198
6 Access Control Lists (ACL)........................................................................................................................ 200
Commands Common to all ACL Types........................................................................................................................ 201
remark........................................................................................................................................................................ 201
show cong.............................................................................................................................................................. 203
Common IP ACL Commands....................................................................................................................................... 204
access-class............................................................................................................................................................. 204
clear counters ip access-group..............................................................................................................................206
ip access-group........................................................................................................................................................206
ip control-plane egress-lter.................................................................................................................................. 208
show ip accounting access-list..............................................................................................................................209
Standard IP ACL Commands......................................................................................................................................... 211
deny............................................................................................................................................................................ 211
ip access-list standard............................................................................................................................................. 213
permit.........................................................................................................................................................................214
resequence access-list.............................................................................................................................................216
resequence prex-list ipv4.......................................................................................................................................217
seq..............................................................................................................................................................................218
Extended IP ACL Commands.......................................................................................................................................220
deny...........................................................................................................................................................................220
deny icmp..................................................................................................................................................................222
deny tcp.................................................................................................................................................................... 224
deny udp................................................................................................................................................................... 228
ip access-list extended.............................................................................................................................................231
permit........................................................................................................................................................................ 232
permit tcp................................................................................................................................................................. 234
permit udp.................................................................................................................................................................237
resequence access-list............................................................................................................................................240
resequence prex-list ipv4.......................................................................................................................................241
seq............................................................................................................................................................................. 242
Common MAC Access List Commands......................................................................................................................245
clear counters mac access-group..........................................................................................................................245
mac access-group................................................................................................................................................... 246
show mac access-lists............................................................................................................................................ 248
show mac accounting access-list..........................................................................................................................249
Standard MAC ACL Commands.................................................................................................................................. 250
deny...........................................................................................................................................................................250
mac access-list standard......................................................................................................................................... 251
permit........................................................................................................................................................................253
seq............................................................................................................................................................................. 254
Extended MAC ACL Commands................................................................................................................................. 256
deny...........................................................................................................................................................................256
mac access-list extended....................................................................................................................................... 258
6
Contents
permit........................................................................................................................................................................259
seq..............................................................................................................................................................................261
IP Prex List Commands...............................................................................................................................................263
clear ip prex-list......................................................................................................................................................263
deny...........................................................................................................................................................................264
ip prex-list...............................................................................................................................................................265
permit........................................................................................................................................................................266
seq............................................................................................................................................................................. 267
show cong..............................................................................................................................................................268
show ip prex-list detail.......................................................................................................................................... 269
show ip prex-list summary.................................................................................................................................... 270
Route Map Commands.................................................................................................................................................. 271
continue..................................................................................................................................................................... 271
description................................................................................................................................................................ 273
match as-path.......................................................................................................................................................... 273
match community.................................................................................................................................................... 274
match interface........................................................................................................................................................ 275
match ip address......................................................................................................................................................276
match ip next-hop....................................................................................................................................................278
match ip route-source............................................................................................................................................. 279
match metric............................................................................................................................................................ 280
match origin...............................................................................................................................................................281
match route-type.....................................................................................................................................................282
match tag..................................................................................................................................................................283
route-map................................................................................................................................................................. 284
set as-path............................................................................................................................................................... 285
set automatic-tag.................................................................................................................................................... 286
set comm-list delete................................................................................................................................................ 287
set community..........................................................................................................................................................288
set level..................................................................................................................................................................... 290
set local-preference................................................................................................................................................. 291
set metric..................................................................................................................................................................292
set metric-type........................................................................................................................................................ 293
set next-hop............................................................................................................................................................. 294
set origin................................................................................................................................................................... 295
set tag.......................................................................................................................................................................296
set weight................................................................................................................................................................. 297
show cong..............................................................................................................................................................298
show route-map.......................................................................................................................................................299
AS-Path Commands......................................................................................................................................................300
ip as-path access-list.............................................................................................................................................. 300
show ip as-path-access-lists.................................................................................................................................. 301
IP Community List Commands..................................................................................................................................... 301
ip community-list......................................................................................................................................................302
show ip community-lists......................................................................................................................................... 302
Contents
7
deny (for Standard IP ACLs)........................................................................................................................................ 303
deny (for Extended IP ACLs)....................................................................................................................................... 304
seq (for Standard IPv4 ACLs)......................................................................................................................................306
deny tcp (for Extended IP ACLs)................................................................................................................................ 308
deny udp (for Extended IP ACLs)................................................................................................................................ 310
deny arp (for Extended MAC ACLs).............................................................................................................................311
deny icmp (for Extended IP ACLs)...............................................................................................................................312
deny ether-type (for Extended MAC ACLs)............................................................................................................... 314
deny (for Standard MAC ACLs)................................................................................................................................... 315
deny (for Extended MAC ACLs)...................................................................................................................................317
permit (for Standard IP ACLs)...................................................................................................................................... 318
permit arp (for Extended MAC ACLs)........................................................................................................................ 320
permit ether-type (for Extended MAC ACLs)............................................................................................................ 321
permit icmp (for Extended IP ACLs)...........................................................................................................................322
permit udp (for Extended IP ACLs).............................................................................................................................324
permit (for Extended IP ACLs).................................................................................................................................... 326
permit (for Standard MAC ACLs)................................................................................................................................328
seq (for Standard MAC ACLs).....................................................................................................................................329
permit tcp (for Extended IP ACLs)..............................................................................................................................330
seq arp (for Extended MAC ACLs)............................................................................................................................. 332
seq ether-type (for Extended MAC ACLs).................................................................................................................334
seq (for IP ACLs)........................................................................................................................................................... 335
seq (for IPv6 ACLs)....................................................................................................................................................... 337
permit udp (for IPv6 ACLs)..........................................................................................................................................339
permit tcp (for IPv6 ACLs)............................................................................................................................................341
permit icmp (for IPv6 ACLs)........................................................................................................................................ 343
permit (for IPv6 ACLs)..................................................................................................................................................345
deny udp (for IPv6 ACLs)............................................................................................................................................. 347
deny tcp (for IPv6 ACLs)..............................................................................................................................................348
deny icmp (for Extended IPv6 ACLs).......................................................................................................................... 351
deny (for IPv6 ACLs).................................................................................................................................................... 353
7 Access Control List (ACL) VLAN Groups and Content Addressable Memory (CAM)..................................355
member vlan...................................................................................................................................................................355
ip access-group..............................................................................................................................................................356
show acl-vlan-group .....................................................................................................................................................356
show cam-acl-vlan.........................................................................................................................................................357
cam-acl-vlan...................................................................................................................................................................358
show cam-usage............................................................................................................................................................359
show running cong acl-vlan-group.............................................................................................................................361
acl-vlan-group................................................................................................................................................................ 362
show acl-vlan-group detail............................................................................................................................................363
description (ACL VLAN Group)................................................................................................................................... 364
8 Bidirectional Forwarding Detection (BFD)..................................................................................................365
bfd all-neighbors............................................................................................................................................................ 365
8
Contents
bfd disable.......................................................................................................................................................................367
bfd enable (Conguration)............................................................................................................................................368
bfd enable (Interface)................................................................................................................................................... 368
bfd interval .....................................................................................................................................................................369
bfd neighbor................................................................................................................................................................... 370
bfd protocol-liveness......................................................................................................................................................371
ip route bfd......................................................................................................................................................................372
ip ospf bfd all-neighbors................................................................................................................................................373
ipv6 ospf bfd all-neighbors............................................................................................................................................374
isis bfd all-neighbors...................................................................................................................................................... 375
neighbor bfd....................................................................................................................................................................376
neighbor bfd disable.......................................................................................................................................................377
show bfd neighbors....................................................................................................................................................... 378
vrrp bfd neighbor...........................................................................................................................................................380
9 Border Gateway Protocol...........................................................................................................................382
BGP IPv4 Commands....................................................................................................................................................382
address-family.......................................................................................................................................................... 382
aggregate-address...................................................................................................................................................383
bgp always-compare-med......................................................................................................................................385
bgp add-path............................................................................................................................................................386
bgp asnotation..........................................................................................................................................................387
bgp bestpath as-path ignore..................................................................................................................................388
bgp bestpath as-path multipath-relax...................................................................................................................389
bgp bestpath med confed...................................................................................................................................... 389
bgp bestpath med missing-as-best.......................................................................................................................390
bgp bestpath router-id ignore.................................................................................................................................391
bgp client-to-client reection................................................................................................................................. 392
bgp cluster-id........................................................................................................................................................... 393
bgp confederation identier................................................................................................................................... 394
bgp confederation peers.........................................................................................................................................395
bgp dampening........................................................................................................................................................ 396
bgp default local-preference...................................................................................................................................397
bgp dmzlink-bw........................................................................................................................................................398
bgp enforce-rst-as................................................................................................................................................ 399
bgp fast-external-fallover....................................................................................................................................... 400
bgp four-octet-as-support......................................................................................................................................401
bgp graceful-restart................................................................................................................................................ 402
bgp non-deterministic-med....................................................................................................................................403
bgp recursive-bgp-next-hop.................................................................................................................................. 404
bgp regex-eval-optz-disable...................................................................................................................................405
bgp router-id............................................................................................................................................................ 406
clear ip bgp............................................................................................................................................................... 407
clear ip bgp dampening...........................................................................................................................................409
clear ip bgp ap-statistics....................................................................................................................................... 410
clear ip bgp peer-group............................................................................................................................................412
Contents
9
debug ip bgp..............................................................................................................................................................413
debug ip bgp dampening......................................................................................................................................... 415
debug ip bgp events.................................................................................................................................................416
debug ip bgp keepalives...........................................................................................................................................417
debug ip bgp notications....................................................................................................................................... 418
debug ip bgp soft-reconguration..........................................................................................................................419
debug ip bgp updates..............................................................................................................................................420
default-metric........................................................................................................................................................... 421
description................................................................................................................................................................ 422
deny bandwidth........................................................................................................................................................423
maximum-paths....................................................................................................................................................... 424
neighbor activate..................................................................................................................................................... 425
neighbor add-path................................................................................................................................................... 426
neighbor advertisement-interval............................................................................................................................ 427
neighbor advertisement-start................................................................................................................................ 428
neighbor allowas-in..................................................................................................................................................429
neighbor default-originate...................................................................................................................................... 430
neighbor description.................................................................................................................................................431
neighbor distribute-list............................................................................................................................................ 432
neighbor ebgp-multihop..........................................................................................................................................433
neighbor fall-over.....................................................................................................................................................434
neighbor local-as......................................................................................................................................................435
neighbor maximum-prex.......................................................................................................................................436
neighbor next-hop-self........................................................................................................................................... 438
neighbor password.................................................................................................................................................. 438
neighbor peer-group (assigning peers)................................................................................................................. 440
neighbor peer-group (creating group)................................................................................................................... 441
neighbor peer-group passive..................................................................................................................................442
neighbor remote-as................................................................................................................................................. 443
neighbor remove-private-as................................................................................................................................... 444
neighbor route-map.................................................................................................................................................445
neighbor route-reector-client...............................................................................................................................447
neighbor send-community......................................................................................................................................448
neighbor shutdown..................................................................................................................................................449
neighbor soft-reconguration inbound................................................................................................................. 450
neighbor timers.........................................................................................................................................................451
neighbor update-source..........................................................................................................................................452
neighbor weight....................................................................................................................................................... 453
network.....................................................................................................................................................................455
network backdoor....................................................................................................................................................456
permit bandwidth.....................................................................................................................................................457
redistribute................................................................................................................................................................458
redistribute ospf.......................................................................................................................................................459
router bgp..................................................................................................................................................................461
shutdown all............................................................................................................................................................. 462
10
Contents
shutdown address-family-ipv4–multicast.............................................................................................................462
shutdown address-family-ipv4–unicast................................................................................................................ 462
shutdown address-family-ipv6–unicast................................................................................................................463
set extcommunity bandwidth.................................................................................................................................463
show capture bgp-pdu neighbor........................................................................................................................... 464
show cong..............................................................................................................................................................465
show ip bgp.............................................................................................................................................................. 466
show ip bgp cluster-list........................................................................................................................................... 470
show ip bgp community..........................................................................................................................................472
show ip bgp community-list....................................................................................................................................474
show ip bgp dampened-paths................................................................................................................................476
show ip bgp dampened-paths................................................................................................................................478
show ip bgp detail.................................................................................................................................................... 479
show ip bgp extcommunity-list...............................................................................................................................481
show ip bgp lter-list...............................................................................................................................................482
show ip bgp ap-statistics......................................................................................................................................484
show ip bgp inconsistent-as...................................................................................................................................486
show ip bgp neighbors............................................................................................................................................ 488
show ip bgp next-hop............................................................................................................................................. 492
show ip bgp paths................................................................................................................................................... 493
show ip bgp paths community...............................................................................................................................495
show ip bgp peer-group..........................................................................................................................................496
show ip bgp regexp................................................................................................................................................. 498
show ip bgp summary.............................................................................................................................................500
show running-cong bgp........................................................................................................................................502
timers bgp.................................................................................................................................................................503
MBGP Commands.........................................................................................................................................................504
debug ip bgp dampening........................................................................................................................................ 505
distance bgp.............................................................................................................................................................506
show ip bgp dampened-paths................................................................................................................................507
BGP Extended Communities (RFC 4360)................................................................................................................. 508
set extcommunity rt................................................................................................................................................509
set extcommunity soo..............................................................................................................................................510
show ip bgp ipv4 extcommunity-list....................................................................................................................... 511
show ip bgp paths extcommunity.......................................................................................................................... 512
show ip extcommunity-list.......................................................................................................................................513
IPv6 BGP Commands.................................................................................................................................................... 514
clear ip bgp ipv6 unicast soft..................................................................................................................................514
debug ip bgp ipv6 unicast soft-reconguration....................................................................................................515
ipv6 prex-list............................................................................................................................................................516
neighbor soft-reconguration inbound.................................................................................................................. 516
IPv6 MBGP Commands.................................................................................................................................................517
show ipv6 mbgproutes.............................................................................................................................................517
10 Content Addressable Memory (CAM)....................................................................................................... 519
CAM Prole Commands................................................................................................................................................ 519
Contents
11
cam-acl (Conguration)...........................................................................................................................................519
cam-acl-egress........................................................................................................................................................ 522
cam-optimization.....................................................................................................................................................523
cam-threshold.......................................................................................................................................................... 524
show cam-acl...........................................................................................................................................................525
show cam-usage......................................................................................................................................................528
test cam-usage........................................................................................................................................................529
11 Control Plane Policing (CoPP).................................................................................................................. 532
control-plane-cpuqos.................................................................................................................................................... 532
ip unknown-unicast....................................................................................................................................................... 533
ipv6 unknown-unicast...................................................................................................................................................534
service-policy rate-limit-cpu-queues...........................................................................................................................534
service-policy rate-limit-protocols............................................................................................................................... 535
show cpu-queue rate cp...............................................................................................................................................536
show ip protocol-queue-mapping................................................................................................................................ 537
show ipv6 protocol-queue-mapping........................................................................................................................... 538
show mac protocol-queue-mapping........................................................................................................................... 539
12 Data Center Bridging (DCB)..................................................................................................................... 541
DCB Command...............................................................................................................................................................541
dcb-enable................................................................................................................................................................542
PFC Commands.............................................................................................................................................................542
clear pfc counters....................................................................................................................................................543
description................................................................................................................................................................ 543
pfc mode on............................................................................................................................................................. 544
pfc no-drop queues.................................................................................................................................................545
show dcb.................................................................................................................................................................. 546
show interface pfc...................................................................................................................................................546
show interface pfc statistics.................................................................................................................................. 549
show stack-unit stack-ports pfc details............................................................................................................... 550
ETS Commands..............................................................................................................................................................551
bandwidth-percentage............................................................................................................................................ 551
clear ets counters.................................................................................................................................................... 552
dcb-enable................................................................................................................................................................553
description................................................................................................................................................................554
priority-list.................................................................................................................................................................554
priority-group........................................................................................................................................................... 555
qos-policy-output ets..............................................................................................................................................556
set-pgid..................................................................................................................................................................... 557
scheduler...................................................................................................................................................................557
show interface ets...................................................................................................................................................558
show qos priority-groups........................................................................................................................................562
show stack-unit stack-ports ets details................................................................................................................563
DCBX Commands..........................................................................................................................................................564
advertise dcbx-app-tlv............................................................................................................................................564
12
Contents
advertise dcbx-appln-tlv.........................................................................................................................................564
advertise dcbx-tlv....................................................................................................................................................565
dcbx port-role.......................................................................................................................................................... 566
dcbx version............................................................................................................................................................. 567
debug dcbx...............................................................................................................................................................568
fcoe priority-bits...................................................................................................................................................... 569
iscsi priority-bits.......................................................................................................................................................569
show interface dcbx detail......................................................................................................................................570
dcb-map..........................................................................................................................................................................573
priority-pgid.....................................................................................................................................................................574
pfc mode on................................................................................................................................................................... 575
priority-group bandwidth pfc....................................................................................................................................... 575
dcb-map stack-unit all stack-ports all.........................................................................................................................576
show qos dcb-map........................................................................................................................................................ 577
dcb pfc-shared-buer-size...........................................................................................................................................578
dcb-buer-threshold .................................................................................................................................................... 579
priority.............................................................................................................................................................................580
qos-policy-buer............................................................................................................................................................ 581
dcb-policy buer-threshold (Interface Conguration)..............................................................................................582
dcb-policy buer-threshold (Global Conguration)...................................................................................................583
show qos dcb-buer-threshold................................................................................................................................... 584
dcb pfc-total-buer-size.............................................................................................................................................. 585
show running-cong dcb-buer-threshold................................................................................................................586
service-class buer shared-threshold-weight............................................................................................................587
dcb pfc-queues..............................................................................................................................................................589
dcb {ets | pfc} enable....................................................................................................................................................589
13 Debugging and Diagnostics.......................................................................................................................591
Diagnostics and Monitoring Commands......................................................................................................................591
logging coredump stack-unit.................................................................................................................................. 591
Oine Diagnostic Commands......................................................................................................................................592
diag stack-unit..........................................................................................................................................................592
oine stack-unit...................................................................................................................................................... 593
online stack-unit.......................................................................................................................................................594
Hardware Commands................................................................................................................................................... 595
clear hardware stack-unit.......................................................................................................................................595
clear hardware system-ow................................................................................................................................... 597
clear hardware vlan-counters.................................................................................................................................597
hardware watchdog.................................................................................................................................................598
show hardware mac................................................................................................................................................ 599
show hardware ip.................................................................................................................................................... 600
show hardware stack-unit......................................................................................................................................600
show hardware buer interface.............................................................................................................................609
show hardware buer-stats-snapshot.................................................................................................................. 610
show hardware counters interface ........................................................................................................................613
show hardware drops...............................................................................................................................................615
Contents
13
show hardware stack-unit buer-stats-snapshot (Total Buer Information)...................................................617
show hardware system-ow...................................................................................................................................618
show hardware vlan-counters................................................................................................................................620
14 Dynamic Host Conguration Protocol (DHCP).........................................................................................622
Commands to Congure the System to be a DHCP Server....................................................................................622
clear ip dhcp............................................................................................................................................................. 622
debug ip dhcp server...............................................................................................................................................623
debug ipv6 dhcp ..................................................................................................................................................... 624
default-router........................................................................................................................................................... 624
disable....................................................................................................................................................................... 625
dns-server................................................................................................................................................................ 626
domain-name............................................................................................................................................................627
excluded-address.....................................................................................................................................................628
hardware-address....................................................................................................................................................629
host........................................................................................................................................................................... 629
lease.......................................................................................................................................................................... 630
netbios-name-server................................................................................................................................................631
netbios-node-type................................................................................................................................................... 632
network.....................................................................................................................................................................633
pool............................................................................................................................................................................634
show ip dhcp binding.............................................................................................................................................. 635
show ip dhcp conguration.................................................................................................................................... 635
show ip dhcp conict.............................................................................................................................................. 636
show ip dhcp server................................................................................................................................................ 637
Commands to Congure Secure DHCP..................................................................................................................... 638
arp inspection...........................................................................................................................................................638
arp inspection-limit.................................................................................................................................................. 639
arp inspection-trust.................................................................................................................................................639
clear ip dhcp snooping............................................................................................................................................ 640
clear ipv6 dhcp snooping binding.......................................................................................................................... 642
ip dhcp relay............................................................................................................................................................. 642
ip dhcp snooping......................................................................................................................................................643
ipv6 dhcp snooping................................................................................................................................................. 644
ipv6 dhcp snooping vlan......................................................................................................................................... 645
ip dhcp snooping binding........................................................................................................................................ 645
IPv6 DHCP Snooping Binding................................................................................................................................ 647
ip dhcp snooping database.....................................................................................................................................648
ipv6 dhcp snooping database write-delay............................................................................................................649
ip dhcp snooping database renew.........................................................................................................................649
ipv6 dhcp snooping database renew.....................................................................................................................650
ip dhcp snooping trust............................................................................................................................................. 651
ipv6 dhcp snooping trust.........................................................................................................................................651
ip dhcp source-address-validation.........................................................................................................................652
ip dhcp relay information-option............................................................................................................................653
ip dhcp relay source-interface................................................................................................................................654
14
Contents
ipv6 dhcp relay source-interface........................................................................................................................... 655
ip dhcp snooping verify mac-address................................................................................................................... 656
ipv6 dhcp snooping verify mac-address............................................................................................................... 657
ip helper-address......................................................................................................................................................657
ipv6 helper-address.................................................................................................................................................658
ip dhcp relay secondary-subnet ............................................................................................................................659
show ip dhcp snooping........................................................................................................................................... 659
show ipv6 dhcp snooping.......................................................................................................................................662
Commands to Congure DNS .................................................................................................................................... 663
ip name-server.........................................................................................................................................................663
ip domain-name....................................................................................................................................................... 664
ip domain-list............................................................................................................................................................665
ip host....................................................................................................................................................................... 666
clear host.................................................................................................................................................................. 667
15 Equal Cost Multi-Path (ECMP)................................................................................................................668
ecmp-group....................................................................................................................................................................668
hash-algorithm...............................................................................................................................................................669
hash-algorithm ecmp.....................................................................................................................................................672
hash-algorithm seed...................................................................................................................................................... 673
ip ecmp-group................................................................................................................................................................ 674
ip ecmp weighted...........................................................................................................................................................675
link-bundle-distribution trigger-threshold................................................................................................................... 676
link-bundle-monitor enable............................................................................................................................................677
show cong.................................................................................................................................................................... 678
show link-bundle distribution........................................................................................................................................ 678
16 FIPS Cryptography...................................................................................................................................680
ps mode enable............................................................................................................................................................680
show ps status.............................................................................................................................................................680
show ip ssh......................................................................................................................................................................681
ssh................................................................................................................................................................................... 682
17 FIP Snooping............................................................................................................................................686
clear p-snooping database interface vlan.................................................................................................................686
clear p-snooping statistics..........................................................................................................................................687
debug p snooping........................................................................................................................................................ 687
debug p snooping rx....................................................................................................................................................688
feature p-snooping......................................................................................................................................................689
p-snooping enable.......................................................................................................................................................690
p-snooping fc-map.......................................................................................................................................................691
p-snooping max-sessions-per-enodemac.................................................................................................................691
p-snooping port-mode fcf..........................................................................................................................................692
p-snooping port-mode fcoe-trusted.........................................................................................................................693
show p-snooping cong............................................................................................................................................. 693
show p-snooping enode............................................................................................................................................. 694
Contents
15
show p-snooping fcf................................................................................................................................................... 695
show p-snooping statistics........................................................................................................................................ 696
show p-snooping system............................................................................................................................................699
show p-snooping vlan................................................................................................................................................. 700
show ps status.............................................................................................................................................................700
18 Force10 Resilient Ring Protocol (FRRP)................................................................................................... 702
clear frrp..........................................................................................................................................................................702
debug frrp.......................................................................................................................................................................704
description...................................................................................................................................................................... 705
disable..............................................................................................................................................................................706
interface..........................................................................................................................................................................706
member-vlan...................................................................................................................................................................708
mode................................................................................................................................................................................709
protocol frrp.................................................................................................................................................................... 710
show frrp..........................................................................................................................................................................711
timer................................................................................................................................................................................. 714
19 GARP VLAN Registration (GVRP).............................................................................................................716
clear gvrp statistics........................................................................................................................................................ 717
debug gvrp...................................................................................................................................................................... 718
disable.............................................................................................................................................................................. 719
garp timers......................................................................................................................................................................720
gvrp enable......................................................................................................................................................................721
gvrp registration.............................................................................................................................................................722
protocol gvrp.................................................................................................................................................................. 723
show cong.................................................................................................................................................................... 724
show garp timers........................................................................................................................................................... 725
show gvrp....................................................................................................................................................................... 726
show gvrp statistics.......................................................................................................................................................727
20 High Availability (HA)...............................................................................................................................730
patch ash://RUNTIME_PATCH_DIR........................................................................................................................ 730
process restartable......................................................................................................................................................... 731
redundancy disable-auto-reboot..................................................................................................................................732
redundancy force-failover............................................................................................................................................. 733
redundancy primary....................................................................................................................................................... 733
redundancy protocol......................................................................................................................................................734
redundancy reset-counter............................................................................................................................................ 735
redundancy sfm standby...............................................................................................................................................735
redundancy synchronize................................................................................................................................................737
show patch......................................................................................................................................................................737
show processes restartable.......................................................................................................................................... 738
show redundancy...........................................................................................................................................................739
21 ICMP Message Types............................................................................................................................... 742
16
Contents
22 Internet Group Management Protocol (IGMP)......................................................................................... 744
IGMP Commands...........................................................................................................................................................744
clear ip igmp groups.................................................................................................................................................744
debug ip igmp........................................................................................................................................................... 745
ip igmp access-group...............................................................................................................................................747
ip igmp group-join-limit............................................................................................................................................748
ip igmp immediate-leave..........................................................................................................................................748
ip igmp last-member-query-interval.......................................................................................................................749
ip igmp query-interval..............................................................................................................................................750
ip igmp query-max-resp-time................................................................................................................................. 752
ip igmp ssm-map......................................................................................................................................................753
ip igmp version......................................................................................................................................................... 754
show ip igmp groups............................................................................................................................................... 755
show ip igmp interface............................................................................................................................................ 757
show ip igmp ssm-map........................................................................................................................................... 759
IGMP Snooping Commands......................................................................................................................................... 760
clear ip igmp snooping groups.................................................................................................................................761
debug ip igmp snooping.......................................................................................................................................... 762
ip igmp snooping enable..........................................................................................................................................763
ip igmp snooping fast-leave....................................................................................................................................764
ip igmp snooping ood............................................................................................................................................ 765
ip igmp snooping last-member-query-interval......................................................................................................765
ip igmp snooping mrouter....................................................................................................................................... 766
ip igmp snooping querier.........................................................................................................................................768
show ip igmp snooping groups...............................................................................................................................769
show ip igmp snooping mrouter............................................................................................................................. 770
23 Interfaces.................................................................................................................................................772
Basic Interface Commands...........................................................................................................................................772
clear counters........................................................................................................................................................... 772
clear counters eee....................................................................................................................................................774
clear dampening....................................................................................................................................................... 775
dampening.................................................................................................................................................................776
default interface....................................................................................................................................................... 777
description.................................................................................................................................................................778
duplex (10/100 Interfaces)......................................................................................................................................780
eee.............................................................................................................................................................................. 781
owcontrol.................................................................................................................................................................781
interface.................................................................................................................................................................... 784
interface group......................................................................................................................................................... 786
interface loopback....................................................................................................................................................787
interface managementEthernet.............................................................................................................................788
interface null............................................................................................................................................................. 789
interface range.........................................................................................................................................................790
interface range macro (dene)...............................................................................................................................793
Contents
17
interface range macro name...................................................................................................................................794
interface vlan............................................................................................................................................................795
intf-type cr4 autoneg...............................................................................................................................................797
negotiation auto....................................................................................................................................................... 798
keepalive...................................................................................................................................................................800
monitor interface...................................................................................................................................................... 801
mtu............................................................................................................................................................................ 803
portmode hybrid...................................................................................................................................................... 805
rate-interval.............................................................................................................................................................. 806
rate-interval (Conguration Mode)........................................................................................................................807
show cong..............................................................................................................................................................808
show cong (from INTERFACE RANGE mode)..................................................................................................809
show hardware......................................................................................................................................................... 810
show interfaces.........................................................................................................................................................814
show interfaces congured.................................................................................................................................... 820
show interfaces dampening....................................................................................................................................822
show interfaces eee.................................................................................................................................................823
show interfaces eee statistics................................................................................................................................825
show interfaces phy................................................................................................................................................ 826
show interfaces stack-unit..................................................................................................................................... 829
show interfaces status............................................................................................................................................830
show interfaces switchport.................................................................................................................................... 832
show interfaces transceiver................................................................................................................................... 834
show interfaces vlan................................................................................................................................................839
show range............................................................................................................................................................... 840
show running-cong ecmp-group..........................................................................................................................841
shutdown...................................................................................................................................................................841
speed (for 10/100/1000/10000 interfaces)......................................................................................................... 842
speed (Management interface)............................................................................................................................. 844
stack-unit portmode................................................................................................................................................845
switchport.................................................................................................................................................................846
wavelength............................................................................................................................................................... 848
Egress Interface Selection (EIS) Commands.............................................................................................................848
application.................................................................................................................................................................848
application (for HTTP and ICMP)..........................................................................................................................849
clear management application pkt-cntr................................................................................................................850
clear management application pkt-fallback-cntr................................................................................................. 850
management egress-interface-selection...............................................................................................................851
show ip management-eis-route .............................................................................................................................851
show management application pkt-cntr...............................................................................................................852
show management application pkt-fallback-cntr................................................................................................ 852
Port Channel Commands..............................................................................................................................................853
channel-member......................................................................................................................................................853
group......................................................................................................................................................................... 855
interface port-channel............................................................................................................................................ 856
18
Contents
minimum-links...........................................................................................................................................................857
port-channel failover-group....................................................................................................................................858
show cong..............................................................................................................................................................859
show interfaces port-channel................................................................................................................................ 860
show port-channel-ow..........................................................................................................................................863
Time Domain Reectometer (TDR) Commands........................................................................................................865
tdr-cable-test........................................................................................................................................................... 865
show tdr....................................................................................................................................................................866
UDP Broadcast Commands..........................................................................................................................................867
debug ip udp-helper.................................................................................................................................................867
ip udp-helper udp-port............................................................................................................................................868
show ip udp-helper..................................................................................................................................................869
ip http source-interface.................................................................................................................................................870
24 Internet Protocol Security (IPSec)...........................................................................................................872
crypto ipsec transform-set........................................................................................................................................... 873
crypto ipsec policy..........................................................................................................................................................874
management crypto-policy...........................................................................................................................................875
match...............................................................................................................................................................................875
session-key..................................................................................................................................................................... 876
show crypto ipsec transform-set.................................................................................................................................877
show crypto ipsec policy...............................................................................................................................................878
transform-set................................................................................................................................................................. 879
25 IPv4 Routing............................................................................................................................................880
arp.................................................................................................................................................................................... 881
arp backo-time............................................................................................................................................................ 882
arp learn-enable............................................................................................................................................................. 883
arp max-entries.............................................................................................................................................................. 884
arp retries........................................................................................................................................................................885
arp timeout..................................................................................................................................................................... 886
clear arp-cache.............................................................................................................................................................. 887
clear host........................................................................................................................................................................ 888
clear ip b stack-unit.....................................................................................................................................................889
clear ip route...................................................................................................................................................................890
clear tcp statistics.......................................................................................................................................................... 891
debug arp........................................................................................................................................................................892
debug ip dhcp.................................................................................................................................................................893
debug ip icmp.................................................................................................................................................................895
debug ip packet............................................................................................................................................................. 896
ip address........................................................................................................................................................................899
ip directed-broadcast....................................................................................................................................................900
ip domain-list...................................................................................................................................................................901
ip domain-lookup............................................................................................................................................................902
ip domain-name............................................................................................................................................................. 903
ip helper-address........................................................................................................................................................... 904
Contents
19
ip helper-address hop-count disable...........................................................................................................................905
ip host............................................................................................................................................................................. 906
ip icmp source-interface............................................................................................................................................... 907
ipv6 icmp source-interface...........................................................................................................................................909
ip max-frag-count...........................................................................................................................................................910
ip max-routes................................................................................................................................................................... 911
ip mtu............................................................................................................................................................................... 912
ip name-server................................................................................................................................................................914
ip proxy-arp..................................................................................................................................................................... 915
ip route.............................................................................................................................................................................916
ip source-route................................................................................................................................................................919
ip tcp initial-time............................................................................................................................................................. 919
show ip tcp initial-time.................................................................................................................................................. 920
ip unreachables............................................................................................................................................................... 921
load-balance................................................................................................................................................................... 922
load-balance hg..............................................................................................................................................................923
management route........................................................................................................................................................ 925
show arp......................................................................................................................................................................... 926
show arp retries............................................................................................................................................................. 929
show hosts..................................................................................................................................................................... 930
show ip cam linecard..................................................................................................................................................... 932
show ip cam stack-unit................................................................................................................................................. 934
show ip b stack-unit....................................................................................................................................................936
show ip ow................................................................................................................................................................... 938
show ip interface........................................................................................................................................................... 940
show ip management-route......................................................................................................................................... 942
show ip protocols...........................................................................................................................................................943
show ip route..................................................................................................................................................................945
show ip route list............................................................................................................................................................949
show ip route summary.................................................................................................................................................950
show ip trac.................................................................................................................................................................952
show tcp statistics........................................................................................................................................................ 954
26 IPv6 Access Control Lists (IPv6 ACLs).................................................................................................... 957
show cam-acl-egress.................................................................................................................................................... 957
show cam-acl.................................................................................................................................................................958
permit icmp.................................................................................................................................................................... 960
permit..............................................................................................................................................................................962
ipv6 control-plane egress-lter....................................................................................................................................963
ipv6 access-list.............................................................................................................................................................. 963
cam-acl-egress.............................................................................................................................................................. 965
cam-acl........................................................................................................................................................................... 966
27 IPv6 Basics.............................................................................................................................................. 968
clear ipv6 b...................................................................................................................................................................968
clear ipv6 route.............................................................................................................................................................. 969
20
Contents
/