Dell PowerSwitch S6010-ON User guide

  • Hello! I am an AI chatbot trained to assist you with the Dell PowerSwitch S6010-ON User guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Dell Command Line Reference Guide for the
S6010–ON System
9.10.0.1
May 2016
Notes, cautions, and warnings
NOTE: A NOTE indicates important information that helps you make better use of your computer.
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.
© 2016 Dell Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. Dell and
the Dell logo are trademarks of Dell Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be
trademarks of their respective companies.
Chapter 1: About this Guide.........................................................................................................36
Objectives........................................................................................................................................................................... 36
Audience.............................................................................................................................................................................. 36
Conventions........................................................................................................................................................................36
Information Icons...............................................................................................................................................................37
Chapter 2: CLI Basics.................................................................................................................. 38
Accessing the Command Line........................................................................................................................................ 38
Multiple Configuration Users.......................................................................................................................................... 38
Obtaining Help....................................................................................................................................................................39
Navigating the CLI............................................................................................................................................................ 40
Using the Keyword no Command...................................................................................................................................41
Filtering show Commands................................................................................................................................................41
Enabling Software Features on Devices Using a Command Option..................................................................... 42
feature vrf..................................................................................................................................................................... 42
show feature.................................................................................................................................................................43
Command Modes...............................................................................................................................................................43
Chapter 3: File Management........................................................................................................ 51
boot system.........................................................................................................................................................................51
cd.......................................................................................................................................................................................... 52
HTTP Copy via CLI........................................................................................................................................................... 53
copy...................................................................................................................................................................................... 54
delete................................................................................................................................................................................... 56
dir.......................................................................................................................................................................................... 57
format.................................................................................................................................................................................. 58
fsck flash.............................................................................................................................................................................59
mkdir.....................................................................................................................................................................................59
mount nfs............................................................................................................................................................................ 60
rmdir..................................................................................................................................................................................... 60
upgrade system.................................................................................................................................................................. 61
rename................................................................................................................................................................................. 62
show boot system............................................................................................................................................................. 63
show bootvar......................................................................................................................................................................64
show file-systems............................................................................................................................................................. 64
show os-version................................................................................................................................................................ 65
show running-config.........................................................................................................................................................67
show startup-config......................................................................................................................................................... 70
show version........................................................................................................................................................................71
upgrade system..................................................................................................................................................................72
upgrade boot...................................................................................................................................................................... 73
verify................................................................................................................................................................................... 74
Chapter 4: Control and Monitoring.............................................................................................. 76
Contents
Contents 3
banner exec.........................................................................................................................................................................77
banner login.........................................................................................................................................................................78
banner motd........................................................................................................................................................................79
cam-acl................................................................................................................................................................................ 80
clear line............................................................................................................................................................................... 81
configure............................................................................................................................................................................. 82
disable.................................................................................................................................................................................. 83
do.......................................................................................................................................................................................... 84
enable................................................................................................................................................................................... 85
enable optic-info-update interval.................................................................................................................................. 86
end........................................................................................................................................................................................ 86
exec-timeout...................................................................................................................................................................... 87
exit........................................................................................................................................................................................ 88
ftp-server enable...............................................................................................................................................................89
ftp-server topdir................................................................................................................................................................90
ftp-server username..........................................................................................................................................................91
hostname..............................................................................................................................................................................91
ip ftp password.................................................................................................................................................................. 92
ip ftp source-interface.....................................................................................................................................................93
ip tftp vrf.............................................................................................................................................................................94
ip ftp username..................................................................................................................................................................95
ip ftp vrf.............................................................................................................................................................................. 95
ip telnet server enable......................................................................................................................................................96
ip telnet server vrf............................................................................................................................................................ 97
ip telnet source-interface................................................................................................................................................97
ip tftp vrf.............................................................................................................................................................................98
line.........................................................................................................................................................................................99
login concurrent-session................................................................................................................................................100
login statistics................................................................................................................................................................... 101
motd-banner..................................................................................................................................................................... 103
ping......................................................................................................................................................................................103
reload.................................................................................................................................................................................. 106
send.....................................................................................................................................................................................107
service timestamps......................................................................................................................................................... 108
show alarms...................................................................................................................................................................... 109
show command-tree........................................................................................................................................................110
show cpu-traffic-stats.....................................................................................................................................................111
show debugging................................................................................................................................................................112
show environment............................................................................................................................................................113
show inventory..................................................................................................................................................................115
show login statistics........................................................................................................................................................ 115
show memory.................................................................................................................................................................... 118
show processes cpu........................................................................................................................................................ 119
show processes ipc flow-control..................................................................................................................................121
show processes memory................................................................................................................................................123
show software ifm...........................................................................................................................................................125
show system..................................................................................................................................................................... 126
show tech-support.......................................................................................................................................................... 128
ssh-peer-stack-unit.........................................................................................................................................................130
telnet................................................................................................................................................................................... 131
4
Contents
telnet-peer-stack-unit.................................................................................................................................................... 132
terminal length..................................................................................................................................................................133
traceroute..........................................................................................................................................................................133
undebug all........................................................................................................................................................................ 135
virtual-ip.............................................................................................................................................................................136
write.................................................................................................................................................................................... 136
Chapter 5: 802.1X...................................................................................................................... 138
debug dot1x.......................................................................................................................................................................139
dot1x auth-fail-vlan......................................................................................................................................................... 139
dot1x auth-server............................................................................................................................................................ 140
dot1x auth-type mab-only.............................................................................................................................................. 141
dot1x authentication (Configuration)..........................................................................................................................142
dot1x authentication (Interface).................................................................................................................................. 142
dot1x guest-vlan...............................................................................................................................................................143
dot1x host-mode.............................................................................................................................................................. 144
dot1x mac-auth-bypass..................................................................................................................................................145
dot1x max-eap-req.......................................................................................................................................................... 145
dot1x max-supplicants.................................................................................................................................................... 146
dot1x port-control............................................................................................................................................................147
dot1x quiet-period............................................................................................................................................................147
dot1x reauthentication....................................................................................................................................................148
dot1x reauth-max.............................................................................................................................................................149
dot1x server-timeout.......................................................................................................................................................149
dot1x supplicant-timeout............................................................................................................................................... 150
dot1x tx-period.................................................................................................................................................................. 151
show dot1x cos-mapping interface............................................................................................................................. 152
show dot1x interface.......................................................................................................................................................153
Chapter 6: Access Control Lists (ACL).......................................................................................156
Commands Common to all ACL Types....................................................................................................................... 157
remark...........................................................................................................................................................................157
show config.................................................................................................................................................................158
Common IP ACL Commands.........................................................................................................................................159
access-class................................................................................................................................................................159
clear counters ip access-group.............................................................................................................................. 160
ip access-group...........................................................................................................................................................161
ip control-plane egress-filter...................................................................................................................................162
show ip accounting access-list...............................................................................................................................162
Standard IP ACL Commands........................................................................................................................................ 164
deny...............................................................................................................................................................................164
ip access-list standard..............................................................................................................................................165
permit............................................................................................................................................................................166
resequence access-list............................................................................................................................................. 167
seq................................................................................................................................................................................. 168
Extended IP ACL Commands........................................................................................................................................170
deny...............................................................................................................................................................................170
deny icmp......................................................................................................................................................................171
deny tcp........................................................................................................................................................................173
Contents
5
deny udp.......................................................................................................................................................................175
ip access-list extended............................................................................................................................................. 177
permit............................................................................................................................................................................178
permit tcp.................................................................................................................................................................... 179
permit udp....................................................................................................................................................................182
resequence access-list............................................................................................................................................. 184
seq................................................................................................................................................................................. 184
Common MAC Access List Commands...................................................................................................................... 187
clear counters mac access-group.......................................................................................................................... 187
mac access-group......................................................................................................................................................187
show mac access-lists..............................................................................................................................................189
show mac accounting access-list.......................................................................................................................... 189
Standard MAC ACL Commands...................................................................................................................................190
deny............................................................................................................................................................................... 191
mac access-list standard......................................................................................................................................... 192
permit............................................................................................................................................................................193
seq................................................................................................................................................................................. 194
Extended MAC ACL Commands.................................................................................................................................. 195
deny...............................................................................................................................................................................195
mac access-list extended.........................................................................................................................................197
permit............................................................................................................................................................................198
IP Prefix List Commands...............................................................................................................................................200
clear ip prefix-list...................................................................................................................................................... 200
deny...............................................................................................................................................................................201
ip prefix-list.................................................................................................................................................................202
seq................................................................................................................................................................................ 202
show config................................................................................................................................................................ 203
show ip prefix-list detail.......................................................................................................................................... 204
show ip prefix-list summary....................................................................................................................................205
Route Map Commands.................................................................................................................................................. 206
continue.......................................................................................................................................................................206
description.................................................................................................................................................................. 207
match as-path............................................................................................................................................................208
match community..................................................................................................................................................... 208
match interface......................................................................................................................................................... 209
match ip address........................................................................................................................................................210
match ip next-hop...................................................................................................................................................... 211
match ip route-source.............................................................................................................................................. 212
match metric...............................................................................................................................................................213
match origin.................................................................................................................................................................213
match route-type.......................................................................................................................................................214
match tag.....................................................................................................................................................................215
route-map.................................................................................................................................................................... 216
set as-path...................................................................................................................................................................217
set automatic-tag...................................................................................................................................................... 218
set comm-list delete..................................................................................................................................................218
set community............................................................................................................................................................ 219
set level....................................................................................................................................................................... 220
set local-preference.................................................................................................................................................. 221
set metric.................................................................................................................................................................... 222
6
Contents
set metric-type.......................................................................................................................................................... 223
set next-hop............................................................................................................................................................... 224
set origin......................................................................................................................................................................225
set tag..........................................................................................................................................................................225
set weight................................................................................................................................................................... 226
show config................................................................................................................................................................ 227
show route-map........................................................................................................................................................ 228
deny (for Standard IP ACLs)........................................................................................................................................228
deny (for Extended IP ACLs).......................................................................................................................................230
seq (for Standard IPv4 ACLs)...................................................................................................................................... 231
deny tcp (for Extended IP ACLs)................................................................................................................................232
deny ether-type (for Extended MAC ACLs)............................................................................................................ 233
deny (for Standard MAC ACLs)..................................................................................................................................234
deny (for Extended MAC ACLs)................................................................................................................................. 235
permit (for Standard IP ACLs).....................................................................................................................................237
permit arp (for Extended MAC ACLs)....................................................................................................................... 238
permit ether-type (for Extended MAC ACLs)......................................................................................................... 239
permit icmp (for Extended IP ACLs)..........................................................................................................................240
permit udp (for Extended IP ACLs)............................................................................................................................ 241
permit (for Extended IP ACLs)....................................................................................................................................242
permit (for Standard MAC ACLs)...............................................................................................................................244
seq (for Standard MAC ACLs).................................................................................................................................... 245
permit tcp (for Extended IP ACLs)............................................................................................................................ 246
seq arp (for Extended MAC ACLs).............................................................................................................................247
seq ether-type (for Extended MAC ACLs)...............................................................................................................248
seq (for IP ACLs)............................................................................................................................................................ 249
seq (for IPv6 ACLs)........................................................................................................................................................ 251
permit udp (for IPv6 ACLs)..........................................................................................................................................252
permit tcp (for IPv6 ACLs).......................................................................................................................................... 253
permit icmp (for IPv6 ACLs)........................................................................................................................................254
permit (for IPv6 ACLs)..................................................................................................................................................255
deny udp (for IPv6 ACLs).............................................................................................................................................256
deny arp (for Extended MAC ACLs)..........................................................................................................................258
deny tcp (for IPv6 ACLs)............................................................................................................................................. 259
deny icmp (for Extended IPv6 ACLs)........................................................................................................................ 260
deny (for IPv6 ACLs)......................................................................................................................................................261
Chapter 7: Bidirectional Forwarding Detection (BFD)................................................................ 263
bfd all-neighbors............................................................................................................................................................. 263
ip route bfd.......................................................................................................................................................................264
neighbor bfd.....................................................................................................................................................................265
neighbor bfd disable....................................................................................................................................................... 266
show bfd neighbors........................................................................................................................................................ 267
Chapter 8: Boot Command Line Interface.................................................................................. 269
boot change..................................................................................................................................................................... 269
boot message...................................................................................................................................................................270
boot show net config retries.........................................................................................................................................271
boot write net config retries......................................................................................................................................... 271
Contents
7
boot zero............................................................................................................................................................................271
default-gateway.............................................................................................................................................................. 272
etheraddr <macaddr>.................................................................................................................................................... 273
ignore enable-password.................................................................................................................................................273
ignore startup-config..................................................................................................................................................... 274
interface management ethernet ip address..............................................................................................................274
NVRAM erase...................................................................................................................................................................274
reload................................................................................................................................................................................. 275
serial console....................................................................................................................................................................275
show bootvar................................................................................................................................................................... 276
show default-gateway................................................................................................................................................... 276
show interface management ethernet.......................................................................................................................277
show serial console baud rate...................................................................................................................................... 277
watchdog <string>..........................................................................................................................................................278
Chapter 9: Border Gateway Protocol......................................................................................... 279
BGP IPv4 Commands.....................................................................................................................................................279
address-family............................................................................................................................................................279
aggregate-address....................................................................................................................................................280
bgp add-path.............................................................................................................................................................. 281
bgp always-compare-med.......................................................................................................................................282
bgp asnotation........................................................................................................................................................... 283
bgp bestpath as-path ignore..................................................................................................................................284
bgp bestpath as-path multipath-relax................................................................................................................. 284
bgp bestpath med confed.......................................................................................................................................285
bgp bestpath med missing-as-best...................................................................................................................... 286
bgp bestpath router-id ignore................................................................................................................................286
bgp client-to-client reflection................................................................................................................................ 287
bgp cluster-id............................................................................................................................................................. 288
bgp confederation identifier................................................................................................................................... 288
bgp confederation peers......................................................................................................................................... 289
bgp dampening.......................................................................................................................................................... 290
bgp default local-preference...................................................................................................................................291
bgp dmzlink-bw......................................................................................................................................................... 292
bgp enforce-first-as................................................................................................................................................. 293
bgp fast-external-fallover....................................................................................................................................... 293
bgp four-octet-as-support..................................................................................................................................... 294
bgp graceful-restart................................................................................................................................................. 295
bgp non-deterministic-med.................................................................................................................................... 296
bgp recursive-bgp-next-hop.................................................................................................................................. 297
bgp regex-eval-optz-disable...................................................................................................................................297
bgp router-id.............................................................................................................................................................. 298
clear ip bgp................................................................................................................................................................. 299
clear ip bgp dampening............................................................................................................................................300
clear ip bgp flap-statistics....................................................................................................................................... 301
clear ip bgp peer-group........................................................................................................................................... 303
debug ip bgp...............................................................................................................................................................304
debug ip bgp dampening......................................................................................................................................... 305
debug ip bgp events.................................................................................................................................................306
debug ip bgp keepalives...........................................................................................................................................307
8
Contents
debug ip bgp notifications.......................................................................................................................................307
debug ip bgp soft-reconfiguration........................................................................................................................308
debug ip bgp updates...............................................................................................................................................309
default-metric.............................................................................................................................................................310
deny bandwidth...........................................................................................................................................................311
description....................................................................................................................................................................311
maximum-paths.......................................................................................................................................................... 312
neighbor activate....................................................................................................................................................... 313
neighbor add-path..................................................................................................................................................... 314
neighbor advertisement-interval............................................................................................................................ 314
neighbor advertisement-start.................................................................................................................................315
neighbor allowas-in....................................................................................................................................................316
neighbor default-originate........................................................................................................................................317
neighbor description..................................................................................................................................................318
neighbor distribute-list..............................................................................................................................................318
neighbor ebgp-multihop........................................................................................................................................... 319
neighbor fall-over......................................................................................................................................................320
neighbor local-as........................................................................................................................................................ 321
neighbor maximum-prefix........................................................................................................................................322
neighbor next-hop-self............................................................................................................................................ 323
neighbor password....................................................................................................................................................323
neighbor peer-group (assigning peers)................................................................................................................324
neighbor peer-group (creating group).................................................................................................................325
neighbor peer-group passive..................................................................................................................................326
neighbor remote-as...................................................................................................................................................327
neighbor remove-private-as................................................................................................................................... 328
neighbor route-map..................................................................................................................................................329
neighbor route-reflector-client..............................................................................................................................330
neighbor send-community....................................................................................................................................... 331
neighbor shutdown....................................................................................................................................................331
neighbor soft-reconfiguration inbound................................................................................................................ 332
neighbor timers..........................................................................................................................................................333
neighbor update-source.......................................................................................................................................... 334
neighbor weight.........................................................................................................................................................335
network........................................................................................................................................................................336
network backdoor..................................................................................................................................................... 337
permit bandwidth...................................................................................................................................................... 338
redistribute..................................................................................................................................................................338
redistribute ospf........................................................................................................................................................ 340
router bgp.................................................................................................................................................................... 341
set extcommunity bandwidth..................................................................................................................................341
show capture bgp-pdu neighbor........................................................................................................................... 342
show config................................................................................................................................................................ 343
show ip bgp................................................................................................................................................................ 344
show ip bgp cluster-list........................................................................................................................................... 345
show ip bgp community........................................................................................................................................... 347
show ip bgp community-list....................................................................................................................................349
show ip bgp dampened-paths................................................................................................................................350
show ip bgp detail......................................................................................................................................................351
show ip bgp extcommunity-list..............................................................................................................................353
Contents
9
show ip bgp filter-list............................................................................................................................................... 354
show ip bgp flap-statistics......................................................................................................................................355
show ip bgp inconsistent-as...................................................................................................................................357
show ip bgp neighbors.............................................................................................................................................359
show ip bgp next-hop.............................................................................................................................................. 362
show ip bgp paths.....................................................................................................................................................363
show ip bgp paths community............................................................................................................................... 364
show ip bgp peer-group.......................................................................................................................................... 365
show ip bgp regexp...................................................................................................................................................367
show ip bgp summary.............................................................................................................................................. 368
show running-config bgp.........................................................................................................................................370
timers bgp.................................................................................................................................................................... 371
MBGP Commands...........................................................................................................................................................372
debug ip bgp dampening..........................................................................................................................................372
distance bgp............................................................................................................................................................... 373
show ip bgp dampened-paths................................................................................................................................ 374
Chapter 10: Content Addressable Memory (CAM)......................................................................376
CAM Profile Commands................................................................................................................................................ 376
cam-acl (Configuration)...........................................................................................................................................377
cam-acl-egress.......................................................................................................................................................... 379
cam-optimization...................................................................................................................................................... 380
show cam-acl..............................................................................................................................................................381
test cam-usage..........................................................................................................................................................382
Unified Forwarding Table Modes................................................................................................................................ 383
hardware forwarding-table mode..........................................................................................................................384
show hardware forwarding-table mode...............................................................................................................384
Chapter 11: Control Plane Policing (CoPP)................................................................................ 385
control-plane-cpuqos.....................................................................................................................................................385
service-policy rate-limit-cpu-queues......................................................................................................................... 385
service-policy rate-limit-protocols..............................................................................................................................386
show cpu-queue rate cp................................................................................................................................................387
show ip protocol-queue-mapping............................................................................................................................... 388
show ipv6 protocol-queue-mapping...........................................................................................................................389
show mac protocol-queue-mapping...........................................................................................................................389
Chapter 12: Data Center Bridging (DCB).................................................................................... 391
DCB Command................................................................................................................................................................. 391
dcb-enable...................................................................................................................................................................391
PFC Commands...............................................................................................................................................................392
clear hardware pfc-nodrop-priority...................................................................................................................... 392
clear pfc counters..................................................................................................................................................... 393
pfc no-drop queues.................................................................................................................................................. 393
pfc-nodrop-priority l2-dlf drop.............................................................................................................................. 394
pfc priority.................................................................................................................................................................. 395
show dcb.....................................................................................................................................................................395
show hardware pfc-nodrop-priority..................................................................................................................... 396
show interface pfc....................................................................................................................................................396
10
Contents
show interface pfc statistics..................................................................................................................................399
ETS Commands...............................................................................................................................................................400
dcb-enable.................................................................................................................................................................. 400
clear ets counters...................................................................................................................................................... 401
show interface ets.....................................................................................................................................................401
DCBX Commands........................................................................................................................................................... 406
advertise dcbx-tlv.....................................................................................................................................................406
dcbx port-role............................................................................................................................................................ 407
dcbx version............................................................................................................................................................... 407
debug dcbx................................................................................................................................................................. 408
fcoe priority-bits........................................................................................................................................................409
iscsi priority-bits........................................................................................................................................................409
show interface dcbx detail...................................................................................................................................... 410
dcb-map............................................................................................................................................................................. 413
priority-pgid.......................................................................................................................................................................413
priority-group bandwidth pfc........................................................................................................................................414
dcb-map stack-unit all stack-ports all........................................................................................................................ 415
dcb pfc-shared-buffer-size...........................................................................................................................................416
dcb-buffer-threshold .....................................................................................................................................................416
priority.................................................................................................................................................................................417
dcb-policy buffer-threshold (Interface Configuration).......................................................................................... 418
dcb-policy dcb-buffer-threshold (Global Configuration).......................................................................................419
show qos dcb-buffer-threshold................................................................................................................................... 419
dcb pfc-total-buffer-size.............................................................................................................................................. 420
show running-config dcb-buffer-threshold...............................................................................................................421
service-class buffer shared-threshold-weight.........................................................................................................422
dcb pfc-queues................................................................................................................................................................423
dcb {ets | pfc} enable.................................................................................................................................................... 424
Chapter 13: Debugging and Diagnostics..................................................................................... 425
Diagnostics and Monitoring Commands.................................................................................................................... 425
logging coredump stack-unit..................................................................................................................................425
Offline Diagnostic Commands......................................................................................................................................426
diag stack-unit........................................................................................................................................................... 426
offline stack-unit....................................................................................................................................................... 427
online stack-unit........................................................................................................................................................ 428
Hardware Commands.....................................................................................................................................................428
clear hardware stack-unit....................................................................................................................................... 428
clear hardware system-flow................................................................................................................................... 429
clear hardware vlan-counters................................................................................................................................ 430
hardware watchdog..................................................................................................................................................430
show hardware mac.................................................................................................................................................. 431
show hardware ip...................................................................................................................................................... 432
show hardware stack-unit...................................................................................................................................... 432
show hardware stack-unit buffer..........................................................................................................................440
show hardware buffer-stats-snapshot................................................................................................................ 442
show hardware counters interface ......................................................................................................................444
show hardware drops...............................................................................................................................................446
show hardware system-flow.................................................................................................................................. 447
show hardware vlan-counters............................................................................................................................... 449
Contents
11
show hardware stack-unit buffer-stats-snapshot ...........................................................................................450
show hardware stack-unit buffer-stats-snapshot (Total Buffer Information).......................................... 452
Chapter 14: Dynamic Host Configuration Protocol (DHCP)........................................................ 454
Commands to Configure the System to be a DHCP Server................................................................................ 454
clear ip dhcp............................................................................................................................................................... 454
debug ip dhcp server............................................................................................................................................... 455
debug ipv6 dhcp .......................................................................................................................................................455
default-router.............................................................................................................................................................456
disable.......................................................................................................................................................................... 456
dns-server...................................................................................................................................................................457
domain-name..............................................................................................................................................................458
excluded-address...................................................................................................................................................... 458
hardware-address..................................................................................................................................................... 459
host...............................................................................................................................................................................460
lease............................................................................................................................................................................. 460
netbios-name-server.................................................................................................................................................461
netbios-node-type.................................................................................................................................................... 462
network........................................................................................................................................................................462
pool............................................................................................................................................................................... 463
show ip dhcp binding................................................................................................................................................464
show ip dhcp configuration.................................................................................................................................... 464
show ip dhcp conflict...............................................................................................................................................465
show ip dhcp server................................................................................................................................................. 466
Commands to Configure Secure DHCP.................................................................................................................... 466
arp inspection.............................................................................................................................................................466
arp inspection-trust.................................................................................................................................................. 467
clear ip dhcp snooping............................................................................................................................................. 467
clear ipv6 dhcp snooping binding..........................................................................................................................469
ip dhcp relay............................................................................................................................................................... 469
ip dhcp snooping....................................................................................................................................................... 470
ipv6 dhcp snooping...................................................................................................................................................470
ipv6 dhcp snooping vlan...........................................................................................................................................471
ip dhcp snooping binding..........................................................................................................................................471
IPv6 DHCP Snooping Binding.................................................................................................................................472
ip dhcp snooping database......................................................................................................................................473
ipv6 dhcp snooping database write-delay...........................................................................................................473
ip dhcp snooping database renew.........................................................................................................................474
ipv6 dhcp snooping database renew.................................................................................................................... 474
ip dhcp snooping trust............................................................................................................................................. 475
ipv6 dhcp snooping trust.........................................................................................................................................475
ip dhcp source-address-validation........................................................................................................................ 476
ip dhcp relay information-option............................................................................................................................477
ip dhcp snooping verify mac-address...................................................................................................................477
ipv6 dhcp snooping verify mac-address.............................................................................................................. 478
ip helper-address.......................................................................................................................................................478
ipv6 helper-address.................................................................................................................................................. 479
show ip dhcp snooping............................................................................................................................................ 480
show ipv6 dhcp snooping........................................................................................................................................482
Commands to Configure DNS .................................................................................................................................... 482
12
Contents
ip name-server........................................................................................................................................................... 482
ip domain-name......................................................................................................................................................... 483
ip domain-list.............................................................................................................................................................. 484
ip host.......................................................................................................................................................................... 485
clear host.................................................................................................................................................................... 485
Chapter 15: Equal Cost Multi-Path (ECMP)............................................................................... 487
ecmp-group...................................................................................................................................................................... 487
hash-algorithm.................................................................................................................................................................488
ip ecmp-group................................................................................................................................................................. 490
ip ecmp weighted............................................................................................................................................................ 491
link-bundle-distribution trigger-threshold................................................................................................................. 492
link-bundle-monitor enable........................................................................................................................................... 492
Chapter 16: Flex Hash and Optimized Boot-Up...........................................................................494
load-balance ingress-port enable................................................................................................................................494
load-balance flexhash.................................................................................................................................................... 494
reload-type fastboot...................................................................................................................................................... 496
lacp fast-switchover...................................................................................................................................................... 496
encapsulation dot1q........................................................................................................................................................ 497
Chapter 17: FIP Snooping.......................................................................................................... 498
clear fip-snooping database interface vlan...............................................................................................................498
clear fip-snooping statistics......................................................................................................................................... 499
debug fip snooping......................................................................................................................................................... 499
debug fip snooping rx.................................................................................................................................................... 500
feature fip-snooping....................................................................................................................................................... 501
fip-snooping enable.........................................................................................................................................................501
fip-snooping fc-map.......................................................................................................................................................502
fip-snooping max-sessions-per-enodemac...............................................................................................................503
fip-snooping port-mode fcf..........................................................................................................................................503
fip-snooping port-mode fcoe-trusted........................................................................................................................504
show fip-snooping config............................................................................................................................................. 504
show fip-snooping enode..............................................................................................................................................505
show fip-snooping fcf....................................................................................................................................................506
show fip-snooping statistics........................................................................................................................................ 506
show fip-snooping system............................................................................................................................................509
show fip-snooping vlan.................................................................................................................................................. 510
show fips status...............................................................................................................................................................510
Chapter 18: Force10 Resilient Ring Protocol (FRRP)...................................................................511
clear frrp.............................................................................................................................................................................511
debug frrp..........................................................................................................................................................................512
description.........................................................................................................................................................................513
disable.................................................................................................................................................................................514
interface.............................................................................................................................................................................514
member-vlan.....................................................................................................................................................................516
mode................................................................................................................................................................................... 516
protocol frrp......................................................................................................................................................................517
Contents
13
show frrp........................................................................................................................................................................... 518
timer....................................................................................................................................................................................519
Chapter 19: GARP VLAN Registration (GVRP)............................................................................521
clear gvrp statistics........................................................................................................................................................ 522
debug gvrp........................................................................................................................................................................522
disable................................................................................................................................................................................ 523
garp timers....................................................................................................................................................................... 524
gvrp enable.......................................................................................................................................................................525
gvrp registration..............................................................................................................................................................526
protocol gvrp....................................................................................................................................................................527
show config...................................................................................................................................................................... 527
show garp timers............................................................................................................................................................ 528
show gvrp......................................................................................................................................................................... 529
show gvrp statistics....................................................................................................................................................... 530
Chapter 20: ICMP Message Types............................................................................................. 532
Chapter 21: Internet Group Management Protocol (IGMP)........................................................ 534
IGMP Commands............................................................................................................................................................ 534
clear ip igmp groups................................................................................................................................................. 534
debug ip igmp.............................................................................................................................................................535
ip igmp access-group............................................................................................................................................... 536
ip igmp immediate-leave..........................................................................................................................................537
ip igmp last-member-query-interval..................................................................................................................... 538
ip igmp query-interval.............................................................................................................................................. 538
ip igmp query-max-resp-time.................................................................................................................................539
ip igmp ssm-map....................................................................................................................................................... 540
ip igmp version............................................................................................................................................................541
show ip igmp groups................................................................................................................................................ 542
show ip igmp interface.............................................................................................................................................544
show ip igmp ssm-map............................................................................................................................................ 545
IGMP Snooping Commands..........................................................................................................................................546
clear ip igmp snooping groups................................................................................................................................547
debug ip igmp snooping...........................................................................................................................................548
ip igmp snooping enable.......................................................................................................................................... 548
ip igmp snooping fast-leave....................................................................................................................................549
ip igmp snooping last-member-query-interval................................................................................................... 550
ip igmp snooping mrouter........................................................................................................................................ 551
ip igmp snooping querier......................................................................................................................................... 552
show ip igmp snooping groups.............................................................................................................................. 553
show ip igmp snooping mrouter............................................................................................................................ 554
Chapter 22: Interfaces.............................................................................................................. 555
Basic Interface Commands...........................................................................................................................................555
clear counters............................................................................................................................................................ 555
clear dampening........................................................................................................................................................ 557
dampening.................................................................................................................................................................. 558
default interface........................................................................................................................................................559
14
Contents
description.................................................................................................................................................................. 560
duplex (10/100 Interfaces)......................................................................................................................................561
flowcontrol.................................................................................................................................................................. 561
interface...................................................................................................................................................................... 564
interface group.......................................................................................................................................................... 565
interface loopback.................................................................................................................................................... 566
interface managementEthernet.............................................................................................................................567
interface null...............................................................................................................................................................568
interface range.......................................................................................................................................................... 569
interface range macro (define).............................................................................................................................. 571
interface range macro name...................................................................................................................................572
interface vlan..............................................................................................................................................................573
intf-type cr4 autoneg...............................................................................................................................................574
keepalive......................................................................................................................................................................575
monitor interface.......................................................................................................................................................575
mtu................................................................................................................................................................................578
negotiation auto.........................................................................................................................................................579
portmode hybrid.........................................................................................................................................................581
rate-interval................................................................................................................................................................583
show config................................................................................................................................................................ 583
show config (for speed)..........................................................................................................................................584
show config (from INTERFACE RANGE mode)................................................................................................585
show interfaces......................................................................................................................................................... 585
show interfaces configured.....................................................................................................................................591
show interfaces dampening....................................................................................................................................592
show interfaces stack-unit..................................................................................................................................... 593
show interfaces status............................................................................................................................................ 594
show interfaces vlan................................................................................................................................................ 596
show system stack-unit quad-port-profile......................................................................................................... 597
stack-unit quad-port-profile...................................................................................................................................598
show interfaces switchport....................................................................................................................................599
show interfaces transceiver...................................................................................................................................600
show range................................................................................................................................................................. 605
shutdown.................................................................................................................................................................... 606
speed (Management interface).............................................................................................................................607
stack-unit portmode.................................................................................................................................................608
switchport...................................................................................................................................................................609
Port Channel Commands...............................................................................................................................................610
channel-member........................................................................................................................................................ 610
group..............................................................................................................................................................................611
interface port-channel..............................................................................................................................................612
minimum-links............................................................................................................................................................. 613
port-channel failover-group.................................................................................................................................... 614
show interfaces port-channel.................................................................................................................................615
show port-channel-flow...........................................................................................................................................618
ip http source-interface.................................................................................................................................................619
Chapter 23: IPv4 Routing...........................................................................................................621
arp.......................................................................................................................................................................................622
arp backoff-time............................................................................................................................................................. 623
Contents
15
arp learn-enable...............................................................................................................................................................624
arp max-entries............................................................................................................................................................... 624
arp retries......................................................................................................................................................................... 625
arp timeout....................................................................................................................................................................... 626
clear arp-cache................................................................................................................................................................626
clear host.......................................................................................................................................................................... 627
clear ip fib stack-unit..................................................................................................................................................... 628
clear ip route.................................................................................................................................................................... 629
clear tcp statistics.......................................................................................................................................................... 630
debug arp.......................................................................................................................................................................... 630
debug ip dhcp................................................................................................................................................................... 631
debug ip icmp...................................................................................................................................................................633
debug ip packet............................................................................................................................................................... 634
ip address..........................................................................................................................................................................636
ip directed-broadcast.....................................................................................................................................................637
ip domain-list.................................................................................................................................................................... 637
ip domain-lookup............................................................................................................................................................. 638
ip domain-name............................................................................................................................................................... 639
ip helper-address............................................................................................................................................................ 640
ip helper-address hop-count disable...........................................................................................................................641
ip host................................................................................................................................................................................ 642
ip icmp source-interface............................................................................................................................................... 643
ipv6 icmp source-interface...........................................................................................................................................644
ip max-frag-count...........................................................................................................................................................645
ip name-server.................................................................................................................................................................646
ip proxy-arp...................................................................................................................................................................... 647
ip route...............................................................................................................................................................................647
ip source-route................................................................................................................................................................650
ip tcp initial-time............................................................................................................................................................. 650
ip unknown-unicast......................................................................................................................................................... 651
ipv4 unicast-host-route................................................................................................................................................. 651
show ip tcp initial-time.................................................................................................................................................. 652
ip unreachables................................................................................................................................................................652
load-balance..................................................................................................................................................................... 653
load-balance hg............................................................................................................................................................... 654
management route......................................................................................................................................................... 655
show arp............................................................................................................................................................................657
show arp retries.............................................................................................................................................................. 659
show hosts....................................................................................................................................................................... 660
show ip cam stack-unit.................................................................................................................................................. 661
show ip fib stack-unit.................................................................................................................................................... 663
show ip flow..................................................................................................................................................................... 664
show ip interface............................................................................................................................................................ 666
show ip management-route......................................................................................................................................... 668
show ip protocols............................................................................................................................................................669
show ip route................................................................................................................................................................... 670
show ip route list.............................................................................................................................................................673
show ip route summary................................................................................................................................................. 674
show ip traffic..................................................................................................................................................................676
show tcp statistics..........................................................................................................................................................678
16
Contents
Chapter 24: IPv6 Basics............................................................................................................ 680
cam-ipv6 extended-prefix............................................................................................................................................ 680
clear ipv6 route................................................................................................................................................................ 681
maximum dynamic-routes-ipv6.................................................................................................................................... 681
show cam-ipv6 extended-prefix................................................................................................................................. 682
ipv6 unicast-host-route.................................................................................................................................................683
ipv6 nd dns-server ..................................................................................................................................................... 683
ipv6 route..........................................................................................................................................................................684
show ipv6 management-route.....................................................................................................................................686
show ipv6 route...............................................................................................................................................................687
Chapter 25: IPv6 Access Control Lists (IPv6 ACLs)................................................................... 690
show cam-acl-egress.....................................................................................................................................................690
show cam-acl....................................................................................................................................................................691
permit icmp.......................................................................................................................................................................693
permit.................................................................................................................................................................................693
ipv6 control-plane egress-filter...................................................................................................................................694
ipv6 access-list................................................................................................................................................................695
cam-acl-egress................................................................................................................................................................696
cam-acl.............................................................................................................................................................................. 697
Chapter 26: Intermediate System to Intermediate System (IS-IS).............................................698
adjacency-check............................................................................................................................................................. 699
advertise............................................................................................................................................................................700
area-password.................................................................................................................................................................. 701
clear config....................................................................................................................................................................... 702
clear isis.............................................................................................................................................................................702
clns host............................................................................................................................................................................ 703
debug isis.......................................................................................................................................................................... 703
debug isis adj-packets....................................................................................................................................................704
debug isis local-updates................................................................................................................................................ 705
debug isis snp-packets.................................................................................................................................................. 706
debug isis spf-triggers................................................................................................................................................... 707
debug isis update-packets............................................................................................................................................ 707
default-information originate....................................................................................................................................... 708
description........................................................................................................................................................................ 709
distance..............................................................................................................................................................................710
distribute-list in................................................................................................................................................................ 710
distribute-list out.............................................................................................................................................................. 711
distribute-list redistributed-override........................................................................................................................... 712
domain-password.............................................................................................................................................................713
graceful-restart ietf.........................................................................................................................................................714
graceful-restart interval................................................................................................................................................. 714
graceful-restart restart-wait.........................................................................................................................................715
graceful-restart t1............................................................................................................................................................716
graceful-restart t2...........................................................................................................................................................716
graceful-restart t3........................................................................................................................................................... 717
hello padding..................................................................................................................................................................... 718
Contents
17
hostname dynamic...........................................................................................................................................................718
ignore-lsp-errors.............................................................................................................................................................. 719
ip router isis...................................................................................................................................................................... 720
ipv6 router isis................................................................................................................................................................. 720
isis circuit-type................................................................................................................................................................. 721
isis csnp-interval..............................................................................................................................................................722
isis hello-interval..............................................................................................................................................................723
isis hello-multiplier...........................................................................................................................................................724
isis hello padding..............................................................................................................................................................724
isis ipv6 metric................................................................................................................................................................. 725
isis metric.......................................................................................................................................................................... 726
isis network point-to-point........................................................................................................................................... 727
isis password.................................................................................................................................................................... 727
isis priority.........................................................................................................................................................................728
is-type................................................................................................................................................................................ 729
log-adjacency-changes..................................................................................................................................................730
lsp-gen-interval................................................................................................................................................................730
lsp-mtu............................................................................................................................................................................... 731
lsp-refresh-interval......................................................................................................................................................... 732
max-area-addresses....................................................................................................................................................... 733
max-lsp-lifetime............................................................................................................................................................... 733
maximum-paths............................................................................................................................................................... 734
metric-style...................................................................................................................................................................... 735
multi-topology..................................................................................................................................................................736
net.......................................................................................................................................................................................736
passive-interface............................................................................................................................................................. 737
redistribute........................................................................................................................................................................738
redistribute bgp............................................................................................................................................................... 739
redistribute ospf.............................................................................................................................................................. 740
router isis........................................................................................................................................................................... 741
set-overload-bit...............................................................................................................................................................742
show config...................................................................................................................................................................... 743
show isis database.......................................................................................................................................................... 744
show isis graceful-restart detail.................................................................................................................................. 746
show isis hostname.........................................................................................................................................................747
show isis interface.......................................................................................................................................................... 748
show isis neighbors.........................................................................................................................................................749
show isis protocol............................................................................................................................................................ 751
show isis traffic............................................................................................................................................................... 752
spf-interval....................................................................................................................................................................... 753
Chapter 27: Link Aggregation Control Protocol (LACP)............................................................. 755
clear lacp counters......................................................................................................................................................... 755
debug lacp.........................................................................................................................................................................756
lacp long-timeout............................................................................................................................................................ 757
lacp port-priority..............................................................................................................................................................757
lacp system-priority........................................................................................................................................................758
port-channel-protocol lacp...........................................................................................................................................759
show lacp.......................................................................................................................................................................... 759
18
Contents
Chapter 28: Layer 2................................................................................................................... 762
MAC Addressing Commands........................................................................................................................................762
mac-address-table aging-time............................................................................................................................... 762
mac-address-table static.........................................................................................................................................763
mac-address-table station-move refresh-arp....................................................................................................764
mac learning-limit...................................................................................................................................................... 765
mac learning-limit learn-limit-violation................................................................................................................. 766
mac learning-limit mac-address-sticky.................................................................................................................767
mac learning-limit station-move-violation........................................................................................................... 767
mac learning-limit reset........................................................................................................................................... 768
show mac-address-table......................................................................................................................................... 769
show mac-address-table aging-time..................................................................................................................... 771
show mac learning-limit........................................................................................................................................... 772
Virtual LAN (VLAN) Commands.................................................................................................................................. 773
default vlan-id.............................................................................................................................................................773
description...................................................................................................................................................................774
default-vlan disable................................................................................................................................................... 774
name............................................................................................................................................................................. 775
show config.................................................................................................................................................................776
show vlan.....................................................................................................................................................................777
tagged.......................................................................................................................................................................... 780
track ip..........................................................................................................................................................................781
untagged......................................................................................................................................................................782
Far-End Failure Detection (FEFD).............................................................................................................................. 783
debug fefd...................................................................................................................................................................783
fefd............................................................................................................................................................................... 784
fefd disable................................................................................................................................................................. 784
fefd interval................................................................................................................................................................ 785
fefd mode....................................................................................................................................................................786
fefd reset.....................................................................................................................................................................786
fefd-global interval.................................................................................................................................................... 787
fefd-global...................................................................................................................................................................788
show fefd.................................................................................................................................................................... 789
Chapter 29: Link Layer Discovery Protocol (LLDP).....................................................................791
LLPD Commands..............................................................................................................................................................791
advertise dot1-tlv....................................................................................................................................................... 791
advertise dot3-tlv......................................................................................................................................................792
clear lldp counters.....................................................................................................................................................793
clear lldp neighbors................................................................................................................................................... 793
debug lldp interface.................................................................................................................................................. 794
disable.......................................................................................................................................................................... 795
hello.............................................................................................................................................................................. 796
mode.............................................................................................................................................................................797
multiplier...................................................................................................................................................................... 797
protocol lldp (Configuration)..................................................................................................................................798
protocol lldp (Interface).......................................................................................................................................... 799
show lldp neighbors.................................................................................................................................................. 799
Contents
19
show lldp statistics................................................................................................................................................... 800
LLDP-MED Commands.................................................................................................................................................. 801
advertise med guest-voice...................................................................................................................................... 801
advertise med guest-voice-signaling....................................................................................................................802
advertise med location-identification...................................................................................................................803
advertise med power-via-mdi................................................................................................................................ 804
advertise med softphone-voice.............................................................................................................................805
advertise med streaming-video............................................................................................................................. 806
advertise med video-conferencing....................................................................................................................... 806
advertise med video-signaling................................................................................................................................807
advertise med voice................................................................................................................................................. 808
advertise med voice-signaling................................................................................................................................809
Chapter 30: Microsoft Network Load Balancing.......................................................................... 811
arp (for Multicast MAC Address).................................................................................................................................811
mac-address-table static (for Multicast MAC Address)........................................................................................812
ip vlan-flooding.................................................................................................................................................................813
Chapter 31: Multicast Source Discovery Protocol (MSDP)......................................................... 814
clear ip msdp peer........................................................................................................................................................... 814
clear ip msdp sa-cache...................................................................................................................................................815
clear ip msdp statistic.....................................................................................................................................................816
ip msdp cache-rejected-sa............................................................................................................................................816
ip msdp default-peer....................................................................................................................................................... 817
ip msdp log-adjacency-changes...................................................................................................................................818
ip msdp mesh-group....................................................................................................................................................... 818
ip msdp originator-id....................................................................................................................................................... 819
ip msdp peer.....................................................................................................................................................................820
ip msdp redistribute........................................................................................................................................................ 821
ip msdp sa-filter...............................................................................................................................................................822
ip msdp sa-limit................................................................................................................................................................823
ip msdp shutdown...........................................................................................................................................................823
ip multicast-msdp............................................................................................................................................................824
show ip msdp................................................................................................................................................................... 825
show ip msdp sa-cache rejected-sa...........................................................................................................................826
Chapter 32: Multiple Spanning Tree Protocol (MSTP)............................................................... 827
debug spanning-tree mstp............................................................................................................................................827
disable................................................................................................................................................................................828
forward-delay...................................................................................................................................................................829
hello-time.......................................................................................................................................................................... 830
max-age.............................................................................................................................................................................830
msti......................................................................................................................................................................................831
name...................................................................................................................................................................................832
protocol spanning-tree mstp........................................................................................................................................833
revision.............................................................................................................................................................................. 834
show config...................................................................................................................................................................... 834
show spanning-tree mst configuration......................................................................................................................835
show spanning-tree msti...............................................................................................................................................836
20
Contents
/