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.11(0.0)
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 © 2017 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.
2017 - 01
Rev. A00
Contents
1 About this Guide...........................................................................................................................................43
Objectives......................................................................................................................................................................... 43
Audience............................................................................................................................................................................43
Conventions......................................................................................................................................................................43
Information Icons............................................................................................................................................................. 44
2 CLI Basics....................................................................................................................................................45
Accessing the Command Line........................................................................................................................................45
Multiple Configuration Users..........................................................................................................................................45
Obtaining Help..................................................................................................................................................................46
Navigating the CLI........................................................................................................................................................... 47
Using the Keyword no Command..................................................................................................................................48
Filtering show Commands.............................................................................................................................................. 48
Enabling Software Features on Devices Using a Command Option......................................................................... 49
feature vrf...................................................................................................................................................................49
show feature.............................................................................................................................................................. 50
Command Modes............................................................................................................................................................. 51
3 File Management..........................................................................................................................................61
boot system.......................................................................................................................................................................61
cd....................................................................................................................................................................................... 63
HTTP Copy via CLI..........................................................................................................................................................63
copy...................................................................................................................................................................................64
delete.................................................................................................................................................................................67
dir.......................................................................................................................................................................................68
format................................................................................................................................................................................69
fsck flash...........................................................................................................................................................................70
mkdir..................................................................................................................................................................................70
mount nfs...........................................................................................................................................................................71
rmdir...................................................................................................................................................................................72
HTTP Copy via CLI.......................................................................................................................................................... 72
rename...............................................................................................................................................................................73
restore factory-defaults..................................................................................................................................................74
show boot system............................................................................................................................................................76
show bootvar....................................................................................................................................................................77
show file-systems............................................................................................................................................................ 78
show os-version...............................................................................................................................................................79
show running-config........................................................................................................................................................80
show startup-config........................................................................................................................................................84
show version.................................................................................................................................................................... 85
upgrade............................................................................................................................................................................. 86
upgrade system................................................................................................................................................................87
Contents
3
4 Control and Monitoring................................................................................................................................90
asf-mode...........................................................................................................................................................................90
banner exec.......................................................................................................................................................................91
banner login...................................................................................................................................................................... 92
banner motd..................................................................................................................................................................... 94
cam-acl..............................................................................................................................................................................95
cam-acl-vlan.....................................................................................................................................................................96
clear line............................................................................................................................................................................ 97
configure...........................................................................................................................................................................98
disable................................................................................................................................................................................99
do.......................................................................................................................................................................................99
enable...............................................................................................................................................................................100
enable optic-info-update interval..................................................................................................................................101
enable xfp-power-updates............................................................................................................................................102
end....................................................................................................................................................................................103
exec-timeout...................................................................................................................................................................104
exit....................................................................................................................................................................................105
ftp-server enable............................................................................................................................................................106
ftp-server topdir.............................................................................................................................................................107
ftp-server username...................................................................................................................................................... 108
hostname.........................................................................................................................................................................109
ip http source-interface................................................................................................................................................. 110
ip http vrf..........................................................................................................................................................................111
ip ftp password.................................................................................................................................................................111
ip ftp source-interface....................................................................................................................................................112
ip ftp username................................................................................................................................................................113
ip ftp vrf............................................................................................................................................................................114
ip telnet server enable.................................................................................................................................................... 115
ip telnet server vrf...........................................................................................................................................................116
ip telnet source-interface...............................................................................................................................................116
ip telnet vrf.......................................................................................................................................................................118
ip tftp source-interface.................................................................................................................................................. 118
ip tftp vrf..........................................................................................................................................................................119
line.................................................................................................................................................................................... 120
login concurrent-session................................................................................................................................................ 121
login statistics................................................................................................................................................................. 122
motd-banner................................................................................................................................................................... 124
ping...................................................................................................................................................................................125
reload............................................................................................................................................................................... 128
send..................................................................................................................................................................................129
service timestamps........................................................................................................................................................ 130
show alarms..................................................................................................................................................................... 131
show cam-acl-vlan......................................................................................................................................................... 132
show command-history.................................................................................................................................................132
show cpu-traffic-stats...................................................................................................................................................134
4
Contents
show debugging............................................................................................................................................................. 135
show environment..........................................................................................................................................................136
show inventory............................................................................................................................................................... 138
show login statistics.......................................................................................................................................................140
show memory................................................................................................................................................................. 142
show processes cpu.......................................................................................................................................................143
show processes ipc flow-control................................................................................................................................. 145
show processes memory...............................................................................................................................................147
show software ifm......................................................................................................................................................... 149
show system....................................................................................................................................................................151
show tech-support.........................................................................................................................................................153
ssh-peer-stack-unit........................................................................................................................................................154
telnet................................................................................................................................................................................155
telnet-peer-stack-unit................................................................................................................................................... 157
terminal length................................................................................................................................................................ 157
traceroute........................................................................................................................................................................158
undebug all...................................................................................................................................................................... 160
virtual-ip............................................................................................................................................................................161
write................................................................................................................................................................................. 162
5 802.1X........................................................................................................................................................163
debug dot1x.....................................................................................................................................................................164
dot1x auth-fail-vlan........................................................................................................................................................ 165
dot1x auth-server........................................................................................................................................................... 166
dot1x auth-type mab-only............................................................................................................................................. 166
dot1x authentication (Configuration)...........................................................................................................................167
dot1x authentication (Interface)...................................................................................................................................168
dot1x critical-vlan............................................................................................................................................................169
dot1x guest-vlan............................................................................................................................................................. 170
dot1x host-mode..............................................................................................................................................................171
dot1x mac-auth-bypass................................................................................................................................................. 172
dot1x max-eap-req......................................................................................................................................................... 172
dot1x max-supplicants....................................................................................................................................................173
dot1x port-control...........................................................................................................................................................174
dot1x profile.....................................................................................................................................................................175
dot1x quiet-period...........................................................................................................................................................175
dot1x reauthentication................................................................................................................................................... 176
dot1x reauth-max............................................................................................................................................................177
dot1x server-timeout......................................................................................................................................................178
dot1x static-mab.............................................................................................................................................................179
dot1x supplicant-timeout...............................................................................................................................................180
dot1x tx-period................................................................................................................................................................180
mac................................................................................................................................................................................... 181
show dot1x cos-mapping interface.............................................................................................................................. 182
show dot1x interface......................................................................................................................................................184
show dot1x profile.......................................................................................................................................................... 186
Contents
5
6 Access Control Lists (ACL)........................................................................................................................ 187
Commands Common to all ACL Types........................................................................................................................188
remark........................................................................................................................................................................188
show config...............................................................................................................................................................189
Common IP ACL Commands........................................................................................................................................190
access-class...............................................................................................................................................................191
clear counters ip access-group.............................................................................................................................. 192
ip access-group........................................................................................................................................................ 193
ip mirror-access-group............................................................................................................................................ 194
ip control-plane egress-filter...................................................................................................................................195
show ip accounting access-list...............................................................................................................................195
show ip access-lists..................................................................................................................................................197
Standard IP ACL Commands........................................................................................................................................198
deny............................................................................................................................................................................198
ip access-list standard............................................................................................................................................. 199
permit.........................................................................................................................................................................201
resequence access-list............................................................................................................................................202
seq............................................................................................................................................................................. 203
Extended IP ACL Commands...................................................................................................................................... 205
deny...........................................................................................................................................................................205
deny icmp..................................................................................................................................................................207
deny tcp....................................................................................................................................................................209
deny udp....................................................................................................................................................................212
ip access-list extended............................................................................................................................................ 214
permit.........................................................................................................................................................................215
permit tcp.................................................................................................................................................................. 217
permit udp................................................................................................................................................................ 220
resequence access-list............................................................................................................................................222
seq............................................................................................................................................................................. 223
Common MAC Access List Commands......................................................................................................................226
clear counters mac access-group......................................................................................................................... 226
mac access-group................................................................................................................................................... 227
show mac access-lists............................................................................................................................................ 228
show mac accounting access-list..........................................................................................................................229
Standard MAC ACL Commands..................................................................................................................................230
deny...........................................................................................................................................................................230
mac access-list standard.........................................................................................................................................231
permit........................................................................................................................................................................ 232
seq............................................................................................................................................................................. 234
Extended MAC ACL Commands................................................................................................................................. 235
deny...........................................................................................................................................................................236
mac access-list extended....................................................................................................................................... 237
permit........................................................................................................................................................................239
IP Prefix List Commands.............................................................................................................................................. 240
clear ip prefix-list...................................................................................................................................................... 241
6
Contents
deny............................................................................................................................................................................241
ip prefix-list...............................................................................................................................................................242
seq............................................................................................................................................................................. 243
show config.............................................................................................................................................................. 244
show ip prefix-list detail..........................................................................................................................................245
show ip prefix-list summary................................................................................................................................... 246
Route Map Commands................................................................................................................................................. 247
continue.................................................................................................................................................................... 247
description................................................................................................................................................................ 248
match as-path..........................................................................................................................................................249
match community....................................................................................................................................................250
match interface........................................................................................................................................................ 251
match ip address..................................................................................................................................................... 252
match ip next-hop................................................................................................................................................... 253
match ip route-source............................................................................................................................................ 254
match metric............................................................................................................................................................255
match origin..............................................................................................................................................................256
match route-type.....................................................................................................................................................257
match tag................................................................................................................................................................. 258
route-map.................................................................................................................................................................259
set as-path............................................................................................................................................................... 260
set automatic-tag.....................................................................................................................................................261
set comm-list delete................................................................................................................................................ 261
set community......................................................................................................................................................... 263
set level.....................................................................................................................................................................264
set local-preference................................................................................................................................................ 265
set metric..................................................................................................................................................................266
set metric-type........................................................................................................................................................ 267
set next-hop.............................................................................................................................................................268
set origin................................................................................................................................................................... 269
set tag....................................................................................................................................................................... 270
set weight.................................................................................................................................................................270
show config...............................................................................................................................................................271
show route-map.......................................................................................................................................................272
AS-Path Commands......................................................................................................................................................273
ip as-path access-list...............................................................................................................................................273
show ip as-path-access-lists..................................................................................................................................274
IP Community List Commands.....................................................................................................................................275
ip community-list......................................................................................................................................................275
show ip community-lists......................................................................................................................................... 275
UDF ACL Commands.................................................................................................................................................... 276
deny ip.......................................................................................................................................................................276
feature udf-acl..........................................................................................................................................................277
key..............................................................................................................................................................................277
match........................................................................................................................................................................ 278
Contents
7
permit ip.................................................................................................................................................................... 279
show config..............................................................................................................................................................280
udf-id..........................................................................................................................................................................281
udf-qualifier-value.................................................................................................................................................... 281
udf-tcam...................................................................................................................................................................282
deny (for Standard IP ACLs)....................................................................................................................................... 282
deny (for Extended IP ACLs).......................................................................................................................................284
seq (for Standard IPv4 ACLs)..................................................................................................................................... 285
deny tcp (for Extended IP ACLs)................................................................................................................................286
deny udp (for Extended IP ACLs)............................................................................................................................... 288
deny arp (for Extended MAC ACLs)...........................................................................................................................289
deny icmp (for Extended IP ACLs)............................................................................................................................. 290
deny ether-type (for Extended MAC ACLs)..............................................................................................................292
deny (for Standard MAC ACLs)..................................................................................................................................293
deny (for Extended MAC ACLs)................................................................................................................................. 294
permit (for Standard IP ACLs).....................................................................................................................................296
permit arp (for Extended MAC ACLs)........................................................................................................................297
permit ether-type (for Extended MAC ACLs)...........................................................................................................298
permit icmp (for Extended IP ACLs).......................................................................................................................... 300
permit udp (for Extended IP ACLs).............................................................................................................................301
permit (for Extended IP ACLs)....................................................................................................................................302
permit (for Standard MAC ACLs)............................................................................................................................... 304
seq (for Standard MAC ACLs).................................................................................................................................... 305
permit tcp (for Extended IP ACLs).............................................................................................................................306
seq arp (for Extended MAC ACLs).............................................................................................................................308
seq ether-type (for Extended MAC ACLs)................................................................................................................309
seq (for IP ACLs)........................................................................................................................................................... 310
seq (for IPv6 ACLs)....................................................................................................................................................... 312
permit udp (for IPv6 ACLs).......................................................................................................................................... 313
permit tcp (for IPv6 ACLs)........................................................................................................................................... 314
permit icmp (for IPv6 ACLs).........................................................................................................................................316
permit (for IPv6 ACLs).................................................................................................................................................. 317
deny udp (for IPv6 ACLs)............................................................................................................................................. 318
deny tcp (for IPv6 ACLs)............................................................................................................................................. 320
deny icmp (for Extended IPv6 ACLs)..........................................................................................................................321
deny (for IPv6 ACLs).................................................................................................................................................... 322
7 Access Control List (ACL) VLAN Groups and Content Addressable Memory (CAM).................................325
member vlan...................................................................................................................................................................325
ip access-group..............................................................................................................................................................326
show acl-vlan-group .....................................................................................................................................................326
show cam-acl-vlan.........................................................................................................................................................327
cam-acl-vlan...................................................................................................................................................................328
show cam-usage............................................................................................................................................................329
show running config acl-vlan-group............................................................................................................................ 331
acl-vlan-group................................................................................................................................................................ 332
8
Contents
show acl-vlan-group detail........................................................................................................................................... 333
description (ACL VLAN Group)...................................................................................................................................334
8 Bidirectional Forwarding Detection (BFD)................................................................................................. 335
bfd all-neighbors............................................................................................................................................................ 335
bfd disable.......................................................................................................................................................................337
bfd enable (Configuration)........................................................................................................................................... 337
bfd enable (Interface)...................................................................................................................................................338
bfd interval .................................................................................................................................................................... 338
bfd neighbor................................................................................................................................................................... 339
bfd protocol-liveness.....................................................................................................................................................340
ip route bfd......................................................................................................................................................................341
ipv6 ospf bfd all-neighbors...........................................................................................................................................342
isis bfd all-neighbors......................................................................................................................................................343
neighbor bfd................................................................................................................................................................... 344
neighbor bfd disable...................................................................................................................................................... 345
show bfd neighbors.......................................................................................................................................................346
vrrp bfd neighbor........................................................................................................................................................... 347
9 Border Gateway Protocol.......................................................................................................................... 349
BGP IPv4 Commands................................................................................................................................................... 349
address-family..........................................................................................................................................................349
aggregate-address.................................................................................................................................................. 350
bgp add-path............................................................................................................................................................352
bgp always-compare-med......................................................................................................................................353
bgp asnotation......................................................................................................................................................... 353
bgp bestpath as-path ignore..................................................................................................................................355
bgp bestpath as-path multipath-relax.................................................................................................................. 355
bgp bestpath med confed......................................................................................................................................356
bgp bestpath med missing-as-best.......................................................................................................................357
bgp bestpath router-id ignore................................................................................................................................357
bgp client-to-client reflection................................................................................................................................ 358
bgp cluster-id...........................................................................................................................................................359
bgp confederation identifier...................................................................................................................................360
bgp confederation peers......................................................................................................................................... 361
bgp connection-retry-timer....................................................................................................................................362
bgp dampening........................................................................................................................................................ 362
bgp default local-preference..................................................................................................................................364
bgp dmzlink-bw....................................................................................................................................................... 364
bgp enforce-first-as................................................................................................................................................365
bgp fast-external-fallover.......................................................................................................................................366
bgp four-octet-as-support.....................................................................................................................................367
bgp graceful-restart................................................................................................................................................368
bgp non-deterministic-med....................................................................................................................................369
bgp recursive-bgp-next-hop..................................................................................................................................370
bgp regex-eval-optz-disable................................................................................................................................... 371
Contents
9
bgp router-id.............................................................................................................................................................372
clear ip bgp............................................................................................................................................................... 373
clear ip bgp dampening........................................................................................................................................... 374
clear ip bgp flap-statistics.......................................................................................................................................375
clear ip bgp peer-group...........................................................................................................................................377
deny bandwidth........................................................................................................................................................378
debug ip bgp.............................................................................................................................................................378
debug ip bgp dampening........................................................................................................................................ 380
debug ip bgp events.................................................................................................................................................381
debug ip bgp keepalives..........................................................................................................................................382
debug ip bgp notifications...................................................................................................................................... 383
debug ip bgp soft-reconfiguration.........................................................................................................................384
debug ip bgp updates..............................................................................................................................................385
default-metric.......................................................................................................................................................... 386
description................................................................................................................................................................ 387
maximum-paths....................................................................................................................................................... 388
neighbor activate.....................................................................................................................................................389
neighbor add-path...................................................................................................................................................389
neighbor advertisement-interval........................................................................................................................... 390
neighbor advertisement-start.................................................................................................................................391
neighbor allowas-in..................................................................................................................................................392
neighbor default-originate...................................................................................................................................... 393
neighbor description................................................................................................................................................394
neighbor distribute-list............................................................................................................................................395
neighbor ebgp-multihop..........................................................................................................................................396
neighbor fall-over.....................................................................................................................................................397
neighbor local-as......................................................................................................................................................398
neighbor maximum-prefix.......................................................................................................................................399
neighbor next-hop-self........................................................................................................................................... 400
neighbor password...................................................................................................................................................401
neighbor peer-group (assigning peers)................................................................................................................ 402
neighbor peer-group (creating group)..................................................................................................................403
neighbor peer-group passive................................................................................................................................. 404
neighbor remote-as.................................................................................................................................................405
neighbor remove-private-as...................................................................................................................................406
neighbor route-map.................................................................................................................................................407
neighbor route-reflector-client..............................................................................................................................408
neighbor send-community......................................................................................................................................409
neighbor sender-side-loopdetect...........................................................................................................................410
neighbor shutdown................................................................................................................................................... 411
neighbor soft-reconfiguration inbound..................................................................................................................412
neighbor timers.........................................................................................................................................................413
neighbor update-source.......................................................................................................................................... 414
neighbor weight........................................................................................................................................................415
network......................................................................................................................................................................416
10
Contents
network backdoor.....................................................................................................................................................417
permit bandwidth..................................................................................................................................................... 418
redistribute................................................................................................................................................................ 419
redistribute ospf....................................................................................................................................................... 421
router bgp.................................................................................................................................................................422
shutdown all............................................................................................................................................................. 423
shutdown address-family-ipv4–multicast............................................................................................................ 423
shutdown address-family-ipv4–unicast................................................................................................................423
shutdown address-family-ipv6–unicast............................................................................................................... 424
set extcommunity bandwidth.................................................................................................................................424
show capture bgp-pdu neighbor........................................................................................................................... 425
show config..............................................................................................................................................................426
show ip bgp.............................................................................................................................................................. 427
show ip bgp cluster-list...........................................................................................................................................429
show ip bgp community..........................................................................................................................................430
show ip bgp community-list................................................................................................................................... 433
show ip bgp dampened-paths................................................................................................................................434
show ip bgp detail....................................................................................................................................................436
show ip bgp extcommunity-list..............................................................................................................................437
show ip bgp filter-list...............................................................................................................................................439
show ip bgp flap-statistics..................................................................................................................................... 440
show ip bgp inconsistent-as...................................................................................................................................442
show ip bgp neighbors............................................................................................................................................ 444
show ip bgp next-hop............................................................................................................................................. 447
show ip bgp paths................................................................................................................................................... 448
show ip bgp paths community...............................................................................................................................450
show ip bgp peer-group.......................................................................................................................................... 451
show ip bgp regexp................................................................................................................................................. 453
show ip bgp summary............................................................................................................................................. 454
show running-config bgp........................................................................................................................................457
timers bgp.................................................................................................................................................................458
MBGP Commands.........................................................................................................................................................458
debug ip bgp dampening........................................................................................................................................ 459
distance bgp.............................................................................................................................................................460
show ip bgp dampened-paths................................................................................................................................ 461
BGP Extended Communities (RFC 4360)................................................................................................................. 462
set extcommunity rt................................................................................................................................................463
set extcommunity soo.............................................................................................................................................464
show ip bgp paths extcommunity......................................................................................................................... 465
show ip extcommunity-list..................................................................................................................................... 466
IPv6 BGP Commands....................................................................................................................................................467
clear ip bgp ipv6 unicast soft................................................................................................................................. 467
debug ip bgp ipv6 unicast soft-reconfiguration...................................................................................................468
ipv6 prefix-list.......................................................................................................................................................... 469
neighbor soft-reconfiguration inbound.................................................................................................................469
Contents
11
show ipv6 prefix-list................................................................................................................................................ 470
IPv6 MBGP Commands.................................................................................................................................................471
show ipv6 mbgproutes............................................................................................................................................ 471
10 Content Addressable Memory (CAM)...................................................................................................... 472
CAM Profile Commands............................................................................................................................................... 472
cam-acl (Configuration)..........................................................................................................................................473
cam-acl-egress.........................................................................................................................................................476
cam-optimization..................................................................................................................................................... 477
show cam-acl........................................................................................................................................................... 478
show cam-usage......................................................................................................................................................479
test cam-usage........................................................................................................................................................480
Unified Forwarding Table Modes................................................................................................................................. 481
hardware forwarding-table mode..........................................................................................................................482
show hardware forwarding-table mode............................................................................................................... 482
11 Control Plane Policing (CoPP)..................................................................................................................484
control-plane-cpuqos....................................................................................................................................................484
service-policy rate-limit-cpu-queues.......................................................................................................................... 485
service-policy rate-limit-protocols...............................................................................................................................486
ip unknown-unicast....................................................................................................................................................... 487
ipv6 unknown-unicast...................................................................................................................................................487
show cpu-queue rate cp...............................................................................................................................................488
show ip protocol-queue-mapping................................................................................................................................489
show ipv6 protocol-queue-mapping........................................................................................................................... 490
show mac protocol-queue-mapping............................................................................................................................491
12 Data Center Bridging (DCB).....................................................................................................................492
DCB Command.............................................................................................................................................................. 492
dcb-enable................................................................................................................................................................493
PFC Commands.............................................................................................................................................................493
clear pfc counters....................................................................................................................................................493
description................................................................................................................................................................ 494
pfc mode on............................................................................................................................................................. 495
pfc no-drop queues.................................................................................................................................................495
show dcb...................................................................................................................................................................497
show interface pfc...................................................................................................................................................497
show interface pfc statistics..................................................................................................................................500
show stack-unit stack-ports pfc details................................................................................................................501
ETS Commands.............................................................................................................................................................502
bandwidth-percentage........................................................................................................................................... 502
clear ets counters....................................................................................................................................................503
dcb-enable................................................................................................................................................................503
description................................................................................................................................................................504
priority-list................................................................................................................................................................ 505
qos-policy-output ets............................................................................................................................................. 505
12
Contents
scheduler.................................................................................................................................................................. 506
show interface ets...................................................................................................................................................507
show qos priority-groups......................................................................................................................................... 511
show stack-unit stack-ports ets details................................................................................................................ 512
DCBX Commands.......................................................................................................................................................... 513
advertise dcbx-app-tlv............................................................................................................................................ 513
advertise dcbx-appln-tlv......................................................................................................................................... 513
advertise dcbx-tlv.................................................................................................................................................... 514
dcbx port-role...........................................................................................................................................................515
dcbx version..............................................................................................................................................................516
debug dcbx................................................................................................................................................................517
fcoe priority-bits.......................................................................................................................................................518
iscsi priority-bits........................................................................................................................................................518
show interface dcbx detail......................................................................................................................................519
dcb-map..........................................................................................................................................................................522
priority-pgid....................................................................................................................................................................522
pfc mode on................................................................................................................................................................... 523
priority-group bandwidth pfc.......................................................................................................................................524
dcb-map stack-unit all stack-ports all........................................................................................................................ 525
show qos dcb-map........................................................................................................................................................526
dcb pfc-shared-buffer-size..........................................................................................................................................527
dcb-buffer-threshold ................................................................................................................................................... 527
priority.............................................................................................................................................................................528
qos-policy-buffer...........................................................................................................................................................529
dcb-policy buffer-threshold (Interface Configuration)............................................................................................. 531
dcb-policy dcb-buffer-threshold (Global Configuration)......................................................................................... 532
show qos dcb-buffer-threshold...................................................................................................................................532
dcb pfc-total-buffer-size..............................................................................................................................................533
show running-config dcb-buffer-threshold............................................................................................................... 534
service-class buffer shared-threshold-weight.......................................................................................................... 535
dcb pfc-queues..............................................................................................................................................................537
dcb {ets | pfc} enable................................................................................................................................................... 537
13 Debugging and Diagnostics...................................................................................................................... 539
Diagnostics and Monitoring Commands.....................................................................................................................539
logging coredump stack-unit................................................................................................................................. 539
Offline Diagnostic Commands..................................................................................................................................... 540
diag stack-unit......................................................................................................................................................... 540
offline stack-unit.......................................................................................................................................................541
online stack-unit.......................................................................................................................................................542
Hardware Commands................................................................................................................................................... 543
clear hardware stack-unit.......................................................................................................................................543
clear hardware system-flow...................................................................................................................................544
clear hardware vlan-counters................................................................................................................................ 545
hardware watchdog................................................................................................................................................545
show hardware mac................................................................................................................................................546
Contents
13
show hardware ip.................................................................................................................................................... 547
show hardware stack-unit......................................................................................................................................547
show hardware system-flow................................................................................................................................. 555
show hardware vlan-counters............................................................................................................................... 557
show hardware counters interface ......................................................................................................................558
show hardware drops............................................................................................................................................. 559
show hardware stack-unit buffer-stats-snapshot (Total Buffer Information)................................................ 561
show hardware buffer interface............................................................................................................................563
show hardware buffer-stats-snapshot.................................................................................................................564
14 Dynamic Host Configuration Protocol (DHCP).........................................................................................567
Commands to Configure the System to be a DHCP Server....................................................................................567
clear ip dhcp............................................................................................................................................................. 567
debug ip dhcp server.............................................................................................................................................. 568
debug ipv6 dhcp .....................................................................................................................................................569
default-router...........................................................................................................................................................569
disable....................................................................................................................................................................... 570
dns-server................................................................................................................................................................. 571
domain-name............................................................................................................................................................ 571
excluded-address.....................................................................................................................................................572
hardware-address....................................................................................................................................................573
host............................................................................................................................................................................574
lease...........................................................................................................................................................................574
netbios-name-server...............................................................................................................................................575
netbios-node-type...................................................................................................................................................576
network..................................................................................................................................................................... 577
pool............................................................................................................................................................................ 577
show ip dhcp binding...............................................................................................................................................578
show ip dhcp configuration.................................................................................................................................... 579
show ip dhcp conflict..............................................................................................................................................580
show ip dhcp server................................................................................................................................................580
Commands to Configure Secure DHCP......................................................................................................................581
arp inspection............................................................................................................................................................581
arp inspection-trust.................................................................................................................................................582
clear ip dhcp snooping............................................................................................................................................ 582
clear ipv6 dhcp snooping binding.......................................................................................................................... 584
ip dhcp relay............................................................................................................................................................. 584
ip dhcp snooping......................................................................................................................................................585
ipv6 dhcp snooping................................................................................................................................................. 586
ipv6 dhcp snooping vlan.........................................................................................................................................586
ip dhcp snooping binding........................................................................................................................................ 587
IPv6 DHCP Snooping Binding................................................................................................................................588
ip dhcp snooping database.....................................................................................................................................589
ipv6 dhcp snooping database write-delay............................................................................................................589
ip dhcp snooping database renew.........................................................................................................................590
ipv6 dhcp snooping database renew..................................................................................................................... 591
14
Contents
ip dhcp snooping trust.............................................................................................................................................591
ipv6 dhcp snooping trust........................................................................................................................................592
ip dhcp source-address-validation........................................................................................................................ 592
ip dhcp relay information-option............................................................................................................................593
ip dhcp snooping verify mac-address................................................................................................................... 594
ipv6 dhcp snooping verify mac-address...............................................................................................................595
ip helper-address.....................................................................................................................................................595
ipv6 helper-address.................................................................................................................................................596
show ip dhcp snooping........................................................................................................................................... 597
show ipv6 dhcp snooping.......................................................................................................................................599
Commands to Configure DNS ....................................................................................................................................600
ip name-server.........................................................................................................................................................600
ip domain-name........................................................................................................................................................ 601
ip domain-list.............................................................................................................................................................601
ip host....................................................................................................................................................................... 602
clear host..................................................................................................................................................................603
15 Equal Cost Multi-Path (ECMP)................................................................................................................605
ecmp-group....................................................................................................................................................................605
hash-algorithm...............................................................................................................................................................606
hash-algorithm ecmp.................................................................................................................................................... 609
hash-algorithm seed...................................................................................................................................................... 610
ip ecmp-group................................................................................................................................................................. 611
ip ecmp weighted...........................................................................................................................................................612
link-bundle-monitor enable............................................................................................................................................613
link-bundle-distribution trigger-threshold....................................................................................................................613
show config.....................................................................................................................................................................614
show link-bundle distribution........................................................................................................................................ 615
16 FIPS Cryptography................................................................................................................................... 616
fips mode enable............................................................................................................................................................ 616
show fips status..............................................................................................................................................................617
show ip ssh......................................................................................................................................................................617
ssh.................................................................................................................................................................................... 618
17 FIP Snooping............................................................................................................................................622
clear fip-snooping database interface vlan................................................................................................................ 622
clear fip-snooping statistics......................................................................................................................................... 623
debug fip snooping........................................................................................................................................................ 623
debug fip snooping rx....................................................................................................................................................624
feature fip-snooping......................................................................................................................................................625
fip-snooping enable....................................................................................................................................................... 626
fip-snooping fc-map......................................................................................................................................................626
fip-snooping max-sessions-per-enodemac................................................................................................................ 627
fip-snooping port-mode fcf..........................................................................................................................................628
fip-snooping port-mode fcoe-trusted.........................................................................................................................628
Contents
15
show fip-snooping config............................................................................................................................................. 629
show fip-snooping enode............................................................................................................................................. 630
show fip-snooping fcf....................................................................................................................................................631
show fip-snooping statistics........................................................................................................................................ 632
show fip-snooping system............................................................................................................................................634
show fip-snooping vlan.................................................................................................................................................635
show fips status.............................................................................................................................................................636
18 Force10 Resilient Ring Protocol (FRRP)...................................................................................................637
clear frrp..........................................................................................................................................................................637
debug frrp.......................................................................................................................................................................639
description......................................................................................................................................................................640
disable............................................................................................................................................................................. 640
interface.......................................................................................................................................................................... 641
member-vlan.................................................................................................................................................................. 642
mode................................................................................................................................................................................643
protocol frrp................................................................................................................................................................... 644
show frrp........................................................................................................................................................................ 645
timer................................................................................................................................................................................ 647
19 GARP VLAN Registration (GVRP)............................................................................................................649
clear gvrp statistics.......................................................................................................................................................650
debug gvrp......................................................................................................................................................................651
disable............................................................................................................................................................................. 652
garp timers..................................................................................................................................................................... 653
gvrp enable.....................................................................................................................................................................654
gvrp registration............................................................................................................................................................ 655
protocol gvrp..................................................................................................................................................................656
show config....................................................................................................................................................................657
show garp timers........................................................................................................................................................... 657
show gvrp.......................................................................................................................................................................658
show gvrp statistics......................................................................................................................................................660
20 High Availability (HA).............................................................................................................................. 662
patch flash://RUNTIME_PATCH_DIR...................................................................................................................... 662
process restartable........................................................................................................................................................663
redundancy auto-failover-limit.....................................................................................................................................664
redundancy disable-auto-reboot................................................................................................................................. 665
redundancy force-failover............................................................................................................................................666
redundancy primary.......................................................................................................................................................666
redundancy protocol..................................................................................................................................................... 667
redundancy reset-counter............................................................................................................................................668
redundancy sfm standby.............................................................................................................................................. 668
redundancy synchronize...............................................................................................................................................670
show patch.....................................................................................................................................................................670
show processes restartable.......................................................................................................................................... 671
16
Contents
show redundancy...........................................................................................................................................................672
21 ICMP Message Types...............................................................................................................................675
22 Internet Group Management Protocol (IGMP)........................................................................................ 677
IGMP Commands...........................................................................................................................................................677
clear ip igmp groups.................................................................................................................................................677
debug ip igmp...........................................................................................................................................................678
ip igmp access-group.............................................................................................................................................. 679
ip igmp immediate-leave.........................................................................................................................................680
ip igmp last-member-query-interval...................................................................................................................... 681
ip igmp query-interval............................................................................................................................................. 682
ip igmp query-max-resp-time.................................................................................................................................683
ip igmp ssm-map......................................................................................................................................................684
ip igmp version.........................................................................................................................................................685
show ip igmp groups............................................................................................................................................... 686
show ip igmp interface............................................................................................................................................688
show ip igmp ssm-map...........................................................................................................................................690
IGMP Snooping Commands..........................................................................................................................................691
clear ip igmp snooping groups............................................................................................................................... 692
debug ip igmp snooping..........................................................................................................................................693
ip igmp snooping enable..........................................................................................................................................694
ip igmp snooping fast-leave................................................................................................................................... 695
ip igmp snooping flood............................................................................................................................................696
ip igmp snooping last-member-query-interval.....................................................................................................696
ip igmp snooping mrouter.......................................................................................................................................697
ip igmp snooping querier.........................................................................................................................................698
show ip igmp snooping groups.............................................................................................................................. 699
show ip igmp snooping mrouter............................................................................................................................. 701
23 Interfaces................................................................................................................................................ 703
Basic Interface Commands...........................................................................................................................................703
clear counters...........................................................................................................................................................703
clear dampening.......................................................................................................................................................705
dampening................................................................................................................................................................ 706
default interface.......................................................................................................................................................707
description................................................................................................................................................................ 708
duplex (10/100 Interfaces).....................................................................................................................................709
flowcontrol................................................................................................................................................................ 710
interface.....................................................................................................................................................................713
interface group......................................................................................................................................................... 715
interface loopback....................................................................................................................................................716
interface managementEthernet..............................................................................................................................717
interface null..............................................................................................................................................................718
interface range..........................................................................................................................................................719
interface range macro (define)...............................................................................................................................721
Contents
17
interface range macro name.................................................................................................................................. 722
interface vlan............................................................................................................................................................723
intf-type cr4 autoneg..............................................................................................................................................725
keepalive................................................................................................................................................................... 726
negotiation auto....................................................................................................................................................... 726
monitor interface..................................................................................................................................................... 729
mtu............................................................................................................................................................................. 731
portmode hybrid.......................................................................................................................................................733
rate-interval.............................................................................................................................................................. 734
rate-interval (Configuration Mode).......................................................................................................................735
show config.............................................................................................................................................................. 736
show config (from INTERFACE RANGE mode)..................................................................................................737
show interfaces........................................................................................................................................................738
show interfaces configured....................................................................................................................................744
show interfaces dampening................................................................................................................................... 745
show interfaces phy................................................................................................................................................ 746
show interfaces stack-unit.....................................................................................................................................749
show interfaces status............................................................................................................................................750
show interfaces switchport....................................................................................................................................752
show interfaces transceiver...................................................................................................................................754
show interfaces vlan............................................................................................................................................... 759
show range...............................................................................................................................................................760
show running-config ecmp-group..........................................................................................................................761
show system stack-unit fanout configured.......................................................................................................... 761
shutdown.................................................................................................................................................................. 762
speed (for 10/100/1000/10000 interfaces).........................................................................................................763
speed (Management interface).............................................................................................................................765
stack-unit portmode quad......................................................................................................................................766
switchport.................................................................................................................................................................767
wavelength............................................................................................................................................................... 768
Egress Interface Selection (EIS) Commands.............................................................................................................769
application.................................................................................................................................................................769
application (for HTTP and ICMP)..........................................................................................................................770
clear management application pkt-cntr................................................................................................................ 770
clear management application pkt-fallback-cntr.................................................................................................. 771
management egress-interface-selection...............................................................................................................771
show ip management-eis-route ............................................................................................................................ 772
show management application pkt-cntr............................................................................................................... 772
show management application pkt-fallback-cntr................................................................................................ 773
Port Channel Commands..............................................................................................................................................774
channel-member...................................................................................................................................................... 774
group......................................................................................................................................................................... 775
interface port-channel.............................................................................................................................................776
minimum-links...........................................................................................................................................................778
port-channel failover-group....................................................................................................................................778
18
Contents
show config.............................................................................................................................................................. 779
show interfaces port-channel................................................................................................................................ 780
show port-channel-flow..........................................................................................................................................783
Time Domain Reflectometer (TDR) Commands....................................................................................................... 785
tdr-cable-test...........................................................................................................................................................785
show tdr....................................................................................................................................................................786
UDP Broadcast Commands..........................................................................................................................................787
debug ip udp-helper.................................................................................................................................................787
ip udp-helper udp-port............................................................................................................................................788
show ip udp-helper..................................................................................................................................................789
ip http source-interface................................................................................................................................................790
24 Internet Protocol Security (IPSec).......................................................................................................... 792
crypto ipsec transform-set...........................................................................................................................................793
crypto ipsec policy.........................................................................................................................................................794
management crypto-policy...........................................................................................................................................795
match.............................................................................................................................................................................. 795
session-key.....................................................................................................................................................................796
show crypto ipsec transform-set................................................................................................................................ 797
show crypto ipsec policy...............................................................................................................................................798
transform-set.................................................................................................................................................................799
25 IPv4 Routing............................................................................................................................................800
arp.................................................................................................................................................................................... 801
arp backoff-time............................................................................................................................................................802
arp learn-enable............................................................................................................................................................. 803
arp max-entries..............................................................................................................................................................804
arp retries....................................................................................................................................................................... 805
arp timeout.....................................................................................................................................................................806
clear arp-cache.............................................................................................................................................................. 807
clear host........................................................................................................................................................................808
clear ip fib stack-unit.....................................................................................................................................................809
clear ip route.................................................................................................................................................................. 809
clear tcp statistics...........................................................................................................................................................811
debug arp......................................................................................................................................................................... 811
debug ip dhcp................................................................................................................................................................. 813
debug ipv6 dhcp ............................................................................................................................................................814
debug ip icmp..................................................................................................................................................................815
debug ip packet.............................................................................................................................................................. 816
ip address........................................................................................................................................................................ 818
ip directed-broadcast.....................................................................................................................................................819
ip domain-list.................................................................................................................................................................. 820
ip domain-lookup............................................................................................................................................................ 821
ip domain-name..............................................................................................................................................................822
ip helper-address........................................................................................................................................................... 823
ip helper-address hop-count disable...........................................................................................................................824
Contents
19
ip host............................................................................................................................................................................. 825
ip icmp source-interface...............................................................................................................................................826
ipv6 icmp source-interface...........................................................................................................................................827
ip max-frag-count..........................................................................................................................................................829
ip max-routes................................................................................................................................................................. 830
ip mtu.............................................................................................................................................................................. 830
ip name-server............................................................................................................................................................... 832
ip proxy-arp.................................................................................................................................................................... 833
ip route............................................................................................................................................................................834
ip source-route...............................................................................................................................................................836
ip unreachables.............................................................................................................................................................. 837
load-balance................................................................................................................................................................... 838
load-balance hg..............................................................................................................................................................839
management route.........................................................................................................................................................841
show arp......................................................................................................................................................................... 842
show arp retries.............................................................................................................................................................845
show hosts..................................................................................................................................................................... 846
show ip cam stack-unit.................................................................................................................................................847
show ip fib stack-unit....................................................................................................................................................849
show ip flow....................................................................................................................................................................851
show ip interface........................................................................................................................................................... 852
show ip management-route.........................................................................................................................................855
show ipv6 management-route.....................................................................................................................................856
show ip protocols...........................................................................................................................................................857
show ip route................................................................................................................................................................. 858
show ip route list............................................................................................................................................................862
show ip route summary................................................................................................................................................ 863
show ip traffic................................................................................................................................................................865
show tcp statistics.........................................................................................................................................................867
26 IPv6 Access Control Lists (IPv6 ACLs)....................................................................................................870
show cam-acl-egress....................................................................................................................................................870
show cam-acl..................................................................................................................................................................871
permit icmp.....................................................................................................................................................................873
permit.............................................................................................................................................................................. 874
ipv6 control-plane egress-filter....................................................................................................................................875
ipv6 access-list...............................................................................................................................................................875
cam-acl-egress.............................................................................................................................................................. 876
cam-acl............................................................................................................................................................................878
27 IPv6 Basics.............................................................................................................................................. 880
cam-ipv6 extended-prefix.............................................................................................................................................881
clear ipv6 fib....................................................................................................................................................................881
clear ipv6 route.............................................................................................................................................................. 882
clear ipv6 mld_host.......................................................................................................................................................883
maximum dynamic-routes-ipv6................................................................................................................................... 884
20
Contents
/