PowerSwitch S3048-ON

Dell PowerSwitch S3048-ON Administrator Guide

  • Hello! I am an AI chatbot trained to assist you with the Dell PowerSwitch S3048-ON Administrator 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
S3048–ON System
9.14.2.6
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.
2020 - 03
Rev. A00
1 About this Guide......................................................................................................................... 40
Objectives.............................................................................................................................................................................40
Audience............................................................................................................................................................................... 40
Conventions......................................................................................................................................................................... 40
Information Icons.................................................................................................................................................................40
2 CLI Basics..................................................................................................................................42
Accessing the Command Line............................................................................................................................................42
Multiple Configuration Users..............................................................................................................................................42
Obtaining Help..................................................................................................................................................................... 43
Navigating the CLI...............................................................................................................................................................44
Using the no Command...................................................................................................................................................... 44
Filtering show Commands..................................................................................................................................................45
Enabling Software Features on Devices Using a Command Option.............................................................................45
feature vrf.......................................................................................................................................................................46
show feature.................................................................................................................................................................. 46
Command Modes................................................................................................................................................................ 47
3 File Management........................................................................................................................55
boot system......................................................................................................................................................................... 55
cd...........................................................................................................................................................................................56
copy.......................................................................................................................................................................................57
delete.................................................................................................................................................................................... 60
dir...........................................................................................................................................................................................60
format................................................................................................................................................................................... 62
fsck flash.............................................................................................................................................................................. 62
mkdir......................................................................................................................................................................................63
mount nfs............................................................................................................................................................................. 64
rmdir...................................................................................................................................................................................... 64
upgrade system................................................................................................................................................................... 65
HTTP Copy via CLI..............................................................................................................................................................67
rename.................................................................................................................................................................................. 68
restore factory-defaults..................................................................................................................................................... 68
show boot system................................................................................................................................................................ 71
show bootvar........................................................................................................................................................................ 71
show file-systems................................................................................................................................................................72
show os-version...................................................................................................................................................................73
show running-config............................................................................................................................................................74
show startup-config............................................................................................................................................................78
show version........................................................................................................................................................................ 78
upgrade.................................................................................................................................................................................80
4 Control and Monitoring............................................................................................................... 82
banner exec..........................................................................................................................................................................82
Contents
Contents 3
banner login..........................................................................................................................................................................83
banner motd.........................................................................................................................................................................84
cam-acl................................................................................................................................................................................. 85
cam-acl-vlan.........................................................................................................................................................................87
clear average-power........................................................................................................................................................... 87
clear line................................................................................................................................................................................88
configure...............................................................................................................................................................................88
disable................................................................................................................................................................................... 89
do...........................................................................................................................................................................................90
enable.....................................................................................................................................................................................91
enable cpu-clock-monitor...................................................................................................................................................92
enable optic-info-update interval...................................................................................................................................... 92
end.........................................................................................................................................................................................93
exec-timeout........................................................................................................................................................................94
exit.........................................................................................................................................................................................95
ftp-server enable.................................................................................................................................................................96
ftp-server topdir.................................................................................................................................................................. 97
ftp-server username........................................................................................................................................................... 98
hostname..............................................................................................................................................................................99
ip http source-interface.................................................................................................................................................... 100
ip http vrf............................................................................................................................................................................100
ip ftp password................................................................................................................................................................... 101
ip ftp source-interface...................................................................................................................................................... 102
ip ftp username.................................................................................................................................................................. 103
ip ftp vrf.............................................................................................................................................................................. 104
ip telnet server enable....................................................................................................................................................... 104
ip telnet server vrf............................................................................................................................................................. 105
ip telnet source-interface................................................................................................................................................. 106
ip telnet vrf..........................................................................................................................................................................107
ip tftp source-interface.....................................................................................................................................................108
ip tftp vrf.............................................................................................................................................................................108
line........................................................................................................................................................................................109
login concurrent-session....................................................................................................................................................110
login statistics.......................................................................................................................................................................111
motd-banner........................................................................................................................................................................113
ping....................................................................................................................................................................................... 113
reload....................................................................................................................................................................................116
reload-type.......................................................................................................................................................................... 118
boot-type....................................................................................................................................................................... 118
secure-erase..................................................................................................................................................................119
send...................................................................................................................................................................................... 119
service timestamps............................................................................................................................................................120
show alarms.........................................................................................................................................................................121
show cam-acl-vlan.............................................................................................................................................................122
show command-history.....................................................................................................................................................123
show cpu-traffic-stats...................................................................................................................................................... 124
show debugging................................................................................................................................................................. 126
show environment............................................................................................................................................................. 126
show inventory...................................................................................................................................................................128
show login statistics...........................................................................................................................................................129
4
Contents
show memory......................................................................................................................................................................131
show processes cpu.......................................................................................................................................................... 132
show processes ipc flow-control..................................................................................................................................... 135
show processes memory.................................................................................................................................................. 136
show reset-reason............................................................................................................................................................. 138
show software ifm............................................................................................................................................................. 140
show system........................................................................................................................................................................141
show tech-support............................................................................................................................................................ 143
ssh-peer-stack-unit........................................................................................................................................................... 146
telnet....................................................................................................................................................................................146
telnet-peer-stack-unit....................................................................................................................................................... 148
terminal length....................................................................................................................................................................149
traceroute........................................................................................................................................................................... 149
undebug all...........................................................................................................................................................................151
virtual-ip.............................................................................................................................................................................. 152
write.....................................................................................................................................................................................153
5 802.1X..................................................................................................................................... 155
debug dot1x........................................................................................................................................................................ 156
dot1x auth-fail-vlan............................................................................................................................................................ 156
dot1x auth-server...............................................................................................................................................................157
dot1x auth-type mab-only.................................................................................................................................................158
dot1x authentication (Configuration).............................................................................................................................. 159
dot1x authentication (Interface)...................................................................................................................................... 160
dot1x critical-vlan............................................................................................................................................................... 160
dot1x guest-vlan..................................................................................................................................................................161
dot1x host-mode................................................................................................................................................................ 162
dot1x mac-auth-bypass.....................................................................................................................................................163
dot1x max-eap-req.............................................................................................................................................................164
dot1x max-supplicants.......................................................................................................................................................165
dot1x port-control..............................................................................................................................................................165
dot1x profile........................................................................................................................................................................ 166
dot1x quiet-period.............................................................................................................................................................. 167
dot1x reauthentication.......................................................................................................................................................167
dot1x reauth-max............................................................................................................................................................... 168
dot1x server-timeout......................................................................................................................................................... 169
dot1x static-mab.................................................................................................................................................................170
dot1x supplicant-timeout....................................................................................................................................................171
dot1x tx-period.................................................................................................................................................................... 171
mac.......................................................................................................................................................................................172
show dot1x cos-mapping interface..................................................................................................................................173
show dot1x interface..........................................................................................................................................................174
show dot1x profile.............................................................................................................................................................. 177
6 Access Control Lists (ACL)........................................................................................................ 178
Commands Common to all ACL Types............................................................................................................................179
remark............................................................................................................................................................................179
show config................................................................................................................................................................... 181
Common IP ACL Commands.............................................................................................................................................181
Contents
5
access-class..................................................................................................................................................................182
clear counters ip access-group.................................................................................................................................. 183
ip access-group............................................................................................................................................................ 183
ip control-plane egress-filter.......................................................................................................................................185
show ip accounting access-list...................................................................................................................................185
show ip access-lists..................................................................................................................................................... 187
Standard IP ACL Commands............................................................................................................................................188
deny............................................................................................................................................................................... 188
ip access-list standard.................................................................................................................................................189
permit............................................................................................................................................................................ 190
resequence access-list................................................................................................................................................ 192
seq..................................................................................................................................................................................193
Extended IP ACL Commands........................................................................................................................................... 194
deny............................................................................................................................................................................... 195
deny icmp...................................................................................................................................................................... 197
deny tcp.........................................................................................................................................................................198
deny udp........................................................................................................................................................................201
ip access-list extended............................................................................................................................................... 204
permit............................................................................................................................................................................205
permit tcp.....................................................................................................................................................................206
permit udp.................................................................................................................................................................... 209
resequence access-list................................................................................................................................................ 212
seq..................................................................................................................................................................................213
Common MAC Access List Commands..........................................................................................................................215
clear counters mac access-group..............................................................................................................................215
mac access-group........................................................................................................................................................216
show mac access-lists.................................................................................................................................................217
show mac accounting access-list.............................................................................................................................. 218
Standard MAC ACL Commands...................................................................................................................................... 219
deny............................................................................................................................................................................... 219
mac access-list standard.............................................................................................................................................221
permit............................................................................................................................................................................222
seq................................................................................................................................................................................. 223
Extended MAC ACL Commands.....................................................................................................................................224
deny...............................................................................................................................................................................224
mac access-list extended...........................................................................................................................................226
permit............................................................................................................................................................................ 227
IP Prefix List Commands..................................................................................................................................................229
clear ip prefix-list......................................................................................................................................................... 229
deny...............................................................................................................................................................................230
ip prefix-list....................................................................................................................................................................231
seq................................................................................................................................................................................. 232
show config..................................................................................................................................................................233
show ip prefix-list detail..............................................................................................................................................233
show ip prefix-list summary....................................................................................................................................... 234
Route Map Commands.....................................................................................................................................................235
continue........................................................................................................................................................................235
description....................................................................................................................................................................236
match as-path..............................................................................................................................................................237
match community........................................................................................................................................................238
6
Contents
match interface........................................................................................................................................................... 239
match ip address......................................................................................................................................................... 240
match ip next-hop.......................................................................................................................................................240
match ip route-source................................................................................................................................................. 241
match metric................................................................................................................................................................242
match origin..................................................................................................................................................................243
match route-type........................................................................................................................................................ 244
match tag..................................................................................................................................................................... 245
route-map.....................................................................................................................................................................246
set as-path................................................................................................................................................................... 247
set automatic-tag........................................................................................................................................................248
set comm-list delete....................................................................................................................................................249
set community............................................................................................................................................................. 250
set level..........................................................................................................................................................................251
set local-preference.................................................................................................................................................... 252
set metric..................................................................................................................................................................... 253
set metric-type............................................................................................................................................................ 253
set next-hop.................................................................................................................................................................254
set origin.......................................................................................................................................................................255
set tag...........................................................................................................................................................................256
set weight.....................................................................................................................................................................257
show config..................................................................................................................................................................258
show route-map.......................................................................................................................................................... 259
AS-Path Commands......................................................................................................................................................... 259
ip as-path access-list.................................................................................................................................................. 260
show ip as-path-access-lists..................................................................................................................................... 260
IP Community List Commands.........................................................................................................................................261
ip community-list..........................................................................................................................................................261
show ip community-lists..............................................................................................................................................261
deny (for Standard IP ACLs)........................................................................................................................................... 262
deny (for Extended IP ACLs).......................................................................................................................................... 263
seq (for Standard IPv4 ACLs).........................................................................................................................................265
deny tcp (for Extended IP ACLs)................................................................................................................................... 266
deny udp (for Extended IP ACLs)...................................................................................................................................267
deny arp (for Extended MAC ACLs).............................................................................................................................. 269
deny icmp (for Extended IP ACLs)................................................................................................................................. 270
deny ether-type (for Extended MAC ACLs).................................................................................................................. 271
deny (for Standard MAC ACLs)......................................................................................................................................272
deny (for Extended MAC ACLs)..................................................................................................................................... 273
permit (for Standard IP ACLs)........................................................................................................................................ 275
permit arp (for Extended MAC ACLs)............................................................................................................................276
permit ether-type (for Extended MAC ACLs)...............................................................................................................277
permit icmp (for Extended IP ACLs).............................................................................................................................. 278
permit udp (for Extended IP ACLs)................................................................................................................................ 279
permit (for Extended IP ACLs)........................................................................................................................................ 281
permit (for Standard MAC ACLs)...................................................................................................................................282
seq (for Standard MAC ACLs)........................................................................................................................................284
permit tcp (for Extended IP ACLs).................................................................................................................................285
seq arp (for Extended MAC ACLs).................................................................................................................................286
seq ether-type (for Extended MAC ACLs)....................................................................................................................287
Contents
7
seq (for IP ACLs).............................................................................................................................................................. 288
seq (for IPv6 ACLs)..........................................................................................................................................................290
permit udp (for IPv6 ACLs)............................................................................................................................................. 292
permit tcp (for IPv6 ACLs)..............................................................................................................................................293
permit icmp (for IPv6 ACLs)........................................................................................................................................... 296
permit (for IPv6 ACLs)..................................................................................................................................................... 297
deny udp (for IPv6 ACLs)................................................................................................................................................299
deny tcp (for IPv6 ACLs).................................................................................................................................................300
deny icmp (for Extended IPv6 ACLs).............................................................................................................................302
deny (for IPv6 ACLs)........................................................................................................................................................304
7 Access Control List (ACL) VLAN Groups and Content Addressable Memory (CAM)........................ 306
member vlan...................................................................................................................................................................... 306
ip access-group................................................................................................................................................................. 306
show acl-vlan-group ........................................................................................................................................................ 307
show cam-acl-vlan............................................................................................................................................................308
cam-acl-vlan...................................................................................................................................................................... 309
show cam-usage................................................................................................................................................................310
show running config acl-vlan-group................................................................................................................................ 312
acl-vlan-group.....................................................................................................................................................................312
show acl-vlan-group detail................................................................................................................................................313
description (ACL VLAN Group)....................................................................................................................................... 314
8 Bidirectional Forwarding Detection (BFD)................................................................................... 315
bfd all-neighbors.................................................................................................................................................................315
bfd enable (Configuration)................................................................................................................................................317
bfd enable (Interface)........................................................................................................................................................317
bfd interval .........................................................................................................................................................................318
bfd protocol-liveness.........................................................................................................................................................319
ip route bfd......................................................................................................................................................................... 319
ip ospf bfd all-neighbors...................................................................................................................................................320
ipv6 ospf bfd all-neighbors............................................................................................................................................... 321
ipv6 route bfd.................................................................................................................................................................... 322
isis bfd all-neighbors..........................................................................................................................................................323
neighbor bfd disable..........................................................................................................................................................324
show bfd neighbors.......................................................................................................................................................... 325
vrrp bfd neighbor...............................................................................................................................................................328
9 Border Gateway Protocol.......................................................................................................... 329
BGP IPv4 Commands....................................................................................................................................................... 329
address-family..............................................................................................................................................................329
aggregate-address...................................................................................................................................................... 330
bgp add-path................................................................................................................................................................ 331
bgp always-compare-med..........................................................................................................................................332
bgp asnotation............................................................................................................................................................. 333
bgp bestpath as-path ignore......................................................................................................................................334
bgp bestpath as-path multipath-relax...................................................................................................................... 335
bgp bestpath med confed..........................................................................................................................................335
bgp bestpath med missing-as-best...........................................................................................................................336
8
Contents
bgp bestpath router-id ignore....................................................................................................................................337
bgp client-to-client reflection.....................................................................................................................................337
bgp cluster-id............................................................................................................................................................... 338
bgp confederation identifier.......................................................................................................................................339
bgp confederation peers............................................................................................................................................ 340
bgp connection-retry-timer........................................................................................................................................ 341
bgp dampening............................................................................................................................................................. 341
bgp default local-preference......................................................................................................................................342
bgp dmzlink-bw........................................................................................................................................................... 343
bgp enforce-first-as....................................................................................................................................................344
bgp fast-external-fallover...........................................................................................................................................344
bgp four-octet-as-support.........................................................................................................................................345
bgp graceful-restart....................................................................................................................................................346
bgp non-deterministic-med........................................................................................................................................347
bgp outbound-optimization........................................................................................................................................348
bgp recursive-bgp-next-hop......................................................................................................................................348
bgp redistribute-internal............................................................................................................................................. 349
bgp regex-eval-optz-disable...................................................................................................................................... 349
bgp router-id.................................................................................................................................................................351
clear ip bgp....................................................................................................................................................................351
clear ip bgp dampening...............................................................................................................................................353
clear ip bgp flap-statistics.......................................................................................................................................... 354
clear ip bgp peer-group.............................................................................................................................................. 355
deny bandwidth........................................................................................................................................................... 356
debug ip bgp.................................................................................................................................................................357
debug ip bgp dampening............................................................................................................................................ 358
debug ip bgp events....................................................................................................................................................359
debug ip bgp keepalives............................................................................................................................................. 360
debug ip bgp notifications...........................................................................................................................................361
debug ip bgp soft-reconfiguration............................................................................................................................ 362
debug ip bgp updates................................................................................................................................................. 363
default-metric.............................................................................................................................................................. 364
description....................................................................................................................................................................364
maximum-paths...........................................................................................................................................................365
neighbor activate.........................................................................................................................................................366
neighbor add-path.......................................................................................................................................................367
neighbor advertisement-interval............................................................................................................................... 368
neighbor advertisement-start....................................................................................................................................369
neighbor allowas-in......................................................................................................................................................370
neighbor default-originate...........................................................................................................................................371
neighbor description....................................................................................................................................................372
neighbor distribute-list................................................................................................................................................ 372
neighbor ebgp-multihop..............................................................................................................................................373
neighbor fall-over.........................................................................................................................................................374
neighbor local-as..........................................................................................................................................................375
neighbor maximum-prefix...........................................................................................................................................376
neighbor password...................................................................................................................................................... 377
neighbor peer-group (assigning peers).....................................................................................................................378
neighbor peer-group (creating group)......................................................................................................................379
neighbor peer-group passive..................................................................................................................................... 380
Contents
9
neighbor remote-as......................................................................................................................................................381
neighbor remove-private-as.......................................................................................................................................382
neighbor route-map.................................................................................................................................................... 383
neighbor route-reflector-client..................................................................................................................................384
neighbor sender-side-loopdetect.............................................................................................................................. 385
neighbor send-community..........................................................................................................................................386
neighbor shutdown......................................................................................................................................................387
neighbor soft-reconfiguration inbound..................................................................................................................... 387
neighbor timers............................................................................................................................................................388
neighbor timers extended...........................................................................................................................................389
neighbor update-source............................................................................................................................................. 390
neighbor weight............................................................................................................................................................391
network.........................................................................................................................................................................392
network backdoor....................................................................................................................................................... 393
permit bandwidth........................................................................................................................................................ 394
redistribute................................................................................................................................................................... 394
redistribute ospf.......................................................................................................................................................... 396
router bgp.....................................................................................................................................................................397
shutdown all................................................................................................................................................................. 398
shutdown address-family-ipv4–multicast................................................................................................................398
shutdown address-family-ipv4–unicast................................................................................................................... 398
shutdown address-family-ipv6–unicast................................................................................................................... 399
set extcommunity bandwidth.................................................................................................................................... 399
show capture bgp-pdu neighbor...............................................................................................................................400
show config...................................................................................................................................................................401
show ip bgp...................................................................................................................................................................401
show ip bgp cluster-list...............................................................................................................................................405
show ip bgp community..............................................................................................................................................407
show ip bgp community-list.......................................................................................................................................409
show ip bgp dampened-paths....................................................................................................................................410
show ip bgp detail........................................................................................................................................................ 412
show ip bgp extcommunity-list.................................................................................................................................. 413
show ip bgp filter-list................................................................................................................................................... 414
show ip bgp flap-statistics.......................................................................................................................................... 416
show ip bgp inconsistent-as....................................................................................................................................... 417
show ip bgp neighbors.................................................................................................................................................419
show ip bgp next-hop................................................................................................................................................. 422
show ip bgp paths....................................................................................................................................................... 423
show ip bgp paths community...................................................................................................................................425
show ip bgp peer-group............................................................................................................................................. 426
show ip bgp regexp..................................................................................................................................................... 427
show ip bgp summary.................................................................................................................................................429
show running-config bgp............................................................................................................................................ 431
timers bgp.....................................................................................................................................................................432
timers bgp extended................................................................................................................................................... 432
MBGP Commands............................................................................................................................................................ 433
debug ip bgp dampening............................................................................................................................................ 433
distance bgp.................................................................................................................................................................434
show ip bgp dampened-paths................................................................................................................................... 435
BGP Extended Communities (RFC 4360)..................................................................................................................... 436
10
Contents
set extcommunity rt....................................................................................................................................................436
set extcommunity soo.................................................................................................................................................437
show ip bgp paths extcommunity............................................................................................................................. 438
show ip extcommunity-list......................................................................................................................................... 439
IPv6 BGP Commands.......................................................................................................................................................439
clear ip bgp ipv6 unicast soft.....................................................................................................................................440
debug ip bgp ipv6 unicast soft-reconfiguration...................................................................................................... 440
ipv6 prefix-list............................................................................................................................................................... 441
neighbor soft-reconfiguration inbound......................................................................................................................441
show ipv6 prefix-list....................................................................................................................................................442
IPv6 MBGP Commands................................................................................................................................................... 443
show ipv6 mbgproutes............................................................................................................................................... 443
10 Content Addressable Memory (CAM)........................................................................................444
CAM Profile Commands...................................................................................................................................................444
cam-acl (Configuration)............................................................................................................................................. 444
cam-acl-egress............................................................................................................................................................ 447
cam-optimization......................................................................................................................................................... 447
cam-threshold..............................................................................................................................................................448
show cam-acl...............................................................................................................................................................449
show cam-usage.......................................................................................................................................................... 451
test cam-usage............................................................................................................................................................452
11 Control Plane Policing (CoPP).................................................................................................. 454
control-plane-cpuqos........................................................................................................................................................454
service-policy rate-limit-cpu-queues..............................................................................................................................455
service-policy rate-limit-protocols.................................................................................................................................. 455
ip unknown-unicast...........................................................................................................................................................456
ipv6 unknown-unicast.......................................................................................................................................................457
show cpu-queue rate cp...................................................................................................................................................457
show ip protocol-queue-mapping................................................................................................................................... 458
show ipv6 protocol-queue-mapping...............................................................................................................................459
show mac protocol-queue-mapping...............................................................................................................................460
12 Debugging and Diagnostics...................................................................................................... 462
Diagnostics and Monitoring Commands.........................................................................................................................462
logging coredump stack-unit..................................................................................................................................... 462
Offline Diagnostic Commands......................................................................................................................................... 463
diag stack-unit............................................................................................................................................................. 463
offline stack-unit..........................................................................................................................................................464
online stack-unit.......................................................................................................................................................... 465
Hardware Commands.......................................................................................................................................................466
clear hardware stack-unit...........................................................................................................................................466
clear hardware system-flow.......................................................................................................................................467
clear hardware vlan-counters.................................................................................................................................... 467
hardware watchdog....................................................................................................................................................468
show hardware mac....................................................................................................................................................468
show hardware ip........................................................................................................................................................ 469
show hardware stack-unit..........................................................................................................................................470
Contents
11
show hardware buffer interface................................................................................................................................ 477
show hardware counters interface .......................................................................................................................... 479
show hardware buffer-stats-snapshot.................................................................................................................... 480
show hardware stack-unit buffer-stats-snapshot (Total Buffer Information).................................................... 481
show hardware system-flow......................................................................................................................................482
show hardware vlan-counters................................................................................................................................... 484
show hardware drops................................................................................................................................................. 485
13 Dynamic Host Configuration Protocol (DHCP)........................................................................... 488
Commands to Configure the System to be a DHCP Server....................................................................................... 488
clear ip dhcp.................................................................................................................................................................488
debug ip dhcp server.................................................................................................................................................. 489
debug ipv6 dhcp .........................................................................................................................................................489
default-router...............................................................................................................................................................490
disable............................................................................................................................................................................491
dns-server..................................................................................................................................................................... 491
domain-name............................................................................................................................................................... 492
excluded-address........................................................................................................................................................ 493
hardware-address....................................................................................................................................................... 493
host-address................................................................................................................................................................ 494
ip dhcp server.............................................................................................................................................................. 494
lease.............................................................................................................................................................................. 495
netbios-name-server...................................................................................................................................................496
netbios-node-type.......................................................................................................................................................496
network.........................................................................................................................................................................497
pool................................................................................................................................................................................498
show ip dhcp binding.................................................................................................................................................. 498
show ip dhcp configuration........................................................................................................................................499
show ip dhcp conflict..................................................................................................................................................500
show ip dhcp server.................................................................................................................................................... 501
Commands to Configure Secure DHCP......................................................................................................................... 501
arp inspection............................................................................................................................................................... 501
arp inspection-limit......................................................................................................................................................502
arp inspection-trust.....................................................................................................................................................502
clear ip dhcp snooping................................................................................................................................................503
clear ipv6 dhcp snooping binding.............................................................................................................................. 504
ip dhcp relay.................................................................................................................................................................505
ip dhcp snooping......................................................................................................................................................... 506
ipv6 dhcp snooping.....................................................................................................................................................506
ipv6 dhcp snooping vlan............................................................................................................................................. 507
ip dhcp snooping binding............................................................................................................................................ 507
IPv6 DHCP Snooping Binding....................................................................................................................................509
ip dhcp snooping database........................................................................................................................................ 509
ipv6 dhcp snooping database write-delay................................................................................................................ 510
ip dhcp snooping database renew.............................................................................................................................. 511
ipv6 dhcp snooping database renew..........................................................................................................................511
ip dhcp snooping trust.................................................................................................................................................512
ipv6 dhcp snooping trust............................................................................................................................................ 512
ip dhcp source-address-validation.............................................................................................................................513
ip dhcp relay information-option................................................................................................................................ 514
12
Contents
ip dhcp relay source-interface....................................................................................................................................515
ipv6 dhcp relay source-interface............................................................................................................................... 515
ip dhcp snooping verify mac-address........................................................................................................................516
ipv6 dhcp snooping verify mac-address....................................................................................................................517
ip helper-address..........................................................................................................................................................517
ipv6 helper-address..................................................................................................................................................... 518
show ip dhcp snooping................................................................................................................................................519
show ipv6 dhcp snooping........................................................................................................................................... 521
Commands to Configure DNS ........................................................................................................................................522
ip name-server.............................................................................................................................................................522
ip domain-name........................................................................................................................................................... 522
ip domain-list................................................................................................................................................................523
ip host........................................................................................................................................................................... 524
clear host......................................................................................................................................................................525
14 Equal Cost Multi-Path (ECMP).................................................................................................526
ecmp-group....................................................................................................................................................................... 526
hash-algorithm...................................................................................................................................................................527
hash-algorithm ecmp........................................................................................................................................................529
hash-algorithm seed......................................................................................................................................................... 530
ip ecmp-group.................................................................................................................................................................... 531
ip ecmp weighted..............................................................................................................................................................532
link-bundle-monitor enable...............................................................................................................................................532
link-bundle-distribution trigger-threshold...................................................................................................................... 533
show config........................................................................................................................................................................534
show link-bundle distribution........................................................................................................................................... 534
15 FIPS Cryptography..................................................................................................................536
fips mode enable............................................................................................................................................................... 536
show fips status................................................................................................................................................................ 536
show ip ssh.........................................................................................................................................................................537
ssh.......................................................................................................................................................................................538
16 Force10 Resilient Ring Protocol (FRRP).................................................................................... 541
clear frrp..............................................................................................................................................................................541
debug frrp.......................................................................................................................................................................... 542
description..........................................................................................................................................................................543
disable................................................................................................................................................................................. 544
interface............................................................................................................................................................................. 544
member-vlan......................................................................................................................................................................546
mode................................................................................................................................................................................... 546
protocol frrp.......................................................................................................................................................................547
show frrp............................................................................................................................................................................548
timer....................................................................................................................................................................................550
17 GARP VLAN Registration (GVRP)............................................................................................. 552
clear gvrp statistics...........................................................................................................................................................553
debug gvrp.........................................................................................................................................................................553
disable.................................................................................................................................................................................554
Contents
13
garp timers.........................................................................................................................................................................555
gvrp enable........................................................................................................................................................................ 556
gvrp registration................................................................................................................................................................ 557
protocol gvrp..................................................................................................................................................................... 558
show config....................................................................................................................................................................... 558
show garp timers.............................................................................................................................................................. 559
show gvrp.......................................................................................................................................................................... 560
show gvrp statistics...........................................................................................................................................................561
18 High Availability (HA).............................................................................................................. 563
redundancy disable-auto-reboot.....................................................................................................................................563
redundancy force-failover................................................................................................................................................564
redundancy protocol.........................................................................................................................................................564
show redundancy..............................................................................................................................................................565
19 ICMP Message Types.............................................................................................................. 567
20 Internet Group Management Protocol (IGMP).......................................................................... 569
IGMP Commands..............................................................................................................................................................569
clear ip igmp groups....................................................................................................................................................569
debug ip igmp...............................................................................................................................................................570
ip igmp access-group...................................................................................................................................................571
ip igmp immediate-leave.............................................................................................................................................572
ip igmp last-member-query-interval..........................................................................................................................573
ip igmp query-interval................................................................................................................................................. 573
ip igmp query-max-resp-time.....................................................................................................................................574
ip igmp ssm-map......................................................................................................................................................... 575
ip igmp version.............................................................................................................................................................576
show ip igmp groups................................................................................................................................................... 577
show ip igmp interface................................................................................................................................................579
show ip igmp ssm-map................................................................................................................................................581
IGMP Snooping Commands.............................................................................................................................................582
clear ip igmp snooping groups................................................................................................................................... 582
debug ip igmp snooping..............................................................................................................................................583
ip igmp snooping enable............................................................................................................................................. 584
ip igmp snooping fast-leave....................................................................................................................................... 585
ip igmp snooping flood................................................................................................................................................585
ip igmp snooping last-member-query-interval.........................................................................................................586
ip igmp snooping mrouter...........................................................................................................................................587
ip igmp snooping querier.............................................................................................................................................588
show ip igmp snooping groups.................................................................................................................................. 589
show ip igmp snooping mrouter................................................................................................................................ 590
21 Interfaces...............................................................................................................................592
Basic Interface Commands..............................................................................................................................................592
clear counters.............................................................................................................................................................. 592
clear counters eee.......................................................................................................................................................594
clear dampening.......................................................................................................................................................... 594
dampening....................................................................................................................................................................595
14
Contents
default interface.......................................................................................................................................................... 596
description....................................................................................................................................................................597
duplex (10/100 Interfaces).........................................................................................................................................598
encapsulation dot1q.................................................................................................................................................... 599
errdisable recovery cause.......................................................................................................................................... 600
errdisable recovery interval........................................................................................................................................600
eee................................................................................................................................................................................. 601
flowcontrol....................................................................................................................................................................601
interface....................................................................................................................................................................... 604
interface group............................................................................................................................................................ 605
interface loopback.......................................................................................................................................................606
interface managementEthernet................................................................................................................................ 607
interface null.................................................................................................................................................................608
interface range............................................................................................................................................................ 609
interface range macro (define)...................................................................................................................................611
interface range macro name.......................................................................................................................................613
interface vlan................................................................................................................................................................ 613
keepalive........................................................................................................................................................................614
monitor interface..........................................................................................................................................................615
mtu.................................................................................................................................................................................618
negotiation auto........................................................................................................................................................... 619
no port-delay-restore (Interface Mode)................................................................................................................... 621
port-delay-restore (Configuration Mode).................................................................................................................621
portmode hybrid.......................................................................................................................................................... 622
rate-interval..................................................................................................................................................................623
rate-interval (Configuration Mode)...........................................................................................................................624
show config..................................................................................................................................................................625
show config (from INTERFACE RANGE mode)..................................................................................................... 625
show hardware............................................................................................................................................................ 626
show interfaces........................................................................................................................................................... 630
show interfaces configured....................................................................................................................................... 636
show interfaces dampening....................................................................................................................................... 637
show interfaces eee....................................................................................................................................................638
show interfaces eee statistics................................................................................................................................... 639
show interfaces phy....................................................................................................................................................639
show interfaces stack-unit......................................................................................................................................... 641
show interfaces status............................................................................................................................................... 642
show interfaces switchport....................................................................................................................................... 644
show interfaces transceiver.......................................................................................................................................645
show interfaces vlan...................................................................................................................................................650
show range................................................................................................................................................................... 651
show running-config ecmp-group.............................................................................................................................652
shutdown......................................................................................................................................................................652
speed (for 10/100/1000/10000 interfaces)............................................................................................................ 653
speed (Management interface)................................................................................................................................ 654
switchport.................................................................................................................................................................... 655
wavelength...................................................................................................................................................................657
Egress Interface Selection (EIS) Commands................................................................................................................ 657
application.....................................................................................................................................................................657
application (for HTTP and ICMP)............................................................................................................................. 658
Contents
15
clear management application pkt-cntr................................................................................................................... 659
clear management application pkt-fallback-cntr.....................................................................................................659
management egress-interface-selection................................................................................................................. 659
show ip management-eis-route ............................................................................................................................... 660
show management application pkt-cntr.................................................................................................................. 660
show management application pkt-fallback-cntr.....................................................................................................661
Port Channel Commands..................................................................................................................................................661
channel-member.......................................................................................................................................................... 661
group.............................................................................................................................................................................663
interface port-channel................................................................................................................................................663
minimum-links.............................................................................................................................................................. 665
port-channel failover-group.......................................................................................................................................666
show config..................................................................................................................................................................666
show interfaces port-channel....................................................................................................................................667
show port-channel-flow............................................................................................................................................. 670
Time Domain Reflectometer (TDR) Commands............................................................................................................671
tdr-cable-test................................................................................................................................................................671
show tdr........................................................................................................................................................................672
UDP Broadcast Commands............................................................................................................................................. 673
debug ip udp-helper.................................................................................................................................................... 674
ip udp-helper udp-port................................................................................................................................................674
show ip udp-helper......................................................................................................................................................675
22 Internet Protocol Security (IPSec)........................................................................................... 676
crypto ipsec transform-set.............................................................................................................................................. 676
crypto ipsec policy.............................................................................................................................................................677
management crypto-policy.............................................................................................................................................. 678
match..................................................................................................................................................................................678
session-key.........................................................................................................................................................................679
show crypto ipsec transform-set....................................................................................................................................680
show crypto ipsec policy...................................................................................................................................................681
transform-set..................................................................................................................................................................... 681
23 IPv4 Routing.......................................................................................................................... 683
arp....................................................................................................................................................................................... 684
arp backoff-time............................................................................................................................................................... 685
arp learn-enable.................................................................................................................................................................686
arp max-entries................................................................................................................................................................. 686
arp retries........................................................................................................................................................................... 687
arp timeout.........................................................................................................................................................................688
clear arp-cache..................................................................................................................................................................688
clear host............................................................................................................................................................................690
clear ip fib stack-unit........................................................................................................................................................ 690
clear ip route.......................................................................................................................................................................691
clear tcp statistics.............................................................................................................................................................692
debug arp........................................................................................................................................................................... 693
debug ip dhcp.................................................................................................................................................................... 694
debug ip icmp.................................................................................................................................................................... 695
debug ip packet.................................................................................................................................................................696
16
Contents
icmp6-redirect enable.......................................................................................................................................................699
ip address........................................................................................................................................................................... 699
ip directed-broadcast........................................................................................................................................................700
ip domain-list......................................................................................................................................................................700
ip domain-lookup................................................................................................................................................................ 701
ip domain-name................................................................................................................................................................. 702
ip helper-address............................................................................................................................................................... 703
ip helper-address hop-count disable...............................................................................................................................704
ip host................................................................................................................................................................................. 705
ip icmp source-interface...................................................................................................................................................706
ipv6 icmp source-interface.............................................................................................................................................. 707
ip max-frag-count............................................................................................................................................................. 708
ip max-routes.....................................................................................................................................................................709
ip name-server....................................................................................................................................................................710
ip proxy-arp.........................................................................................................................................................................710
ip route................................................................................................................................................................................. 711
ip source-route................................................................................................................................................................... 714
ip unreachables...................................................................................................................................................................714
load-balance........................................................................................................................................................................715
load-balance hg.................................................................................................................................................................. 716
management route.............................................................................................................................................................718
show arp..............................................................................................................................................................................719
show arp retries..................................................................................................................................................................721
show hosts......................................................................................................................................................................... 722
show ip cam stack-unit.....................................................................................................................................................724
show ip fib stack-unit........................................................................................................................................................725
show ip flow....................................................................................................................................................................... 727
show ip interface............................................................................................................................................................... 728
show ip management-route.............................................................................................................................................730
show ipv6 management-route......................................................................................................................................... 731
show ip protocols.............................................................................................................................................................. 732
show ip route..................................................................................................................................................................... 733
show ip route list................................................................................................................................................................737
show ip route summary.................................................................................................................................................... 738
show ip traffic....................................................................................................................................................................739
show tcp statistics............................................................................................................................................................. 741
24 IPv6 Access Control Lists (IPv6 ACLs)......................................................................................744
show cam-acl-egress........................................................................................................................................................744
show cam-acl.....................................................................................................................................................................745
permit icmp.........................................................................................................................................................................747
permit..................................................................................................................................................................................748
ipv6 control-plane egress-filter....................................................................................................................................... 749
ipv6 access-list.................................................................................................................................................................. 749
cam-acl-egress..................................................................................................................................................................750
cam-acl................................................................................................................................................................................751
25 IPv6 Basics............................................................................................................................ 753
cam-ipv6 extended-prefix................................................................................................................................................753
Contents
17
clear ipv6 fib.......................................................................................................................................................................754
clear ipv6 route..................................................................................................................................................................754
clear ipv6 mld_host...........................................................................................................................................................755
maximum dynamic-routes-ipv6.......................................................................................................................................756
ipv6 address autoconfig................................................................................................................................................... 756
ipv6 address....................................................................................................................................................................... 757
ipv6 address eui64............................................................................................................................................................ 758
ipv6 control-plane icmp error-rate-limit......................................................................................................................... 759
ipv6 flowlabel-zero............................................................................................................................................................759
ipv6 host.............................................................................................................................................................................760
ipv6 name-server.............................................................................................................................................................. 760
ipv6 nd dad attempts.........................................................................................................................................................761
ipv6 nd disable-reachable-timer.......................................................................................................................................761
ipv6 nd dns-server ........................................................................................................................................................762
ipv6 nd prefix..................................................................................................................................................................... 763
ipv6 route........................................................................................................................................................................... 764
ipv6 unicast-routing.......................................................................................................................................................... 766
show ipv6 cam stack-unit................................................................................................................................................ 766
show ipv6 control-plane icmp..........................................................................................................................................767
show ipv6 fib stack-unit................................................................................................................................................... 768
show ipv6 flowlabel-zero..................................................................................................................................................768
show ipv6 interface...........................................................................................................................................................769
show ipv6 mld_host.......................................................................................................................................................... 772
show ipv6 route................................................................................................................................................................. 773
trust ipv6-diffserv............................................................................................................................................................. 775
26 Intermediate System to Intermediate System (IS-IS).................................................................777
adjacency-check................................................................................................................................................................778
advertise............................................................................................................................................................................. 779
area-password................................................................................................................................................................... 780
clear config..........................................................................................................................................................................781
clear isis............................................................................................................................................................................... 781
clns host..............................................................................................................................................................................782
debug isis............................................................................................................................................................................ 783
debug isis adj-packets.......................................................................................................................................................783
debug isis local-updates....................................................................................................................................................784
debug isis snp-packets..................................................................................................................................................... 785
debug isis spf-triggers...................................................................................................................................................... 786
debug isis update-packets................................................................................................................................................787
default-information originate........................................................................................................................................... 788
description..........................................................................................................................................................................789
distance.............................................................................................................................................................................. 789
distribute-list in.................................................................................................................................................................. 790
distribute-list out................................................................................................................................................................ 791
distribute-list redistributed-override............................................................................................................................... 792
domain-password.............................................................................................................................................................. 793
graceful-restart ietf...........................................................................................................................................................794
graceful-restart interval....................................................................................................................................................794
graceful-restart restart-wait............................................................................................................................................795
graceful-restart t1............................................................................................................................................................. 796
18
Contents
graceful-restart t2.............................................................................................................................................................797
graceful-restart t3.............................................................................................................................................................797
hello padding...................................................................................................................................................................... 798
hostname dynamic............................................................................................................................................................ 799
ignore-lsp-errors................................................................................................................................................................800
ip router isis........................................................................................................................................................................800
ipv6 router isis.................................................................................................................................................................... 801
isis circuit-type...................................................................................................................................................................802
isis csnp-interval................................................................................................................................................................803
isis hello-interval................................................................................................................................................................ 804
isis hello-multiplier............................................................................................................................................................. 804
isis hello padding................................................................................................................................................................805
isis ipv6 metric...................................................................................................................................................................806
isis metric............................................................................................................................................................................807
isis network point-to-point...............................................................................................................................................808
isis password......................................................................................................................................................................808
isis priority.......................................................................................................................................................................... 809
is-type..................................................................................................................................................................................810
log-adjacency-changes...................................................................................................................................................... 811
lsp-gen-interval.................................................................................................................................................................. 812
lsp-mtu................................................................................................................................................................................ 813
lsp-refresh-interval............................................................................................................................................................ 813
max-area-addresses.......................................................................................................................................................... 814
max-lsp-lifetime..................................................................................................................................................................815
maximum-paths..................................................................................................................................................................816
metric-style.........................................................................................................................................................................816
multi-topology.....................................................................................................................................................................817
net........................................................................................................................................................................................818
passive-interface................................................................................................................................................................819
redistribute.........................................................................................................................................................................820
redistribute bgp.................................................................................................................................................................. 821
redistribute ospf................................................................................................................................................................ 822
router isis............................................................................................................................................................................824
set-overload-bit.................................................................................................................................................................824
show config........................................................................................................................................................................825
show isis database............................................................................................................................................................ 826
show isis graceful-restart detail...................................................................................................................................... 829
show isis hostname...........................................................................................................................................................830
show isis interface.............................................................................................................................................................830
show isis neighbors........................................................................................................................................................... 832
show isis protocol..............................................................................................................................................................833
show isis traffic..................................................................................................................................................................834
spf-interval.........................................................................................................................................................................836
27 Link Aggregation Control Protocol (LACP)................................................................................838
clear lacp counters............................................................................................................................................................838
debug lacp..........................................................................................................................................................................839
lacp long-timeout.............................................................................................................................................................. 840
lacp port-priority.................................................................................................................................................................841
lacp system-priority........................................................................................................................................................... 841
Contents
19
port-channel-protocol lacp.............................................................................................................................................. 842
show lacp............................................................................................................................................................................843
28 Layer 2...................................................................................................................................845
MAC Addressing Commands...........................................................................................................................................845
clear mac-address-table.............................................................................................................................................845
mac-address-table aging-time...................................................................................................................................846
mac-address-table disable-learning.......................................................................................................................... 846
mac-address-table static............................................................................................................................................847
mac-address-table station-move refresh-arp......................................................................................................... 848
mac learning-limit........................................................................................................................................................ 849
mac learning-limit learn-limit-violation...................................................................................................................... 850
mac learning-limit mac-address-sticky......................................................................................................................851
mac learning-limit station-move-violation................................................................................................................ 852
mac learning-limit reset.............................................................................................................................................. 853
mac port-security........................................................................................................................................................853
show cam mac linecard (count)................................................................................................................................854
show cam mac linecard (dynamic or static)............................................................................................................855
show mac-address-table............................................................................................................................................856
show mac-address-table aging-time........................................................................................................................ 858
show mac accounting destination.............................................................................................................................859
show mac learning-limit..............................................................................................................................................860
Virtual LAN (VLAN) Commands...................................................................................................................................... 861
default vlan-id...............................................................................................................................................................861
default-vlan disable..................................................................................................................................................... 862
name..............................................................................................................................................................................863
show config..................................................................................................................................................................863
show vlan......................................................................................................................................................................864
tagged...........................................................................................................................................................................867
track ip..........................................................................................................................................................................868
untagged...................................................................................................................................................................... 869
Far-End Failure Detection (FEFD).................................................................................................................................. 870
debug fefd.................................................................................................................................................................... 870
fefd.................................................................................................................................................................................871
fefd disable................................................................................................................................................................... 872
fefd interval.................................................................................................................................................................. 873
fefd mode..................................................................................................................................................................... 874
fefd reset...................................................................................................................................................................... 874
fefd-global interval...................................................................................................................................................... 875
fefd-global.................................................................................................................................................................... 876
show fefd......................................................................................................................................................................877
29 Link Layer Discovery Protocol (LLDP).......................................................................................879
LLPD Commands...............................................................................................................................................................879
advertise dot1-tlv.........................................................................................................................................................879
advertise dot3-tlv........................................................................................................................................................880
advertise interface-port-desc.................................................................................................................................... 881
advertise management-tlv..........................................................................................................................................881
advertise management-tlv (Interface)..................................................................................................................... 882
20
Contents
/