PowerSwitch S5048F-ON

Dell PowerSwitch S5048F-ON, OS9 User guide

  • Hello! I am an AI chatbot trained to assist you with the Dell PowerSwitch S5048F-ON User guide. 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 EMC Networking Command Line
Reference Guide for the S5048F–ON System
9.14.2.8
September 2020
Rev. A00
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.
© 2020 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.
Chapter 1: About this Guide.........................................................................................................39
Objectives........................................................................................................................................................................... 39
Audience.............................................................................................................................................................................. 39
Conventions........................................................................................................................................................................39
Information Icons...............................................................................................................................................................40
Chapter 2: CLI Basics...................................................................................................................41
Accessing the Command Line......................................................................................................................................... 41
Multiple Configuration Users...........................................................................................................................................41
Obtaining Help....................................................................................................................................................................42
Navigating the CLI............................................................................................................................................................ 43
Using the no Command....................................................................................................................................................44
Filtering show Commands............................................................................................................................................... 44
Enabling Software Features on Devices Using a Command Option..................................................................... 45
feature vrf..................................................................................................................................................................... 45
show feature.................................................................................................................................................................46
Command Modes...............................................................................................................................................................46
Chapter 3: File Management........................................................................................................55
boot system........................................................................................................................................................................55
cd.......................................................................................................................................................................................... 56
copy...................................................................................................................................................................................... 57
delete................................................................................................................................................................................... 60
dir........................................................................................................................................................................................... 61
format.................................................................................................................................................................................. 62
fsck flash............................................................................................................................................................................. 63
mkdir.....................................................................................................................................................................................63
mount nfs............................................................................................................................................................................ 64
rmdir..................................................................................................................................................................................... 65
rename................................................................................................................................................................................. 65
show boot system.............................................................................................................................................................66
show bootvar......................................................................................................................................................................67
show file-systems............................................................................................................................................................. 68
show os-version.................................................................................................................................................................69
show running-config.........................................................................................................................................................70
show startup-config......................................................................................................................................................... 74
show version.......................................................................................................................................................................75
upgrade system..................................................................................................................................................................76
upgrade boot.......................................................................................................................................................................77
verify................................................................................................................................................................................... 78
Chapter 4: Control and Monitoring.............................................................................................. 80
alias........................................................................................................................................................................................81
banner exec........................................................................................................................................................................ 82
Contents
Contents 3
banner login........................................................................................................................................................................ 83
banner motd....................................................................................................................................................................... 85
cam-acl................................................................................................................................................................................ 86
clear average-power.........................................................................................................................................................87
clear line...............................................................................................................................................................................88
configure............................................................................................................................................................................. 89
disable.................................................................................................................................................................................. 90
do.......................................................................................................................................................................................... 90
enable....................................................................................................................................................................................91
enable optic-info-update interval.................................................................................................................................. 92
end........................................................................................................................................................................................ 93
exec-timeout...................................................................................................................................................................... 94
exit........................................................................................................................................................................................ 95
ftp-server enable...............................................................................................................................................................96
ftp-server topdir................................................................................................................................................................ 97
ftp-server username.........................................................................................................................................................98
hostname.............................................................................................................................................................................99
ip ftp password................................................................................................................................................................ 100
ip ftp source-interface.................................................................................................................................................... 101
ip ftp username................................................................................................................................................................ 102
ip ftp vrf.............................................................................................................................................................................103
ip telnet server enable.................................................................................................................................................... 104
ip telnet server vrf...........................................................................................................................................................104
ip telnet source-interface.............................................................................................................................................. 105
ip tftp source-interface..................................................................................................................................................106
ip tftp vrf........................................................................................................................................................................... 107
line....................................................................................................................................................................................... 108
login concurrent-session................................................................................................................................................109
login statistics.................................................................................................................................................................... 111
motd-banner...................................................................................................................................................................... 112
ping...................................................................................................................................................................................... 113
reload...................................................................................................................................................................................116
reload-type......................................................................................................................................................................... 117
boot-type......................................................................................................................................................................118
secure-erase................................................................................................................................................................ 118
send..................................................................................................................................................................................... 119
service timestamps......................................................................................................................................................... 120
show alias........................................................................................................................................................................... 121
show alarms...................................................................................................................................................................... 122
show cpu-traffic-stats................................................................................................................................................... 123
show debugging............................................................................................................................................................... 124
show environment........................................................................................................................................................... 125
show inventory................................................................................................................................................................. 127
show login statistics........................................................................................................................................................128
show memory.................................................................................................................................................................... 131
show processes cpu........................................................................................................................................................132
show processes ipc flow-control................................................................................................................................. 135
show processes memory................................................................................................................................................138
show reload-type............................................................................................................................................................. 140
show reset-reason...........................................................................................................................................................140
4
Contents
show software ifm...........................................................................................................................................................142
show system..................................................................................................................................................................... 143
show tech-support.......................................................................................................................................................... 144
ssh-peer-stack-unit.........................................................................................................................................................148
stack-unit location-led....................................................................................................................................................149
telnet...................................................................................................................................................................................149
telnet-peer-stack-unit.....................................................................................................................................................151
terminal length.................................................................................................................................................................. 151
traceroute..........................................................................................................................................................................152
undebug all........................................................................................................................................................................ 154
virtual-ip.............................................................................................................................................................................155
write....................................................................................................................................................................................156
Chapter 5: 802.1X...................................................................................................................... 158
debug dot1x.......................................................................................................................................................................159
dot1x auth-fail-vlan......................................................................................................................................................... 160
dot1x auth-server............................................................................................................................................................. 161
dot1x auth-type mab-only.............................................................................................................................................. 161
dot1x authentication (Configuration)..........................................................................................................................162
dot1x authentication (Interface).................................................................................................................................. 163
dot1x critical-vlan.............................................................................................................................................................164
dot1x guest-vlan...............................................................................................................................................................165
dot1x host-mode.............................................................................................................................................................. 166
mac......................................................................................................................................................................................167
dot1x mac-auth-bypass.................................................................................................................................................. 167
dot1x max-eap-req.......................................................................................................................................................... 168
dot1x max-supplicants.................................................................................................................................................... 169
dot1x port-control............................................................................................................................................................170
dot1x profile.......................................................................................................................................................................170
dot1x quiet-period.............................................................................................................................................................171
dot1x reauthentication.................................................................................................................................................... 172
dot1x reauth-max............................................................................................................................................................. 173
dot1x server-timeout.......................................................................................................................................................173
dot1x static-mab...............................................................................................................................................................174
dot1x supplicant-timeout................................................................................................................................................175
dot1x tx-period................................................................................................................................................................. 176
show dot1x cos-mapping interface..............................................................................................................................177
show dot1x interface.......................................................................................................................................................178
show dot1x profile............................................................................................................................................................ 181
Chapter 6: Access Control Lists (ACL).......................................................................................182
Commands Common to all ACL Types....................................................................................................................... 183
remark...........................................................................................................................................................................183
show config................................................................................................................................................................. 184
Common IP ACL Commands.........................................................................................................................................185
access-class................................................................................................................................................................ 186
aclrange profile-name............................................................................................................................................... 187
clear counters ip access-group.............................................................................................................................. 188
feature acloptimized..................................................................................................................................................188
Contents
5
feature aclrange......................................................................................................................................................... 189
ip access-group.......................................................................................................................................................... 189
ipv6 access-group...................................................................................................................................................... 191
ip control-plane egress-filter...................................................................................................................................192
ipv6 control-plane egress-filter..............................................................................................................................193
show aclrange.............................................................................................................................................................193
show ip accounting access-list...............................................................................................................................194
Standard IP ACL Commands........................................................................................................................................ 195
deny...............................................................................................................................................................................196
ip access-list standard.............................................................................................................................................. 197
permit............................................................................................................................................................................198
resequence access-list............................................................................................................................................ 200
seq................................................................................................................................................................................. 201
Extended IP ACL Commands.......................................................................................................................................203
deny..............................................................................................................................................................................203
deny icmp....................................................................................................................................................................205
deny tcp.......................................................................................................................................................................207
deny udp.......................................................................................................................................................................210
ip access-list extended............................................................................................................................................. 213
permit............................................................................................................................................................................214
permit icmp..................................................................................................................................................................216
permit tcp.....................................................................................................................................................................217
permit udp....................................................................................................................................................................221
resequence access-list.............................................................................................................................................223
seq................................................................................................................................................................................ 224
Common MAC Access List Commands..................................................................................................................... 228
clear counters mac access-group......................................................................................................................... 228
mac access-group.....................................................................................................................................................229
show mac access-lists............................................................................................................................................. 230
show mac accounting access-list.......................................................................................................................... 231
Standard MAC ACL Commands.................................................................................................................................. 232
deny.............................................................................................................................................................................. 233
mac access-list standard.........................................................................................................................................234
permit...........................................................................................................................................................................235
seq................................................................................................................................................................................ 236
Extended MAC ACL Commands..................................................................................................................................237
deny..............................................................................................................................................................................238
mac access-list extended........................................................................................................................................239
permit............................................................................................................................................................................241
IP Prefix List Commands...............................................................................................................................................242
clear ip prefix-list.......................................................................................................................................................242
deny.............................................................................................................................................................................. 243
ip prefix-list.................................................................................................................................................................244
seq................................................................................................................................................................................ 245
show config................................................................................................................................................................ 246
show ip prefix-list detail...........................................................................................................................................247
show ip prefix-list summary....................................................................................................................................248
Route Map Commands.................................................................................................................................................. 249
continue.......................................................................................................................................................................249
description.................................................................................................................................................................. 250
6
Contents
match as-path............................................................................................................................................................ 251
match community..................................................................................................................................................... 252
match interface......................................................................................................................................................... 252
match ip address....................................................................................................................................................... 254
match ip next-hop.....................................................................................................................................................254
match ip route-source............................................................................................................................................. 255
match metric..............................................................................................................................................................256
match origin................................................................................................................................................................257
match route-type......................................................................................................................................................258
match tag....................................................................................................................................................................259
route-map................................................................................................................................................................... 260
set as-path.................................................................................................................................................................. 261
set automatic-tag......................................................................................................................................................262
set comm-list delete.................................................................................................................................................263
set community........................................................................................................................................................... 264
set level....................................................................................................................................................................... 265
set local-preference................................................................................................................................................. 266
set metric.................................................................................................................................................................... 267
set metric-type..........................................................................................................................................................268
set next-hop...............................................................................................................................................................269
set origin......................................................................................................................................................................270
set tag...........................................................................................................................................................................271
set weight....................................................................................................................................................................272
show config.................................................................................................................................................................272
show route-map.........................................................................................................................................................273
deny (for Standard IP ACLs)........................................................................................................................................274
deny (for Extended IP ACLs).......................................................................................................................................275
seq (for Standard IPv4 ACLs)......................................................................................................................................277
deny tcp (for Extended IP ACLs)................................................................................................................................278
deny (for Standard MAC ACLs)..................................................................................................................................280
deny (for Extended MAC ACLs).................................................................................................................................. 281
permit (for Standard IP ACLs).................................................................................................................................... 283
permit icmp (for Extended IP ACLs)..........................................................................................................................284
permit udp (for Extended IP ACLs)............................................................................................................................285
permit (for Extended IP ACLs)....................................................................................................................................287
permit (for Standard MAC ACLs)...............................................................................................................................289
seq (for Standard MAC ACLs).................................................................................................................................... 290
permit tcp (for Extended IP ACLs)............................................................................................................................. 291
seq (for IP ACLs)............................................................................................................................................................ 293
seq (for IPv6 ACLs)....................................................................................................................................................... 294
permit udp (for IPv6 ACLs)..........................................................................................................................................297
permit tcp (for IPv6 ACLs).......................................................................................................................................... 299
permit icmp (for IPv6 ACLs).........................................................................................................................................301
permit (for IPv6 ACLs)..................................................................................................................................................303
deny udp (for IPv6 ACLs).............................................................................................................................................305
deny tcp (for IPv6 ACLs)..............................................................................................................................................306
deny icmp (for Extended IPv6 ACLs)........................................................................................................................ 309
deny (for IPv6 ACLs).......................................................................................................................................................311
Chapter 7: Bidirectional Forwarding Detection (BFD).................................................................313
Contents
7
ipv6 router ospf................................................................................................................................................................313
bfd all-neighbors.............................................................................................................................................................. 314
bfd disable......................................................................................................................................................................... 316
bfd enable (Configuration)............................................................................................................................................ 316
bfd enable (Interface).....................................................................................................................................................317
bfd interval ....................................................................................................................................................................... 317
bfd neighbor......................................................................................................................................................................318
bfd protocol-liveness...................................................................................................................................................... 319
ip route bfd.......................................................................................................................................................................320
ip ospf bfd all-neighbors.................................................................................................................................................321
ipv6 ospf bfd all-neighbors........................................................................................................................................... 322
isis bfd all-neighbors.......................................................................................................................................................323
neighbor bfd..................................................................................................................................................................... 324
neighbor bfd disable....................................................................................................................................................... 325
show bfd neighbors........................................................................................................................................................ 326
vrrp bfd neighbor............................................................................................................................................................ 329
Chapter 8: Boot Command Line Interface...................................................................................331
boot change...................................................................................................................................................................... 331
boot message...................................................................................................................................................................332
boot show net config retries........................................................................................................................................333
boot write net config retries........................................................................................................................................ 333
boot zero...........................................................................................................................................................................334
default-gateway.............................................................................................................................................................. 334
etheraddr <macaddr>.................................................................................................................................................... 335
ignore enable-password................................................................................................................................................ 335
ignore startup-config..................................................................................................................................................... 336
interface management ethernet ip address............................................................................................................. 336
NVRAM erase...................................................................................................................................................................337
reload..................................................................................................................................................................................337
serial console....................................................................................................................................................................338
show bootvar................................................................................................................................................................... 338
show default-gateway................................................................................................................................................... 339
show interface management ethernet.......................................................................................................................339
show serial console baud rate......................................................................................................................................340
watchdog <string>......................................................................................................................................................... 340
Chapter 9: Border Gateway Protocol......................................................................................... 342
BGP IPv4 Commands.....................................................................................................................................................342
address-family............................................................................................................................................................342
aggregate-address....................................................................................................................................................343
bgp add-path..............................................................................................................................................................344
bgp always-compare-med.......................................................................................................................................345
bgp asnotation........................................................................................................................................................... 346
bgp bestpath as-path ignore.................................................................................................................................. 347
bgp bestpath as-path multipath-relax................................................................................................................. 348
bgp bestpath med confed.......................................................................................................................................348
bgp bestpath med missing-as-best...................................................................................................................... 349
bgp bestpath router-id ignore................................................................................................................................350
8
Contents
bgp client-to-client reflection.................................................................................................................................351
bgp cluster-id..............................................................................................................................................................351
bgp confederation identifier................................................................................................................................... 352
bgp confederation peers......................................................................................................................................... 353
bgp dampening.......................................................................................................................................................... 354
bgp default local-preference..................................................................................................................................355
bgp dmzlink-bw......................................................................................................................................................... 356
bgp enforce-first-as................................................................................................................................................. 357
bgp fast-external-fallover....................................................................................................................................... 358
bgp four-octet-as-support..................................................................................................................................... 358
bgp graceful-restart................................................................................................................................................. 359
bgp non-deterministic-med.................................................................................................................................... 360
bgp outbound-optimization..................................................................................................................................... 361
bgp recursive-bgp-next-hop.................................................................................................................................. 362
bgp regex-eval-optz-disable.................................................................................................................................. 362
bgp router-id.............................................................................................................................................................. 364
clear ip bgp................................................................................................................................................................. 364
clear ip bgp dampening............................................................................................................................................366
clear ip bgp flap-statistics.......................................................................................................................................367
clear ip bgp peer-group........................................................................................................................................... 368
debug ip bgp...............................................................................................................................................................369
debug ip bgp dampening..........................................................................................................................................370
debug ip bgp events.................................................................................................................................................. 371
debug ip bgp keepalives...........................................................................................................................................372
debug ip bgp notifications....................................................................................................................................... 373
debug ip bgp soft-reconfiguration........................................................................................................................ 374
debug ip bgp updates...............................................................................................................................................375
default-metric............................................................................................................................................................ 376
deny bandwidth..........................................................................................................................................................377
description...................................................................................................................................................................378
maximum-paths......................................................................................................................................................... 378
neighbor activate.......................................................................................................................................................379
neighbor add-path..................................................................................................................................................... 381
neighbor advertisement-interval............................................................................................................................ 381
neighbor advertisement-start................................................................................................................................ 382
neighbor allowas-in................................................................................................................................................... 383
neighbor default-originate.......................................................................................................................................384
neighbor description.................................................................................................................................................385
neighbor distribute-list.............................................................................................................................................386
neighbor ebgp-multihop...........................................................................................................................................387
neighbor fall-over......................................................................................................................................................388
neighbor local-as....................................................................................................................................................... 389
neighbor maximum-prefix....................................................................................................................................... 390
neighbor password.................................................................................................................................................... 391
neighbor peer-group (assigning peers)............................................................................................................... 392
neighbor peer-group (creating group).................................................................................................................393
neighbor peer-group passive..................................................................................................................................394
neighbor remote-as.................................................................................................................................................. 395
neighbor remove-private-as...................................................................................................................................396
neighbor route-map.................................................................................................................................................. 397
Contents
9
neighbor route-reflector-client..............................................................................................................................398
neighbor send-community...................................................................................................................................... 399
neighbor shutdown...................................................................................................................................................400
neighbor soft-reconfiguration inbound.................................................................................................................401
neighbor timers..........................................................................................................................................................402
neighbor timers extended....................................................................................................................................... 403
neighbor update-source.......................................................................................................................................... 404
neighbor weight.........................................................................................................................................................404
network....................................................................................................................................................................... 405
network backdoor..................................................................................................................................................... 407
permit bandwidth...................................................................................................................................................... 408
redistribute................................................................................................................................................................. 408
redistribute ospf.........................................................................................................................................................410
router bgp.....................................................................................................................................................................411
shutdown all................................................................................................................................................................. 411
shutdown address-family-ipv4–multicast............................................................................................................412
shutdown address-family-ipv4–unicast............................................................................................................... 412
shutdown address-family-ipv6–unicast............................................................................................................... 413
set extcommunity bandwidth..................................................................................................................................413
show capture bgp-pdu neighbor............................................................................................................................ 414
show config.................................................................................................................................................................415
show ip bgp................................................................................................................................................................. 416
show ip bgp cluster-list............................................................................................................................................ 419
show ip bgp community............................................................................................................................................421
show ip bgp community-list....................................................................................................................................423
show ip bgp dampened-paths................................................................................................................................424
show ip bgp detail..................................................................................................................................................... 426
show ip bgp extcommunity-list..............................................................................................................................427
show ip bgp filter-list............................................................................................................................................... 429
show ip bgp flap-statistics......................................................................................................................................430
show ip bgp inconsistent-as...................................................................................................................................432
show ip bgp neighbors............................................................................................................................................. 434
show ip bgp next-hop...............................................................................................................................................437
show ip bgp paths.....................................................................................................................................................438
show ip bgp paths community............................................................................................................................... 440
show ip bgp peer-group........................................................................................................................................... 441
show ip bgp regexp...................................................................................................................................................442
show ip bgp summary...............................................................................................................................................444
show running-config bgp........................................................................................................................................ 446
timers bgp................................................................................................................................................................... 447
timers bgp extended.................................................................................................................................................448
MBGP Commands...........................................................................................................................................................448
debug ip bgp dampening......................................................................................................................................... 449
distance bgp............................................................................................................................................................... 449
neighbor auto-local-address...................................................................................................................................450
show ip bgp dampened-paths.................................................................................................................................451
Chapter 10: Content Addressable Memory (CAM)......................................................................453
CAM Profile Commands................................................................................................................................................ 453
cam-acl (Configuration).......................................................................................................................................... 453
10
Contents
cam-acl-egress.......................................................................................................................................................... 456
cam-optimization...................................................................................................................................................... 456
feature ipv6acloptimized......................................................................................................................................... 457
show cam-acl............................................................................................................................................................. 458
show cam-usage....................................................................................................................................................... 459
test cam-usage...........................................................................................................................................................461
Unified Forwarding Table Modes................................................................................................................................ 462
hardware forwarding-table mode..........................................................................................................................462
show hardware forwarding-table mode...............................................................................................................463
Chapter 11: Control Plane Policing (CoPP)................................................................................ 464
control-plane-cpuqos.....................................................................................................................................................464
cpu-protocol-group........................................................................................................................................................ 465
copp-profile......................................................................................................................................................................465
cpu-queue.........................................................................................................................................................................466
copp-policy....................................................................................................................................................................... 466
protocol-list...................................................................................................................................................................... 467
queue-length.................................................................................................................................................................... 468
service-policy rate-limit-cpu-queues......................................................................................................................... 468
service-policy rate-limit-protocols..............................................................................................................................469
show cpu-queue rate cp................................................................................................................................................470
show ip protocol-queue-mapping................................................................................................................................ 471
show ipv6 protocol-queue-mapping...........................................................................................................................472
show mac protocol-queue-mapping........................................................................................................................... 473
show running-config copp-profile...............................................................................................................................474
show running-config cpu-protocol-group................................................................................................................. 474
Chapter 12: Data Center Bridging (DCB)....................................................................................475
DCB Command................................................................................................................................................................ 475
dcb-enable.................................................................................................................................................................. 475
PFC Commands...............................................................................................................................................................476
clear hardware pfc-nodrop-priority...................................................................................................................... 476
clear pfc counters..................................................................................................................................................... 477
dcb pfc-headroom-buffer-size...............................................................................................................................477
pfc-nodrop-priority l2-dlf drop...............................................................................................................................478
pfc no-drop queues...................................................................................................................................................478
pfc priority...................................................................................................................................................................479
show dcb.....................................................................................................................................................................480
show hardware pfc-nodrop-priority...................................................................................................................... 481
show interface pfc.....................................................................................................................................................481
show interface pfc statistics..................................................................................................................................485
ETS Commands............................................................................................................................................................... 486
dcb-enable.................................................................................................................................................................. 486
clear ets counters......................................................................................................................................................487
show interface ets.................................................................................................................................................... 488
DCBX Commands........................................................................................................................................................... 490
advertise dcbx-tlv.....................................................................................................................................................490
dcbx port-role............................................................................................................................................................ 490
dcbx version................................................................................................................................................................ 491
Contents
11
debug dcbx................................................................................................................................................................. 492
fcoe priority-bits........................................................................................................................................................493
show interface dcbx detail......................................................................................................................................493
dcb-map............................................................................................................................................................................ 496
priority-pgid...................................................................................................................................................................... 497
priority-group bandwidth pfc....................................................................................................................................... 498
dcb pfc-shared-buffer-size.......................................................................................................................................... 499
dcb-buffer-threshold ....................................................................................................................................................500
priority............................................................................................................................................................................... 500
dcb-policy buffer-threshold (Interface Configuration)......................................................................................... 502
dcb pfc-total-buffer-size..............................................................................................................................................503
show running-config dcb-buffer-threshold..............................................................................................................504
dcb {ets | pfc} enable....................................................................................................................................................505
Chapter 13: Debugging and Diagnostics..................................................................................... 507
Diagnostics and Monitoring Commands.................................................................................................................... 507
logging coredump stack-unit..................................................................................................................................507
Offline Diagnostic Commands..................................................................................................................................... 508
diag stack-unit........................................................................................................................................................... 508
offline stack-unit.......................................................................................................................................................509
online stack-unit.........................................................................................................................................................510
show diag......................................................................................................................................................................511
Hardware Commands..................................................................................................................................................... 512
clear hardware stack-unit........................................................................................................................................512
clear hardware system-flow....................................................................................................................................513
clear hardware vlan-counters................................................................................................................................. 514
hardware watchdog.................................................................................................................................................. 515
show hardware mac.................................................................................................................................................. 515
show hardware ip.......................................................................................................................................................516
show hardware ipv6.................................................................................................................................................. 517
show hardware stack-unit.......................................................................................................................................518
show hardware buffer..............................................................................................................................................529
show hardware buffer headroom-pool................................................................................................................. 531
show hardware buffer service-pool...................................................................................................................... 531
show hardware buffer-stats-snapshot................................................................................................................532
show hardware drops...............................................................................................................................................535
show hardware counters interface ......................................................................................................................538
show hardware system-flow.................................................................................................................................. 540
show hardware vlan-counters............................................................................................................................... 543
Chapter 14: Dynamic Host Configuration Protocol (DHCP)........................................................ 545
Commands to Configure the System to be a DHCP Server................................................................................ 545
clear ip dhcp...............................................................................................................................................................545
debug ip dhcp server................................................................................................................................................546
debug ipv6 dhcp .......................................................................................................................................................547
default-router.............................................................................................................................................................547
disable.......................................................................................................................................................................... 548
dns-server...................................................................................................................................................................549
domain-name..............................................................................................................................................................549
12
Contents
excluded-address......................................................................................................................................................550
hardware-address......................................................................................................................................................551
host-address............................................................................................................................................................... 551
ip dhcp server............................................................................................................................................................ 552
lease............................................................................................................................................................................. 553
netbios-name-server................................................................................................................................................553
netbios-node-type.................................................................................................................................................... 554
network....................................................................................................................................................................... 555
pool...............................................................................................................................................................................556
show ip dhcp binding............................................................................................................................................... 556
show ip dhcp configuration.................................................................................................................................... 557
show ip dhcp conflict...............................................................................................................................................558
show ip dhcp server................................................................................................................................................. 559
Commands to Configure Secure DHCP.................................................................................................................... 559
arp inspection............................................................................................................................................................ 559
arp inspection-limit................................................................................................................................................... 560
arp inspection-trust..................................................................................................................................................560
clear ip dhcp snooping..............................................................................................................................................561
clear ipv6 dhcp snooping binding..........................................................................................................................563
ip dhcp relay............................................................................................................................................................... 563
ip dhcp snooping....................................................................................................................................................... 564
ipv6 dhcp snooping.................................................................................................................................................. 565
ipv6 dhcp snooping vlan..........................................................................................................................................565
ip dhcp snooping binding.........................................................................................................................................566
IPv6 DHCP Snooping Binding................................................................................................................................ 567
ip dhcp snooping database..................................................................................................................................... 568
ipv6 dhcp snooping database write-delay.......................................................................................................... 569
ip dhcp snooping database renew.........................................................................................................................570
ipv6 dhcp snooping database renew....................................................................................................................570
ip dhcp snooping trust..............................................................................................................................................571
ipv6 dhcp snooping trust......................................................................................................................................... 571
ip dhcp source-address-validation........................................................................................................................ 572
ip dhcp relay information-option........................................................................................................................... 573
ip dhcp relay source-interface............................................................................................................................... 574
ipv6 dhcp relay source-interface.......................................................................................................................... 575
ip dhcp snooping verify mac-address...................................................................................................................576
ipv6 dhcp snooping verify mac-address..............................................................................................................576
ip helper-address....................................................................................................................................................... 577
ipv6 helper-address.................................................................................................................................................. 577
show ip dhcp snooping............................................................................................................................................ 578
show ipv6 dhcp snooping........................................................................................................................................ 581
Commands to Configure DNS ..................................................................................................................................... 581
ip name-server............................................................................................................................................................581
ip domain-name......................................................................................................................................................... 582
ip domain-list..............................................................................................................................................................583
ip host.......................................................................................................................................................................... 584
clear host.................................................................................................................................................................... 585
Chapter 15: Equal Cost Multi-Path (ECMP)............................................................................... 586
ecmp-group......................................................................................................................................................................586
Contents
13
hash-algorithm.................................................................................................................................................................587
ip ecmp-group................................................................................................................................................................. 590
ip ecmp weighted............................................................................................................................................................590
link-bundle-distribution trigger-threshold..................................................................................................................591
link-bundle-monitor enable........................................................................................................................................... 592
Chapter 16: Flex Hash and Optimized Boot-Up...........................................................................593
load-balance ingress-port enable................................................................................................................................593
load-balance flexhash.................................................................................................................................................... 594
lacp fast-switchover...................................................................................................................................................... 595
encapsulation dot1q........................................................................................................................................................595
Chapter 17: FIP Snooping.......................................................................................................... 597
clear fip-snooping database interface vlan...............................................................................................................597
clear fip-snooping statistics......................................................................................................................................... 598
debug fip snooping......................................................................................................................................................... 598
debug fip snooping rx.................................................................................................................................................... 599
feature fip-snooping.......................................................................................................................................................600
fip-snooping enable.........................................................................................................................................................601
fip-snooping fc-map........................................................................................................................................................601
fip-snooping max-sessions-per-enodemac...............................................................................................................602
fip-snooping port-mode fcf..........................................................................................................................................603
show fip-snooping config..............................................................................................................................................603
show fip-snooping enode..............................................................................................................................................604
show fip-snooping fcf....................................................................................................................................................605
show fip-snooping statistics........................................................................................................................................ 606
show fip-snooping system............................................................................................................................................608
show fip-snooping vlan..................................................................................................................................................609
Chapter 18: Force10 Resilient Ring Protocol (FRRP).................................................................. 610
clear frrp............................................................................................................................................................................ 610
debug frrp...........................................................................................................................................................................611
description.........................................................................................................................................................................612
disable.................................................................................................................................................................................613
interface.............................................................................................................................................................................614
member-vlan.....................................................................................................................................................................615
mode................................................................................................................................................................................... 616
protocol frrp......................................................................................................................................................................617
show frrp........................................................................................................................................................................... 618
timer................................................................................................................................................................................... 620
Chapter 19: GARP VLAN Registration (GVRP)........................................................................... 622
clear gvrp statistics........................................................................................................................................................ 623
debug gvrp........................................................................................................................................................................624
disable................................................................................................................................................................................625
garp timers....................................................................................................................................................................... 625
gvrp enable....................................................................................................................................................................... 627
gvrp registration..............................................................................................................................................................627
protocol gvrp....................................................................................................................................................................628
14
Contents
show config...................................................................................................................................................................... 629
show garp timers............................................................................................................................................................ 630
show gvrp..........................................................................................................................................................................631
show gvrp statistics....................................................................................................................................................... 632
Chapter 20: ICMP Message Types............................................................................................. 634
Chapter 21: Internet Group Management Protocol (IGMP)........................................................ 636
IGMP Commands............................................................................................................................................................ 636
clear ip igmp groups................................................................................................................................................. 636
debug ip igmp............................................................................................................................................................. 637
ip igmp access-group............................................................................................................................................... 638
ip igmp immediate-leave..........................................................................................................................................639
ip igmp last-member-query-interval..................................................................................................................... 640
ip igmp query-interval............................................................................................................................................... 641
ip igmp query-max-resp-time.................................................................................................................................642
ip igmp ssm-map....................................................................................................................................................... 643
ip igmp version...........................................................................................................................................................644
show ip igmp groups................................................................................................................................................ 645
show ip igmp interface.............................................................................................................................................647
show ip igmp ssm-map............................................................................................................................................ 649
IGMP Snooping Commands......................................................................................................................................... 650
clear ip igmp snooping groups................................................................................................................................ 651
debug ip igmp snooping...........................................................................................................................................652
ip igmp snooping enable.......................................................................................................................................... 652
ip igmp snooping fast-leave....................................................................................................................................653
ip igmp snooping last-member-query-interval................................................................................................... 654
ip igmp snooping mrouter....................................................................................................................................... 655
ip igmp snooping querier......................................................................................................................................... 656
show ip igmp snooping groups...............................................................................................................................657
show ip igmp snooping mrouter............................................................................................................................ 659
Chapter 22: Interfaces.............................................................................................................. 660
Basic Interface Commands...........................................................................................................................................660
clear counters............................................................................................................................................................ 660
clear dampening........................................................................................................................................................ 662
dampening...................................................................................................................................................................663
description.................................................................................................................................................................. 664
default interface........................................................................................................................................................665
duplex (10/100 Interfaces)..................................................................................................................................... 666
disable stack-unit phy temp polling...................................................................................................................... 667
enable stack-unit phy temp polling.......................................................................................................................668
enable stack-unit transceiver.................................................................................................................................668
encapsulation dot1q..................................................................................................................................................669
errdisable recovery cause....................................................................................................................................... 669
errdisable recovery interval.................................................................................................................................... 670
fec default....................................................................................................................................................................671
fec enable.....................................................................................................................................................................671
flowcontrol..................................................................................................................................................................673
Contents
15
interface...................................................................................................................................................................... 676
interface group...........................................................................................................................................................677
interface loopback.....................................................................................................................................................679
interface managementEthernet.............................................................................................................................679
interface null...............................................................................................................................................................680
interface range........................................................................................................................................................... 681
interface range macro (define)............................................................................................................................. 684
interface range macro name.................................................................................................................................. 686
interface vlan..............................................................................................................................................................687
intf-type cr1 autoneg................................................................................................................................................688
intf-type cr2 autoneg...............................................................................................................................................688
intf-type cr4 autoneg...............................................................................................................................................689
keepalive......................................................................................................................................................................689
monitor interface...................................................................................................................................................... 690
mtu................................................................................................................................................................................692
negotiation auto........................................................................................................................................................ 694
no port-delay-restore (Interface Mode)............................................................................................................. 696
port-delay-restore (Configuration Mode)...........................................................................................................696
portmode hybrid........................................................................................................................................................ 697
rate-interval................................................................................................................................................................698
rate-interval (Configuration Mode)......................................................................................................................699
show config................................................................................................................................................................ 700
show config (from INTERFACE RANGE mode)................................................................................................. 701
show interfaces......................................................................................................................................................... 702
show interfaces configured.................................................................................................................................... 708
show interfaces dampening.....................................................................................................................................710
show interfaces stack-unit....................................................................................................................................... 711
show interfaces status............................................................................................................................................. 712
show interfaces vlan................................................................................................................................................. 714
show system stack-unit fanout configured.........................................................................................................715
show interfaces switchport.....................................................................................................................................716
show interfaces transceiver.................................................................................................................................... 718
show range..................................................................................................................................................................723
shutdown.....................................................................................................................................................................724
speed (for 10/100/1000/10000 interfaces)....................................................................................................... 725
speed (Management interface)............................................................................................................................. 726
stack-unit portmode................................................................................................................................................. 727
switchport................................................................................................................................................................... 728
wavelength..................................................................................................................................................................730
Port Channel Commands............................................................................................................................................... 731
channel-member.........................................................................................................................................................731
group............................................................................................................................................................................ 732
interface port-channel............................................................................................................................................. 733
minimum-links.............................................................................................................................................................735
port-channel failover-group....................................................................................................................................735
show interfaces port-channel................................................................................................................................ 736
show port-channel-flow.......................................................................................................................................... 739
Enhanced Validation of Interface Ranges..................................................................................................................741
ip http source-interface................................................................................................................................................. 741
16
Contents
Chapter 23: IPv4 Routing...........................................................................................................743
arp....................................................................................................................................................................................... 744
arp backoff-time..............................................................................................................................................................745
arp learn-enable...............................................................................................................................................................746
arp max-entries................................................................................................................................................................747
arp retries..........................................................................................................................................................................747
arp timeout....................................................................................................................................................................... 748
clear arp-cache................................................................................................................................................................749
clear host.......................................................................................................................................................................... 750
clear ip fib stack-unit...................................................................................................................................................... 751
clear ip route.................................................................................................................................................................... 752
clear tcp statistics.......................................................................................................................................................... 753
debug arp.......................................................................................................................................................................... 754
debug ip dhcp.................................................................................................................................................................. 755
debug ip icmp...................................................................................................................................................................756
debug ip packet............................................................................................................................................................... 758
icmp6-redirect enable....................................................................................................................................................760
ip address..........................................................................................................................................................................760
ip directed-broadcast......................................................................................................................................................761
ip domain-list.................................................................................................................................................................... 762
ip domain-lookup............................................................................................................................................................. 763
ip domain-name............................................................................................................................................................... 764
ip helper-address.............................................................................................................................................................765
ip helper-address hop-count disable.......................................................................................................................... 766
ip host................................................................................................................................................................................ 767
ip icmp source-interface................................................................................................................................................768
ipv6 icmp source-interface...........................................................................................................................................769
ip max-frag-count............................................................................................................................................................ 771
ip name-server..................................................................................................................................................................771
ip proxy-arp.......................................................................................................................................................................772
ip route...............................................................................................................................................................................773
ip source-route.................................................................................................................................................................776
ip tcp initial-time.............................................................................................................................................................. 777
ip unknown-unicast......................................................................................................................................................... 777
ipv4 unicast-host-route................................................................................................................................................. 778
show ip tcp initial-time...................................................................................................................................................778
ip unreachables................................................................................................................................................................ 779
load-balance..................................................................................................................................................................... 780
load-balance hg................................................................................................................................................................ 781
management route..........................................................................................................................................................782
show arp............................................................................................................................................................................784
show arp retries...............................................................................................................................................................786
show hosts........................................................................................................................................................................787
show ip cam stack-unit..................................................................................................................................................789
show ip fib stack-unit.....................................................................................................................................................790
show ip flow..................................................................................................................................................................... 792
show ip interface.............................................................................................................................................................794
show ip management-route..........................................................................................................................................796
show ipv6 management-route..................................................................................................................................... 797
Contents
17
show ip protocols............................................................................................................................................................798
show ip route................................................................................................................................................................... 799
show ip route list.............................................................................................................................................................803
show ip route summary................................................................................................................................................. 804
show ip traffic..................................................................................................................................................................805
show tcp statistics......................................................................................................................................................... 808
Chapter 24: IPv6 Basics............................................................................................................. 810
cam-ipv6 extended-prefix............................................................................................................................................. 810
clear ipv6 route................................................................................................................................................................. 811
maximum dynamic-routes-ipv6.....................................................................................................................................811
show cam-ipv6 extended-prefix.................................................................................................................................. 812
ipv6 unicast-host-route................................................................................................................................................. 813
ipv6 nd disable-reachable-timer...................................................................................................................................813
ipv6 nd dns-server ......................................................................................................................................................814
ipv6 route.......................................................................................................................................................................... 815
show ipv6 route................................................................................................................................................................817
Chapter 25: IPv6 Access Control Lists (IPv6 ACLs)................................................................... 820
show cam-acl-egress.....................................................................................................................................................820
show cam-acl....................................................................................................................................................................821
show ipv6 accounting access-list............................................................................................................................... 822
permit icmp.......................................................................................................................................................................823
permit.................................................................................................................................................................................824
ipv6 control-plane egress-filter...................................................................................................................................825
ipv6 access-list................................................................................................................................................................826
cam-acl-egress................................................................................................................................................................ 827
cam-acl.............................................................................................................................................................................. 828
Chapter 26: Intermediate System to Intermediate System (IS-IS).............................................830
adjacency-check.............................................................................................................................................................. 831
advertise............................................................................................................................................................................832
area-password................................................................................................................................................................. 833
clear config....................................................................................................................................................................... 834
clear isis.............................................................................................................................................................................835
clns host............................................................................................................................................................................835
debug isis.......................................................................................................................................................................... 836
debug isis adj-packets....................................................................................................................................................837
debug isis local-updates................................................................................................................................................ 838
debug isis snp-packets.................................................................................................................................................. 839
debug isis spf-triggers................................................................................................................................................... 840
debug isis update-packets.............................................................................................................................................841
default-information originate....................................................................................................................................... 842
description........................................................................................................................................................................ 843
distance............................................................................................................................................................................. 843
distribute-list in................................................................................................................................................................844
distribute-list out.............................................................................................................................................................845
distribute-list redistributed-override.......................................................................................................................... 846
domain-password............................................................................................................................................................ 847
18
Contents
graceful-restart ietf........................................................................................................................................................848
graceful-restart interval................................................................................................................................................ 849
graceful-restart restart-wait........................................................................................................................................850
graceful-restart t1...........................................................................................................................................................850
graceful-restart t2...........................................................................................................................................................851
graceful-restart t3..........................................................................................................................................................852
hello padding.................................................................................................................................................................... 853
hostname dynamic..........................................................................................................................................................854
ignore-lsp-errors............................................................................................................................................................. 854
ip router isis......................................................................................................................................................................855
ipv6 router isis................................................................................................................................................................. 856
isis circuit-type................................................................................................................................................................ 857
isis csnp-interval............................................................................................................................................................. 858
isis hello-interval..............................................................................................................................................................859
isis hello-multiplier.......................................................................................................................................................... 860
isis hello padding.............................................................................................................................................................. 861
isis ipv6 metric..................................................................................................................................................................861
isis metric..........................................................................................................................................................................862
isis network point-to-point........................................................................................................................................... 863
isis password.................................................................................................................................................................... 864
isis priority.........................................................................................................................................................................865
is-type................................................................................................................................................................................866
log-adjacency-changes..................................................................................................................................................866
lsp-gen-interval................................................................................................................................................................867
lsp-mtu.............................................................................................................................................................................. 868
lsp-refresh-interval.........................................................................................................................................................869
max-area-addresses....................................................................................................................................................... 870
max-lsp-lifetime................................................................................................................................................................871
maximum-paths............................................................................................................................................................... 872
metric-style.......................................................................................................................................................................872
multi-topology.................................................................................................................................................................. 873
net.......................................................................................................................................................................................874
passive-interface.............................................................................................................................................................875
redistribute....................................................................................................................................................................... 876
redistribute bgp................................................................................................................................................................877
redistribute ospf.............................................................................................................................................................. 879
router isis.......................................................................................................................................................................... 880
set-overload-bit............................................................................................................................................................... 881
show config...................................................................................................................................................................... 882
show isis database..........................................................................................................................................................883
show isis graceful-restart detail..................................................................................................................................885
show isis hostname........................................................................................................................................................ 886
show isis interface.......................................................................................................................................................... 887
show isis neighbors.........................................................................................................................................................889
show isis protocol........................................................................................................................................................... 890
show isis traffic................................................................................................................................................................891
spf-interval....................................................................................................................................................................... 893
Chapter 27: iSCSI Optimization................................................................................................. 895
advertise dcbx-app-tlv.................................................................................................................................................. 895
Contents
19
iscsi aging time................................................................................................................................................................ 896
iscsi cos............................................................................................................................................................................. 896
iscsi enable........................................................................................................................................................................897
iscsi priority-bits..............................................................................................................................................................898
iscsi profile-compellant..................................................................................................................................................898
iscsi target port............................................................................................................................................................... 899
show iscsi..........................................................................................................................................................................899
show iscsi session...........................................................................................................................................................900
show iscsi session detailed............................................................................................................................................901
show run iscsi.................................................................................................................................................................. 902
Chapter 28: Link Aggregation Control Protocol (LACP)............................................................. 903
clear lacp counters......................................................................................................................................................... 903
debug lacp........................................................................................................................................................................ 904
lacp long-timeout............................................................................................................................................................905
lacp port-priority............................................................................................................................................................. 906
lacp system-priority........................................................................................................................................................907
port-channel-protocol lacp...........................................................................................................................................907
show lacp..........................................................................................................................................................................908
Chapter 29: Layer 2................................................................................................................... 910
MAC Addressing Commands........................................................................................................................................ 910
mac-address-table aging-time................................................................................................................................910
mac-address-table static..........................................................................................................................................911
mac-address-table station-move refresh-arp.....................................................................................................912
mac learning-limit.......................................................................................................................................................913
mac learning-limit learn-limit-violation..................................................................................................................915
mac learning-limit mac-address-sticky.................................................................................................................915
mac learning-limit station-move-violation........................................................................................................... 916
mac learning-limit reset............................................................................................................................................ 917
mac port-security...................................................................................................................................................... 918
show mac-address-table..........................................................................................................................................919
show mac-address-table aging-time.....................................................................................................................921
show mac learning-limit...........................................................................................................................................922
Virtual LAN (VLAN) Commands..................................................................................................................................923
default vlan-id............................................................................................................................................................ 923
description.................................................................................................................................................................. 924
default-vlan disable...................................................................................................................................................925
name.............................................................................................................................................................................926
show config................................................................................................................................................................ 927
show vlan.................................................................................................................................................................... 927
tagged...........................................................................................................................................................................931
track ip.........................................................................................................................................................................932
untagged..................................................................................................................................................................... 933
Far-End Failure Detection (FEFD)..............................................................................................................................934
debug fefd...................................................................................................................................................................934
fefd............................................................................................................................................................................... 935
fefd disable................................................................................................................................................................. 936
fefd interval................................................................................................................................................................ 937
20
Contents
/