PowerSwitch S4048-ON

Dell PowerSwitch S4048-ON User guide

  • Hello! I am an AI chatbot trained to assist you with the Dell PowerSwitch S4048-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
S4048–ON System
9.14.0.0
July 2018
Rev. A00
Notes, cautions, and warnings
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
Copyright © 2018 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its
subsidiaries. Other trademarks may be trademarks of their respective owners.
Chapter 1: About this Guide.........................................................................................................42
Objectives........................................................................................................................................................................... 42
Audience.............................................................................................................................................................................. 42
Conventions........................................................................................................................................................................42
Information Icons...............................................................................................................................................................43
Chapter 2: CLI Basics.................................................................................................................. 44
Accessing the Command Line........................................................................................................................................ 44
Multiple Configuration Users.......................................................................................................................................... 44
Obtaining Help................................................................................................................................................................... 45
Navigating the CLI............................................................................................................................................................ 46
Using the no Command....................................................................................................................................................47
Filtering show Commands............................................................................................................................................... 47
Enabling Software Features on Devices Using a Command Option..................................................................... 48
feature vrf..................................................................................................................................................................... 48
show feature.................................................................................................................................................................49
Command Modes.............................................................................................................................................................. 49
Chapter 3: File Management........................................................................................................ 57
boot system........................................................................................................................................................................ 57
cd.......................................................................................................................................................................................... 59
HTTP Copy via CLI........................................................................................................................................................... 59
copy...................................................................................................................................................................................... 60
delete....................................................................................................................................................................................62
dir.......................................................................................................................................................................................... 63
format.................................................................................................................................................................................. 64
fsck flash.............................................................................................................................................................................65
mkdir.....................................................................................................................................................................................66
mount nfs............................................................................................................................................................................ 66
rmdir..................................................................................................................................................................................... 67
HTTP Copy via CLI........................................................................................................................................................... 68
rename................................................................................................................................................................................. 68
restore factory-defaults.................................................................................................................................................. 69
show boot system.............................................................................................................................................................. 71
show bootvar......................................................................................................................................................................72
show file-systems..............................................................................................................................................................73
show os-version.................................................................................................................................................................74
show running-config.........................................................................................................................................................75
show startup-config......................................................................................................................................................... 79
show version.......................................................................................................................................................................79
upgrade.................................................................................................................................................................................81
upgrade system................................................................................................................................................................. 82
Chapter 4: Control and Monitoring.............................................................................................. 85
Contents
Contents 3
asf-mode............................................................................................................................................................................. 86
banner exec.........................................................................................................................................................................87
banner login........................................................................................................................................................................ 88
banner motd....................................................................................................................................................................... 90
cam-acl................................................................................................................................................................................. 91
cam-acl-vlan....................................................................................................................................................................... 92
clear average-power.........................................................................................................................................................93
clear line...............................................................................................................................................................................93
configure............................................................................................................................................................................. 94
disable.................................................................................................................................................................................. 95
do.......................................................................................................................................................................................... 96
enable................................................................................................................................................................................... 97
enable optic-info-update interval.................................................................................................................................. 98
enable xfp-power-updates..............................................................................................................................................98
end........................................................................................................................................................................................ 99
exec-timeout.....................................................................................................................................................................100
exit....................................................................................................................................................................................... 101
ftp-server enable............................................................................................................................................................. 102
ftp-server topdir.............................................................................................................................................................. 103
ftp-server username....................................................................................................................................................... 104
hostname........................................................................................................................................................................... 105
ip http source-interface.................................................................................................................................................105
ip http vrf.......................................................................................................................................................................... 106
ip ftp password.................................................................................................................................................................107
ip ftp source-interface................................................................................................................................................... 108
ip ftp username................................................................................................................................................................ 109
ip ftp vrf..............................................................................................................................................................................110
ip telnet server enable.....................................................................................................................................................110
ip telnet server vrf............................................................................................................................................................ 111
ip telnet source-interface............................................................................................................................................... 112
ip telnet vrf........................................................................................................................................................................ 113
ip tftp source-interface...................................................................................................................................................114
ip tftp vrf............................................................................................................................................................................ 115
line........................................................................................................................................................................................ 115
login concurrent-session.................................................................................................................................................116
login statistics....................................................................................................................................................................118
motd-banner...................................................................................................................................................................... 119
ping......................................................................................................................................................................................120
reload.................................................................................................................................................................................. 123
send.....................................................................................................................................................................................124
service timestamps......................................................................................................................................................... 125
show alarms...................................................................................................................................................................... 126
show cam-acl-vlan...........................................................................................................................................................127
show command-history..................................................................................................................................................128
show cpu-traffic-stats................................................................................................................................................... 129
show debugging............................................................................................................................................................... 130
show environment............................................................................................................................................................131
show inventory................................................................................................................................................................. 133
show login statistics........................................................................................................................................................135
show memory....................................................................................................................................................................137
4
Contents
show processes cpu........................................................................................................................................................138
show processes ipc flow-control..................................................................................................................................141
show processes memory................................................................................................................................................143
show reset-reason...........................................................................................................................................................145
show software ifm...........................................................................................................................................................146
show system..................................................................................................................................................................... 147
show tech-support..........................................................................................................................................................149
ssh-peer-stack-unit.........................................................................................................................................................152
telnet...................................................................................................................................................................................153
telnet-peer-stack-unit.................................................................................................................................................... 154
terminal length................................................................................................................................................................. 155
traceroute..........................................................................................................................................................................156
undebug all........................................................................................................................................................................ 158
virtual-ip.............................................................................................................................................................................158
write....................................................................................................................................................................................159
Chapter 5: 802.1X.......................................................................................................................161
debug dot1x.......................................................................................................................................................................162
dot1x auth-fail-vlan......................................................................................................................................................... 162
dot1x auth-server.............................................................................................................................................................163
dot1x auth-type mab-only..............................................................................................................................................164
dot1x authentication (Configuration)......................................................................................................................... 165
dot1x authentication (Interface)..................................................................................................................................166
dot1x critical-vlan.............................................................................................................................................................166
dot1x guest-vlan...............................................................................................................................................................167
dot1x host-mode.............................................................................................................................................................. 168
dot1x mac-auth-bypass..................................................................................................................................................169
dot1x max-eap-req...........................................................................................................................................................170
dot1x max-supplicants..................................................................................................................................................... 171
dot1x port-control.............................................................................................................................................................171
dot1x profile.......................................................................................................................................................................172
dot1x quiet-period............................................................................................................................................................173
dot1x reauthentication.................................................................................................................................................... 174
dot1x reauth-max............................................................................................................................................................. 174
dot1x server-timeout.......................................................................................................................................................175
dot1x static-mab.............................................................................................................................................................. 176
dot1x supplicant-timeout................................................................................................................................................177
dot1x tx-period................................................................................................................................................................. 178
mac......................................................................................................................................................................................179
show dot1x cos-mapping interface..............................................................................................................................179
show dot1x interface....................................................................................................................................................... 181
show dot1x profile............................................................................................................................................................183
Chapter 6: Access Control Lists (ACL).......................................................................................184
Commands Common to all ACL Types....................................................................................................................... 185
remark...........................................................................................................................................................................185
show config................................................................................................................................................................. 187
Common IP ACL Commands......................................................................................................................................... 187
access-class................................................................................................................................................................ 188
Contents
5
clear counters ip access-group.............................................................................................................................. 189
ip access-group.......................................................................................................................................................... 189
ip mirror-access-group..............................................................................................................................................191
ip control-plane egress-filter...................................................................................................................................192
show ip accounting access-list...............................................................................................................................192
show ip access-lists.................................................................................................................................................. 194
Standard IP ACL Commands........................................................................................................................................ 194
deny...............................................................................................................................................................................194
ip access-list standard..............................................................................................................................................196
permit............................................................................................................................................................................197
resequence access-list............................................................................................................................................. 199
seq................................................................................................................................................................................ 200
Extended IP ACL Commands........................................................................................................................................201
deny..............................................................................................................................................................................202
deny icmp....................................................................................................................................................................204
deny tcp...................................................................................................................................................................... 205
deny udp......................................................................................................................................................................208
ip access-list extended..............................................................................................................................................211
permit............................................................................................................................................................................212
permit tcp.................................................................................................................................................................... 213
permit udp................................................................................................................................................................... 216
resequence access-list............................................................................................................................................. 219
seq................................................................................................................................................................................ 220
Common MAC Access List Commands..................................................................................................................... 222
clear counters mac access-group......................................................................................................................... 223
mac access-group.....................................................................................................................................................223
show mac access-lists............................................................................................................................................. 225
show mac accounting access-list......................................................................................................................... 225
Standard MAC ACL Commands.................................................................................................................................. 227
deny.............................................................................................................................................................................. 227
mac access-list standard.........................................................................................................................................228
permit...........................................................................................................................................................................229
seq................................................................................................................................................................................ 230
Extended MAC ACL Commands..................................................................................................................................232
deny.............................................................................................................................................................................. 232
mac access-list extended........................................................................................................................................233
permit...........................................................................................................................................................................235
IP Prefix List Commands...............................................................................................................................................236
clear ip prefix-list.......................................................................................................................................................236
deny.............................................................................................................................................................................. 237
ip prefix-list.................................................................................................................................................................238
seq................................................................................................................................................................................ 239
show config................................................................................................................................................................ 240
show ip prefix-list detail........................................................................................................................................... 241
show ip prefix-list summary....................................................................................................................................242
Route Map Commands.................................................................................................................................................. 243
continue.......................................................................................................................................................................243
description.................................................................................................................................................................. 244
match as-path............................................................................................................................................................244
match community..................................................................................................................................................... 245
6
Contents
match interface......................................................................................................................................................... 246
match ip address....................................................................................................................................................... 247
match ip next-hop.....................................................................................................................................................248
match ip route-source............................................................................................................................................. 249
match metric..............................................................................................................................................................250
match origin................................................................................................................................................................ 251
match route-type...................................................................................................................................................... 252
match tag....................................................................................................................................................................253
route-map................................................................................................................................................................... 254
set as-path................................................................................................................................................................. 255
set automatic-tag..................................................................................................................................................... 256
set comm-list delete.................................................................................................................................................256
set community............................................................................................................................................................257
set level....................................................................................................................................................................... 258
set local-preference................................................................................................................................................. 259
set metric....................................................................................................................................................................260
set metric-type...........................................................................................................................................................261
set next-hop...............................................................................................................................................................262
set origin......................................................................................................................................................................263
set tag..........................................................................................................................................................................264
set weight................................................................................................................................................................... 265
show config................................................................................................................................................................ 265
show route-map........................................................................................................................................................ 266
AS-Path Commands....................................................................................................................................................... 267
ip as-path access-list............................................................................................................................................... 267
show ip as-path-access-lists..................................................................................................................................268
IP Community List Commands.....................................................................................................................................269
ip community-list.......................................................................................................................................................269
show ip community-lists..........................................................................................................................................269
UDF ACL Commands......................................................................................................................................................270
deny ip..........................................................................................................................................................................270
feature udf-acl............................................................................................................................................................ 271
key................................................................................................................................................................................. 271
match........................................................................................................................................................................... 272
permit ip.......................................................................................................................................................................273
show config................................................................................................................................................................ 273
udf-id............................................................................................................................................................................274
udf-qualifier-value..................................................................................................................................................... 274
udf-tcam......................................................................................................................................................................275
deny (for Standard IP ACLs)........................................................................................................................................275
deny (for Extended IP ACLs).......................................................................................................................................276
seq (for Standard IPv4 ACLs)......................................................................................................................................278
deny tcp (for Extended IP ACLs)................................................................................................................................279
deny udp (for Extended IP ACLs)............................................................................................................................... 281
deny arp (for Extended MAC ACLs).......................................................................................................................... 282
deny icmp (for Extended IP ACLs).............................................................................................................................283
deny ether-type (for Extended MAC ACLs)............................................................................................................ 284
deny (for Standard MAC ACLs)..................................................................................................................................286
deny (for Extended MAC ACLs)................................................................................................................................. 287
permit (for Standard IP ACLs).................................................................................................................................... 288
Contents
7
permit arp (for Extended MAC ACLs).......................................................................................................................289
permit ether-type (for Extended MAC ACLs).........................................................................................................290
permit icmp (for Extended IP ACLs)..........................................................................................................................292
permit udp (for Extended IP ACLs)............................................................................................................................293
permit (for Extended IP ACLs)....................................................................................................................................295
permit (for Standard MAC ACLs)...............................................................................................................................296
seq (for Standard MAC ACLs).................................................................................................................................... 297
permit tcp (for Extended IP ACLs)............................................................................................................................ 299
seq arp (for Extended MAC ACLs)............................................................................................................................ 300
seq ether-type (for Extended MAC ACLs)............................................................................................................... 301
seq (for IP ACLs)............................................................................................................................................................ 302
seq (for IPv6 ACLs)....................................................................................................................................................... 304
permit udp (for IPv6 ACLs)..........................................................................................................................................306
permit tcp (for IPv6 ACLs)...........................................................................................................................................307
permit icmp (for IPv6 ACLs).........................................................................................................................................310
permit (for IPv6 ACLs)................................................................................................................................................... 311
deny udp (for IPv6 ACLs)..............................................................................................................................................313
deny tcp (for IPv6 ACLs).............................................................................................................................................. 314
deny icmp (for Extended IPv6 ACLs).........................................................................................................................316
deny (for IPv6 ACLs)......................................................................................................................................................318
Chapter 7: Access Control List (ACL) VLAN Groups and Content Addressable Memory (CAM).. 320
member vlan.....................................................................................................................................................................320
ip access-group................................................................................................................................................................321
show acl-vlan-group ...................................................................................................................................................... 321
show cam-acl-vlan..........................................................................................................................................................322
cam-acl-vlan.....................................................................................................................................................................323
show cam-usage............................................................................................................................................................. 324
show running config acl-vlan-group........................................................................................................................... 327
acl-vlan-group..................................................................................................................................................................328
show acl-vlan-group detail........................................................................................................................................... 328
description (ACL VLAN Group)...................................................................................................................................329
Chapter 8: Bidirectional Forwarding Detection (BFD)................................................................ 330
bfd all-neighbors............................................................................................................................................................. 330
bfd enable (Configuration)........................................................................................................................................... 332
bfd enable (Interface)....................................................................................................................................................332
bfd interval ...................................................................................................................................................................... 333
bfd protocol-liveness..................................................................................................................................................... 334
ip route bfd....................................................................................................................................................................... 334
ip ospf bfd all-neighbors................................................................................................................................................336
ipv6 ospf bfd all-neighbors........................................................................................................................................... 337
ipv6 route bfd.................................................................................................................................................................. 338
isis bfd all-neighbors.......................................................................................................................................................338
neighbor bfd disable....................................................................................................................................................... 339
show bfd neighbors........................................................................................................................................................ 340
vrrp bfd neighbor............................................................................................................................................................ 343
Chapter 9: Border Gateway Protocol......................................................................................... 345
8
Contents
BGP IPv4 Commands.....................................................................................................................................................345
address-family............................................................................................................................................................345
aggregate-address....................................................................................................................................................346
bgp add-path..............................................................................................................................................................347
bgp always-compare-med.......................................................................................................................................348
bgp asnotation........................................................................................................................................................... 349
bgp bestpath as-path ignore..................................................................................................................................350
bgp bestpath as-path multipath-relax.................................................................................................................. 351
bgp bestpath med confed........................................................................................................................................351
bgp bestpath med missing-as-best...................................................................................................................... 352
bgp bestpath router-id ignore................................................................................................................................353
bgp client-to-client reflection................................................................................................................................ 353
bgp cluster-id............................................................................................................................................................. 354
bgp confederation identifier...................................................................................................................................355
bgp confederation peers......................................................................................................................................... 356
bgp connection-retry-timer.................................................................................................................................... 357
bgp dampening...........................................................................................................................................................357
bgp default local-preference..................................................................................................................................358
bgp dmzlink-bw......................................................................................................................................................... 359
bgp enforce-first-as................................................................................................................................................. 360
bgp fast-external-fallover........................................................................................................................................ 361
bgp four-octet-as-support...................................................................................................................................... 361
bgp graceful-restart................................................................................................................................................. 362
bgp non-deterministic-med.................................................................................................................................... 363
bgp outbound-optimization.................................................................................................................................... 364
bgp recursive-bgp-next-hop.................................................................................................................................. 364
bgp regex-eval-optz-disable.................................................................................................................................. 365
bgp router-id.............................................................................................................................................................. 366
clear ip bgp................................................................................................................................................................. 367
clear ip bgp dampening............................................................................................................................................369
clear ip bgp flap-statistics.......................................................................................................................................370
clear ip bgp peer-group............................................................................................................................................ 371
deny bandwidth......................................................................................................................................................... 372
debug ip bgp............................................................................................................................................................... 373
debug ip bgp dampening..........................................................................................................................................374
debug ip bgp events................................................................................................................................................. 375
debug ip bgp keepalives...........................................................................................................................................376
debug ip bgp notifications....................................................................................................................................... 377
debug ip bgp soft-reconfiguration........................................................................................................................ 378
debug ip bgp updates...............................................................................................................................................379
default-metric............................................................................................................................................................ 380
description................................................................................................................................................................... 381
maximum-paths..........................................................................................................................................................381
neighbor activate...................................................................................................................................................... 382
neighbor add-path.....................................................................................................................................................383
neighbor advertisement-interval........................................................................................................................... 384
neighbor advertisement-start................................................................................................................................ 385
neighbor allowas-in................................................................................................................................................... 386
neighbor default-originate.......................................................................................................................................387
neighbor description.................................................................................................................................................388
Contents
9
neighbor distribute-list.............................................................................................................................................388
neighbor ebgp-multihop.......................................................................................................................................... 389
neighbor fall-over......................................................................................................................................................390
neighbor local-as........................................................................................................................................................ 391
neighbor maximum-prefix....................................................................................................................................... 392
neighbor next-hop-self............................................................................................................................................ 393
neighbor password....................................................................................................................................................394
neighbor peer-group (assigning peers)............................................................................................................... 395
neighbor peer-group (creating group).................................................................................................................396
neighbor peer-group passive..................................................................................................................................397
neighbor remote-as.................................................................................................................................................. 398
neighbor remove-private-as................................................................................................................................... 399
neighbor route-map..................................................................................................................................................400
neighbor route-reflector-client...............................................................................................................................401
neighbor send-community...................................................................................................................................... 402
neighbor sender-side-loopdetect.......................................................................................................................... 403
neighbor shutdown................................................................................................................................................... 404
neighbor soft-reconfiguration inbound................................................................................................................ 404
neighbor timers..........................................................................................................................................................405
neighbor timers extended....................................................................................................................................... 406
neighbor update-source.......................................................................................................................................... 407
neighbor weight.........................................................................................................................................................408
network....................................................................................................................................................................... 409
network backdoor......................................................................................................................................................410
permit bandwidth........................................................................................................................................................411
redistribute.................................................................................................................................................................. 412
redistribute ospf.........................................................................................................................................................413
router bgp.................................................................................................................................................................... 414
shutdown all................................................................................................................................................................ 415
shutdown address-family-ipv4–multicast............................................................................................................415
shutdown address-family-ipv4–unicast............................................................................................................... 415
shutdown address-family-ipv6–unicast............................................................................................................... 416
set extcommunity bandwidth..................................................................................................................................416
show capture bgp-pdu neighbor............................................................................................................................ 417
show config................................................................................................................................................................. 418
show ip bgp................................................................................................................................................................. 419
show ip bgp cluster-list............................................................................................................................................422
show ip bgp community...........................................................................................................................................424
show ip bgp community-list....................................................................................................................................426
show ip bgp dampened-paths................................................................................................................................ 427
show ip bgp detail..................................................................................................................................................... 429
show ip bgp extcommunity-list..............................................................................................................................430
show ip bgp filter-list................................................................................................................................................ 431
show ip bgp flap-statistics......................................................................................................................................433
show ip bgp inconsistent-as...................................................................................................................................435
show ip bgp neighbors............................................................................................................................................. 436
show ip bgp next-hop.............................................................................................................................................. 440
show ip bgp paths......................................................................................................................................................441
show ip bgp paths community............................................................................................................................... 442
show ip bgp peer-group.......................................................................................................................................... 443
10
Contents
show ip bgp regexp.................................................................................................................................................. 445
show ip bgp summary.............................................................................................................................................. 446
show running-config bgp........................................................................................................................................ 449
timers bgp................................................................................................................................................................... 449
timers bgp extended................................................................................................................................................ 450
MBGP Commands........................................................................................................................................................... 451
debug ip bgp dampening.......................................................................................................................................... 451
distance bgp............................................................................................................................................................... 452
show ip bgp dampened-paths................................................................................................................................453
BGP Extended Communities (RFC 4360)................................................................................................................ 454
set extcommunity rt................................................................................................................................................. 454
set extcommunity soo..............................................................................................................................................455
show ip bgp paths extcommunity......................................................................................................................... 456
show ip extcommunity-list...................................................................................................................................... 457
IPv6 BGP Commands.....................................................................................................................................................458
clear ip bgp ipv6 unicast soft.................................................................................................................................458
debug ip bgp ipv6 unicast soft-reconfiguration................................................................................................ 459
ipv6 prefix-list............................................................................................................................................................459
neighbor soft-reconfiguration inbound................................................................................................................460
show ipv6 prefix-list.................................................................................................................................................460
IPv6 MBGP Commands..................................................................................................................................................461
show ipv6 mbgproutes............................................................................................................................................. 461
Chapter 10: Content Addressable Memory (CAM)......................................................................462
CAM Profile Commands................................................................................................................................................ 462
cam-acl (Configuration).......................................................................................................................................... 462
cam-acl-egress.......................................................................................................................................................... 465
cam-optimization...................................................................................................................................................... 465
cam-threshold............................................................................................................................................................466
show cam-acl............................................................................................................................................................. 467
show cam-usage....................................................................................................................................................... 469
test cam-usage.......................................................................................................................................................... 470
Unified Forwarding Table Modes.................................................................................................................................472
hardware forwarding-table mode.......................................................................................................................... 472
show hardware forwarding-table mode...............................................................................................................472
Chapter 11: Control Plane Policing (CoPP).................................................................................474
control-plane-cpuqos..................................................................................................................................................... 474
service-policy rate-limit-cpu-queues..........................................................................................................................475
service-policy rate-limit-protocols..............................................................................................................................475
ip unknown-unicast.........................................................................................................................................................476
ipv6 unknown-unicast.................................................................................................................................................... 477
show cpu-queue rate cp................................................................................................................................................477
show ip protocol-queue-mapping................................................................................................................................478
show ipv6 protocol-queue-mapping...........................................................................................................................479
show mac protocol-queue-mapping...........................................................................................................................480
Chapter 12: Data Center Bridging (DCB)....................................................................................482
DCB Command................................................................................................................................................................ 482
Contents
11
dcb-enable.................................................................................................................................................................. 482
PFC Commands...............................................................................................................................................................483
clear pfc counters..................................................................................................................................................... 483
description.................................................................................................................................................................. 484
pfc mode on................................................................................................................................................................484
pfc no-drop queues.................................................................................................................................................. 485
show dcb..................................................................................................................................................................... 486
show interface pfc.................................................................................................................................................... 487
show interface pfc statistics..................................................................................................................................489
show stack-unit stack-ports pfc details..............................................................................................................490
ETS Commands................................................................................................................................................................491
bandwidth-percentage............................................................................................................................................. 491
clear ets counters..................................................................................................................................................... 492
dcb-enable.................................................................................................................................................................. 493
description.................................................................................................................................................................. 493
priority-list...................................................................................................................................................................494
qos-policy-output ets...............................................................................................................................................494
scheduler.....................................................................................................................................................................495
show interface ets.................................................................................................................................................... 496
show qos priority-groups........................................................................................................................................ 500
show stack-unit stack-ports ets details..............................................................................................................500
DCBX Commands............................................................................................................................................................ 501
advertise dcbx-app-tlv............................................................................................................................................. 501
advertise dcbx-appln-tlv......................................................................................................................................... 502
advertise dcbx-tlv.....................................................................................................................................................502
dcbx port-role............................................................................................................................................................ 503
dcbx version............................................................................................................................................................... 504
debug dcbx.................................................................................................................................................................505
fcoe priority-bits....................................................................................................................................................... 505
iscsi priority-bits........................................................................................................................................................506
show interface dcbx detail..................................................................................................................................... 506
dcb-map............................................................................................................................................................................ 509
priority-pgid...................................................................................................................................................................... 510
pfc mode on.......................................................................................................................................................................511
priority-group bandwidth pfc........................................................................................................................................ 511
dcb-map stack-unit all stack-ports all........................................................................................................................ 512
show qos dcb-map.......................................................................................................................................................... 513
dcb pfc-shared-buffer-size...........................................................................................................................................514
dcb-buffer-threshold .....................................................................................................................................................514
priority................................................................................................................................................................................ 515
qos-policy-buffer............................................................................................................................................................. 516
dcb-policy buffer-threshold (Interface Configuration).......................................................................................... 518
dcb-policy buffer-threshold (Global Configuration)............................................................................................... 518
show qos dcb-buffer-threshold................................................................................................................................... 519
dcb pfc-total-buffer-size..............................................................................................................................................520
show running-config dcb-buffer-threshold...............................................................................................................521
service-class buffer shared-threshold-weight........................................................................................................ 522
dcb pfc-queues............................................................................................................................................................... 523
dcb {ets | pfc} enable.................................................................................................................................................... 524
12
Contents
Chapter 13: Debugging and Diagnostics..................................................................................... 525
Diagnostics and Monitoring Commands....................................................................................................................525
logging coredump stack-unit..................................................................................................................................525
Offline Diagnostic Commands..................................................................................................................................... 526
diag stack-unit........................................................................................................................................................... 526
offline stack-unit....................................................................................................................................................... 527
online stack-unit........................................................................................................................................................528
Hardware Commands.................................................................................................................................................... 529
clear hardware stack-unit....................................................................................................................................... 529
clear hardware system-flow...................................................................................................................................530
clear hardware vlan-counters................................................................................................................................ 530
hardware watchdog.................................................................................................................................................. 531
show hardware mac................................................................................................................................................. 532
show hardware ip......................................................................................................................................................532
show hardware stack-unit...................................................................................................................................... 533
show hardware system-flow...................................................................................................................................541
show hardware vlan-counters............................................................................................................................... 543
show hardware counters interface ......................................................................................................................543
show hardware drops...............................................................................................................................................545
show hardware stack-unit buffer-stats-snapshot (Total Buffer Information).......................................... 546
show hardware buffer interface............................................................................................................................548
show hardware buffer-stats-snapshot................................................................................................................549
Chapter 14: Dynamic Host Configuration Protocol (DHCP)........................................................ 552
Commands to Configure the System to be a DHCP Server................................................................................ 552
clear ip dhcp...............................................................................................................................................................552
debug ip dhcp server............................................................................................................................................... 553
debug ipv6 dhcp .......................................................................................................................................................554
default-router............................................................................................................................................................ 554
disable..........................................................................................................................................................................555
dns-server...................................................................................................................................................................555
domain-name............................................................................................................................................................. 556
excluded-address...................................................................................................................................................... 557
hardware-address..................................................................................................................................................... 558
host.............................................................................................................................................................................. 558
lease............................................................................................................................................................................. 559
netbios-name-server................................................................................................................................................560
netbios-node-type.................................................................................................................................................... 560
network........................................................................................................................................................................ 561
pool............................................................................................................................................................................... 562
show ip dhcp binding................................................................................................................................................563
show ip dhcp configuration.................................................................................................................................... 563
show ip dhcp conflict...............................................................................................................................................564
show ip dhcp server................................................................................................................................................. 565
Commands to Configure Secure DHCP.................................................................................................................... 566
arp inspection............................................................................................................................................................ 566
arp inspection-trust..................................................................................................................................................566
clear ip dhcp snooping............................................................................................................................................. 567
Contents
13
clear ipv6 dhcp snooping binding..........................................................................................................................568
ip dhcp relay............................................................................................................................................................... 569
ip dhcp snooping....................................................................................................................................................... 570
ipv6 dhcp snooping....................................................................................................................................................571
ipv6 dhcp snooping vlan...........................................................................................................................................571
ip dhcp snooping binding......................................................................................................................................... 572
IPv6 DHCP Snooping Binding................................................................................................................................ 573
ip dhcp snooping database..................................................................................................................................... 574
ipv6 dhcp snooping database write-delay...........................................................................................................574
ip dhcp snooping database renew.........................................................................................................................575
ipv6 dhcp snooping database renew....................................................................................................................575
ip dhcp snooping trust............................................................................................................................................. 576
ipv6 dhcp snooping trust.........................................................................................................................................577
ip dhcp source-address-validation........................................................................................................................ 577
ip dhcp relay information-option........................................................................................................................... 578
ip dhcp snooping verify mac-address.................................................................................................................. 579
ipv6 dhcp snooping verify mac-address..............................................................................................................580
ip helper-address.......................................................................................................................................................580
ipv6 helper-address...................................................................................................................................................581
show ip dhcp snooping............................................................................................................................................ 582
show ipv6 dhcp snooping........................................................................................................................................584
Commands to Configure DNS .................................................................................................................................... 585
ip name-server...........................................................................................................................................................585
ip domain-name......................................................................................................................................................... 585
ip domain-list..............................................................................................................................................................586
ip host.......................................................................................................................................................................... 587
clear host.................................................................................................................................................................... 588
Chapter 15: Equal Cost Multi-Path (ECMP)............................................................................... 589
ecmp-group......................................................................................................................................................................589
hash-algorithm.................................................................................................................................................................590
hash-algorithm ecmp..................................................................................................................................................... 593
hash-algorithm seed.......................................................................................................................................................593
ip ecmp-group................................................................................................................................................................. 594
ip ecmp weighted........................................................................................................................................................... 595
link-bundle-monitor enable........................................................................................................................................... 596
link-bundle-distribution trigger-threshold.................................................................................................................596
show config...................................................................................................................................................................... 597
show link-bundle distribution....................................................................................................................................... 598
Chapter 16: FIPS Cryptography................................................................................................. 599
fips mode enable............................................................................................................................................................. 599
show fips status..............................................................................................................................................................599
show ip ssh.......................................................................................................................................................................600
ssh....................................................................................................................................................................................... 601
Chapter 17: FIP Snooping.......................................................................................................... 604
clear fip-snooping database interface vlan...............................................................................................................604
clear fip-snooping statistics......................................................................................................................................... 605
14
Contents
debug fip snooping......................................................................................................................................................... 605
debug fip snooping rx.................................................................................................................................................... 606
feature fip-snooping.......................................................................................................................................................607
fip-snooping enable........................................................................................................................................................ 608
fip-snooping fc-map.......................................................................................................................................................608
fip-snooping max-sessions-per-enodemac...............................................................................................................609
fip-snooping port-mode fcf..........................................................................................................................................609
fip-snooping port-mode fcoe-trusted........................................................................................................................ 610
show fip-snooping config.............................................................................................................................................. 610
show fip-snooping enode............................................................................................................................................... 611
show fip-snooping fcf.....................................................................................................................................................612
show fip-snooping statistics......................................................................................................................................... 613
show fip-snooping system.............................................................................................................................................615
show fip-snooping vlan.................................................................................................................................................. 616
show fips status............................................................................................................................................................... 617
Chapter 18: Force10 Resilient Ring Protocol (FRRP).................................................................. 618
clear frrp............................................................................................................................................................................ 618
debug frrp..........................................................................................................................................................................619
description........................................................................................................................................................................ 620
disable.................................................................................................................................................................................621
interface............................................................................................................................................................................ 622
member-vlan.................................................................................................................................................................... 623
mode.................................................................................................................................................................................. 623
protocol frrp..................................................................................................................................................................... 624
show frrp...........................................................................................................................................................................625
timer................................................................................................................................................................................... 627
Chapter 19: GARP VLAN Registration (GVRP)........................................................................... 629
clear gvrp statistics........................................................................................................................................................630
debug gvrp........................................................................................................................................................................ 631
disable.................................................................................................................................................................................631
garp timers........................................................................................................................................................................632
gvrp enable....................................................................................................................................................................... 633
gvrp registration..............................................................................................................................................................634
protocol gvrp................................................................................................................................................................... 635
show config...................................................................................................................................................................... 636
show garp timers............................................................................................................................................................ 636
show gvrp......................................................................................................................................................................... 637
show gvrp statistics....................................................................................................................................................... 638
Chapter 20: High Availability (HA)............................................................................................. 641
redundancy disable-auto-reboot..................................................................................................................................641
redundancy force-failover............................................................................................................................................ 642
redundancy primary........................................................................................................................................................642
redundancy protocol...................................................................................................................................................... 643
show redundancy............................................................................................................................................................ 644
Chapter 21: ICMP Message Types..............................................................................................646
Contents
15
Chapter 22: Internet Group Management Protocol (IGMP)........................................................ 648
IGMP Commands............................................................................................................................................................ 648
clear ip igmp groups................................................................................................................................................. 648
debug ip igmp.............................................................................................................................................................649
ip igmp access-group...............................................................................................................................................650
ip igmp immediate-leave.......................................................................................................................................... 651
ip igmp last-member-query-interval..................................................................................................................... 652
ip igmp query-interval.............................................................................................................................................. 653
ip igmp query-max-resp-time.................................................................................................................................654
ip igmp ssm-map....................................................................................................................................................... 655
ip igmp version...........................................................................................................................................................656
show ip igmp groups................................................................................................................................................ 656
show ip igmp interface............................................................................................................................................ 658
show ip igmp ssm-map............................................................................................................................................ 660
IGMP Snooping Commands.......................................................................................................................................... 661
clear ip igmp snooping groups............................................................................................................................... 662
debug ip igmp snooping...........................................................................................................................................663
ip igmp snooping enable.......................................................................................................................................... 663
ip igmp snooping fast-leave....................................................................................................................................664
ip igmp snooping flood.............................................................................................................................................665
ip igmp snooping last-member-query-interval................................................................................................... 666
ip igmp snooping mrouter....................................................................................................................................... 666
ip igmp snooping querier..........................................................................................................................................667
show ip igmp snooping groups...............................................................................................................................668
show ip igmp snooping mrouter.............................................................................................................................670
Chapter 23: Interfaces............................................................................................................... 671
Basic Interface Commands............................................................................................................................................671
clear counters............................................................................................................................................................. 671
clear dampening.........................................................................................................................................................673
dampening...................................................................................................................................................................674
default interface........................................................................................................................................................ 675
description.................................................................................................................................................................. 676
duplex (10/100 Interfaces)......................................................................................................................................677
disable stack-unit phy temp polling...................................................................................................................... 678
enable stack-unit phy temp polling....................................................................................................................... 678
enable stack-unit transceiver.................................................................................................................................679
errdisable recovery cause....................................................................................................................................... 679
errdisable recovery interval.................................................................................................................................... 680
flowcontrol..................................................................................................................................................................680
interface...................................................................................................................................................................... 683
interface group.......................................................................................................................................................... 684
interface loopback.................................................................................................................................................... 685
interface managementEthernet............................................................................................................................ 686
interface null...............................................................................................................................................................687
interface range.......................................................................................................................................................... 688
interface range macro (define).............................................................................................................................. 691
interface range macro name.................................................................................................................................. 692
16
Contents
interface vlan............................................................................................................................................................. 693
intf-type cr4 autoneg...............................................................................................................................................694
keepalive..................................................................................................................................................................... 695
negotiation auto........................................................................................................................................................ 695
monitor interface.......................................................................................................................................................698
mtu................................................................................................................................................................................700
portmode hybrid......................................................................................................................................................... 701
rate-interval................................................................................................................................................................703
rate-interval (Configuration Mode)...................................................................................................................... 704
show config................................................................................................................................................................ 704
show config (from INTERFACE RANGE mode)................................................................................................ 705
show interfaces......................................................................................................................................................... 706
show interfaces configured..................................................................................................................................... 712
show interfaces dampening.....................................................................................................................................713
show interfaces phy.................................................................................................................................................. 714
show interfaces stack-unit...................................................................................................................................... 716
show interfaces status..............................................................................................................................................717
show interfaces switchport.....................................................................................................................................719
show interfaces transceiver.................................................................................................................................... 721
show interfaces vlan.................................................................................................................................................725
show range................................................................................................................................................................. 726
show running-config ecmp-group......................................................................................................................... 727
show system stack-unit fanout configured........................................................................................................ 728
shutdown.....................................................................................................................................................................728
speed (for 10/100/1000/10000 interfaces)....................................................................................................... 729
speed (Management interface)..............................................................................................................................731
stack-unit portmode quad........................................................................................................................................731
switchport................................................................................................................................................................... 732
wavelength..................................................................................................................................................................734
Egress Interface Selection (EIS) Commands........................................................................................................... 734
application................................................................................................................................................................... 734
application (for HTTP and ICMP)......................................................................................................................... 735
clear management application pkt-cntr...............................................................................................................735
clear management application pkt-fallback-cntr............................................................................................... 736
management egress-interface-selection.............................................................................................................736
show ip management-eis-route ............................................................................................................................ 737
show management application pkt-cntr.............................................................................................................. 737
show management application pkt-fallback-cntr.............................................................................................. 738
Port Channel Commands...............................................................................................................................................738
channel-member........................................................................................................................................................738
group............................................................................................................................................................................ 740
interface port-channel.............................................................................................................................................. 741
minimum-links.............................................................................................................................................................742
port-channel failover-group....................................................................................................................................743
show config................................................................................................................................................................ 743
show interfaces port-channel................................................................................................................................ 744
show port-channel-flow...........................................................................................................................................747
Time Domain Reflectometer (TDR) Commands...................................................................................................... 748
tdr-cable-test.............................................................................................................................................................749
show tdr...................................................................................................................................................................... 749
Contents
17
UDP Broadcast Commands...........................................................................................................................................751
debug ip udp-helper.................................................................................................................................................. 751
ip udp-helper udp-port.............................................................................................................................................752
show ip udp-helper................................................................................................................................................... 752
ip http source-interface................................................................................................................................................ 753
Chapter 24: Internet Protocol Security (IPSec).........................................................................755
crypto ipsec transform-set...........................................................................................................................................755
crypto ipsec policy.......................................................................................................................................................... 756
management crypto-policy........................................................................................................................................... 757
match................................................................................................................................................................................. 758
session-key....................................................................................................................................................................... 759
show crypto ipsec transform-set................................................................................................................................759
show crypto ipsec policy............................................................................................................................................... 760
transform-set....................................................................................................................................................................761
Chapter 25: IPv4 Routing.......................................................................................................... 762
arp.......................................................................................................................................................................................763
arp backoff-time..............................................................................................................................................................764
arp learn-enable...............................................................................................................................................................765
arp max-entries............................................................................................................................................................... 765
arp retries..........................................................................................................................................................................766
arp timeout........................................................................................................................................................................767
clear arp-cache................................................................................................................................................................768
clear host.......................................................................................................................................................................... 769
clear ip fib stack-unit......................................................................................................................................................770
clear ip route.................................................................................................................................................................... 770
clear tcp statistics........................................................................................................................................................... 771
debug arp.......................................................................................................................................................................... 772
debug ip dhcp...................................................................................................................................................................773
debug ipv6 dhcp .............................................................................................................................................................775
debug ip icmp................................................................................................................................................................... 775
debug ip packet............................................................................................................................................................... 776
ip address.......................................................................................................................................................................... 779
ip directed-broadcast.....................................................................................................................................................779
ip domain-list....................................................................................................................................................................780
ip domain-lookup.............................................................................................................................................................. 781
ip domain-name............................................................................................................................................................... 782
ip helper-address.............................................................................................................................................................783
ip helper-address hop-count disable.......................................................................................................................... 784
ip host................................................................................................................................................................................ 785
ip icmp source-interface............................................................................................................................................... 786
ipv6 icmp source-interface........................................................................................................................................... 787
ip max-frag-count........................................................................................................................................................... 788
ip max-routes................................................................................................................................................................... 789
ip mtu................................................................................................................................................................................. 790
ip name-server..................................................................................................................................................................791
ip proxy-arp...................................................................................................................................................................... 792
ip route...............................................................................................................................................................................793
18
Contents
ip source-route................................................................................................................................................................ 795
ip unreachables................................................................................................................................................................796
load-balance..................................................................................................................................................................... 797
load-balance hg............................................................................................................................................................... 798
management route..........................................................................................................................................................799
show arp............................................................................................................................................................................ 801
show arp retries.............................................................................................................................................................. 803
show hosts....................................................................................................................................................................... 804
show ip cam stack-unit................................................................................................................................................. 805
show ip fib stack-unit.....................................................................................................................................................807
show ip flow..................................................................................................................................................................... 809
show ip interface............................................................................................................................................................. 810
show ip management-route.......................................................................................................................................... 812
show ipv6 management-route......................................................................................................................................813
show ip protocols.............................................................................................................................................................814
show ip route.................................................................................................................................................................... 815
show ip route list............................................................................................................................................................. 819
show ip route summary................................................................................................................................................. 820
show ip traffic.................................................................................................................................................................. 821
show tcp statistics......................................................................................................................................................... 823
Chapter 26: IPv6 Access Control Lists (IPv6 ACLs)................................................................... 826
show cam-acl-egress.....................................................................................................................................................826
show cam-acl................................................................................................................................................................... 827
permit icmp.......................................................................................................................................................................829
permit.................................................................................................................................................................................830
ipv6 control-plane egress-filter....................................................................................................................................831
ipv6 access-list.................................................................................................................................................................831
cam-acl-egress................................................................................................................................................................ 832
cam-acl.............................................................................................................................................................................. 834
Chapter 27: IPv6 Basics.............................................................................................................835
cam-ipv6 extended-prefix............................................................................................................................................ 835
clear ipv6 fib.....................................................................................................................................................................836
clear ipv6 route................................................................................................................................................................837
clear ipv6 mld_host........................................................................................................................................................ 837
maximum dynamic-routes-ipv6................................................................................................................................... 838
ipv6 address autoconfig................................................................................................................................................ 839
ipv6 address..................................................................................................................................................................... 839
ipv6 address eui64..........................................................................................................................................................840
ipv6 control-plane icmp error-rate-limit.....................................................................................................................841
ipv6 flowlabel-zero......................................................................................................................................................... 842
ipv6 host........................................................................................................................................................................... 842
ipv6 name-server............................................................................................................................................................ 843
ipv6 nd dad attempts.....................................................................................................................................................844
ipv6 nd disable-reachable-timer.................................................................................................................................. 844
ipv6 nd dns-server ..................................................................................................................................................... 844
ipv6 nd prefix................................................................................................................................................................... 845
ipv6 nd reachable-time..................................................................................................................................................846
Contents
19
ipv6 route..........................................................................................................................................................................847
ipv6 unicast-routing....................................................................................................................................................... 849
show ipv6 cam stack-unit.............................................................................................................................................849
show ipv6 control-plane icmp......................................................................................................................................850
show ipv6 fib stack-unit................................................................................................................................................ 851
show ipv6 flowlabel-zero.............................................................................................................................................. 852
show ipv6 interface........................................................................................................................................................852
show ipv6 mld_host....................................................................................................................................................... 855
show ipv6 route.............................................................................................................................................................. 856
trust ipv6-diffserv.......................................................................................................................................................... 859
Chapter 28: iSCSI Optimization.................................................................................................860
advertise dcbx-app-tlv.................................................................................................................................................. 860
iscsi aging time................................................................................................................................................................. 861
iscsi cos..............................................................................................................................................................................861
iscsi enable........................................................................................................................................................................862
iscsi priority-bits..............................................................................................................................................................862
iscsi profile-compellant..................................................................................................................................................863
iscsi target port............................................................................................................................................................... 863
show iscsi..........................................................................................................................................................................864
show iscsi session...........................................................................................................................................................865
show iscsi session detailed........................................................................................................................................... 866
show run iscsi.................................................................................................................................................................. 866
Chapter 29: Intermediate System to Intermediate System (IS-IS).............................................868
adjacency-check............................................................................................................................................................. 869
advertise............................................................................................................................................................................870
area-password.................................................................................................................................................................. 871
clear config....................................................................................................................................................................... 872
clear isis............................................................................................................................................................................. 872
clns host............................................................................................................................................................................ 873
debug isis...........................................................................................................................................................................874
debug isis adj-packets....................................................................................................................................................875
debug isis local-updates................................................................................................................................................ 875
debug isis snp-packets.................................................................................................................................................. 876
debug isis spf-triggers................................................................................................................................................... 877
debug isis update-packets............................................................................................................................................ 878
default-information originate....................................................................................................................................... 879
description........................................................................................................................................................................ 880
distance..............................................................................................................................................................................881
distribute-list in................................................................................................................................................................ 881
distribute-list out.............................................................................................................................................................882
distribute-list redistributed-override.......................................................................................................................... 883
domain-password............................................................................................................................................................884
graceful-restart ietf........................................................................................................................................................885
graceful-restart interval................................................................................................................................................ 886
graceful-restart restart-wait........................................................................................................................................886
graceful-restart t1...........................................................................................................................................................887
graceful-restart t2.......................................................................................................................................................... 888
20
Contents
/