OS9

Dell OS9 Reference guide

  • Hello! I am an AI chatbot trained to assist you with the Dell OS9 Reference 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 Command Line Reference Guide for the
S6000–ON System
9.14.2.6
March 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.........................................................................................................40
Objectives........................................................................................................................................................................... 40
Audience.............................................................................................................................................................................. 40
Conventions........................................................................................................................................................................40
Information Icons............................................................................................................................................................... 41
Chapter 2: CLI Basics.................................................................................................................. 42
Accessing the Command Line........................................................................................................................................ 42
Multiple Configuration Users.......................................................................................................................................... 42
Obtaining Help....................................................................................................................................................................43
Navigating the CLI............................................................................................................................................................ 44
Using the no Command................................................................................................................................................... 45
Filtering show Commands............................................................................................................................................... 45
Enabling Software Features on Devices Using a Command Option..................................................................... 46
feature vrf..................................................................................................................................................................... 46
show feature.................................................................................................................................................................47
Command Modes...............................................................................................................................................................47
Chapter 3: File Management........................................................................................................55
boot system........................................................................................................................................................................55
cd.......................................................................................................................................................................................... 56
HTTP Copy via CLI............................................................................................................................................................57
copy...................................................................................................................................................................................... 58
delete................................................................................................................................................................................... 60
dir........................................................................................................................................................................................... 61
format.................................................................................................................................................................................. 62
fsck flash............................................................................................................................................................................. 63
mkdir.....................................................................................................................................................................................64
mount nfs............................................................................................................................................................................ 64
rmdir..................................................................................................................................................................................... 65
upgrade system................................................................................................................................................................. 66
rename................................................................................................................................................................................. 68
show boot system.............................................................................................................................................................69
show bootvar..................................................................................................................................................................... 69
show file-systems..............................................................................................................................................................70
show os-version..................................................................................................................................................................71
show running-config......................................................................................................................................................... 72
show startup-config......................................................................................................................................................... 76
show version....................................................................................................................................................................... 77
upgrade boot...................................................................................................................................................................... 78
verify................................................................................................................................................................................... 79
Chapter 4: Control and Monitoring...............................................................................................81
banner exec........................................................................................................................................................................ 82
Contents
Contents 3
banner login........................................................................................................................................................................ 83
banner motd....................................................................................................................................................................... 85
cam-acl................................................................................................................................................................................ 86
clear average-power.........................................................................................................................................................87
clear line...............................................................................................................................................................................87
configure............................................................................................................................................................................. 88
disable.................................................................................................................................................................................. 89
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.............................................................................................................................................................................98
ip ftp password.................................................................................................................................................................. 99
ip ftp source-interface................................................................................................................................................... 100
ip tftp vrf............................................................................................................................................................................ 101
ip ftp username................................................................................................................................................................ 102
ip ftp vrf.............................................................................................................................................................................103
ip telnet server enable.................................................................................................................................................... 103
ip telnet server vrf...........................................................................................................................................................104
ip telnet source-interface.............................................................................................................................................. 105
ip tftp vrf........................................................................................................................................................................... 106
line....................................................................................................................................................................................... 107
logging disable-syslog snmp auth-failure...................................................................................................................108
login concurrent-session................................................................................................................................................108
login statistics................................................................................................................................................................... 110
motd-banner.......................................................................................................................................................................111
ping...................................................................................................................................................................................... 112
reload................................................................................................................................................................................... 114
reload-type.........................................................................................................................................................................116
boot-type......................................................................................................................................................................116
secure-erase................................................................................................................................................................ 117
send......................................................................................................................................................................................117
service timestamps.......................................................................................................................................................... 118
show alarms....................................................................................................................................................................... 119
show cpu-traffic-stats................................................................................................................................................... 120
show debugging............................................................................................................................................................... 122
show environment........................................................................................................................................................... 122
show inventory................................................................................................................................................................. 124
show login statistics........................................................................................................................................................125
show memory....................................................................................................................................................................127
show processes cpu........................................................................................................................................................128
show processes ipc flow-control..................................................................................................................................131
show processes memory................................................................................................................................................133
show reset-reason...........................................................................................................................................................135
show software ifm...........................................................................................................................................................136
4
Contents
show system..................................................................................................................................................................... 138
show tech-support..........................................................................................................................................................139
ssh-peer-stack-unit.........................................................................................................................................................143
telnet...................................................................................................................................................................................143
telnet-peer-stack-unit.................................................................................................................................................... 145
terminal length..................................................................................................................................................................146
traceroute..........................................................................................................................................................................146
undebug all........................................................................................................................................................................ 148
virtual-ip.............................................................................................................................................................................149
write....................................................................................................................................................................................150
Chapter 5: 802.1X...................................................................................................................... 152
debug dot1x.......................................................................................................................................................................153
dot1x auth-fail-vlan......................................................................................................................................................... 153
dot1x auth-server............................................................................................................................................................ 154
dot1x auth-type mab-only............................................................................................................................................. 155
dot1x authentication (Configuration)......................................................................................................................... 156
dot1x authentication (Interface).................................................................................................................................. 157
dot1x critical-vlan.............................................................................................................................................................157
dot1x guest-vlan...............................................................................................................................................................158
dot1x host-mode.............................................................................................................................................................. 159
mac......................................................................................................................................................................................160
dot1x mac-auth-bypass...................................................................................................................................................161
dot1x max-eap-req.......................................................................................................................................................... 162
dot1x max-supplicants.................................................................................................................................................... 162
dot1x port-control............................................................................................................................................................163
dot1x profile.......................................................................................................................................................................164
dot1x quiet-period............................................................................................................................................................165
dot1x reauthentication....................................................................................................................................................165
dot1x reauth-max.............................................................................................................................................................166
dot1x server-timeout.......................................................................................................................................................167
dot1x static-mab.............................................................................................................................................................. 168
dot1x supplicant-timeout............................................................................................................................................... 169
dot1x tx-period................................................................................................................................................................. 170
show dot1x cos-mapping interface..............................................................................................................................170
show dot1x interface.......................................................................................................................................................172
show dot1x profile............................................................................................................................................................174
Chapter 6: Access Control Lists (ACL)....................................................................................... 175
Commands Common to all ACL Types....................................................................................................................... 176
remark...........................................................................................................................................................................176
show config................................................................................................................................................................. 178
Common IP ACL Commands......................................................................................................................................... 178
access-class................................................................................................................................................................ 179
aclrange profile-name............................................................................................................................................... 180
clear counters ip access-group.............................................................................................................................. 180
feature aclrange..........................................................................................................................................................181
ip access-group.......................................................................................................................................................... 182
ip mirror-access-group............................................................................................................................................. 183
Contents
5
ip control-plane egress-filter...................................................................................................................................184
show aclrange.............................................................................................................................................................184
show ip accounting access-list...............................................................................................................................185
Standard IP ACL Commands........................................................................................................................................ 186
deny............................................................................................................................................................................... 187
ip access-list standard..............................................................................................................................................188
permit............................................................................................................................................................................189
resequence access-list.............................................................................................................................................. 191
seq................................................................................................................................................................................. 192
Extended IP ACL Commands........................................................................................................................................193
deny...............................................................................................................................................................................194
deny icmp.....................................................................................................................................................................196
deny tcp....................................................................................................................................................................... 198
deny udp.......................................................................................................................................................................201
ip access-list extended............................................................................................................................................ 203
permit...........................................................................................................................................................................204
permit icmp.................................................................................................................................................................206
permit tcp................................................................................................................................................................... 208
permit udp.................................................................................................................................................................... 211
resequence access-list............................................................................................................................................. 213
seq................................................................................................................................................................................. 214
Common MAC Access List Commands...................................................................................................................... 218
clear counters mac access-group..........................................................................................................................218
mac access-group..................................................................................................................................................... 219
show mac access-lists............................................................................................................................................. 220
show mac accounting access-list.......................................................................................................................... 221
Standard MAC ACL Commands.................................................................................................................................. 222
deny.............................................................................................................................................................................. 222
mac access-list standard.........................................................................................................................................224
permit...........................................................................................................................................................................225
seq................................................................................................................................................................................ 226
Extended MAC ACL Commands..................................................................................................................................227
deny.............................................................................................................................................................................. 227
mac access-list extended........................................................................................................................................229
permit............................................................................................................................................................................231
IP Prefix List Commands...............................................................................................................................................232
clear ip prefix-list.......................................................................................................................................................232
deny.............................................................................................................................................................................. 233
ip prefix-list.................................................................................................................................................................234
seq................................................................................................................................................................................ 235
show config................................................................................................................................................................ 236
show ip prefix-list detail...........................................................................................................................................237
show ip prefix-list summary....................................................................................................................................238
Route Map Commands.................................................................................................................................................. 239
continue.......................................................................................................................................................................239
description.................................................................................................................................................................. 240
match as-path............................................................................................................................................................240
match community...................................................................................................................................................... 241
match interface......................................................................................................................................................... 242
match ip address....................................................................................................................................................... 243
6
Contents
match ip next-hop.....................................................................................................................................................244
match ip route-source............................................................................................................................................. 245
match metric.............................................................................................................................................................. 246
match origin................................................................................................................................................................ 247
match route-type...................................................................................................................................................... 248
match tag....................................................................................................................................................................249
route-map................................................................................................................................................................... 250
set as-path.................................................................................................................................................................. 251
set automatic-tag..................................................................................................................................................... 252
set comm-list delete.................................................................................................................................................252
set community........................................................................................................................................................... 253
set level....................................................................................................................................................................... 254
set local-preference................................................................................................................................................. 255
set metric....................................................................................................................................................................256
set metric-type.......................................................................................................................................................... 257
set next-hop...............................................................................................................................................................258
set origin......................................................................................................................................................................259
set tag..........................................................................................................................................................................260
set weight....................................................................................................................................................................261
show config................................................................................................................................................................. 261
show route-map........................................................................................................................................................ 262
deny (for Standard IP ACLs)....................................................................................................................................... 263
deny (for Extended IP ACLs).......................................................................................................................................264
seq (for Standard IPv4 ACLs)..................................................................................................................................... 266
deny tcp (for Extended IP ACLs)................................................................................................................................267
deny ether-type (for Extended MAC ACLs)............................................................................................................ 269
deny (for Standard MAC ACLs).................................................................................................................................. 270
deny (for Extended MAC ACLs).................................................................................................................................. 271
permit (for Standard IP ACLs).....................................................................................................................................272
permit arp (for Extended MAC ACLs)....................................................................................................................... 273
permit ether-type (for Extended MAC ACLs)......................................................................................................... 275
permit icmp (for Extended IP ACLs)..........................................................................................................................276
permit udp (for Extended IP ACLs)............................................................................................................................ 277
permit (for Extended IP ACLs)....................................................................................................................................279
permit (for Standard MAC ACLs)...............................................................................................................................280
seq (for Standard MAC ACLs).................................................................................................................................... 282
permit tcp (for Extended IP ACLs)............................................................................................................................ 283
seq arp (for Extended MAC ACLs)............................................................................................................................ 284
seq ether-type (for Extended MAC ACLs).............................................................................................................. 285
seq (for IP ACLs)............................................................................................................................................................ 287
seq (for IPv6 ACLs)....................................................................................................................................................... 288
permit udp (for IPv6 ACLs)...........................................................................................................................................291
permit tcp (for IPv6 ACLs)...........................................................................................................................................293
permit icmp (for IPv6 ACLs)........................................................................................................................................295
permit (for IPv6 ACLs).................................................................................................................................................. 297
deny udp (for IPv6 ACLs).............................................................................................................................................298
deny arp (for Extended MAC ACLs)..........................................................................................................................300
deny tcp (for IPv6 ACLs).............................................................................................................................................. 301
deny icmp (for Extended IPv6 ACLs)........................................................................................................................ 303
deny (for IPv6 ACLs).....................................................................................................................................................306
Contents
7
Chapter 7: Bidirectional Forwarding Detection (BFD)................................................................ 308
bfd all-neighbors............................................................................................................................................................. 308
bfd disable......................................................................................................................................................................... 310
bfd enable (Configuration)............................................................................................................................................ 310
bfd enable (Interface)..................................................................................................................................................... 311
bfd interval ....................................................................................................................................................................... 312
bfd protocol-liveness...................................................................................................................................................... 313
ip route bfd........................................................................................................................................................................313
ip ospf bfd all-neighbors................................................................................................................................................ 314
ipv6 ospf bfd all-neighbors............................................................................................................................................315
ipv6 route bfd................................................................................................................................................................... 316
isis bfd all-neighbors........................................................................................................................................................317
neighbor bfd......................................................................................................................................................................318
neighbor bfd disable........................................................................................................................................................319
show bfd neighbors........................................................................................................................................................ 320
vrrp bfd neighbor............................................................................................................................................................ 323
Chapter 8: Boot Command Line Interface.................................................................................. 325
boot change..................................................................................................................................................................... 325
boot message...................................................................................................................................................................326
boot show net config retries........................................................................................................................................ 327
boot write net config retries........................................................................................................................................ 327
boot zero...........................................................................................................................................................................328
default-gateway.............................................................................................................................................................. 328
etheraddr <macaddr>.................................................................................................................................................... 329
ignore enable-password................................................................................................................................................ 329
ignore startup-config..................................................................................................................................................... 330
interface management ethernet ip address............................................................................................................. 330
NVRAM erase................................................................................................................................................................... 331
reload.................................................................................................................................................................................. 331
serial console.....................................................................................................................................................................331
show bootvar................................................................................................................................................................... 332
show default-gateway................................................................................................................................................... 333
show interface management ethernet.......................................................................................................................333
show serial console baud rate......................................................................................................................................334
watchdog <string>......................................................................................................................................................... 334
Chapter 9: Border Gateway Protocol......................................................................................... 336
BGP IPv4 Commands.....................................................................................................................................................336
address-family............................................................................................................................................................336
aggregate-address.................................................................................................................................................... 337
bgp add-path..............................................................................................................................................................338
bgp always-compare-med.......................................................................................................................................339
bgp asnotation........................................................................................................................................................... 340
bgp bestpath as-path ignore...................................................................................................................................341
bgp bestpath as-path multipath-relax................................................................................................................. 342
bgp bestpath med confed.......................................................................................................................................342
bgp bestpath med missing-as-best...................................................................................................................... 343
8
Contents
bgp bestpath router-id ignore................................................................................................................................344
bgp client-to-client reflection................................................................................................................................ 344
bgp cluster-id............................................................................................................................................................. 345
bgp confederation identifier................................................................................................................................... 346
bgp confederation peers..........................................................................................................................................347
bgp dampening.......................................................................................................................................................... 348
bgp default local-preference..................................................................................................................................349
bgp dmzlink-bw......................................................................................................................................................... 350
bgp enforce-first-as................................................................................................................................................. 350
bgp fast-external-fallover........................................................................................................................................351
bgp four-octet-as-support..................................................................................................................................... 352
bgp graceful-restart................................................................................................................................................. 353
bgp non-deterministic-med.................................................................................................................................... 354
bgp outbound-optimization.................................................................................................................................... 354
bgp recursive-bgp-next-hop.................................................................................................................................. 355
bgp regex-eval-optz-disable.................................................................................................................................. 356
bgp router-id.............................................................................................................................................................. 357
clear ip bgp................................................................................................................................................................. 358
clear ip bgp dampening............................................................................................................................................359
clear ip bgp flap-statistics...................................................................................................................................... 360
clear ip bgp peer-group........................................................................................................................................... 362
debug ip bgp...............................................................................................................................................................363
debug ip bgp dampening......................................................................................................................................... 364
debug ip bgp events.................................................................................................................................................365
debug ip bgp keepalives.......................................................................................................................................... 366
debug ip bgp notifications.......................................................................................................................................367
debug ip bgp soft-reconfiguration........................................................................................................................ 368
debug ip bgp updates...............................................................................................................................................369
default-metric............................................................................................................................................................ 370
deny bandwidth.......................................................................................................................................................... 371
description................................................................................................................................................................... 371
maximum-paths......................................................................................................................................................... 372
neighbor activate.......................................................................................................................................................373
neighbor add-path.....................................................................................................................................................374
neighbor advertisement-interval........................................................................................................................... 375
neighbor advertisement-start................................................................................................................................ 376
neighbor allowas-in................................................................................................................................................... 377
neighbor default-originate.......................................................................................................................................378
neighbor description................................................................................................................................................. 379
neighbor distribute-list.............................................................................................................................................379
neighbor ebgp-multihop.......................................................................................................................................... 380
neighbor fall-over.......................................................................................................................................................381
neighbor local-as....................................................................................................................................................... 382
neighbor maximum-prefix........................................................................................................................................383
neighbor next-hop-self............................................................................................................................................ 384
neighbor password....................................................................................................................................................385
neighbor peer-group (assigning peers)............................................................................................................... 386
neighbor peer-group (creating group)................................................................................................................. 387
neighbor peer-group passive..................................................................................................................................388
neighbor remote-as.................................................................................................................................................. 389
Contents
9
neighbor remove-private-as...................................................................................................................................390
neighbor route-map...................................................................................................................................................391
neighbor route-reflector-client..............................................................................................................................392
neighbor send-community...................................................................................................................................... 393
neighbor shutdown................................................................................................................................................... 394
neighbor soft-reconfiguration inbound................................................................................................................395
neighbor timers..........................................................................................................................................................396
neighbor timers extended....................................................................................................................................... 397
neighbor update-source...........................................................................................................................................397
neighbor weight.........................................................................................................................................................398
network....................................................................................................................................................................... 399
network backdoor..................................................................................................................................................... 400
permit bandwidth.......................................................................................................................................................401
redistribute................................................................................................................................................................. 402
redistribute ospf........................................................................................................................................................ 403
router bgp................................................................................................................................................................... 404
shutdown all............................................................................................................................................................... 405
shutdown address-family-ipv4–multicast...........................................................................................................405
shutdown address-family-ipv4–unicast.............................................................................................................. 406
shutdown address-family-ipv6–unicast.............................................................................................................. 406
set extcommunity bandwidth.................................................................................................................................406
show capture bgp-pdu neighbor........................................................................................................................... 407
show config................................................................................................................................................................ 408
show ip bgp................................................................................................................................................................ 409
show ip bgp cluster-list............................................................................................................................................ 413
show ip bgp community............................................................................................................................................414
show ip bgp community-list.................................................................................................................................... 416
show ip bgp dampened-paths.................................................................................................................................418
show ip bgp detail......................................................................................................................................................419
show ip bgp extcommunity-list...............................................................................................................................421
show ip bgp filter-list............................................................................................................................................... 422
show ip bgp flap-statistics......................................................................................................................................423
show ip bgp inconsistent-as...................................................................................................................................425
show ip bgp neighbors............................................................................................................................................. 427
show ip bgp next-hop.............................................................................................................................................. 430
show ip bgp paths......................................................................................................................................................431
show ip bgp paths community............................................................................................................................... 433
show ip bgp peer-group.......................................................................................................................................... 434
show ip bgp regexp.................................................................................................................................................. 435
show ip bgp summary...............................................................................................................................................437
show running-config bgp........................................................................................................................................ 439
timers bgp...................................................................................................................................................................440
timers bgp extended................................................................................................................................................. 441
MBGP Commands........................................................................................................................................................... 441
debug ip bgp dampening......................................................................................................................................... 442
distance bgp............................................................................................................................................................... 442
neighbor auto-local-address...................................................................................................................................443
show ip bgp dampened-paths................................................................................................................................444
Chapter 10: Content Addressable Memory (CAM)......................................................................446
10
Contents
CAM Profile Commands................................................................................................................................................ 446
cam-acl (Configuration).......................................................................................................................................... 446
cam-acl-egress.......................................................................................................................................................... 449
cam-optimization.......................................................................................................................................................449
cam-threshold............................................................................................................................................................450
show cam-acl..............................................................................................................................................................451
show cam-usage....................................................................................................................................................... 452
test cam-usage..........................................................................................................................................................454
Unified Forwarding Table Modes................................................................................................................................ 455
hardware forwarding-table mode......................................................................................................................... 455
show hardware forwarding-table mode.............................................................................................................. 456
Chapter 11: Control Plane Policing (CoPP).................................................................................457
control-plane-cpuqos..................................................................................................................................................... 457
cpu-protocol-group........................................................................................................................................................ 458
copp-profile...................................................................................................................................................................... 458
cpu-queue.........................................................................................................................................................................459
copp-policy....................................................................................................................................................................... 459
protocol-list...................................................................................................................................................................... 460
queue-length....................................................................................................................................................................460
service-policy rate-limit-cpu-queues.......................................................................................................................... 461
service-policy rate-limit-protocols..............................................................................................................................462
show cpu-queue rate cp............................................................................................................................................... 463
show ip protocol-queue-mapping............................................................................................................................... 463
show ipv6 protocol-queue-mapping...........................................................................................................................464
show mac protocol-queue-mapping...........................................................................................................................465
show running-config copp-profile...............................................................................................................................466
show running-config cpu-protocol-group.................................................................................................................466
Chapter 12: Data Center Bridging (DCB)....................................................................................468
DCB Command................................................................................................................................................................ 468
dcb-enable.................................................................................................................................................................. 468
PFC Commands...............................................................................................................................................................469
clear hardware pfc-nodrop-priority...................................................................................................................... 469
clear pfc counters..................................................................................................................................................... 470
pfc-asymmetric..........................................................................................................................................................470
pfc-nodrop-priority l2-dlf drop............................................................................................................................... 471
pfc no-drop queues................................................................................................................................................... 471
pfc priority...................................................................................................................................................................472
show dcb..................................................................................................................................................................... 473
show hardware pfc-nodrop-priority......................................................................................................................473
show interface pfc.................................................................................................................................................... 474
show interface pfc statistics.................................................................................................................................. 477
ETS Commands............................................................................................................................................................... 478
dcb-enable.................................................................................................................................................................. 478
clear ets counters..................................................................................................................................................... 479
show interface ets.................................................................................................................................................... 479
DCBX Commands............................................................................................................................................................484
advertise dcbx-tlv..................................................................................................................................................... 484
Contents
11
dcbx port-role............................................................................................................................................................ 485
dcbx version............................................................................................................................................................... 485
debug dcbx................................................................................................................................................................. 486
fcoe priority-bits........................................................................................................................................................487
iscsi priority-bits........................................................................................................................................................ 487
show interface dcbx detail......................................................................................................................................488
dcb-map.............................................................................................................................................................................491
priority-pgid.......................................................................................................................................................................491
priority-group bandwidth pfc....................................................................................................................................... 492
dcb-map stack-unit all stack-ports all....................................................................................................................... 493
dcb pfc-shared-buffer-size.......................................................................................................................................... 494
dcb-buffer-threshold .................................................................................................................................................... 494
priority............................................................................................................................................................................... 495
qos-policy-buffer............................................................................................................................................................ 496
dcb-policy buffer-threshold (Interface Configuration)......................................................................................... 498
dcb-policy buffer-threshold (Global Configuration)...............................................................................................498
show qos dcb-buffer-threshold.................................................................................................................................. 499
dcb pfc-total-buffer-size..............................................................................................................................................500
show running-config dcb-buffer-threshold.............................................................................................................. 501
service-class buffer shared-threshold-weight........................................................................................................ 502
dcb pfc-queues............................................................................................................................................................... 503
dcb {ets | pfc} enable....................................................................................................................................................504
Chapter 13: Debugging and Diagnostics.....................................................................................505
Diagnostics and Monitoring Commands....................................................................................................................505
logging coredump stack-unit................................................................................................................................. 505
Offline Diagnostic Commands..................................................................................................................................... 506
diag stack-unit...........................................................................................................................................................506
offline stack-unit....................................................................................................................................................... 507
online stack-unit........................................................................................................................................................508
Hardware Commands.................................................................................................................................................... 509
clear hardware stack-unit....................................................................................................................................... 509
clear hardware system-flow....................................................................................................................................510
clear hardware vlan-counters.................................................................................................................................510
hardware watchdog................................................................................................................................................... 511
show hardware mac...................................................................................................................................................511
show hardware ip.......................................................................................................................................................512
show hardware stack-unit....................................................................................................................................... 513
show hardware stack-unit buffer.......................................................................................................................... 521
show hardware buffer service-pool......................................................................................................................523
show hardware buffer-stats-snapshot................................................................................................................523
show hardware counters interface ......................................................................................................................526
show hardware drops...............................................................................................................................................527
show hardware system-flow.................................................................................................................................. 529
show hardware vlan-counters................................................................................................................................ 531
show hardware stack-unit buffer-stats-snapshot ........................................................................................... 531
show hardware stack-unit buffer-stats-snapshot (Total Buffer Information).......................................... 533
Chapter 14: Dynamic Host Configuration Protocol (DHCP)........................................................ 535
12
Contents
Commands to Configure the System to be a DHCP Server................................................................................ 535
clear ip dhcp...............................................................................................................................................................535
debug ip dhcp server................................................................................................................................................536
debug ipv6 dhcp .......................................................................................................................................................537
default-router.............................................................................................................................................................537
disable.......................................................................................................................................................................... 538
dns-server...................................................................................................................................................................538
domain-name..............................................................................................................................................................539
excluded-address...................................................................................................................................................... 540
hardware-address......................................................................................................................................................541
host-address............................................................................................................................................................... 541
ip dhcp server............................................................................................................................................................ 542
lease............................................................................................................................................................................. 542
netbios-name-server................................................................................................................................................ 543
netbios-node-type.................................................................................................................................................... 544
network....................................................................................................................................................................... 545
pool............................................................................................................................................................................... 545
show ip dhcp binding................................................................................................................................................546
show ip dhcp configuration.....................................................................................................................................547
show ip dhcp conflict............................................................................................................................................... 548
show ip dhcp server................................................................................................................................................. 548
Commands to Configure Secure DHCP.................................................................................................................... 549
arp inspection.............................................................................................................................................................549
arp inspection-limit................................................................................................................................................... 550
arp inspection-trust..................................................................................................................................................550
clear ip dhcp snooping..............................................................................................................................................551
clear ipv6 dhcp snooping binding..........................................................................................................................552
ip dhcp relay............................................................................................................................................................... 553
ip dhcp snooping....................................................................................................................................................... 554
ipv6 dhcp snooping...................................................................................................................................................554
ipv6 dhcp snooping vlan..........................................................................................................................................555
ip dhcp snooping binding.........................................................................................................................................555
IPv6 DHCP Snooping Binding................................................................................................................................ 556
ip dhcp snooping database..................................................................................................................................... 557
ipv6 dhcp snooping database write-delay.......................................................................................................... 558
ip dhcp snooping database renew........................................................................................................................ 559
ipv6 dhcp snooping database renew....................................................................................................................559
ip dhcp snooping trust.............................................................................................................................................560
ipv6 dhcp snooping trust........................................................................................................................................ 560
ip dhcp source-address-validation.........................................................................................................................561
ip dhcp relay information-option........................................................................................................................... 562
ip dhcp relay source-interface............................................................................................................................... 563
ipv6 dhcp relay source-interface.......................................................................................................................... 564
ip dhcp snooping verify mac-address.................................................................................................................. 565
ipv6 dhcp snooping verify mac-address..............................................................................................................565
ip helper-address.......................................................................................................................................................566
ipv6 helper-address..................................................................................................................................................566
show ip dhcp snooping............................................................................................................................................ 567
show ipv6 dhcp snooping....................................................................................................................................... 569
Commands to Configure DNS .................................................................................................................................... 570
Contents
13
ip name-server...........................................................................................................................................................570
ip domain-name.......................................................................................................................................................... 571
ip domain-list.............................................................................................................................................................. 572
ip host.......................................................................................................................................................................... 573
clear host.....................................................................................................................................................................573
Chapter 15: Equal Cost Multi-Path (ECMP)............................................................................... 575
ecmp-group...................................................................................................................................................................... 575
hash-algorithm.................................................................................................................................................................576
ip ecmp-group..................................................................................................................................................................578
ip ecmp weighted............................................................................................................................................................579
link-bundle-distribution trigger-threshold.................................................................................................................580
link-bundle-monitor enable........................................................................................................................................... 580
Chapter 16: Flex Hash and Optimized Boot-Up...........................................................................582
load-balance ingress-port enable................................................................................................................................582
load-balance flexhash.................................................................................................................................................... 583
reload-type fastboot...................................................................................................................................................... 584
lacp fast-switchover...................................................................................................................................................... 584
encapsulation dot1q........................................................................................................................................................585
Chapter 17: FIP Snooping.......................................................................................................... 586
clear fip-snooping database interface vlan.............................................................................................................. 586
clear fip-snooping statistics......................................................................................................................................... 587
debug fip snooping......................................................................................................................................................... 587
debug fip snooping rx.................................................................................................................................................... 588
feature fip-snooping.......................................................................................................................................................589
fip-snooping enable........................................................................................................................................................ 590
fip-snooping fc-map.......................................................................................................................................................590
fip-snooping max-sessions-per-enodemac............................................................................................................... 591
fip-snooping port-mode fcf...........................................................................................................................................591
fip-snooping port-mode fcoe-trusted........................................................................................................................592
show fip-snooping config..............................................................................................................................................592
show fip-snooping enode..............................................................................................................................................593
show fip-snooping fcf....................................................................................................................................................594
show fip-snooping statistics........................................................................................................................................ 595
show fip-snooping system............................................................................................................................................ 597
show fip-snooping vlan..................................................................................................................................................598
show fips status..............................................................................................................................................................599
Chapter 18: Force10 Resilient Ring Protocol (FRRP)................................................................. 600
clear frrp........................................................................................................................................................................... 600
debug frrp..........................................................................................................................................................................601
description........................................................................................................................................................................ 602
disable................................................................................................................................................................................603
interface............................................................................................................................................................................ 604
member-vlan.................................................................................................................................................................... 605
mode.................................................................................................................................................................................. 605
protocol frrp.....................................................................................................................................................................606
14
Contents
show frrp...........................................................................................................................................................................607
timer...................................................................................................................................................................................609
Chapter 19: GARP VLAN Registration (GVRP)............................................................................ 611
clear gvrp statistics.........................................................................................................................................................612
debug gvrp........................................................................................................................................................................ 613
disable.................................................................................................................................................................................613
garp timers........................................................................................................................................................................ 614
gvrp enable........................................................................................................................................................................615
gvrp registration.............................................................................................................................................................. 616
protocol gvrp.................................................................................................................................................................... 617
show config.......................................................................................................................................................................618
show garp timers............................................................................................................................................................. 618
show gvrp..........................................................................................................................................................................619
show gvrp statistics....................................................................................................................................................... 620
Chapter 20: ICMP Message Types............................................................................................. 623
Chapter 21: Internet Group Management Protocol (IGMP)........................................................ 625
IGMP Commands............................................................................................................................................................ 625
clear ip igmp groups................................................................................................................................................. 625
debug ip igmp.............................................................................................................................................................626
ip igmp access-group............................................................................................................................................... 627
ip igmp immediate-leave..........................................................................................................................................628
ip igmp last-member-query-interval..................................................................................................................... 629
ip igmp query-interval.............................................................................................................................................. 630
ip igmp query-max-resp-time..................................................................................................................................631
ip igmp ssm-map....................................................................................................................................................... 632
ip igmp version...........................................................................................................................................................633
show ip igmp groups.................................................................................................................................................633
show ip igmp interface............................................................................................................................................ 635
show ip igmp ssm-map............................................................................................................................................ 637
IGMP Snooping Commands..........................................................................................................................................638
clear ip igmp snooping groups............................................................................................................................... 639
debug ip igmp snooping...........................................................................................................................................640
ip igmp snooping enable.......................................................................................................................................... 640
ip igmp snooping fast-leave.................................................................................................................................... 641
ip igmp snooping last-member-query-interval................................................................................................... 642
ip igmp snooping mrouter........................................................................................................................................643
ip igmp snooping querier......................................................................................................................................... 644
show ip igmp snooping groups...............................................................................................................................645
show ip igmp snooping mrouter............................................................................................................................ 646
Chapter 22: Interfaces.............................................................................................................. 648
Basic Interface Commands...........................................................................................................................................648
clear counters............................................................................................................................................................ 648
clear dampening........................................................................................................................................................ 650
dampening................................................................................................................................................................... 651
default interface........................................................................................................................................................652
Contents
15
description.................................................................................................................................................................. 653
duplex (10/100 Interfaces)..................................................................................................................................... 654
encapsulation dot1q..................................................................................................................................................655
errdisable recovery cause....................................................................................................................................... 655
errdisable recovery interval.................................................................................................................................... 656
flowcontrol..................................................................................................................................................................656
interface...................................................................................................................................................................... 659
interface group.......................................................................................................................................................... 660
interface loopback.................................................................................................................................................... 662
interface managementEthernet............................................................................................................................ 662
interface null...............................................................................................................................................................663
interface range.......................................................................................................................................................... 664
interface range macro (define)..............................................................................................................................667
interface range macro name.................................................................................................................................. 668
interface vlan............................................................................................................................................................. 669
intf-type cr4 autoneg...............................................................................................................................................670
keepalive.......................................................................................................................................................................671
monitor interface.......................................................................................................................................................672
mtu................................................................................................................................................................................674
negotiation auto.........................................................................................................................................................676
no port-delay-restore (Interface Mode)..............................................................................................................678
port-delay-restore (Configuration Mode)...........................................................................................................678
portmode hybrid........................................................................................................................................................ 679
rate-interval................................................................................................................................................................680
rate-interval (Configuration Mode).......................................................................................................................681
show config................................................................................................................................................................ 682
show config (for speed)..........................................................................................................................................682
show config (from INTERFACE RANGE mode)................................................................................................ 683
show interfaces......................................................................................................................................................... 684
show interfaces configured.................................................................................................................................... 689
show interfaces dampening.................................................................................................................................... 691
show interfaces stack-unit..................................................................................................................................... 692
show interfaces status............................................................................................................................................ 693
show interfaces vlan................................................................................................................................................ 695
show system stack-unit quad-port-profile......................................................................................................... 695
stack-unit portmode quad...................................................................................................................................... 696
show interfaces switchport.................................................................................................................................... 697
show interfaces transceiver...................................................................................................................................699
show range................................................................................................................................................................. 704
shutdown.....................................................................................................................................................................705
speed (for 10/100/1000/10000 interfaces)....................................................................................................... 706
speed (Management interface)............................................................................................................................. 707
stack-unit portmode.................................................................................................................................................708
switchport...................................................................................................................................................................709
wavelength.................................................................................................................................................................. 710
Port Channel Commands................................................................................................................................................ 711
channel-member......................................................................................................................................................... 711
group............................................................................................................................................................................. 713
interface port-channel.............................................................................................................................................. 713
minimum-links............................................................................................................................................................. 715
16
Contents
port-channel failover-group.................................................................................................................................... 715
show interfaces port-channel................................................................................................................................. 716
show port-channel-flow........................................................................................................................................... 719
ip http source-interface................................................................................................................................................ 720
Chapter 23: IPv4 Routing...........................................................................................................722
arp....................................................................................................................................................................................... 723
arp backoff-time..............................................................................................................................................................724
arp learn-enable...............................................................................................................................................................725
arp max-entries................................................................................................................................................................726
arp retries..........................................................................................................................................................................726
arp timeout........................................................................................................................................................................727
clear arp-cache................................................................................................................................................................728
clear host.......................................................................................................................................................................... 729
clear ip fib stack-unit..................................................................................................................................................... 730
clear ip route.................................................................................................................................................................... 730
clear tcp statistics........................................................................................................................................................... 731
debug arp.......................................................................................................................................................................... 732
debug ip dhcp...................................................................................................................................................................733
debug ip icmp...................................................................................................................................................................735
debug ip packet............................................................................................................................................................... 736
icmp6-redirect enable.................................................................................................................................................... 738
ip address..........................................................................................................................................................................739
ip directed-broadcast.....................................................................................................................................................739
ip domain-list.................................................................................................................................................................... 740
ip domain-lookup.............................................................................................................................................................. 741
ip domain-name............................................................................................................................................................... 742
ip helper-address.............................................................................................................................................................743
ip helper-address hop-count disable.......................................................................................................................... 744
ip host................................................................................................................................................................................ 745
ip icmp source-interface................................................................................................................................................746
ipv6 icmp source-interface........................................................................................................................................... 747
ip max-frag-count........................................................................................................................................................... 748
ip name-server.................................................................................................................................................................749
ip proxy-arp...................................................................................................................................................................... 750
ip route............................................................................................................................................................................... 751
ip source-route................................................................................................................................................................ 753
ip tcp initial-time..............................................................................................................................................................754
ip unknown-unicast........................................................................................................................................................ 755
ipv4 unicast-host-route.................................................................................................................................................755
show ip tcp initial-time.................................................................................................................................................. 756
ip unreachables................................................................................................................................................................756
load-balance..................................................................................................................................................................... 757
load-balance hg............................................................................................................................................................... 758
management route..........................................................................................................................................................760
show arp.............................................................................................................................................................................761
show arp retries...............................................................................................................................................................764
show hosts........................................................................................................................................................................764
show ip cam stack-unit..................................................................................................................................................766
show ip fib stack-unit.....................................................................................................................................................767
Contents
17
show ip flow..................................................................................................................................................................... 769
show ip interface.............................................................................................................................................................770
show ip management-route..........................................................................................................................................773
show ip protocols............................................................................................................................................................ 774
show ip route....................................................................................................................................................................775
show ip route list............................................................................................................................................................. 778
show ip route summary..................................................................................................................................................779
show ip traffic...................................................................................................................................................................781
show tcp statistics..........................................................................................................................................................783
Chapter 24: IPv6 Basics.............................................................................................................786
cam-ipv6 extended-prefix.............................................................................................................................................786
clear ipv6 route................................................................................................................................................................787
maximum dynamic-routes-ipv6....................................................................................................................................787
show cam-ipv6 extended-prefix..................................................................................................................................788
ipv6 unicast-host-route.................................................................................................................................................789
ipv6 nd disable-reachable-timer.................................................................................................................................. 789
ipv6 nd dns-server ..................................................................................................................................................... 790
ipv6 nd reachable-time...................................................................................................................................................791
ipv6 route...........................................................................................................................................................................791
show ipv6 management-route..................................................................................................................................... 793
show ipv6 route...............................................................................................................................................................794
Chapter 25: IPv6 Access Control Lists (IPv6 ACLs)................................................................... 797
show cam-acl-egress..................................................................................................................................................... 797
show cam-acl................................................................................................................................................................... 798
permit icmp...................................................................................................................................................................... 800
permit................................................................................................................................................................................. 801
ipv6 control-plane egress-filter...................................................................................................................................802
ipv6 access-list................................................................................................................................................................802
cam-acl-egress................................................................................................................................................................803
cam-acl..............................................................................................................................................................................805
Chapter 26: Intermediate System to Intermediate System (IS-IS).............................................806
adjacency-check..............................................................................................................................................................807
advertise........................................................................................................................................................................... 808
area-password................................................................................................................................................................. 809
clear config........................................................................................................................................................................810
clear isis..............................................................................................................................................................................810
clns host............................................................................................................................................................................. 811
debug isis........................................................................................................................................................................... 812
debug isis adj-packets.................................................................................................................................................... 813
debug isis local-updates.................................................................................................................................................813
debug isis snp-packets................................................................................................................................................... 814
debug isis spf-triggers....................................................................................................................................................815
debug isis update-packets.............................................................................................................................................816
default-information originate........................................................................................................................................ 817
description.........................................................................................................................................................................818
distance..............................................................................................................................................................................819
18
Contents
distribute-list in................................................................................................................................................................ 819
distribute-list out.............................................................................................................................................................820
distribute-list redistributed-override...........................................................................................................................821
domain-password............................................................................................................................................................822
graceful-restart ietf........................................................................................................................................................823
graceful-restart interval................................................................................................................................................ 824
graceful-restart restart-wait........................................................................................................................................824
graceful-restart t1...........................................................................................................................................................825
graceful-restart t2.......................................................................................................................................................... 826
graceful-restart t3.......................................................................................................................................................... 827
hello padding.................................................................................................................................................................... 828
hostname dynamic..........................................................................................................................................................828
ignore-lsp-errors............................................................................................................................................................. 829
ip router isis......................................................................................................................................................................830
ipv6 router isis.................................................................................................................................................................. 831
isis circuit-type................................................................................................................................................................ 832
isis csnp-interval..............................................................................................................................................................832
isis hello-interval..............................................................................................................................................................833
isis hello-multiplier...........................................................................................................................................................834
isis hello padding............................................................................................................................................................. 835
isis ipv6 metric.................................................................................................................................................................836
isis metric.......................................................................................................................................................................... 837
isis network point-to-point........................................................................................................................................... 838
isis password.................................................................................................................................................................... 838
isis priority.........................................................................................................................................................................839
is-type................................................................................................................................................................................840
log-adjacency-changes...................................................................................................................................................841
lsp-gen-interval............................................................................................................................................................... 842
lsp-mtu...............................................................................................................................................................................843
lsp-refresh-interval.........................................................................................................................................................843
max-area-addresses....................................................................................................................................................... 844
max-lsp-lifetime...............................................................................................................................................................845
maximum-paths...............................................................................................................................................................846
metric-style.......................................................................................................................................................................847
multi-topology..................................................................................................................................................................848
net.......................................................................................................................................................................................848
passive-interface.............................................................................................................................................................849
redistribute....................................................................................................................................................................... 850
redistribute bgp................................................................................................................................................................851
redistribute ospf..............................................................................................................................................................853
router isis.......................................................................................................................................................................... 854
set-overload-bit.............................................................................................................................................................. 855
show config......................................................................................................................................................................856
show isis database.......................................................................................................................................................... 857
show isis graceful-restart detail..................................................................................................................................859
show isis hostname........................................................................................................................................................ 860
show isis interface...........................................................................................................................................................861
show isis neighbors.........................................................................................................................................................862
show isis protocol........................................................................................................................................................... 864
show isis traffic............................................................................................................................................................... 865
Contents
19
spf-interval....................................................................................................................................................................... 866
Chapter 27: Link Aggregation Control Protocol (LACP)............................................................. 868
clear lacp counters......................................................................................................................................................... 868
debug lacp........................................................................................................................................................................ 869
lacp long-timeout............................................................................................................................................................ 870
lacp port-priority.............................................................................................................................................................. 871
lacp system-priority.........................................................................................................................................................871
port-channel-protocol lacp........................................................................................................................................... 872
show lacp.......................................................................................................................................................................... 873
Chapter 28: Layer 2................................................................................................................... 875
MAC Addressing Commands........................................................................................................................................875
mac-address-table aging-time............................................................................................................................... 875
mac-address-table disable-learning......................................................................................................................876
mac-address-table static........................................................................................................................................ 876
mac-address-table station-move refresh-arp....................................................................................................878
mac learning-limit...................................................................................................................................................... 878
mac learning-limit learn-limit-violation.................................................................................................................880
mac learning-limit mac-address-sticky.................................................................................................................881
mac learning-limit station-move-violation............................................................................................................881
mac learning-limit reset........................................................................................................................................... 882
mac port-security......................................................................................................................................................883
show mac-address-table.........................................................................................................................................884
show mac-address-table aging-time....................................................................................................................886
show mac learning-limit........................................................................................................................................... 887
Virtual LAN (VLAN) Commands..................................................................................................................................888
default vlan-id............................................................................................................................................................ 888
description.................................................................................................................................................................. 889
default-vlan disable...................................................................................................................................................889
name.............................................................................................................................................................................890
show config.................................................................................................................................................................891
show vlan.................................................................................................................................................................... 892
tagged..........................................................................................................................................................................895
track ip.........................................................................................................................................................................896
untagged..................................................................................................................................................................... 897
Far-End Failure Detection (FEFD)..............................................................................................................................898
debug fefd.................................................................................................................................................................. 898
fefd............................................................................................................................................................................... 899
fefd disable................................................................................................................................................................. 900
fefd interval................................................................................................................................................................900
fefd mode.................................................................................................................................................................... 901
fefd reset.................................................................................................................................................................... 902
fefd-global interval................................................................................................................................................... 903
fefd-global.................................................................................................................................................................. 903
show fefd....................................................................................................................................................................904
Chapter 29: Link Layer Discovery Protocol (LLDP).................................................................... 907
LLPD Commands.............................................................................................................................................................907
20
Contents
/