- Manuals
- Brands
- Dell
- Networking Solution
- PowerConnect
- CLI Reference Guide
Dell PowerConnect 2048 Networking Solution CLI Reference Guide PDF
Summary of Content for Dell PowerConnect 2048 Networking Solution CLI Reference Guide PDF
2CSNXXX_SWUM200.book Page 1 Tuesday, December 10, 2013 1:22 PM
Dell Networking 2024/2048/3024/3048/4032/4064
CLI Reference Guide
Regulatory Model: N2024/N2024P/N2048/ N2048P/N3024/N3024F/N3024P/N3048/ N3048P/N4032/N4032F/N4064/N4064F
2CSNXXX_SWUM200.book Page 2 Tuesday, December 10, 2013 1:22 PM
Notes NOTE: A NOTE indicates important information that helps you make better use of
your computer.
CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed.
____________________
Information in this publication is subject to change without notice. 2013 Dell Inc. All rights reserved.
Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Trademarks used in this text: Dell, the DELL logo, and PowerConnect are trademarks of Dell Inc. StrataXGS is a registered trademark of Broadcom Corp. sFlow is a registered trademark of InMon Corporation. Cisco is a registered trademark of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. Microsoft and Windowsare registered trademarks of Microsoft Corporation in the United States and/or other countries.
Other trademarks and trade names may be used in this publication to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
Regulatory Model N2024/N2024P/N2048/N2048P/N3024/N3024F/N3024P/N3048/N3048P/N4032/N4032F/N4064/N4064F
2013 - December Rev. A02
2CSNXXX_SWUM200.book Page 3 Tuesday, December 10, 2013 1:22 PM
Contents
1 Command Groups . . . . . . . . . . . . . . . . . . 83
Introduction . . . . . . . . . . . . . . . . . . . . . . . 83
Command Groups . . . . . . . . . . . . . . . . . . . . 83
Mode Types . . . . . . . . . . . . . . . . . . . . . . . 87
Layer 2 Commands . . . . . . . . . . . . . . . . . . . . 89
Layer 3 Commands . . . . . . . . . . . . . . . . . . . . 127
Utility Commands . . . . . . . . . . . . . . . . . . . . 156
2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 179
Introduction . . . . . . . . . . . . . . . . . . . . . . . 179
Entering and Editing CLI Commands. . . . . . . . . . . 179
CLI Command Modes . . . . . . . . . . . . . . . . . . 190
Starting the CLI. . . . . . . . . . . . . . . . . . . . . . 203
Using CLI Functions and Tools. . . . . . . . . . . . . . 203
Contents 3
2CSNXXX_SWUM200.book Page 4 Tuesday, December 10, 2013 1:22 PM
3 Layer 2 Switching Commands . . . . . . . . 215
4 AAA Commands . . . . . . . . . . . . . . . . . . . 217
TACACS+ Accounting . . . . . . . . . . . . . . . . . . 218
Commands in this Chapter . . . . . . . . . . . . . . . . 219
aaa authentication dot1x default . . . . . . . . . . . . 220
aaa authentication enable. . . . . . . . . . . . . . . . 221
aaa authentication login. . . . . . . . . . . . . . . . . 223
aaa authorization . . . . . . . . . . . . . . . . . . . . 224
aaa authorization network default radius. . . . . . . . 227
aaa ias-user username . . . . . . . . . . . . . . . . . 227
aaa new-model . . . . . . . . . . . . . . . . . . . . . 228
clear (IAS) . . . . . . . . . . . . . . . . . . . . . . . . 229
authorization . . . . . . . . . . . . . . . . . . . . . . . 229
enable authentication . . . . . . . . . . . . . . . . . . 230
enable password . . . . . . . . . . . . . . . . . . . . 231
ip http authentication . . . . . . . . . . . . . . . . . . 232
ip https authentication. . . . . . . . . . . . . . . . . . 233
login authentication . . . . . . . . . . . . . . . . . . . 235
password (aaa IAS User Configuration). . . . . . . . . 236
password (Line Configuration) . . . . . . . . . . . . . 237
Contents 4
2CSNXXX_SWUM200.book Page 5 Tuesday, December 10, 2013 1:22 PM
password (User EXEC) . . . . . . . . . . . . . . . . . . 238
show aaa ias-users . . . . . . . . . . . . . . . . . . . 238
show aaa statistics . . . . . . . . . . . . . . . . . . . 239
show authentication methods . . . . . . . . . . . . . . 240
show authorization methods . . . . . . . . . . . . . . 241
show users accounts . . . . . . . . . . . . . . . . . . 242
show users login-history . . . . . . . . . . . . . . . . 243
username. . . . . . . . . . . . . . . . . . . . . . . . . 244
username unlock . . . . . . . . . . . . . . . . . . . . 246
5 Administrative Profiles Commands . . . . 249
Overview . . . . . . . . . . . . . . . . . . . . . . . . . 249
Commands in this Chapter . . . . . . . . . . . . . . . . 250
admin-profile. . . . . . . . . . . . . . . . . . . . . . . 251
description (Administrative Profile Configuration) . . . 251
rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
show admin-profiles. . . . . . . . . . . . . . . . . . . 253
show admin-profiles brief . . . . . . . . . . . . . . . . 254
show cli modes . . . . . . . . . . . . . . . . . . . . . 255
6 ACL Commands . . . . . . . . . . . . . . . . . . . 257
ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 257
Contents 5
2CSNXXX_SWUM200.book Page 6 Tuesday, December 10, 2013 1:22 PM
Commands in this Chapter . . . . . . . . . . . . . . . . 260
ip access-list. . . . . . . . . . . . . . . . . . . . . . . 260
deny | permit (IP ACL) . . . . . . . . . . . . . . . . . . 261
deny | permit (Mac-Access-List-Configuration) . . . . 266
ip access-group . . . . . . . . . . . . . . . . . . . . . 268
mac access-group . . . . . . . . . . . . . . . . . . . . 270
mac access-list extended . . . . . . . . . . . . . . . . 271
mac access-list extended rename . . . . . . . . . . . 272
service-acl input . . . . . . . . . . . . . . . . . . . . . 273
show service-acl interface . . . . . . . . . . . . . . . 274
show access-lists interface . . . . . . . . . . . . . . . 274
show ip access-lists. . . . . . . . . . . . . . . . . . . 275
show mac access-lists . . . . . . . . . . . . . . . . . 276
7 Address Table Commands . . . . . . . . . . . 279
Commands in this Chapter . . . . . . . . . . . . . . . . 280
clear mac address-table. . . . . . . . . . . . . . . . . 280
mac address-table aging-time . . . . . . . . . . . . . 281
mac address-table multicast forbidden address . . . . 282
mac address-table static vlan . . . . . . . . . . . . . . 283
port security . . . . . . . . . . . . . . . . . . . . . . . 284
port security max . . . . . . . . . . . . . . . . . . . . 285
Contents 6
2CSNXXX_SWUM200.book Page 7 Tuesday, December 10, 2013 1:22 PM
show mac address-table multicast . . . . . . . . . . . 285
show mac address-table . . . . . . . . . . . . . . . . 287
show mac address-table address . . . . . . . . . . . . 287
show mac address-table count . . . . . . . . . . . . . 288
show mac address-table dynamic . . . . . . . . . . . 289
show mac address-table interface . . . . . . . . . . . 290
show mac address-table static . . . . . . . . . . . . . 291
show mac address-table vlan . . . . . . . . . . . . . . 292
show ports security . . . . . . . . . . . . . . . . . . . 293
show ports security addresses . . . . . . . . . . . . . 294
8 Auto-VoIP Commands . . . . . . . . . . . . . . 297
Commands in this Chapter . . . . . . . . . . . . . . . . 297
show switchport voice . . . . . . . . . . . . . . . . . 298
switchport voice detect auto . . . . . . . . . . . . . . 300
9 CDP Interoperability Commands . . . . . . 301
Commands in this Chapter . . . . . . . . . . . . . . . . 301
clear isdp counters . . . . . . . . . . . . . . . . . . . 301
clear isdp table . . . . . . . . . . . . . . . . . . . . . 302
isdp advertise-v2. . . . . . . . . . . . . . . . . . . . . 302
isdp enable. . . . . . . . . . . . . . . . . . . . . . . . 303
Contents 7
2CSNXXX_SWUM200.book Page 8 Tuesday, December 10, 2013 1:22 PM
isdp holdtime. . . . . . . . . . . . . . . . . . . . . . . 304
isdp timer . . . . . . . . . . . . . . . . . . . . . . . . 304
show isdp . . . . . . . . . . . . . . . . . . . . . . . . 305
show isdp entry . . . . . . . . . . . . . . . . . . . . . 306
show isdp interface . . . . . . . . . . . . . . . . . . . 307
show isdp neighbors. . . . . . . . . . . . . . . . . . . 308
show isdp traffic . . . . . . . . . . . . . . . . . . . . . 309
10 DHCP Layer 2 Relay Commands . . . . . . 311
Commands in this Chapter . . . . . . . . . . . . . . . . 311
dhcp l2relay (Global Configuration) . . . . . . . . . . . 312
dhcp l2relay (Interface Configuration) . . . . . . . . . 312
dhcp l2relay circuit-id . . . . . . . . . . . . . . . . . . 313
dhcp l2relay remote-id. . . . . . . . . . . . . . . . . . 314
dhcp l2relay trust . . . . . . . . . . . . . . . . . . . . 314
dhcp l2relay vlan. . . . . . . . . . . . . . . . . . . . . 315
show dhcp l2relay all . . . . . . . . . . . . . . . . . . 316
show dhcp l2relay interface. . . . . . . . . . . . . . . 316
show dhcp l2relay stats interface . . . . . . . . . . . . 317
show dhcp l2relay subscription interface . . . . . . . 318
show dhcp l2relay agent-option vlan . . . . . . . . . . 319
show dhcp l2relay vlan . . . . . . . . . . . . . . . . . 319
Contents 8
2CSNXXX_SWUM200.book Page 9 Tuesday, December 10, 2013 1:22 PM
show dhcp l2relay circuit-id vlan . . . . . . . . . . . . 320
show dhcp l2relay remote-id vlan. . . . . . . . . . . . 321
clear dhcp l2relay statistics interface . . . . . . . . . 322
11 DHCP Management Interface Commands 323
Commands in this Chapter . . . . . . . . . . . . . . . . 323
release dhcp . . . . . . . . . . . . . . . . . . . . . . . 324
renew dhcp . . . . . . . . . . . . . . . . . . . . . . . 325
debug dhcp packet . . . . . . . . . . . . . . . . . . . 326
show dhcp lease . . . . . . . . . . . . . . . . . . . . . 326
12 DHCP Snooping Commands . . . . . . . . . . 329
Commands in this Chapter . . . . . . . . . . . . . . . . 330
clear ip dhcp snooping binding . . . . . . . . . . . . . 330
clear ip dhcp snooping statistics . . . . . . . . . . . . 331
ip dhcp snooping. . . . . . . . . . . . . . . . . . . . . 331
ip dhcp snooping binding . . . . . . . . . . . . . . . . 332
ip dhcp snooping database . . . . . . . . . . . . . . . 333
ip dhcp snooping database write-delay . . . . . . . . 334
ip dhcp snooping limit . . . . . . . . . . . . . . . . . . 335
ip dhcp snooping log-invalid . . . . . . . . . . . . . . 336
ip dhcp snooping trust . . . . . . . . . . . . . . . . . . 337
Contents 9
2CSNXXX_SWUM200.book Page 10 Tuesday, December 10, 2013 1:22 PM
ip dhcp snooping verify mac-address . . . . . . . . . . 338
show ip dhcp snooping . . . . . . . . . . . . . . . . . 338
show ip dhcp snooping binding . . . . . . . . . . . . . 339
show ip dhcp snooping database . . . . . . . . . . . . 340
show ip dhcp snooping interfaces . . . . . . . . . . . 341
show ip dhcp snooping statistics . . . . . . . . . . . . 342
13 Dynamic ARP Inspection Commands . . 345
Commands in this Chapter . . . . . . . . . . . . . . . . 345
arp access-list . . . . . . . . . . . . . . . . . . . . . . 345
clear ip arp inspection statistics . . . . . . . . . . . . 346
ip arp inspection filter . . . . . . . . . . . . . . . . . . 347
ip arp inspection limit . . . . . . . . . . . . . . . . . . 347
ip arp inspection trust . . . . . . . . . . . . . . . . . . 348
ip arp inspection validate . . . . . . . . . . . . . . . . 349
ip arp inspection vlan . . . . . . . . . . . . . . . . . . 350
permit ip host mac host . . . . . . . . . . . . . . . . . 351
show arp access-list . . . . . . . . . . . . . . . . . . 351
show ip arp inspection . . . . . . . . . . . . . . . . . 352
show ip arp inspection vlan . . . . . . . . . . . . . . . 354
Contents 10
2CSNXXX_SWUM200.book Page 11 Tuesday, December 10, 2013 1:22 PM
14 E-mail Alerting Commands . . . . . . . . . . 357
Commands in this Chapter . . . . . . . . . . . . . . . . 358
logging email . . . . . . . . . . . . . . . . . . . . . . 358
logging email urgent. . . . . . . . . . . . . . . . . . . 359
logging traps . . . . . . . . . . . . . . . . . . . . . . . 360
logging email message-type to-addr . . . . . . . . . . 361
logging email from-addr . . . . . . . . . . . . . . . . . 362
logging email message-type subject . . . . . . . . . . 363
logging email logtime . . . . . . . . . . . . . . . . . . 363
logging email test message-type . . . . . . . . . . . . 364
show logging email statistics . . . . . . . . . . . . . . 364
clear logging email statistics . . . . . . . . . . . . . . 365
security. . . . . . . . . . . . . . . . . . . . . . . . . . 366
mail-server ip-address | hostname . . . . . . . . . . . 366
port (Mail Server Configuration Mode) . . . . . . . . . 367
username (Mail Server Configuration Mode) . . . . . . 368
password (Mail Server Configuration Mode) . . . . . . 368
show mail-server . . . . . . . . . . . . . . . . . . . . 369
15 Ethernet Configuration Commands . . . . 371
Commands in this Chapter . . . . . . . . . . . . . . . . 372
Contents 11
2CSNXXX_SWUM200.book Page 12 Tuesday, December 10, 2013 1:22 PM
clear counters . . . . . . . . . . . . . . . . . . . . . . 372
description . . . . . . . . . . . . . . . . . . . . . . . . 373
duplex . . . . . . . . . . . . . . . . . . . . . . . . . . 374
flowcontrol receive . . . . . . . . . . . . . . . . . . . 374
interface . . . . . . . . . . . . . . . . . . . . . . . . . 375
interface range. . . . . . . . . . . . . . . . . . . . . . 376
monitor capture (Global Configuration) . . . . . . . . . 377
monitor capture (Privileged Exec) . . . . . . . . . . . 382
rate-limit cpu. . . . . . . . . . . . . . . . . . . . . . . 383
show interfaces advertise . . . . . . . . . . . . . . . . 385
show interfaces configuration . . . . . . . . . . . . . 387
show interfaces counters . . . . . . . . . . . . . . . . 388
show interfaces description. . . . . . . . . . . . . . . 391
show interfaces detail . . . . . . . . . . . . . . . . . . 392
show interfaces status . . . . . . . . . . . . . . . . . 393
show interfaces transceiver. . . . . . . . . . . . . . . 396
show monitor capture . . . . . . . . . . . . . . . . . . 397
show statistics. . . . . . . . . . . . . . . . . . . . . . 398
show statistics switchport . . . . . . . . . . . . . . . 401
show storm-control . . . . . . . . . . . . . . . . . . . 403
shutdown. . . . . . . . . . . . . . . . . . . . . . . . . 403
Contents 12
2CSNXXX_SWUM200.book Page 13 Tuesday, December 10, 2013 1:22 PM
speed . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
storm-control broadcast . . . . . . . . . . . . . . . . . 406
storm-control multicast . . . . . . . . . . . . . . . . . 406
storm-control unicast . . . . . . . . . . . . . . . . . . 407
switchport protected . . . . . . . . . . . . . . . . . . 408
switchport protected name . . . . . . . . . . . . . . . 409
show switchport protected . . . . . . . . . . . . . . . 410
show system internal pktmgr . . . . . . . . . . . . . . 410
show system mtu . . . . . . . . . . . . . . . . . . . . 411
system jumbo mtu . . . . . . . . . . . . . . . . . . . . 412
16 Ethernet CFM Commands . . . . . . . . . . . 415
Commands in this Chapter . . . . . . . . . . . . . . . . 415
ethernet cfm domain . . . . . . . . . . . . . . . . . . . 416
service . . . . . . . . . . . . . . . . . . . . . . . . . . 417
ethernet cfm cc level . . . . . . . . . . . . . . . . . . 417
ethernet cfm mep level . . . . . . . . . . . . . . . . . 418
ethernet cfm mep enable . . . . . . . . . . . . . . . . 419
ethernet cfm mep active . . . . . . . . . . . . . . . . . 420
ethernet cfm mep archive-hold-time . . . . . . . . . . 420
ethernet cfm mip level . . . . . . . . . . . . . . . . . . 421
ping ethernet cfm . . . . . . . . . . . . . . . . . . . . 422
Contents 13
2CSNXXX_SWUM200.book Page 14 Tuesday, December 10, 2013 1:22 PM
traceroute ethernet cfm . . . . . . . . . . . . . . . . . 423
show ethernet cfm errors . . . . . . . . . . . . . . . . 424
show ethernet cfm domain . . . . . . . . . . . . . . . 424
show ethernet cfm maintenance-points local . . . . . 425
show ethernet cfm maintenance-points remote . . . . 426
show ethernet cfm statistics . . . . . . . . . . . . . . 427
debug cfm . . . . . . . . . . . . . . . . . . . . . . . . 428
17 Green Ethernet Commands . . . . . . . . . . 431
Energy-Detect Mode . . . . . . . . . . . . . . . . . . . 431
Energy Efficient Ethernet . . . . . . . . . . . . . . . . 431
Commands in this Chapter . . . . . . . . . . . . . . . . 431
green-mode energy-detect . . . . . . . . . . . . . . . 432
green-mode eee . . . . . . . . . . . . . . . . . . . . . 433
clear green-mode statistics . . . . . . . . . . . . . . . 434
green-mode eee-lpi-history . . . . . . . . . . . . . . . 434
show green-mode interface-id . . . . . . . . . . . . . 435
show green-mode . . . . . . . . . . . . . . . . . . . . 439
show green-mode eee-lpi-history interface . . . . . . 440
18 GVRP Commands . . . . . . . . . . . . . . . . . . 443
Commands in this Chapter . . . . . . . . . . . . . . . . 443
Contents 14
2CSNXXX_SWUM200.book Page 15 Tuesday, December 10, 2013 1:22 PM
clear gvrp statistics . . . . . . . . . . . . . . . . . . . 443
garp timer . . . . . . . . . . . . . . . . . . . . . . . . 444
gvrp enable (global) . . . . . . . . . . . . . . . . . . . 445
gvrp enable (interface) . . . . . . . . . . . . . . . . . 446
gvrp registration-forbid . . . . . . . . . . . . . . . . . 447
gvrp vlan-creation-forbid . . . . . . . . . . . . . . . . 448
show gvrp configuration. . . . . . . . . . . . . . . . . 448
show gvrp error-statistics . . . . . . . . . . . . . . . . 450
show gvrp statistics . . . . . . . . . . . . . . . . . . . 451
19 IGMP Snooping Commands . . . . . . . . . . 453
Commands in this Chapter . . . . . . . . . . . . . . . . 454
ip igmp snooping. . . . . . . . . . . . . . . . . . . . . 454
show ip igmp snooping . . . . . . . . . . . . . . . . . 456
show ip igmp snooping groups . . . . . . . . . . . . . 457
show ip igmp snooping mrouter . . . . . . . . . . . . . 458
ip igmp snooping vlan immediate-leave . . . . . . . . 459
ip igmp snooping vlan groupmembership-interval . . . 460
ip igmp snooping vlan last-member-query-interval . . 461
ip igmp snooping vlan mcrtrexpiretime . . . . . . . . . 462
ip igmp snooping report-suppression . . . . . . . . . . 462
ip igmp snooping unregistered floodall . . . . . . . . . 463
Contents 15
2CSNXXX_SWUM200.book Page 16 Tuesday, December 10, 2013 1:22 PM
ip igmp snooping vlan mrouter . . . . . . . . . . . . . 464
20 IGMP Snooping Querier Commands . . . 467
Commands in this Chapter . . . . . . . . . . . . . . . . 467
ip igmp snooping querier . . . . . . . . . . . . . . . . 468
ip igmp snooping querier election participate . . . . . 469
ip igmp snooping querier query-interval . . . . . . . . 470
ip igmp snooping querier timer expiry . . . . . . . . . 471
ip igmp snooping querier version . . . . . . . . . . . . 472
show ip igmp snooping querier . . . . . . . . . . . . . 473
21 IP Addressing Commands . . . . . . . . . . . 477
Commands in this Chapter . . . . . . . . . . . . . . . . 477
clear host . . . . . . . . . . . . . . . . . . . . . . . . 478
clear ip address-conflict-detect . . . . . . . . . . . . 478
interface out-of-band . . . . . . . . . . . . . . . . . . 479
ip address (Out-of-Band) . . . . . . . . . . . . . . . . 479
ip address-conflict-detect run. . . . . . . . . . . . . . 481
ip address dhcp (Interface Configuration) . . . . . . . 481
ip default-gateway. . . . . . . . . . . . . . . . . . . . 483
ip domain-lookup . . . . . . . . . . . . . . . . . . . . 484
ip domain-name . . . . . . . . . . . . . . . . . . . . . 484
Contents 16
2CSNXXX_SWUM200.book Page 17 Tuesday, December 10, 2013 1:22 PM
ip host . . . . . . . . . . . . . . . . . . . . . . . . . . 485
ip name-server . . . . . . . . . . . . . . . . . . . . . . 486
ipv6 address (Interface Configuration) . . . . . . . . . 487
ipv6 address (OOB Port) . . . . . . . . . . . . . . . . . 488
ipv6 address dhcp . . . . . . . . . . . . . . . . . . . . 489
ipv6 enable (Interface Configuration) . . . . . . . . . . 490
ipv6 enable (OOB Configuration) . . . . . . . . . . . . 491
ipv6 gateway (OOB Configuration) . . . . . . . . . . . 491
show hosts . . . . . . . . . . . . . . . . . . . . . . . . 492
show ip address-conflict . . . . . . . . . . . . . . . . 493
show ip helper-address . . . . . . . . . . . . . . . . . 494
show ipv6 dhcp interface out-of-band statistics . . . . 495
show ipv6 interface out-of-band . . . . . . . . . . . . 496
22 IPv6 Access List Commands . . . . . . . . . 497
Commands in this Chapter . . . . . . . . . . . . . . . . 497
deny | permit (IPv6 ACL) . . . . . . . . . . . . . . . . . 498
ipv6 access-list . . . . . . . . . . . . . . . . . . . . . 504
ipv6 access-list rename . . . . . . . . . . . . . . . . . 504
ipv6 traffic-filter . . . . . . . . . . . . . . . . . . . . . 505
show ipv6 access-lists . . . . . . . . . . . . . . . . . 507
Contents 17
2CSNXXX_SWUM200.book Page 18 Tuesday, December 10, 2013 1:22 PM
23 IPv6 MLD Snooping Commands . . . . . . . 509
Commands in this Chapter . . . . . . . . . . . . . . . . 509
ipv6 mld snooping vlan groupmembership-interval . . 510
ipv6 mld snooping vlan immediate-leave . . . . . . . . 510
ipv6 mld snooping listener-message-suppression . . . 511
ipv6 mld snooping vlan last-listener-query-interval . . 512
ipv6 mld snooping vlan mcrtexpiretime. . . . . . . . . 513
ipv6 mld snooping vlan mrouter . . . . . . . . . . . . . 514
ipv6 mld snooping (Global) . . . . . . . . . . . . . . . 514
show ipv6 mld snooping . . . . . . . . . . . . . . . . . 515
show ipv6 mld snooping groups. . . . . . . . . . . . . 517
show ipv6 mld snooping mrouter . . . . . . . . . . . . 519
24 IPv6 MLD Snooping Querier Commands 521
Commands in this Chapter . . . . . . . . . . . . . . . . 521
ipv6 mld snooping querier . . . . . . . . . . . . . . . . 521
ipv6 mld snooping querier (VLAN mode) . . . . . . . . 522
ipv6 mld snooping querier address . . . . . . . . . . . 523
ipv6 mld snooping querier election participate. . . . . 523
ipv6 mld snooping querier query-interval . . . . . . . . 524
ipv6 mld snooping querier timer expiry . . . . . . . . . 525
Contents 18
2CSNXXX_SWUM200.book Page 19 Tuesday, December 10, 2013 1:22 PM
show ipv6 mld snooping querier . . . . . . . . . . . . 526
25 IP Source Guard Commands . . . . . . . . . 529
Commands in this Chapter . . . . . . . . . . . . . . . . 529
ip verify source . . . . . . . . . . . . . . . . . . . . . 529
ip verify source port-security . . . . . . . . . . . . . . 531
ip verify binding . . . . . . . . . . . . . . . . . . . . . 531
show ip verify . . . . . . . . . . . . . . . . . . . . . . 532
show ip verify source . . . . . . . . . . . . . . . . . . 533
show ip source binding . . . . . . . . . . . . . . . . . 534
26 iSCSI Optimization Commands . . . . . . . 535
Commands in this Chapter . . . . . . . . . . . . . . . . 536
iscsi aging time . . . . . . . . . . . . . . . . . . . . . 536
iscsi cos . . . . . . . . . . . . . . . . . . . . . . . . . 537
iscsi enable . . . . . . . . . . . . . . . . . . . . . . . 539
iscsi target port . . . . . . . . . . . . . . . . . . . . . 540
show iscsi . . . . . . . . . . . . . . . . . . . . . . . . 542
show iscsi sessions . . . . . . . . . . . . . . . . . . . 543
27 Link Dependency Commands . . . . . . . . 545
Commands in this Chapter . . . . . . . . . . . . . . . . 545
Contents 19
2CSNXXX_SWUM200.book Page 20 Tuesday, December 10, 2013 1:22 PM
action. . . . . . . . . . . . . . . . . . . . . . . . . . . 545
link-dependency group . . . . . . . . . . . . . . . . . 546
add . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
depends-on. . . . . . . . . . . . . . . . . . . . . . . . 547
show link-dependency . . . . . . . . . . . . . . . . . 548
28 LLDP Commands . . . . . . . . . . . . . . . . . . 551
Commands in this Chapter . . . . . . . . . . . . . . . . 552
clear lldp remote-data . . . . . . . . . . . . . . . . . . 552
clear lldp statistics . . . . . . . . . . . . . . . . . . . 553
dcb enable . . . . . . . . . . . . . . . . . . . . . . . . 554
lldp med . . . . . . . . . . . . . . . . . . . . . . . . . 554
lldp med confignotification . . . . . . . . . . . . . . . 555
lldp med faststartrepeatcount . . . . . . . . . . . . . . 555
lldp med transmit-tlv. . . . . . . . . . . . . . . . . . . 556
lldp notification . . . . . . . . . . . . . . . . . . . . . 557
lldp notification-interval. . . . . . . . . . . . . . . . . 557
lldp receive . . . . . . . . . . . . . . . . . . . . . . . 558
lldp timers . . . . . . . . . . . . . . . . . . . . . . . . 559
lldp transmit . . . . . . . . . . . . . . . . . . . . . . . 560
lldp transmit-mgmt. . . . . . . . . . . . . . . . . . . . 561
lldp transmit-tlv . . . . . . . . . . . . . . . . . . . . . 561
Contents 20
2CSNXXX_SWUM200.book Page 21 Tuesday, December 10, 2013 1:22 PM
show lldp. . . . . . . . . . . . . . . . . . . . . . . . . 562
show lldp interface . . . . . . . . . . . . . . . . . . . 563
show lldp local-device . . . . . . . . . . . . . . . . . 564
show lldp med . . . . . . . . . . . . . . . . . . . . . . 565
show lldp med interface . . . . . . . . . . . . . . . . . 566
show lldp med local-device detail . . . . . . . . . . . 567
show lldp med remote-device. . . . . . . . . . . . . . 568
show lldp remote-device . . . . . . . . . . . . . . . . 570
show lldp statistics . . . . . . . . . . . . . . . . . . . 571
29 Multicast VLAN Registration Commands 575
Commands in this Chapter . . . . . . . . . . . . . . . . 576
mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576
mvr group . . . . . . . . . . . . . . . . . . . . . . . . 576
mvr mode . . . . . . . . . . . . . . . . . . . . . . . . . 577
mvr querytime . . . . . . . . . . . . . . . . . . . . . . 578
mvr vlan . . . . . . . . . . . . . . . . . . . . . . . . . 579
mvr immediate . . . . . . . . . . . . . . . . . . . . . . 580
mvr type . . . . . . . . . . . . . . . . . . . . . . . . . 581
mvr vlan group . . . . . . . . . . . . . . . . . . . . . . 582
show mvr . . . . . . . . . . . . . . . . . . . . . . . . . 583
show mvr members . . . . . . . . . . . . . . . . . . . 584
Contents 21
2CSNXXX_SWUM200.book Page 22 Tuesday, December 10, 2013 1:22 PM
show mvr interface . . . . . . . . . . . . . . . . . . . 585
show mvr traffic . . . . . . . . . . . . . . . . . . . . . 587
30 Port Channel Commands . . . . . . . . . . . . 589
Static LAGS . . . . . . . . . . . . . . . . . . . . . . . 590
VLANs and LAGs . . . . . . . . . . . . . . . . . . . . . 590
LAG Thresholds . . . . . . . . . . . . . . . . . . . . . 590
LAG Hashing . . . . . . . . . . . . . . . . . . . . . . . 591
Enhanced LAG Hashing . . . . . . . . . . . . . . . . . 591
Manual Aggregation of LAGs . . . . . . . . . . . . . . 592
Flexible Assignment of Ports to LAGs . . . . . . . . . . 592
Commands in this Chapter . . . . . . . . . . . . . . . . 592
channel-group . . . . . . . . . . . . . . . . . . . . . . 593
interface port-channel. . . . . . . . . . . . . . . . . . 594
interface range port-channel . . . . . . . . . . . . . . 594
hashing-mode . . . . . . . . . . . . . . . . . . . . . . 595
lacp port-priority . . . . . . . . . . . . . . . . . . . . . 596
lacp system-priority . . . . . . . . . . . . . . . . . . . 597
lacp timeout . . . . . . . . . . . . . . . . . . . . . . . 598
port-channel local-preference . . . . . . . . . . . . . 599
port-channel min-links . . . . . . . . . . . . . . . . . 600
show interfaces port-channel . . . . . . . . . . . . . . 601
Contents 22
2CSNXXX_SWUM200.book Page 23 Tuesday, December 10, 2013 1:22 PM
show lacp . . . . . . . . . . . . . . . . . . . . . . . . 602
show statistics port-channel . . . . . . . . . . . . . . 604
31 MLAG . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
Commands in this Chapter . . . . . . . . . . . . . . . . 607
clear vpc statistics . . . . . . . . . . . . . . . . . . . 607
debug vpc . . . . . . . . . . . . . . . . . . . . . . . . 608
feature vpc . . . . . . . . . . . . . . . . . . . . . . . . 609
peer-detection enable . . . . . . . . . . . . . . . . . . 610
peer-keepalive destination . . . . . . . . . . . . . . . 611
peer-keepalive enable. . . . . . . . . . . . . . . . . . 612
role priority. . . . . . . . . . . . . . . . . . . . . . . . 614
show vpc . . . . . . . . . . . . . . . . . . . . . . . . . 615
show vpc brief . . . . . . . . . . . . . . . . . . . . . . 616
show vpc consistency-parameters . . . . . . . . . . . 618
show vpc consistency-features . . . . . . . . . . . . . 619
show vpc peer-keepalive . . . . . . . . . . . . . . . . 619
show vpc role . . . . . . . . . . . . . . . . . . . . . . 620
show vpc statistics . . . . . . . . . . . . . . . . . . . 621
vpc . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622
vpc domain . . . . . . . . . . . . . . . . . . . . . . . . 623
vpc peer-link . . . . . . . . . . . . . . . . . . . . . . . 624
Contents 23
2CSNXXX_SWUM200.book Page 24 Tuesday, December 10, 2013 1:22 PM
32 Port Monitor Commands . . . . . . . . . . . . 627
Commands in this Chapter . . . . . . . . . . . . . . . . 628
monitor session . . . . . . . . . . . . . . . . . . . . . 628
remote-span . . . . . . . . . . . . . . . . . . . . . . . 630
show monitor session . . . . . . . . . . . . . . . . . . 631
show vlan remote-span . . . . . . . . . . . . . . . . . 633
33 QoS Commands . . . . . . . . . . . . . . . . . . . 635
Access Control Lists . . . . . . . . . . . . . . . . . . . 635
Layer 2 ACLs . . . . . . . . . . . . . . . . . . . . . . . 636
Layer 3/4 IPv4 ACLs . . . . . . . . . . . . . . . . . . . 636
Class of Service (CoS) . . . . . . . . . . . . . . . . . . 636
Queue Mapping . . . . . . . . . . . . . . . . . . . . . 637
Commands in this Chapter . . . . . . . . . . . . . . . . 638
assign-queue. . . . . . . . . . . . . . . . . . . . . . . 639
class . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
class-map . . . . . . . . . . . . . . . . . . . . . . . . 640
class-map rename . . . . . . . . . . . . . . . . . . . . 641
classofservice dot1p-mapping . . . . . . . . . . . . . 642
classofservice ip-dscp-mapping . . . . . . . . . . . . 643
classofservice trust . . . . . . . . . . . . . . . . . . . 646
Contents 24
2CSNXXX_SWUM200.book Page 25 Tuesday, December 10, 2013 1:22 PM
conform-color . . . . . . . . . . . . . . . . . . . . . . 647
cos-queue min-bandwidth . . . . . . . . . . . . . . . 649
cos-queue random-detect . . . . . . . . . . . . . . . . 650
cos-queue strict . . . . . . . . . . . . . . . . . . . . . 652
diffserv . . . . . . . . . . . . . . . . . . . . . . . . . . 653
drop. . . . . . . . . . . . . . . . . . . . . . . . . . . . 653
mark cos . . . . . . . . . . . . . . . . . . . . . . . . . 654
mark ip-dscp . . . . . . . . . . . . . . . . . . . . . . . 655
mark ip-precedence . . . . . . . . . . . . . . . . . . . 655
match class-map. . . . . . . . . . . . . . . . . . . . . 656
match cos . . . . . . . . . . . . . . . . . . . . . . . . 657
match destination-address mac. . . . . . . . . . . . . 658
match dstip. . . . . . . . . . . . . . . . . . . . . . . . 659
match dstip6 . . . . . . . . . . . . . . . . . . . . . . . 659
match dstl4port . . . . . . . . . . . . . . . . . . . . . 660
match ethertype . . . . . . . . . . . . . . . . . . . . . 661
match ip6flowlbl . . . . . . . . . . . . . . . . . . . . . 662
match ip dscp . . . . . . . . . . . . . . . . . . . . . . 662
match ip precedence . . . . . . . . . . . . . . . . . . 663
match ip tos . . . . . . . . . . . . . . . . . . . . . . . 664
match protocol . . . . . . . . . . . . . . . . . . . . . . 665
Contents 25
2CSNXXX_SWUM200.book Page 26 Tuesday, December 10, 2013 1:22 PM
match source-address mac . . . . . . . . . . . . . . . 666
match srcip. . . . . . . . . . . . . . . . . . . . . . . . 667
match srcip6 . . . . . . . . . . . . . . . . . . . . . . . 667
match srcl4port . . . . . . . . . . . . . . . . . . . . . 668
match vlan . . . . . . . . . . . . . . . . . . . . . . . . 669
mirror . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
police-simple . . . . . . . . . . . . . . . . . . . . . . 670
police-single-rate . . . . . . . . . . . . . . . . . . . . 672
police-two-rate . . . . . . . . . . . . . . . . . . . . . 673
policy-map . . . . . . . . . . . . . . . . . . . . . . . . 674
random-detect queue-parms . . . . . . . . . . . . . . 675
random-detect exponential-weighting-constant . . . . 678
redirect . . . . . . . . . . . . . . . . . . . . . . . . . . 678
service-policy . . . . . . . . . . . . . . . . . . . . . . 679
show class-map . . . . . . . . . . . . . . . . . . . . . 680
show classofservice dot1p-mapping . . . . . . . . . . 682
show classofservice ip-dscp-mapping . . . . . . . . . 683
show classofservice trust . . . . . . . . . . . . . . . . 685
show diffserv. . . . . . . . . . . . . . . . . . . . . . . 686
show diffserv service interface . . . . . . . . . . . . . 686
show diffserv service interface port-channel . . . . . 687
Contents 26
2CSNXXX_SWUM200.book Page 27 Tuesday, December 10, 2013 1:22 PM
show diffserv service brief . . . . . . . . . . . . . . . 688
show interfaces cos-queue . . . . . . . . . . . . . . . 689
show interfaces random-detect . . . . . . . . . . . . . 691
show policy-map . . . . . . . . . . . . . . . . . . . . 691
show policy-map interface . . . . . . . . . . . . . . . 692
show service-policy . . . . . . . . . . . . . . . . . . . 693
traffic-shape . . . . . . . . . . . . . . . . . . . . . . . 694
vlan priority . . . . . . . . . . . . . . . . . . . . . . . 695
34 RADIUS Commands . . . . . . . . . . . . . . . . 697
Commands in this Chapter . . . . . . . . . . . . . . . . 700
aaa accounting dot1x default start-stop . . . . . . . . 701
accounting . . . . . . . . . . . . . . . . . . . . . . . . 702
acct-port . . . . . . . . . . . . . . . . . . . . . . . . . 703
auth-port . . . . . . . . . . . . . . . . . . . . . . . . . 704
deadtime . . . . . . . . . . . . . . . . . . . . . . . . . 705
debug aaa accounting . . . . . . . . . . . . . . . . . . 705
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706
key encrypted . . . . . . . . . . . . . . . . . . . . . . 707
msgauth . . . . . . . . . . . . . . . . . . . . . . . . . 708
name (RADIUS server) . . . . . . . . . . . . . . . . . . 708
primary . . . . . . . . . . . . . . . . . . . . . . . . . . 709
Contents 27
2CSNXXX_SWUM200.book Page 28 Tuesday, December 10, 2013 1:22 PM
priority . . . . . . . . . . . . . . . . . . . . . . . . . . 710
radius-server attribute 4 . . . . . . . . . . . . . . . . . 711
radius-server deadtime . . . . . . . . . . . . . . . . . 712
radius-server host . . . . . . . . . . . . . . . . . . . . 713
radius-server key . . . . . . . . . . . . . . . . . . . . 714
radius-server key encrypted. . . . . . . . . . . . . . . 715
radius-server retransmit . . . . . . . . . . . . . . . . . 715
radius-server source-ip . . . . . . . . . . . . . . . . . 716
radius-server timeout . . . . . . . . . . . . . . . . . . 717
retransmit . . . . . . . . . . . . . . . . . . . . . . . . 718
show aaa servers . . . . . . . . . . . . . . . . . . . . 718
show accounting methods . . . . . . . . . . . . . . . 721
show radius statistics . . . . . . . . . . . . . . . . . . 721
source-ip . . . . . . . . . . . . . . . . . . . . . . . . . 725
timeout . . . . . . . . . . . . . . . . . . . . . . . . . . 726
usage . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
35 Spanning Tree Commands . . . . . . . . . . . 729
Commands in this Chapter . . . . . . . . . . . . . . . . 730
clear spanning-tree detected-protocols . . . . . . . . 731
exit (mst) . . . . . . . . . . . . . . . . . . . . . . . . . 732
instance (mst) . . . . . . . . . . . . . . . . . . . . . . 732
Contents 28
2CSNXXX_SWUM200.book Page 29 Tuesday, December 10, 2013 1:22 PM
name (mst) . . . . . . . . . . . . . . . . . . . . . . . . 734
revision (mst). . . . . . . . . . . . . . . . . . . . . . . 735
show spanning-tree . . . . . . . . . . . . . . . . . . . 735
show spanning-tree summary . . . . . . . . . . . . . . 740
show spanning-tree vlan . . . . . . . . . . . . . . . . 741
spanning-tree . . . . . . . . . . . . . . . . . . . . . . 743
spanning-tree auto-portfast . . . . . . . . . . . . . . . 743
spanning-tree backbonefast. . . . . . . . . . . . . . . 744
spanning-tree bpdu flooding . . . . . . . . . . . . . . 745
spanning-tree bpdu-protection . . . . . . . . . . . . . 746
spanning-tree cost . . . . . . . . . . . . . . . . . . . . 747
spanning-tree disable . . . . . . . . . . . . . . . . . . 748
spanning-tree forward-time . . . . . . . . . . . . . . . 749
spanning-tree guard . . . . . . . . . . . . . . . . . . . 750
spanning-tree loopguard . . . . . . . . . . . . . . . . 750
spanning-tree max-age . . . . . . . . . . . . . . . . . 751
spanning-tree max-hops. . . . . . . . . . . . . . . . . 752
spanning-tree mode . . . . . . . . . . . . . . . . . . . 753
spanning-tree mst configuration . . . . . . . . . . . . 754
spanning-tree mst cost . . . . . . . . . . . . . . . . . 755
spanning-tree mst port-priority . . . . . . . . . . . . . 756
Contents 29
2CSNXXX_SWUM200.book Page 30 Tuesday, December 10, 2013 1:22 PM
spanning-tree mst priority . . . . . . . . . . . . . . . . 757
spanning-tree portfast . . . . . . . . . . . . . . . . . . 758
spanning-tree portfast bpdufilter default . . . . . . . . 759
spanning-tree portfast default . . . . . . . . . . . . . . 759
spanning-tree port-priority (Interface Configuration). . 760
spanning-tree priority . . . . . . . . . . . . . . . . . . 762
spanning-tree tcnguard . . . . . . . . . . . . . . . . . 763
spanning-tree transmit hold-count . . . . . . . . . . . 763
spanning-tree uplinkfast . . . . . . . . . . . . . . . . 764
spanning-tree vlan . . . . . . . . . . . . . . . . . . . 765
spanning-tree vlan forward-time . . . . . . . . . . . . 766
spanning-tree vlan hello-time . . . . . . . . . . . . . . 767
spanning-tree vlan max-age. . . . . . . . . . . . . . . 768
spanning-tree vlan root . . . . . . . . . . . . . . . . . 769
spanning-tree vlan priority . . . . . . . . . . . . . . . 769
36 TACACS+ Commands . . . . . . . . . . . . . . . 771
Commands in this Chapter . . . . . . . . . . . . . . . . 771
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
key encrypted . . . . . . . . . . . . . . . . . . . . . . 772
port . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773
priority . . . . . . . . . . . . . . . . . . . . . . . . . . 774
Contents 30
2CSNXXX_SWUM200.book Page 31 Tuesday, December 10, 2013 1:22 PM
show tacacs . . . . . . . . . . . . . . . . . . . . . . . 774
tacacs-server host . . . . . . . . . . . . . . . . . . . . 775
tacacs-server key . . . . . . . . . . . . . . . . . . . . 776
tacacs-server key encrypted . . . . . . . . . . . . . . 777
tacacs-server timeout . . . . . . . . . . . . . . . . . . 778
timeout . . . . . . . . . . . . . . . . . . . . . . . . . . 778
37 UDLD Commands . . . . . . . . . . . . . . . . . . 781
Detecting Unidirectional Links on a Device Port . . . . 781
Processing UDLD Traffic from Neighbors . . . . . . . . 782
UDLD in Normal-mode . . . . . . . . . . . . . . . . . . 782
UDLD in Aggressive-mode. . . . . . . . . . . . . . . . 782
Commands in this Chapter . . . . . . . . . . . . . . . . 783
udld enable (Global Configuration) . . . . . . . . . . . 783
udld reset . . . . . . . . . . . . . . . . . . . . . . . . 784
udld message time . . . . . . . . . . . . . . . . . . . . 785
udld timeout interval. . . . . . . . . . . . . . . . . . . 785
udld enable (Interface Configuration) . . . . . . . . . . 786
udld port . . . . . . . . . . . . . . . . . . . . . . . . . 787
show udld . . . . . . . . . . . . . . . . . . . . . . . . 787
debug udld . . . . . . . . . . . . . . . . . . . . . . . . 789
Contents 31
2CSNXXX_SWUM200.book Page 32 Tuesday, December 10, 2013 1:22 PM
38 VLAN Commands . . . . . . . . . . . . . . . . . . 791
Double VLAN Mode . . . . . . . . . . . . . . . . . . . 791
Independent VLAN Learning. . . . . . . . . . . . . . . 792
Protocol Based VLANs. . . . . . . . . . . . . . . . . . 792
IP Subnet Based VLANs . . . . . . . . . . . . . . . . . 793
MAC-Based VLANs . . . . . . . . . . . . . . . . . . . 793
Private VLAN Commands . . . . . . . . . . . . . . . . 793
Commands in this Chapter . . . . . . . . . . . . . . . . 796
dvlan-tunnel ethertype. . . . . . . . . . . . . . . . . . 797
interface vlan . . . . . . . . . . . . . . . . . . . . . . 799
interface range vlan . . . . . . . . . . . . . . . . . . . 800
mode dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 801
name (VLAN Configuration) . . . . . . . . . . . . . . . 802
protocol group . . . . . . . . . . . . . . . . . . . . . . 803
protocol vlan group . . . . . . . . . . . . . . . . . . . 804
protocol vlan group all. . . . . . . . . . . . . . . . . . 805
show dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 806
show dvlan-tunnel interface . . . . . . . . . . . . . . 807
show interfaces switchport . . . . . . . . . . . . . . . 808
show port protocol. . . . . . . . . . . . . . . . . . . . 811
show vlan . . . . . . . . . . . . . . . . . . . . . . . . 812
Contents 32
2CSNXXX_SWUM200.book Page 33 Tuesday, December 10, 2013 1:22 PM
show vlan association mac . . . . . . . . . . . . . . . 813
show vlan association subnet . . . . . . . . . . . . . . 814
switchport access vlan . . . . . . . . . . . . . . . . . 815
switchport general forbidden vlan . . . . . . . . . . . 816
switchport general acceptable-frame-type tagged-only 817
switchport general allowed vlan . . . . . . . . . . . . 817
switchport general ingress-filtering disable . . . . . . 818
switchport general pvid . . . . . . . . . . . . . . . . . 819
switchport mode . . . . . . . . . . . . . . . . . . . . . 820
switchport trunk . . . . . . . . . . . . . . . . . . . . . 821
vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . 823
vlan association mac . . . . . . . . . . . . . . . . . . 824
vlan association subnet . . . . . . . . . . . . . . . . . 825
vlan makestatic . . . . . . . . . . . . . . . . . . . . . 825
vlan protocol group . . . . . . . . . . . . . . . . . . . 826
vlan protocol group add protocol . . . . . . . . . . . . 827
vlan protocol group name . . . . . . . . . . . . . . . . 828
vlan protocol group remove . . . . . . . . . . . . . . . 829
switchport private-vlan . . . . . . . . . . . . . . . . . 830
switchport mode private-vlan . . . . . . . . . . . . . . 831
private-vlan . . . . . . . . . . . . . . . . . . . . . . . 832
Contents 33
2CSNXXX_SWUM200.book Page 34 Tuesday, December 10, 2013 1:22 PM
show vlan private-vlan . . . . . . . . . . . . . . . . . 833
39 Voice VLAN Commands . . . . . . . . . . . . . 835
Commands in this Chapter . . . . . . . . . . . . . . . . 836
voice vlan . . . . . . . . . . . . . . . . . . . . . . . . 836
voice vlan (Interface) . . . . . . . . . . . . . . . . . . 836
voice vlan data priority . . . . . . . . . . . . . . . . . 837
show voice vlan . . . . . . . . . . . . . . . . . . . . . 838
40 802.1x Commands . . . . . . . . . . . . . . . . . 841
Local 802.1X Authentication Server . . . . . . . . . . . 841
MAC Authentication Bypass. . . . . . . . . . . . . . . 842
Guest VLAN . . . . . . . . . . . . . . . . . . . . . . . 843
802.1x Monitor Mode . . . . . . . . . . . . . . . . . . 843
RADIUS-based Dynamic VLAN Assignment . . . . . . 844
Commands in this Chapter . . . . . . . . . . . . . . . . 844
dot1x dynamic-vlan enable . . . . . . . . . . . . . . . 845
dot1x initialize . . . . . . . . . . . . . . . . . . . . . . 846
dot1x eapolflood . . . . . . . . . . . . . . . . . . . . . 846
dot1x mac-auth-bypass . . . . . . . . . . . . . . . . . 847
dot1x max-req . . . . . . . . . . . . . . . . . . . . . . 848
dot1x max-users . . . . . . . . . . . . . . . . . . . . . 849
Contents 34
2CSNXXX_SWUM200.book Page 35 Tuesday, December 10, 2013 1:22 PM
dot1x port-control . . . . . . . . . . . . . . . . . . . . 849
dot1x re-authenticate . . . . . . . . . . . . . . . . . . 851
dot1x reauthentication. . . . . . . . . . . . . . . . . . 851
dot1x system-auth-control. . . . . . . . . . . . . . . . 852
dot1x system-auth-control monitor . . . . . . . . . . . 853
dot1x timeout guest-vlan-period . . . . . . . . . . . . 853
dot1x timeout quiet-period . . . . . . . . . . . . . . . 854
dot1x timeout re-authperiod . . . . . . . . . . . . . . . 855
dot1x timeout server-timeout . . . . . . . . . . . . . . 856
dot1x timeout tx-period . . . . . . . . . . . . . . . . . 857
authentication enable . . . . . . . . . . . . . . . . . . 858
authentication order . . . . . . . . . . . . . . . . . . . 859
authentication priority . . . . . . . . . . . . . . . . . . 859
authentication restart . . . . . . . . . . . . . . . . . . 860
clear authentication statistics . . . . . . . . . . . . . 861
clear authentication authentication-history . . . . . . 862
show authentication . . . . . . . . . . . . . . . . . . 862
show authenticaton authentication-history . . . . . . 863
show authentication statistics . . . . . . . . . . . . . 864
show dot1x . . . . . . . . . . . . . . . . . . . . . . . . 865
show dot1x authentication-history . . . . . . . . . . . 866
Contents 35
2CSNXXX_SWUM200.book Page 36 Tuesday, December 10, 2013 1:22 PM
show dot1x clients. . . . . . . . . . . . . . . . . . . . 868
show dot1x interface . . . . . . . . . . . . . . . . . . 870
show dot1x interface statistics . . . . . . . . . . . . . 871
show dot1x users . . . . . . . . . . . . . . . . . . . . 873
clear dot1x authenticationhistory . . . . . . . . . . . 874
dot1x guest-vlan . . . . . . . . . . . . . . . . . . . . . 875
dot1x unauth-vlan . . . . . . . . . . . . . . . . . . . . 875
show dot1x advanced . . . . . . . . . . . . . . . . . . 876
41 Data Center Technology Commands . . . 879
42 Data Center Bridging Commands . . . . . 881
Data Center Bridging Exchange Protocol . . . . . . . . 881
Interoperability with IEEE DCBX . . . . . . . . . . . . 885
Port Roles . . . . . . . . . . . . . . . . . . . . . . . . 885
Commands in this Chapter . . . . . . . . . . . . . . . . 889
Data Center Bridging Capability Exchange Commands 889
datacenter-bridging . . . . . . . . . . . . . . . . . . . 889
lldp dcbx version . . . . . . . . . . . . . . . . . . . . 890
lldp tlv-select dcbxp (dcb enable) . . . . . . . . . . . 891
lldp dcbx port-role . . . . . . . . . . . . . . . . . . . . 893
show lldp tlv-select . . . . . . . . . . . . . . . . . . . 894
Contents 36
2CSNXXX_SWUM200.book Page 37 Tuesday, December 10, 2013 1:22 PM
show lldp dcbx. . . . . . . . . . . . . . . . . . . . . . 895
Enhanced Transmission Selection (ETS) Commands . . 899
classofservice traffic-class-group . . . . . . . . . . . 899
traffic-class-group max-bandwidth . . . . . . . . . . . 901
traffic-class-group min-bandwidth . . . . . . . . . . . 902
traffic-class-group strict . . . . . . . . . . . . . . . . 903
traffic-class-group weight . . . . . . . . . . . . . . . 905
show classofservice traffic-class-group . . . . . . . . 906
show interfaces traffic-class-group . . . . . . . . . . 907
43 Priority Flow Control Commands . . . . . . 909
Commands in this Chapter . . . . . . . . . . . . . . . . 910
priority-flow-control mode . . . . . . . . . . . . . . . 910
priority-flow-control priority . . . . . . . . . . . . . . 911
clear priority-flow-control statistics . . . . . . . . . . 912
show interfaces priority-flow-control . . . . . . . . . 913
44 Layer 3 Commands . . . . . . . . . . . . . . . . 917
45 ARP Commands . . . . . . . . . . . . . . . . . . . 919
ARP Aging . . . . . . . . . . . . . . . . . . . . . . . . 920
Commands in this Chapter . . . . . . . . . . . . . . . . 920
Contents 37
2CSNXXX_SWUM200.book Page 38 Tuesday, December 10, 2013 1:22 PM
arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 920
arp cachesize . . . . . . . . . . . . . . . . . . . . . . 921
arp dynamicrenew . . . . . . . . . . . . . . . . . . . . 922
arp purge . . . . . . . . . . . . . . . . . . . . . . . . . 923
arp resptime . . . . . . . . . . . . . . . . . . . . . . . 924
arp retries . . . . . . . . . . . . . . . . . . . . . . . . 925
arp timeout . . . . . . . . . . . . . . . . . . . . . . . . 925
clear arp-cache . . . . . . . . . . . . . . . . . . . . . 926
clear arp-cache management . . . . . . . . . . . . . . 927
ip local-proxy-arp . . . . . . . . . . . . . . . . . . . . 928
ip proxy-arp . . . . . . . . . . . . . . . . . . . . . . . 928
show arp . . . . . . . . . . . . . . . . . . . . . . . . . 929
46 DHCP Server and Relay Agent Commands 931
Commands in this Chapter . . . . . . . . . . . . . . . . 932
ip dhcp pool . . . . . . . . . . . . . . . . . . . . . . . 932
bootfile . . . . . . . . . . . . . . . . . . . . . . . . . . 935
clear ip dhcp binding . . . . . . . . . . . . . . . . . . 935
clear ip dhcp conflict . . . . . . . . . . . . . . . . . . 936
client-identifier . . . . . . . . . . . . . . . . . . . . . 937
client-name . . . . . . . . . . . . . . . . . . . . . . . 937
default-router . . . . . . . . . . . . . . . . . . . . . . 938
Contents 38
2CSNXXX_SWUM200.book Page 39 Tuesday, December 10, 2013 1:22 PM
dns-server (IP DHCP Pool Config) . . . . . . . . . . . . 939
domain-name (IP DHCP Pool Config) . . . . . . . . . . 940
hardware-address . . . . . . . . . . . . . . . . . . . . 940
host . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
ip dhcp bootp automatic . . . . . . . . . . . . . . . . . 942
ip dhcp conflict logging . . . . . . . . . . . . . . . . . 943
ip dhcp excluded-address . . . . . . . . . . . . . . . . 943
ip dhcp ping packets. . . . . . . . . . . . . . . . . . . 944
lease . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
netbios-name-server. . . . . . . . . . . . . . . . . . . 946
netbios-node-type . . . . . . . . . . . . . . . . . . . . 947
network . . . . . . . . . . . . . . . . . . . . . . . . . 947
next-server . . . . . . . . . . . . . . . . . . . . . . . . 948
option. . . . . . . . . . . . . . . . . . . . . . . . . . . 949
service dhcp . . . . . . . . . . . . . . . . . . . . . . . 953
sntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
show ip dhcp binding . . . . . . . . . . . . . . . . . . 954
show ip dhcp conflict . . . . . . . . . . . . . . . . . . 955
show ip dhcp global configuration . . . . . . . . . . . 955
show ip dhcp pool . . . . . . . . . . . . . . . . . . . . 956
show ip dhcp server statistics . . . . . . . . . . . . . 956
Contents 39
2CSNXXX_SWUM200.book Page 40 Tuesday, December 10, 2013 1:22 PM
47 DHCPv6 Commands . . . . . . . . . . . . . . . . 959
clear ipv6 dhcp. . . . . . . . . . . . . . . . . . . . . . 959
dns-server (IPv6 DHCP Pool Config). . . . . . . . . . . 960
domain-name (IPv6 DHCP Pool Config) . . . . . . . . . 960
ipv6 dhcp pool . . . . . . . . . . . . . . . . . . . . . . 961
ipv6 dhcp relay. . . . . . . . . . . . . . . . . . . . . . 962
ipv6 dhcp server . . . . . . . . . . . . . . . . . . . . . 963
prefix-delegation . . . . . . . . . . . . . . . . . . . . 965
service dhcpv6 . . . . . . . . . . . . . . . . . . . . . . 966
show ipv6 dhcp . . . . . . . . . . . . . . . . . . . . . 967
show ipv6 dhcp binding . . . . . . . . . . . . . . . . . 967
show ipv6 dhcp interface (User EXEC) . . . . . . . . . 968
show ipv6 dhcp interface (Privileged EXEC) . . . . . . 970
show ipv6 dhcp pool . . . . . . . . . . . . . . . . . . . 973
show ipv6 dhcp statistics . . . . . . . . . . . . . . . . 973
48 DHCPv6 Snooping Commands . . . . . . . . 975
clear ipv6 dhcp snooping binding . . . . . . . . . . . . 975
clear ipv6 dhcp snooping statistics . . . . . . . . . . . 976
ipv6 dhcp snooping . . . . . . . . . . . . . . . . . . . 976
ipv6 dhcp snooping vlan . . . . . . . . . . . . . . . . . 977
Contents 40
2CSNXXX_SWUM200.book Page 41 Tuesday, December 10, 2013 1:22 PM
ipv6 dhcp snooping binding . . . . . . . . . . . . . . . 978
ipv6 dhcp snooping database . . . . . . . . . . . . . . 979
ipv6 dhcp snooping database write-delay . . . . . . . 980
ipv6 dhcp snooping limit. . . . . . . . . . . . . . . . . 981
ipv6 dhcp snooping log-invalid . . . . . . . . . . . . . 982
ipv6 dhcp snooping trust. . . . . . . . . . . . . . . . . 983
ipv6 dhcp snooping verify mac-address . . . . . . . . 983
ipv6 verify binding . . . . . . . . . . . . . . . . . . . . 984
ipv6 verify source . . . . . . . . . . . . . . . . . . . . 985
show ipv6 dhcp snooping . . . . . . . . . . . . . . . . 986
show ipv6 dhcp snooping binding. . . . . . . . . . . . 987
show ipv6 dhcp snooping database . . . . . . . . . . . 988
show ipv6 dhcp snooping interfaces . . . . . . . . . . 989
show ipv6 dhcp snooping statistics . . . . . . . . . . . 989
show ipv6 source binding . . . . . . . . . . . . . . . . 990
show ipv6 verify . . . . . . . . . . . . . . . . . . . . . 991
show ipv6 verify source . . . . . . . . . . . . . . . . . 992
49 DVMRP Commands . . . . . . . . . . . . . . . . 995
Commands in this Chapter . . . . . . . . . . . . . . . . 995
ip dvmrp . . . . . . . . . . . . . . . . . . . . . . . . . 995
ip dvmrp metric . . . . . . . . . . . . . . . . . . . . . 996
Contents 41
2CSNXXX_SWUM200.book Page 42 Tuesday, December 10, 2013 1:22 PM
show ip dvmrp . . . . . . . . . . . . . . . . . . . . . . 997
show ip dvmrp interface. . . . . . . . . . . . . . . . . 998
show ip dvmrp neighbor . . . . . . . . . . . . . . . . . 998
show ip dvmrp nexthop . . . . . . . . . . . . . . . . . 999
show ip dvmrp prune . . . . . . . . . . . . . . . . . 1000
show ip dvmrp route . . . . . . . . . . . . . . . . . . 1000
50 GMRP Commands . . . . . . . . . . . . . . . . 1003
Commands in this Chapter . . . . . . . . . . . . . . . 1004
gmrp enable . . . . . . . . . . . . . . . . . . . . . . 1004
show gmrp configuration . . . . . . . . . . . . . . . 1005
51 IGMP Commands . . . . . . . . . . . . . . . . . 1007
Commands in this Chapter . . . . . . . . . . . . . . . 1008
ip igmp last-member-query-count. . . . . . . . . . . 1009
ip igmp last-member-query-interval . . . . . . . . . 1009
ip igmp mroute-proxy . . . . . . . . . . . . . . . . . 1010
ip igmp query-interval . . . . . . . . . . . . . . . . . 1011
ip igmp query-max-response-time . . . . . . . . . . 1012
ip igmp robustness. . . . . . . . . . . . . . . . . . . 1013
ip igmp startup-query-count . . . . . . . . . . . . . . 1014
ip igmp startup-query-interval. . . . . . . . . . . . . 1014
Contents 42
2CSNXXX_SWUM200.book Page 43 Tuesday, December 10, 2013 1:22 PM
ip igmp version. . . . . . . . . . . . . . . . . . . . . 1015
show ip igmp. . . . . . . . . . . . . . . . . . . . . . 1016
show ip igmp groups. . . . . . . . . . . . . . . . . . 1017
show ip igmp interface . . . . . . . . . . . . . . . . 1017
show ip igmp membership . . . . . . . . . . . . . . 1018
show ip igmp interface stats . . . . . . . . . . . . . 1019
52 IGMP Proxy Commands . . . . . . . . . . . . 1021
Commands in this Chapter . . . . . . . . . . . . . . . 1021
ip igmp proxy-service . . . . . . . . . . . . . . . . . 1021
ip igmp proxy-service reset-status . . . . . . . . . . 1022
ip igmp proxy-service unsolicit-rprt-interval . . . . . 1023
show ip igmp proxy-service . . . . . . . . . . . . . . 1024
show ip igmp proxy-service interface . . . . . . . . 1025
show ip igmp-proxy groups . . . . . . . . . . . . . . 1025
show ip igmp proxy-service groups detail . . . . . . 1026
53 IP Helper/DHCP Relay Commands . . . . 1029
Commands in this Chapter . . . . . . . . . . . . . . . 1031
bootpdhcprelay maxhopcount. . . . . . . . . . . . . 1031
bootpdhcprelay minwaittime . . . . . . . . . . . . . 1032
clear ip helper statistics. . . . . . . . . . . . . . . . 1033
Contents 43
2CSNXXX_SWUM200.book Page 44 Tuesday, December 10, 2013 1:22 PM
ip dhcp relay information check . . . . . . . . . . . 1033
ip dhcp relay information check-reply . . . . . . . . 1034
ip dhcp relay information option . . . . . . . . . . . 1035
ip dhcp relay information option-insert . . . . . . . . 1036
ip helper-address (global configuration) . . . . . . . 1037
ip helper-address (interface configuration). . . . . . 1038
ip helper enable . . . . . . . . . . . . . . . . . . . . 1040
show ip helper-address . . . . . . . . . . . . . . . . 1041
show ip dhcp relay. . . . . . . . . . . . . . . . . . . 1042
show ip helper statistics . . . . . . . . . . . . . . . 1043
54 IP Routing Commands . . . . . . . . . . . . . 1045
Static Routes/ECMP Static Routes . . . . . . . . . . 1045
Static Reject Routes . . . . . . . . . . . . . . . . . . 1046
Default Routes . . . . . . . . . . . . . . . . . . . . . 1046
Commands in this Chapter . . . . . . . . . . . . . . . 1046
encapsulation . . . . . . . . . . . . . . . . . . . . . 1047
ip address . . . . . . . . . . . . . . . . . . . . . . . 1047
ip netdirbcast . . . . . . . . . . . . . . . . . . . . . 1049
ip policy route-map . . . . . . . . . . . . . . . . . . 1049
ip route . . . . . . . . . . . . . . . . . . . . . . . . . 1050
ip route default . . . . . . . . . . . . . . . . . . . . . 1051
Contents 44
2CSNXXX_SWUM200.book Page 45 Tuesday, December 10, 2013 1:22 PM
ip route distance . . . . . . . . . . . . . . . . . . . . 1053
ip routing . . . . . . . . . . . . . . . . . . . . . . . . 1053
match ip address. . . . . . . . . . . . . . . . . . . . 1054
match length . . . . . . . . . . . . . . . . . . . . . . 1056
match mac-list . . . . . . . . . . . . . . . . . . . . . 1057
route-map . . . . . . . . . . . . . . . . . . . . . . . 1058
set interface null0 . . . . . . . . . . . . . . . . . . . 1059
set ip default next-hop. . . . . . . . . . . . . . . . . 1060
set ip next-hop . . . . . . . . . . . . . . . . . . . . . 1061
set ip precedence . . . . . . . . . . . . . . . . . . . 1062
show ip brief . . . . . . . . . . . . . . . . . . . . . . 1063
show ip interface . . . . . . . . . . . . . . . . . . . 1064
show ip policy . . . . . . . . . . . . . . . . . . . . . 1065
show ip protocols . . . . . . . . . . . . . . . . . . . 1066
show ip route . . . . . . . . . . . . . . . . . . . . . 1070
show ip route preferences . . . . . . . . . . . . . . 1072
show ip route summary . . . . . . . . . . . . . . . . 1073
show ip traffic . . . . . . . . . . . . . . . . . . . . . 1074
show ip vlan . . . . . . . . . . . . . . . . . . . . . . 1075
show route-map . . . . . . . . . . . . . . . . . . . . 1076
show routing heap summary . . . . . . . . . . . . . 1078
Contents 45
2CSNXXX_SWUM200.book Page 46 Tuesday, December 10, 2013 1:22 PM
55 IPv6 Routing Commands . . . . . . . . . . . 1081
IPv6 Limitations & Restrictions . . . . . . . . . . . . 1081
Commands in this Chapter . . . . . . . . . . . . . . . 1081
clear ipv6 neighbors . . . . . . . . . . . . . . . . . . 1082
clear ipv6 statistics . . . . . . . . . . . . . . . . . . 1083
ipv6 address . . . . . . . . . . . . . . . . . . . . . . 1083
ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . 1085
ipv6 hop-limit . . . . . . . . . . . . . . . . . . . . . 1086
ipv6 host . . . . . . . . . . . . . . . . . . . . . . . . 1086
ipv6 mld last-member-query-count . . . . . . . . . . 1087
ipv6 mld last-member-query-interval . . . . . . . . . 1088
ipv6 mld host-proxy . . . . . . . . . . . . . . . . . . 1088
ipv6 mld host-proxy reset-status . . . . . . . . . . . 1089
ipv6 mld host-proxy unsolicit-rprt-interval . . . . . . 1090
ipv6 mld query-interval . . . . . . . . . . . . . . . . 1090
ipv6 mld query-max-response-time . . . . . . . . . . 1091
ipv6 nd dad attempts . . . . . . . . . . . . . . . . . . 1092
ipv6 nd managed-config-flag . . . . . . . . . . . . . 1093
ipv6 nd ns-interval . . . . . . . . . . . . . . . . . . . 1093
ipv6 nd other-config-flag . . . . . . . . . . . . . . . 1094
ipv6 nd prefix. . . . . . . . . . . . . . . . . . . . . . 1095
Contents 46
2CSNXXX_SWUM200.book Page 47 Tuesday, December 10, 2013 1:22 PM
ipv6 nd ra-interval . . . . . . . . . . . . . . . . . . . 1096
ipv6 nd ra-lifetime . . . . . . . . . . . . . . . . . . . 1097
ipv6 nd reachable-time . . . . . . . . . . . . . . . . 1098
ipv6 nd suppress-ra . . . . . . . . . . . . . . . . . . 1099
ipv6 route. . . . . . . . . . . . . . . . . . . . . . . . 1099
ipv6 route distance. . . . . . . . . . . . . . . . . . . 1101
ipv6 unicast-routing . . . . . . . . . . . . . . . . . . 1101
ping ipv6 . . . . . . . . . . . . . . . . . . . . . . . . 1102
ping ipv6 interface . . . . . . . . . . . . . . . . . . . 1103
rate-limit cpu. . . . . . . . . . . . . . . . . . . . . . 1105
show ipv6 brief. . . . . . . . . . . . . . . . . . . . . 1107
show ipv6 interface . . . . . . . . . . . . . . . . . . 1107
show ipv6 interface management statistics . . . . . 1110
show ipv6 mld groups . . . . . . . . . . . . . . . . . 1111
show ipv6 mld host-proxy . . . . . . . . . . . . . . . 1113
show ipv6 mld interface . . . . . . . . . . . . . . . . 1114
show ipv6 mld host-proxy . . . . . . . . . . . . . . . 1116
show ipv6 mld host-proxy groups . . . . . . . . . . . 1118
show ipv6 mld host-proxy groups detail . . . . . . . 1119
show ipv6 mld host-proxy interface. . . . . . . . . . 1121
show ipv6 mld traffic . . . . . . . . . . . . . . . . . 1122
Contents 47
2CSNXXX_SWUM200.book Page 48 Tuesday, December 10, 2013 1:22 PM
show ipv6 neighbors. . . . . . . . . . . . . . . . . . 1123
show ipv6 route . . . . . . . . . . . . . . . . . . . . 1124
show ipv6 route preferences . . . . . . . . . . . . . 1125
show ipv6 route summary . . . . . . . . . . . . . . . 1126
show ipv6 traffic . . . . . . . . . . . . . . . . . . . . 1127
show ipv6 vlan . . . . . . . . . . . . . . . . . . . . . 1129
traceroute ipv6 . . . . . . . . . . . . . . . . . . . . . 1129
56 Loopback Interface Commands . . . . . . 1133
Commands in this Chapter . . . . . . . . . . . . . . . 1133
interface loopback. . . . . . . . . . . . . . . . . . . 1133
show interfaces loopback . . . . . . . . . . . . . . . 1134
57 Multicast Commands . . . . . . . . . . . . . . 1137
Commands in this Chapter . . . . . . . . . . . . . . . 1138
clear ip mroute. . . . . . . . . . . . . . . . . . . . . 1138
ip mcast boundary . . . . . . . . . . . . . . . . . . . 1140
ip mroute . . . . . . . . . . . . . . . . . . . . . . . . 1140
ip multicast-routing . . . . . . . . . . . . . . . . . . 1141
ip multicast ttl-threshold . . . . . . . . . . . . . . . 1142
ip pim. . . . . . . . . . . . . . . . . . . . . . . . . . 1143
ip pim bsr-border. . . . . . . . . . . . . . . . . . . . 1144
Contents 48
2CSNXXX_SWUM200.book Page 49 Tuesday, December 10, 2013 1:22 PM
ip pim bsr-candidate . . . . . . . . . . . . . . . . . . 1145
ip pim dense-mode. . . . . . . . . . . . . . . . . . . 1146
ip pim dr-priority . . . . . . . . . . . . . . . . . . . . 1146
ip pim hello-interval . . . . . . . . . . . . . . . . . . 1147
ip pim join-prune-interval . . . . . . . . . . . . . . . 1148
ip pim rp-address . . . . . . . . . . . . . . . . . . . 1149
ip pim rp-candidate . . . . . . . . . . . . . . . . . . 1150
ip pim sparse-mode . . . . . . . . . . . . . . . . . . 1150
ip pim ssm . . . . . . . . . . . . . . . . . . . . . . . 1151
show ip multicast . . . . . . . . . . . . . . . . . . . 1152
show ip pim boundary . . . . . . . . . . . . . . . . . 1153
show ip multicast interface . . . . . . . . . . . . . . 1154
show ip mroute . . . . . . . . . . . . . . . . . . . . 1154
show ip mroute group . . . . . . . . . . . . . . . . . 1155
show ip mroute source . . . . . . . . . . . . . . . . 1156
show ip mroute static . . . . . . . . . . . . . . . . . 1157
show ip pim . . . . . . . . . . . . . . . . . . . . . . 1157
show ip pim bsr-router. . . . . . . . . . . . . . . . . 1158
show ip pim interface . . . . . . . . . . . . . . . . . 1159
show ip pim neighbor . . . . . . . . . . . . . . . . . 1161
show ip pim rp hash . . . . . . . . . . . . . . . . . . 1162
Contents 49
2CSNXXX_SWUM200.book Page 50 Tuesday, December 10, 2013 1:22 PM
show ip pim rp mapping . . . . . . . . . . . . . . . . 1163
58 IPv6 Multicast Commands . . . . . . . . . . 1167
clear ipv6 mroute . . . . . . . . . . . . . . . . . . . 1167
ipv6 pim (VLAN Interface config) . . . . . . . . . . . 1168
ipv6 pim bsr-border . . . . . . . . . . . . . . . . . . 1169
ipv6 pim bsr-candidate . . . . . . . . . . . . . . . . 1170
ipv6 pim dense-mode . . . . . . . . . . . . . . . . . 1171
ipv6 pim dr-priority. . . . . . . . . . . . . . . . . . . 1171
ipv6 pim hello-interval . . . . . . . . . . . . . . . . . 1172
ipv6 pim join-prune-interval . . . . . . . . . . . . . . 1173
ipv6 pim register-threshold . . . . . . . . . . . . . . 1173
ipv6 pim rp-address . . . . . . . . . . . . . . . . . . 1174
ipv6 pim rp-candidate . . . . . . . . . . . . . . . . . 1175
ipv6 pim sparse-mode . . . . . . . . . . . . . . . . . 1176
ipv6 pim ssm . . . . . . . . . . . . . . . . . . . . . . 1176
show ipv6 pim . . . . . . . . . . . . . . . . . . . . . 1177
show ipv6 pim bsr-router . . . . . . . . . . . . . . . 1178
show ipv6 mroute group . . . . . . . . . . . . . . . . 1182
show ipv6 mroute source . . . . . . . . . . . . . . . 1183
show ipv6 pim interface . . . . . . . . . . . . . . . . 1184
show ipv6 pim neighbor . . . . . . . . . . . . . . . . 1185
Contents 50
2CSNXXX_SWUM200.book Page 51 Tuesday, December 10, 2013 1:22 PM
show ipv6 pim rp-hash. . . . . . . . . . . . . . . . . 1186
show ipv6 pim rp mapping. . . . . . . . . . . . . . . 1186
59 OSPF Commands . . . . . . . . . . . . . . . . . 1191
Route Preferences . . . . . . . . . . . . . . . . . . . 1192
OSPF Equal Cost Multipath (ECMP) . . . . . . . . . . 1192
Forwarding of OSPF Opaque LSAs Enabled by Default 1193
Passive Interfaces . . . . . . . . . . . . . . . . . . . 1194
Graceful Restart . . . . . . . . . . . . . . . . . . . . 1194
Commands in this Chapter . . . . . . . . . . . . . . . 1194
area default-cost (Router OSPF) . . . . . . . . . . . . 1196
area nssa (Router OSPF) . . . . . . . . . . . . . . . . 1196
area nssa default-info-originate (Router OSPF Config) 1198
area nssa no-redistribute . . . . . . . . . . . . . . . 1199
area nssa no-summary. . . . . . . . . . . . . . . . . 1200
area nssa translator-role . . . . . . . . . . . . . . . 1200
area nssa translator-stab-intv . . . . . . . . . . . . . 1201
area range (Router OSPF) . . . . . . . . . . . . . . . 1202
area stub . . . . . . . . . . . . . . . . . . . . . . . . 1205
area stub no-summary . . . . . . . . . . . . . . . . . 1206
area virtual-link . . . . . . . . . . . . . . . . . . . . 1206
area virtual-link authentication . . . . . . . . . . . . 1209
Contents 51
2CSNXXX_SWUM200.book Page 52 Tuesday, December 10, 2013 1:22 PM
area virtual-link dead-interval . . . . . . . . . . . . 1210
area virtual-link hello-interval . . . . . . . . . . . . 1211
area virtual-link retransmit-interval . . . . . . . . . 1212
area virtual-link transmit-delay . . . . . . . . . . . . 1213
auto-cost . . . . . . . . . . . . . . . . . . . . . . . . 1213
bandwidth . . . . . . . . . . . . . . . . . . . . . . . 1214
capability opaque . . . . . . . . . . . . . . . . . . . 1215
clear ip ospf . . . . . . . . . . . . . . . . . . . . . . 1216
clear ip ospf stub-router . . . . . . . . . . . . . . . . 1217
compatible rfc1583. . . . . . . . . . . . . . . . . . . 1217
default-information originate (Router OSPF Configuration) 1218
default-metric . . . . . . . . . . . . . . . . . . . . . 1219
distance ospf . . . . . . . . . . . . . . . . . . . . . . 1220
distribute-list out . . . . . . . . . . . . . . . . . . . 1221
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1222
exit-overflow-interval . . . . . . . . . . . . . . . . . 1223
external-lsdb-limit . . . . . . . . . . . . . . . . . . . 1224
ip ospf area. . . . . . . . . . . . . . . . . . . . . . . 1225
ip ospf authentication . . . . . . . . . . . . . . . . . 1225
ip ospf cost . . . . . . . . . . . . . . . . . . . . . . . 1226
ip ospf database-filter all out . . . . . . . . . . . . . 1227
Contents 52
2CSNXXX_SWUM200.book Page 53 Tuesday, December 10, 2013 1:22 PM
ip ospf dead-interval. . . . . . . . . . . . . . . . . . 1228
ip ospf hello-interval. . . . . . . . . . . . . . . . . . 1228
ip ospf mtu-ignore . . . . . . . . . . . . . . . . . . . 1229
ip ospf network . . . . . . . . . . . . . . . . . . . . 1230
ip ospf priority . . . . . . . . . . . . . . . . . . . . . 1231
ip ospf retransmit-interval . . . . . . . . . . . . . . . 1232
ip ospf transmit-delay . . . . . . . . . . . . . . . . . 1233
log adjacency-changes . . . . . . . . . . . . . . . . 1233
max-metric router-lsa . . . . . . . . . . . . . . . . . 1234
maximum-paths . . . . . . . . . . . . . . . . . . . . 1236
network area. . . . . . . . . . . . . . . . . . . . . . 1237
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1238
nsf helper . . . . . . . . . . . . . . . . . . . . . . . 1239
nsf helper strict-lsa-checking. . . . . . . . . . . . . 1239
nsf restart-interval . . . . . . . . . . . . . . . . . . . 1240
passive-interface default . . . . . . . . . . . . . . . 1241
passive-interface . . . . . . . . . . . . . . . . . . . 1242
redistribute. . . . . . . . . . . . . . . . . . . . . . . 1242
router-id . . . . . . . . . . . . . . . . . . . . . . . . 1244
router ospf . . . . . . . . . . . . . . . . . . . . . . . 1244
show ip ospf . . . . . . . . . . . . . . . . . . . . . . 1245
Contents 53
2CSNXXX_SWUM200.book Page 54 Tuesday, December 10, 2013 1:22 PM
show ip ospf abr . . . . . . . . . . . . . . . . . . . . 1251
show ip ospf area . . . . . . . . . . . . . . . . . . . 1252
show ip ospf asbr . . . . . . . . . . . . . . . . . . . 1254
show ip ospf database. . . . . . . . . . . . . . . . . 1254
show ip ospf database database-summary . . . . . . 1257
show ip ospf interface . . . . . . . . . . . . . . . . . 1259
show ip ospf interface brief . . . . . . . . . . . . . . 1261
show ip ospf interface stats . . . . . . . . . . . . . . 1262
show ip ospf neighbor . . . . . . . . . . . . . . . . . 1262
show ip ospf range. . . . . . . . . . . . . . . . . . . 1266
show ip ospf statistics. . . . . . . . . . . . . . . . . 1267
show ip ospf stub table . . . . . . . . . . . . . . . . 1269
show ip ospf traffic . . . . . . . . . . . . . . . . . . 1270
show ip ospf virtual-link. . . . . . . . . . . . . . . . 1272
show ip ospf virtual-links brief . . . . . . . . . . . . 1273
timers pacing flood . . . . . . . . . . . . . . . . . . 1273
timers pacing lsa-group . . . . . . . . . . . . . . . . 1274
timers spf. . . . . . . . . . . . . . . . . . . . . . . . 1275
60 OSPFv3 Commands . . . . . . . . . . . . . . . 1277
area default-cost (Router OSPFv3) . . . . . . . . . . 1278
area nssa (Router OSPFv3) . . . . . . . . . . . . . . 1279
Contents 54
2CSNXXX_SWUM200.book Page 55 Tuesday, December 10, 2013 1:22 PM
area nssa default-info-originate (Router OSPFv3 Config) 1280
area nssa no-redistribute . . . . . . . . . . . . . . . 1281
area nssa no-summary. . . . . . . . . . . . . . . . . 1282
area nssa translator-role . . . . . . . . . . . . . . . 1283
area nssa translator-stab-intv . . . . . . . . . . . . . 1284
area range (Router OSPFv3) . . . . . . . . . . . . . . 1285
area stub . . . . . . . . . . . . . . . . . . . . . . . . 1286
area stub no-summary . . . . . . . . . . . . . . . . . 1287
area virtual-link . . . . . . . . . . . . . . . . . . . . 1287
area virtual-link dead-interval . . . . . . . . . . . . 1289
area virtual-link hello-interval . . . . . . . . . . . . 1290
area virtual-link retransmit-interval . . . . . . . . . 1291
area virtual-link transmit-delay . . . . . . . . . . . . 1292
default-information originate (Router OSPFv3 Configuration) 1292
default-metric . . . . . . . . . . . . . . . . . . . . . 1293
distance ospf . . . . . . . . . . . . . . . . . . . . . . 1294
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1295
exit-overflow-interval . . . . . . . . . . . . . . . . . 1296
external-lsdb-limit . . . . . . . . . . . . . . . . . . . 1297
ipv6 ospf . . . . . . . . . . . . . . . . . . . . . . . . 1297
ipv6 ospf area . . . . . . . . . . . . . . . . . . . . . 1298
Contents 55
2CSNXXX_SWUM200.book Page 56 Tuesday, December 10, 2013 1:22 PM
ipv6 ospf cost . . . . . . . . . . . . . . . . . . . . . 1299
ipv6 ospf dead-interval . . . . . . . . . . . . . . . . 1300
ipv6 ospf hello-interval . . . . . . . . . . . . . . . . 1300
ipv6 ospf mtu-ignore . . . . . . . . . . . . . . . . . . 1301
ipv6 ospf network . . . . . . . . . . . . . . . . . . . 1302
ipv6 ospf priority . . . . . . . . . . . . . . . . . . . . 1303
ipv6 ospf retransmit-interval . . . . . . . . . . . . . 1304
ipv6 ospf transmit-delay . . . . . . . . . . . . . . . . 1305
ipv6 router ospf . . . . . . . . . . . . . . . . . . . . 1305
maximum-paths . . . . . . . . . . . . . . . . . . . . 1306
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1307
nsf helper . . . . . . . . . . . . . . . . . . . . . . . 1308
nsf helper strict-lsa-checking. . . . . . . . . . . . . 1309
nsf restart-interval . . . . . . . . . . . . . . . . . . . 1309
passive-interface . . . . . . . . . . . . . . . . . . . 1310
passive-interface default . . . . . . . . . . . . . . . 1311
redistribute. . . . . . . . . . . . . . . . . . . . . . . 1312
router-id . . . . . . . . . . . . . . . . . . . . . . . . 1312
show ipv6 ospf . . . . . . . . . . . . . . . . . . . . . 1313
show ipv6 ospf abr . . . . . . . . . . . . . . . . . . . 1317
show ipv6 ospf area . . . . . . . . . . . . . . . . . . 1318
Contents 56
2CSNXXX_SWUM200.book Page 57 Tuesday, December 10, 2013 1:22 PM
show ipv6 ospf asbr . . . . . . . . . . . . . . . . . . 1319
show ipv6 ospf border-routers. . . . . . . . . . . . . 1319
show ipv6 ospf database . . . . . . . . . . . . . . . 1320
show ipv6 ospf database database-summary. . . . . 1322
show ipv6 ospf interface . . . . . . . . . . . . . . . 1323
show ipv6 ospf interface brief . . . . . . . . . . . . . 1324
show ipv6 ospf interface stats. . . . . . . . . . . . . 1325
show ipv6 ospf interface vlan . . . . . . . . . . . . . 1326
show ipv6 ospf neighbor. . . . . . . . . . . . . . . . 1327
show ipv6 ospf range . . . . . . . . . . . . . . . . . 1329
show ipv6 ospf stub table . . . . . . . . . . . . . . . 1329
show ipv6 ospf virtual-links . . . . . . . . . . . . . . 1330
show ipv6 ospf virtual-link brief . . . . . . . . . . . 1331
61 Router Discovery Protocol Commands 1333
Commands in this Chapter . . . . . . . . . . . . . . . 1333
ip irdp . . . . . . . . . . . . . . . . . . . . . . . . . 1333
ip irdp holdtime . . . . . . . . . . . . . . . . . . . . 1335
ip irdp maxadvertinterval . . . . . . . . . . . . . . . 1336
ip irdp minadvertinterval . . . . . . . . . . . . . . . 1337
ip irdp multicast . . . . . . . . . . . . . . . . . . . . 1338
ip irdp preference . . . . . . . . . . . . . . . . . . . 1338
Contents 57
2CSNXXX_SWUM200.book Page 58 Tuesday, December 10, 2013 1:22 PM
show ip irdp . . . . . . . . . . . . . . . . . . . . . . 1339
62 Routing Information Protocol Commands 1341
Commands in this Chapter . . . . . . . . . . . . . . . 1341
auto-summary . . . . . . . . . . . . . . . . . . . . . 1341
default-information originate (Router RIP Configuration) 1342
default-metric . . . . . . . . . . . . . . . . . . . . . 1343
distance rip . . . . . . . . . . . . . . . . . . . . . . 1344
distribute-list out . . . . . . . . . . . . . . . . . . . 1344
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1345
hostroutesaccept . . . . . . . . . . . . . . . . . . . 1346
ip rip . . . . . . . . . . . . . . . . . . . . . . . . . . 1347
ip rip authentication . . . . . . . . . . . . . . . . . . 1347
ip rip receive version . . . . . . . . . . . . . . . . . 1348
ip rip send version . . . . . . . . . . . . . . . . . . . 1349
redistribute. . . . . . . . . . . . . . . . . . . . . . . 1350
router rip . . . . . . . . . . . . . . . . . . . . . . . . 1351
show ip rip . . . . . . . . . . . . . . . . . . . . . . . 1352
show ip rip interface. . . . . . . . . . . . . . . . . . 1353
show ip rip interface brief . . . . . . . . . . . . . . . 1354
split-horizon . . . . . . . . . . . . . . . . . . . . . . 1354
Contents 58
2CSNXXX_SWUM200.book Page 59 Tuesday, December 10, 2013 1:22 PM
63 Tunnel Interface Commands . . . . . . . . 1357
Commands in this Chapter . . . . . . . . . . . . . . . 1357
interface tunnel . . . . . . . . . . . . . . . . . . . . 1358
show interfaces tunnel . . . . . . . . . . . . . . . . 1358
tunnel destination . . . . . . . . . . . . . . . . . . . 1359
tunnel mode ipv6ip. . . . . . . . . . . . . . . . . . . 1360
tunnel source . . . . . . . . . . . . . . . . . . . . . 1361
64 Virtual Router Redundancy Protocol Commands
1363
Pingable VRRP Interface . . . . . . . . . . . . . . . 1363
VRRP Route/Interface Tracking . . . . . . . . . . . . 1364
Interface Tracking . . . . . . . . . . . . . . . . . . . 1365
Route Tracking . . . . . . . . . . . . . . . . . . . . . 1365
Commands in this Chapter . . . . . . . . . . . . . . . 1365
ip vrrp . . . . . . . . . . . . . . . . . . . . . . . . . 1366
vrrp accept-mode . . . . . . . . . . . . . . . . . . . 1366
vrrp authentication . . . . . . . . . . . . . . . . . . 1367
vrrp description . . . . . . . . . . . . . . . . . . . . 1368
vrrp ip . . . . . . . . . . . . . . . . . . . . . . . . . 1369
vrrp mode . . . . . . . . . . . . . . . . . . . . . . . 1370
vrrp preempt . . . . . . . . . . . . . . . . . . . . . . 1371
Contents 59
2CSNXXX_SWUM200.book Page 60 Tuesday, December 10, 2013 1:22 PM
vrrp priority. . . . . . . . . . . . . . . . . . . . . . . 1372
vrrp timers advertise. . . . . . . . . . . . . . . . . . 1372
vrrp timers learn . . . . . . . . . . . . . . . . . . . . 1373
vrrp track interface . . . . . . . . . . . . . . . . . . 1374
vrrp track ip route . . . . . . . . . . . . . . . . . . . 1375
show vrrp . . . . . . . . . . . . . . . . . . . . . . . 1376
show vrrp interface . . . . . . . . . . . . . . . . . . 1378
show vrrp interface brief . . . . . . . . . . . . . . . 1380
show vrrp interface stats . . . . . . . . . . . . . . . 1381
ip vrrp accept-mode . . . . . . . . . . . . . . . . . . 1382
show ip vrrp interface . . . . . . . . . . . . . . . . . 1382
65 Utility Commands . . . . . . . . . . . . . . . . . 1385
66 Auto-Install Commands . . . . . . . . . . . . 1387
Commands in this Chapter . . . . . . . . . . . . . . . 1388
boot auto-copy-sw . . . . . . . . . . . . . . . . . . . 1388
boot auto-copy-sw allow-downgrade . . . . . . . . 1389
boot host autoreboot . . . . . . . . . . . . . . . . . . 1390
boot host autosave . . . . . . . . . . . . . . . . . . . 1390
boot host dhcp . . . . . . . . . . . . . . . . . . . . . 1391
boot host retrycount . . . . . . . . . . . . . . . . . . 1392
Contents 60
2CSNXXX_SWUM200.book Page 61 Tuesday, December 10, 2013 1:22 PM
show auto-copy-sw . . . . . . . . . . . . . . . . . . 1393
show boot . . . . . . . . . . . . . . . . . . . . . . . 1393
67 Captive Portal Commands . . . . . . . . . . 1395
Commands in this Chapter . . . . . . . . . . . . . . . 1395
authentication timeout. . . . . . . . . . . . . . . . . 1397
captive-portal . . . . . . . . . . . . . . . . . . . . . 1397
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1398
http port . . . . . . . . . . . . . . . . . . . . . . . . 1399
https port . . . . . . . . . . . . . . . . . . . . . . . . 1399
show captive-portal . . . . . . . . . . . . . . . . . . 1400
show captive-portal status . . . . . . . . . . . . . . 1401
block . . . . . . . . . . . . . . . . . . . . . . . . . . 1402
configuration. . . . . . . . . . . . . . . . . . . . . . 1402
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1403
group . . . . . . . . . . . . . . . . . . . . . . . . . . 1404
interface . . . . . . . . . . . . . . . . . . . . . . . . 1404
locale. . . . . . . . . . . . . . . . . . . . . . . . . . 1405
name (Captive Portal) . . . . . . . . . . . . . . . . . 1406
protocol . . . . . . . . . . . . . . . . . . . . . . . . 1406
redirect . . . . . . . . . . . . . . . . . . . . . . . . . 1407
redirect-url . . . . . . . . . . . . . . . . . . . . . . . 1407
Contents 61
2CSNXXX_SWUM200.book Page 62 Tuesday, December 10, 2013 1:22 PM
session-timeout . . . . . . . . . . . . . . . . . . . . 1408
verification . . . . . . . . . . . . . . . . . . . . . . . 1409
captive-portal client deauthenticate . . . . . . . . . 1410
show captive-portal client status . . . . . . . . . . . 1410
show captive-portal configuration client status . . . 1411
show captive-portal interface client status . . . . . 1412
show captive-portal interface configuration status . 1413
clear captive-portal users . . . . . . . . . . . . . . . 1414
no user . . . . . . . . . . . . . . . . . . . . . . . . . 1415
show captive-portal user . . . . . . . . . . . . . . . 1415
user group . . . . . . . . . . . . . . . . . . . . . . . 1416
user-logout . . . . . . . . . . . . . . . . . . . . . . . 1417
user name . . . . . . . . . . . . . . . . . . . . . . . 1418
user password . . . . . . . . . . . . . . . . . . . . . 1419
user session-timeout . . . . . . . . . . . . . . . . . 1419
show captive-portal configuration . . . . . . . . . . 1420
show captive-portal configuration interface . . . . . 1421
show captive-portal configuration locales . . . . . . 1422
show captive-portal configuration status. . . . . . . 1423
user group . . . . . . . . . . . . . . . . . . . . . . . 1424
user group moveusers . . . . . . . . . . . . . . . . . 1424
Contents 62
2CSNXXX_SWUM200.book Page 63 Tuesday, December 10, 2013 1:22 PM
user group name . . . . . . . . . . . . . . . . . . . . 1425
68 CLI Macro Commands . . . . . . . . . . . . . 1427
Commands in this Chapter . . . . . . . . . . . . . . . 1428
macro name . . . . . . . . . . . . . . . . . . . . . . 1428
macro global apply . . . . . . . . . . . . . . . . . . 1429
macro global trace. . . . . . . . . . . . . . . . . . . 1430
macro global description . . . . . . . . . . . . . . . 1431
macro apply . . . . . . . . . . . . . . . . . . . . . . 1431
macro trace . . . . . . . . . . . . . . . . . . . . . . 1432
macro description . . . . . . . . . . . . . . . . . . . 1433
show parser macro . . . . . . . . . . . . . . . . . . 1433
69 Clock Commands . . . . . . . . . . . . . . . . . 1435
Real-time Clock . . . . . . . . . . . . . . . . . . . . 1435
Simple Network Time Protocol . . . . . . . . . . . . 1435
Commands in this Chapter . . . . . . . . . . . . . . . 1436
show sntp configuration . . . . . . . . . . . . . . . . 1436
show sntp server. . . . . . . . . . . . . . . . . . . . 1437
show sntp status . . . . . . . . . . . . . . . . . . . . 1438
sntp authenticate . . . . . . . . . . . . . . . . . . . 1439
sntp authentication-key . . . . . . . . . . . . . . . . 1440
Contents 63
2CSNXXX_SWUM200.book Page 64 Tuesday, December 10, 2013 1:22 PM
sntp broadcast client enable . . . . . . . . . . . . . 1441
sntp client poll timer. . . . . . . . . . . . . . . . . . 1441
sntp server . . . . . . . . . . . . . . . . . . . . . . . 1442
sntp trusted-key . . . . . . . . . . . . . . . . . . . . 1443
sntp unicast client enable . . . . . . . . . . . . . . . 1444
clock timezone hours-offset . . . . . . . . . . . . . . 1444
no clock timezone . . . . . . . . . . . . . . . . . . . 1445
clock summer-time recurring . . . . . . . . . . . . . 1446
clock summer-time date . . . . . . . . . . . . . . . . 1447
no clock summer-time . . . . . . . . . . . . . . . . . 1448
show clock. . . . . . . . . . . . . . . . . . . . . . . 1448
70 Command Line Configuration Scripting Commands
1451
Commands in this Chapter . . . . . . . . . . . . . . . 1451
script apply. . . . . . . . . . . . . . . . . . . . . . . 1451
script delete . . . . . . . . . . . . . . . . . . . . . . 1452
script list . . . . . . . . . . . . . . . . . . . . . . . . 1453
script show. . . . . . . . . . . . . . . . . . . . . . . 1453
script validate . . . . . . . . . . . . . . . . . . . . . 1454
Contents 64
2CSNXXX_SWUM200.book Page 65 Tuesday, December 10, 2013 1:22 PM
71 Configuration and Image File Commands 1457
File System Commands . . . . . . . . . . . . . . . . 1457
Command Line Interface Scripting . . . . . . . . . . 1457
Commands in this Chapter . . . . . . . . . . . . . . . 1457
boot system . . . . . . . . . . . . . . . . . . . . . . 1458
clear config . . . . . . . . . . . . . . . . . . . . . . 1459
copy . . . . . . . . . . . . . . . . . . . . . . . . . . 1460
delete. . . . . . . . . . . . . . . . . . . . . . . . . . 1465
delete backup-config . . . . . . . . . . . . . . . . . 1466
delete backup-image . . . . . . . . . . . . . . . . . 1466
delete startup-config . . . . . . . . . . . . . . . . . 1467
dir . . . . . . . . . . . . . . . . . . . . . . . . . . . 1467
erase . . . . . . . . . . . . . . . . . . . . . . . . . . 1468
filedescr . . . . . . . . . . . . . . . . . . . . . . . . 1469
rename . . . . . . . . . . . . . . . . . . . . . . . . . 1470
show backup-config . . . . . . . . . . . . . . . . . . 1470
show bootvar. . . . . . . . . . . . . . . . . . . . . . 1471
show running-config. . . . . . . . . . . . . . . . . . 1472
show startup-config . . . . . . . . . . . . . . . . . . 1473
write . . . . . . . . . . . . . . . . . . . . . . . . . . 1474
Contents 65
2CSNXXX_SWUM200.book Page 66 Tuesday, December 10, 2013 1:22 PM
72 Denial of Service Commands . . . . . . . 1477
Commands in this Chapter . . . . . . . . . . . . . . . 1478
dos-control firstfrag . . . . . . . . . . . . . . . . . . 1479
dos-control icmp . . . . . . . . . . . . . . . . . . . . 1479
dos-control l4port . . . . . . . . . . . . . . . . . . . 1480
dos-control sipdip . . . . . . . . . . . . . . . . . . . 1481
dos-control tcpflag . . . . . . . . . . . . . . . . . . 1482
dos-control tcpfrag . . . . . . . . . . . . . . . . . . 1482
ip icmp echo-reply . . . . . . . . . . . . . . . . . . . 1483
ip icmp error-interval . . . . . . . . . . . . . . . . . 1484
ip unreachables . . . . . . . . . . . . . . . . . . . . 1485
ip redirects . . . . . . . . . . . . . . . . . . . . . . . 1485
ipv6 icmp error-interval . . . . . . . . . . . . . . . . 1486
ipv6 unreachables . . . . . . . . . . . . . . . . . . . 1487
show dos-control . . . . . . . . . . . . . . . . . . . 1487
73 Line Commands . . . . . . . . . . . . . . . . . . 1489
exec-timeout . . . . . . . . . . . . . . . . . . . . . . 1489
history . . . . . . . . . . . . . . . . . . . . . . . . . 1490
history size . . . . . . . . . . . . . . . . . . . . . . . 1491
line . . . . . . . . . . . . . . . . . . . . . . . . . . . 1491
Contents 66
2CSNXXX_SWUM200.book Page 67 Tuesday, December 10, 2013 1:22 PM
show line. . . . . . . . . . . . . . . . . . . . . . . . 1492
speed . . . . . . . . . . . . . . . . . . . . . . . . . . 1493
74 Management ACL Commands . . . . . . . 1495
Commands in this Chapter . . . . . . . . . . . . . . . 1495
deny (management) . . . . . . . . . . . . . . . . . . 1496
management access-class . . . . . . . . . . . . . . 1497
management access-list . . . . . . . . . . . . . . . 1498
permit (management) . . . . . . . . . . . . . . . . . 1499
show management access-class . . . . . . . . . . . 1501
show management access-list . . . . . . . . . . . . 1502
75 Password Management Commands . . 1503
Configurable Minimum Password Length. . . . . . . 1503
Password History . . . . . . . . . . . . . . . . . . . 1503
Password Aging . . . . . . . . . . . . . . . . . . . . 1503
User Lockout . . . . . . . . . . . . . . . . . . . . . . 1503
Password Strength . . . . . . . . . . . . . . . . . . 1504
Commands in this Chapter . . . . . . . . . . . . . . . 1505
passwords aging. . . . . . . . . . . . . . . . . . . . 1506
passwords history . . . . . . . . . . . . . . . . . . . 1506
passwords lock-out . . . . . . . . . . . . . . . . . . 1507
Contents 67
2CSNXXX_SWUM200.book Page 68 Tuesday, December 10, 2013 1:22 PM
passwords min-length . . . . . . . . . . . . . . . . . 1508
passwords strength-check . . . . . . . . . . . . . . 1509
passwords strength minimum uppercase-letters . . . 1510
passwords strength minimum lowercase-letters. . . 1510
passwords strength minimum numeric-characters . 1511
passwords strength minimum special-characters . . 1512
passwords strength max-limit consecutive-characters 1513
passwords strength max-limit repeated-characters . 1513
passwords strength minimum character-classes . . 1514
passwords strength exclude-keyword . . . . . . . . 1515
enable password encrypted . . . . . . . . . . . . . . 1516
show passwords configuration . . . . . . . . . . . . 1516
show passwords result . . . . . . . . . . . . . . . . 1518
76 PHY Diagnostics Commands . . . . . . . . 1521
show copper-ports tdr . . . . . . . . . . . . . . . . . 1521
show fiber-ports optical-transceiver . . . . . . . . . 1522
test copper-port tdr . . . . . . . . . . . . . . . . . . 1523
77 Power Over Ethernet Commands . . . . 1525
Flexible Power Management . . . . . . . . . . . . . 1525
Commands in this Chapter . . . . . . . . . . . . . . . 1526
Contents 68
2CSNXXX_SWUM200.book Page 69 Tuesday, December 10, 2013 1:22 PM
power inline . . . . . . . . . . . . . . . . . . . . . . 1526
power inline detection . . . . . . . . . . . . . . . . 1527
power inline high-power . . . . . . . . . . . . . . . 1527
power inline limit . . . . . . . . . . . . . . . . . . . 1528
power inline management. . . . . . . . . . . . . . . 1529
power inline powered-device. . . . . . . . . . . . . 1533
power inline priority . . . . . . . . . . . . . . . . . . 1533
power inline reset . . . . . . . . . . . . . . . . . . . 1534
power inline usage-threshold . . . . . . . . . . . . . 1535
clear power inline statistics . . . . . . . . . . . . . 1535
show power inline . . . . . . . . . . . . . . . . . . . 1536
show power inline firmware-version . . . . . . . . . 1537
78 RMON Commands . . . . . . . . . . . . . . . . 1539
Commands in this Chapter . . . . . . . . . . . . . . . 1539
rmon alarm . . . . . . . . . . . . . . . . . . . . . . . 1539
rmon collection history . . . . . . . . . . . . . . . . 1541
rmon event . . . . . . . . . . . . . . . . . . . . . . . 1542
rmon hcalarm . . . . . . . . . . . . . . . . . . . . . 1543
show rmon alarm . . . . . . . . . . . . . . . . . . . 1545
show rmon alarms . . . . . . . . . . . . . . . . . . . 1547
show rmon collection history . . . . . . . . . . . . . 1548
Contents 69
2CSNXXX_SWUM200.book Page 70 Tuesday, December 10, 2013 1:22 PM
show rmon events . . . . . . . . . . . . . . . . . . . 1549
show rmon hcalarm . . . . . . . . . . . . . . . . . . 1550
show rmon history . . . . . . . . . . . . . . . . . . . 1551
show rmon log . . . . . . . . . . . . . . . . . . . . . 1554
show rmon statistics. . . . . . . . . . . . . . . . . . 1555
79 SDM Templates Commands . . . . . . . . . 1559
Commands in this Chapter . . . . . . . . . . . . . . . 1559
sdm prefer . . . . . . . . . . . . . . . . . . . . . . . 1559
show sdm prefer . . . . . . . . . . . . . . . . . . . . 1560
80 Serviceability Tracing Packet Commands 1565
Commands in this Chapter . . . . . . . . . . . . . . . 1565
debug arp . . . . . . . . . . . . . . . . . . . . . . . 1566
debug authentication interface . . . . . . . . . . . . 1567
debug auto-voip . . . . . . . . . . . . . . . . . . . . 1568
debug clear . . . . . . . . . . . . . . . . . . . . . . 1568
debug console . . . . . . . . . . . . . . . . . . . . . 1569
debug dot1ag. . . . . . . . . . . . . . . . . . . . . . 1569
debug dot1x . . . . . . . . . . . . . . . . . . . . . . 1571
debug igmpsnooping. . . . . . . . . . . . . . . . . . 1571
debug ip acl . . . . . . . . . . . . . . . . . . . . . . 1572
Contents 70
2CSNXXX_SWUM200.book Page 71 Tuesday, December 10, 2013 1:22 PM
debug ip dvmrp. . . . . . . . . . . . . . . . . . . . . 1573
debug ip igmp . . . . . . . . . . . . . . . . . . . . . 1573
debug ip mcache. . . . . . . . . . . . . . . . . . . . 1574
debug ip pimdm packet . . . . . . . . . . . . . . . . 1575
debug ip pimsm packet . . . . . . . . . . . . . . . . 1576
debug ip vrrp . . . . . . . . . . . . . . . . . . . . . . 1576
debug ipv6 dhcp . . . . . . . . . . . . . . . . . . . . 1577
debug ipv6 mcache . . . . . . . . . . . . . . . . . . 1578
debug ipv6 mld . . . . . . . . . . . . . . . . . . . . . 1578
debug ipv6 pimdm . . . . . . . . . . . . . . . . . . . 1579
debug ipv6 pimsm . . . . . . . . . . . . . . . . . . . 1580
debug isdp . . . . . . . . . . . . . . . . . . . . . . . 1581
debug lacp . . . . . . . . . . . . . . . . . . . . . . . 1581
debug mldsnooping . . . . . . . . . . . . . . . . . . 1582
debug ospf . . . . . . . . . . . . . . . . . . . . . . . 1583
debug ospfv3 . . . . . . . . . . . . . . . . . . . . . . 1583
debug ping . . . . . . . . . . . . . . . . . . . . . . . 1584
debug rip . . . . . . . . . . . . . . . . . . . . . . . . 1585
debug sflow . . . . . . . . . . . . . . . . . . . . . . 1585
debug spanning-tree. . . . . . . . . . . . . . . . . . 1586
debug vrrp . . . . . . . . . . . . . . . . . . . . . . . 1587
Contents 71
2CSNXXX_SWUM200.book Page 72 Tuesday, December 10, 2013 1:22 PM
exception core-file . . . . . . . . . . . . . . . . . . 1587
exception dump . . . . . . . . . . . . . . . . . . . . 1588
exception protocol. . . . . . . . . . . . . . . . . . . 1589
exception switch-chip-register . . . . . . . . . . . 1591
show debugging . . . . . . . . . . . . . . . . . . . . 1591
show exception . . . . . . . . . . . . . . . . . . . . 1592
write core . . . . . . . . . . . . . . . . . . . . . . . 1593
81 Sflow Commands . . . . . . . . . . . . . . . . . 1597
Commands in this Chapter . . . . . . . . . . . . . . . 1597
sflow destination . . . . . . . . . . . . . . . . . . . 1597
sflow polling . . . . . . . . . . . . . . . . . . . . . . 1599
sflow polling (Interface Mode) . . . . . . . . . . . . 1600
sflow sampling. . . . . . . . . . . . . . . . . . . . . 1601
sflow sampling (Interface Mode) . . . . . . . . . . . 1602
show sflow agent . . . . . . . . . . . . . . . . . . . 1603
show sflow destination . . . . . . . . . . . . . . . . 1604
show sflow polling . . . . . . . . . . . . . . . . . . 1605
show sflow sampling . . . . . . . . . . . . . . . . . 1606
82 SNMP Commands . . . . . . . . . . . . . . . . 1609
Commands in this Chapter . . . . . . . . . . . . . . . 1609
Contents 72
2CSNXXX_SWUM200.book Page 73 Tuesday, December 10, 2013 1:22 PM
show snmp . . . . . . . . . . . . . . . . . . . . . . . 1610
show snmp engineID . . . . . . . . . . . . . . . . . 1611
show snmp filters . . . . . . . . . . . . . . . . . . . 1611
show snmp group . . . . . . . . . . . . . . . . . . . 1612
show snmp user . . . . . . . . . . . . . . . . . . . . 1614
show snmp views . . . . . . . . . . . . . . . . . . . 1615
show trapflags . . . . . . . . . . . . . . . . . . . . . 1616
snmp-server community . . . . . . . . . . . . . . . . 1617
snmp-server community-group . . . . . . . . . . . . 1619
snmp-server contact . . . . . . . . . . . . . . . . . . 1620
snmp-server enable traps . . . . . . . . . . . . . . . 1621
snmp-server engineID local . . . . . . . . . . . . . . 1623
snmp-server filter . . . . . . . . . . . . . . . . . . . 1624
snmp-server group . . . . . . . . . . . . . . . . . . . 1625
snmp-server host . . . . . . . . . . . . . . . . . . . 1627
snmp-server location . . . . . . . . . . . . . . . . . 1628
snmp-server user . . . . . . . . . . . . . . . . . . . 1629
snmp-server view . . . . . . . . . . . . . . . . . . . 1631
snmp-server v3-host . . . . . . . . . . . . . . . . . . 1632
83 SSH Commands . . . . . . . . . . . . . . . . . . 1635
Commands in this Chapter . . . . . . . . . . . . . . . 1635
Contents 73
2CSNXXX_SWUM200.book Page 74 Tuesday, December 10, 2013 1:22 PM
cryptho key generate dsa . . . . . . . . . . . . . . . 1635
crypto key generate rsa . . . . . . . . . . . . . . . . 1636
crypto key pubkey-chain ssh . . . . . . . . . . . . . 1637
crypto key zeroize pubkey-chain . . . . . . . . . . . 1638
crypto key zeroize {rsa|dsa} . . . . . . . . . . . . . . 1638
ip ssh port . . . . . . . . . . . . . . . . . . . . . . . 1639
ip ssh pubkey-auth. . . . . . . . . . . . . . . . . . . 1640
ip ssh server . . . . . . . . . . . . . . . . . . . . . . 1640
key-string . . . . . . . . . . . . . . . . . . . . . . . 1641
no crypto certificate . . . . . . . . . . . . . . . . . . 1642
show crypto key mypubkey . . . . . . . . . . . . . . 1643
show crypto key pubkey-chain ssh . . . . . . . . . . 1644
show ip ssh . . . . . . . . . . . . . . . . . . . . . . 1645
84 Syslog Commands . . . . . . . . . . . . . . . . 1647
CLI Logged to Local File and Syslog Server . . . . . . 1647
Commands in this Chapter . . . . . . . . . . . . . . . 1648
clear logging . . . . . . . . . . . . . . . . . . . . . . 1648
clear logging file. . . . . . . . . . . . . . . . . . . . 1649
description (Logging) . . . . . . . . . . . . . . . . . 1650
level . . . . . . . . . . . . . . . . . . . . . . . . . . 1650
logging cli-command . . . . . . . . . . . . . . . . . 1651
Contents 74
2CSNXXX_SWUM200.book Page 75 Tuesday, December 10, 2013 1:22 PM
logging . . . . . . . . . . . . . . . . . . . . . . . . . 1652
logging audit . . . . . . . . . . . . . . . . . . . . . . 1654
logging buffered . . . . . . . . . . . . . . . . . . . . 1655
logging console . . . . . . . . . . . . . . . . . . . . 1656
logging facility . . . . . . . . . . . . . . . . . . . . . 1657
logging file . . . . . . . . . . . . . . . . . . . . . . . 1658
logging monitor . . . . . . . . . . . . . . . . . . . . 1659
logging on . . . . . . . . . . . . . . . . . . . . . . . 1660
logging protocol . . . . . . . . . . . . . . . . . . . . 1661
logging snmp. . . . . . . . . . . . . . . . . . . . . . 1662
logging web-session . . . . . . . . . . . . . . . . . 1663
port . . . . . . . . . . . . . . . . . . . . . . . . . . . 1664
show logging. . . . . . . . . . . . . . . . . . . . . . 1664
show logging file . . . . . . . . . . . . . . . . . . . 1665
show syslog-servers. . . . . . . . . . . . . . . . . . 1666
terminal monitor . . . . . . . . . . . . . . . . . . . . 1667
85 System Management Commands . . . . 1669
asset-tag . . . . . . . . . . . . . . . . . . . . . . . . 1670
banner exec . . . . . . . . . . . . . . . . . . . . . . 1670
banner login . . . . . . . . . . . . . . . . . . . . . . 1671
banner motd . . . . . . . . . . . . . . . . . . . . . . 1672
Contents 75
2CSNXXX_SWUM200.book Page 76 Tuesday, December 10, 2013 1:22 PM
banner motd acknowledge . . . . . . . . . . . . . . 1673
clear checkpoint statistics . . . . . . . . . . . . . . 1675
clear counters stack-ports. . . . . . . . . . . . . . . 1676
connect . . . . . . . . . . . . . . . . . . . . . . . . . 1676
cut-through mode . . . . . . . . . . . . . . . . . . . 1678
exec-banner . . . . . . . . . . . . . . . . . . . . . . 1678
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1679
hardware profile portmode . . . . . . . . . . . . . . 1680
hostname . . . . . . . . . . . . . . . . . . . . . . . . 1681
initiate failover . . . . . . . . . . . . . . . . . . . . . 1682
load-interval . . . . . . . . . . . . . . . . . . . . . . 1683
locate . . . . . . . . . . . . . . . . . . . . . . . . . . 1684
login-banner . . . . . . . . . . . . . . . . . . . . . . 1685
logout . . . . . . . . . . . . . . . . . . . . . . . . . . 1685
member . . . . . . . . . . . . . . . . . . . . . . . . . 1687
motd-banner . . . . . . . . . . . . . . . . . . . . . . 1688
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1688
ping . . . . . . . . . . . . . . . . . . . . . . . . . . . 1689
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1690
reload. . . . . . . . . . . . . . . . . . . . . . . . . . 1691
service unsupported-transceiver . . . . . . . . . . . 1693
Contents 76
2CSNXXX_SWUM200.book Page 77 Tuesday, December 10, 2013 1:22 PM
set description . . . . . . . . . . . . . . . . . . . . . 1693
slot . . . . . . . . . . . . . . . . . . . . . . . . . . . 1694
show banner . . . . . . . . . . . . . . . . . . . . . . 1696
show checkpoint statistics . . . . . . . . . . . . . . 1697
show cut-through mode . . . . . . . . . . . . . . . . 1698
show hardware profile . . . . . . . . . . . . . . . . 1698
show idprom interface interface-id . . . . . . . . . . 1699
show interfaces advanced firmware . . . . . . . . . 1701
show interfaces interface-id . . . . . . . . . . . . . 1701
show interfaces utilization . . . . . . . . . . . . . . 1703
show memory cpu . . . . . . . . . . . . . . . . . . . 1703
show nsf . . . . . . . . . . . . . . . . . . . . . . . . 1704
show power-usage-history . . . . . . . . . . . . . . 1705
show process cpu . . . . . . . . . . . . . . . . . . . 1706
show sessions . . . . . . . . . . . . . . . . . . . . . 1708
show slot . . . . . . . . . . . . . . . . . . . . . . . . 1709
show supported cardtype . . . . . . . . . . . . . . . 1710
show supported switchtype . . . . . . . . . . . . . . 1712
show switch . . . . . . . . . . . . . . . . . . . . . . 1714
show system . . . . . . . . . . . . . . . . . . . . . . 1722
show system fan . . . . . . . . . . . . . . . . . . . . 1723
Contents 77
2CSNXXX_SWUM200.book Page 78 Tuesday, December 10, 2013 1:22 PM
show system id . . . . . . . . . . . . . . . . . . . . 1724
show system power . . . . . . . . . . . . . . . . . . 1725
show system temperature . . . . . . . . . . . . . . . 1726
show tech-support . . . . . . . . . . . . . . . . . . . 1727
show users . . . . . . . . . . . . . . . . . . . . . . . 1729
show version. . . . . . . . . . . . . . . . . . . . . . 1730
stack . . . . . . . . . . . . . . . . . . . . . . . . . . 1731
stack-port . . . . . . . . . . . . . . . . . . . . . . . 1732
stack-port interface shutdown . . . . . . . . . . . . 1733
standby . . . . . . . . . . . . . . . . . . . . . . . . . 1734
switch renumber . . . . . . . . . . . . . . . . . . . . 1735
telnet . . . . . . . . . . . . . . . . . . . . . . . . . . 1736
traceroute . . . . . . . . . . . . . . . . . . . . . . . 1738
traceroute ipv6 . . . . . . . . . . . . . . . . . . . . . 1740
update bootcode . . . . . . . . . . . . . . . . . . . . 1742
86 Telnet Server Commands . . . . . . . . . . . 1745
Telnet Client Behaviors . . . . . . . . . . . . . . . . 1745
Commands in this Chapter . . . . . . . . . . . . . . . 1747
ip telnet server disable . . . . . . . . . . . . . . . . 1747
ip telnet port . . . . . . . . . . . . . . . . . . . . . . 1747
show ip telnet . . . . . . . . . . . . . . . . . . . . . 1748
Contents 78
2CSNXXX_SWUM200.book Page 79 Tuesday, December 10, 2013 1:22 PM
87 Terminal Length Commands . . . . . . . . 1749
terminal length. . . . . . . . . . . . . . . . . . . . . 1749
88 Time Ranges Commands . . . . . . . . . . . 1751
time-range . . . . . . . . . . . . . . . . . . . . . . . 1751
absolute . . . . . . . . . . . . . . . . . . . . . . . . 1752
periodic . . . . . . . . . . . . . . . . . . . . . . . . 1753
show time-range . . . . . . . . . . . . . . . . . . . . 1755
89 USB Flash Drive Commands . . . . . . . . 1757
Validation of Files Downloaded/Uploaded from USB Device 1757
Validation for Files Uploaded from Switch to USB Flash Drive 1758
Downloading and Uploading of Files . . . . . . . . . 1758
Commands in this Chapter . . . . . . . . . . . . . . . 1758
unmount usb . . . . . . . . . . . . . . . . . . . . . . 1758
show usb . . . . . . . . . . . . . . . . . . . . . . . . 1759
dir usb . . . . . . . . . . . . . . . . . . . . . . . . . 1760
90 User Interface Commands . . . . . . . . . . 1763
configure terminal . . . . . . . . . . . . . . . . . . . 1763
do . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1764
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1766
Contents 79
2CSNXXX_SWUM200.book Page 80 Tuesday, December 10, 2013 1:22 PM
end . . . . . . . . . . . . . . . . . . . . . . . . . . . 1766
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1767
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1768
91 Web Server Commands . . . . . . . . . . . . 1769
Web Sessions . . . . . . . . . . . . . . . . . . . . . 1769
Commands in this Chapter . . . . . . . . . . . . . . . 1770
common-name . . . . . . . . . . . . . . . . . . . . . 1770
country . . . . . . . . . . . . . . . . . . . . . . . . . 1771
crypto certificate generate . . . . . . . . . . . . . . 1772
crypto certificate import . . . . . . . . . . . . . . . . 1773
crypto certificate request . . . . . . . . . . . . . . . 1774
duration . . . . . . . . . . . . . . . . . . . . . . . . 1775
ip http port . . . . . . . . . . . . . . . . . . . . . . . 1775
ip http server . . . . . . . . . . . . . . . . . . . . . . 1776
ip http secure-certificate . . . . . . . . . . . . . . . 1777
ip http secure-port . . . . . . . . . . . . . . . . . . . 1778
ip http secure-server. . . . . . . . . . . . . . . . . . 1779
key-generate . . . . . . . . . . . . . . . . . . . . . . 1779
location . . . . . . . . . . . . . . . . . . . . . . . . 1780
organization-unit. . . . . . . . . . . . . . . . . . . . 1781
show crypto certificate mycertificate. . . . . . . . . 1781
Contents 80
2CSNXXX_SWUM200.book Page 81 Tuesday, December 10, 2013 1:22 PM
show ip http server status . . . . . . . . . . . . . . . 1782
show ip http server secure status . . . . . . . . . . . 1783
state . . . . . . . . . . . . . . . . . . . . . . . . . . 1784
A Appendix A: List of Commands . . . . . . 1787
Contents 81
2CSNXXX_SWUM200.book Page 82 Tuesday, December 10, 2013 1:22 PM
Contents 82
2CSNXXX_SWUM200.book Page 83 Tuesday, December 10, 2013 1:22 PM
1 Command Groups Dell Networking N2000/N3000/N4000 Series Switches
Introduction The Command Line Interface (CLI) is a network management application operated through an ASCII terminal without the use of a Graphic User Interface (GUI) driven software application. By directly entering commands, the user has greater configuration flexibility. The CLI is a basic command-line interpreter similar to the UNIX C shell.
A switch can be configured and maintained by entering commands from the CLI, which is based solely on textual input and output with commands being entered by a terminal keyboard and the output displayed as text via a terminal monitor. The CLI can be accessed from a console terminal connected to an EIA/TIA-232 port or through a Telnet/SSH session.
This guide describes how the CLI is structured, describes the command syntax, and describes the command functionality.
This guide also provides information for configuring the Dell Networking switch, details the procedures, and provides configuration examples. Basic installation configuration is described in the Users Guide and must be completed before using this document.
Command Groups The system commands can be broken down into three sets of functional groups: Layer 2, Layer 3, and Utility.
Table 1-1. System Command Groups
Command Group Description
Layer 2 Commands
AAA Configures connection security including authorization and passwords.
Command Groups 83
2CSNXXX_SWUM200.book Page 84 Tuesday, December 10, 2013 1:22 PM
Administrative Profiles Commands
Group commands into a profile and assign a profile to a user upon authentication.
Administrative Profiles Configures and displays ACL information.
Address Table Configures bridging address tables.
Auto-VoIP Configures Auto VoIP for IP phones on a switch.
CDP Interoperability Configures Cisco Discovery Protocol (CDP).
DHCP L2 Relay Enables the Layer 2 DHCP Relay agent for an interface.
DHCP Management Interface
Configures an interface to obtain an IP address via DHCP.
Dynamic ARP Inspection Configures for rejection of invalid and malicious ARP packets.
Ethernet Configuration Configures all port configuration options for example ports, storm control, port speed and auto-negotiation.
Ethernet CFM Configures and displays GVRP configuration and information.
IGMP Snooping Configures IGMP snooping and displays IGMP configuration and IGMP information.
IGMP Snooping Querier Configures IGMP Snooping Querier and displays IGMP Snooping Querier information.
IP Addressing Configures and manages IP addresses on the switch.
IPv6 ACL Configures and displays ACL information for IPv6.
IPv6 MLD Snooping Configures IPv6 MLD Snooping.
IPv6 MLD Snooping Querier
Configures IPv6 Snooping Querier and displays IPv6 Snooping Querier information.
iSCSI Optimization Configures special QoS treatment for traffic between iSCSI initiators and target systems.
Link Dependency Configures and displays link dependency information.
LLDP Configures and displays LLDP information.
Port Channel Configures and displays Port channel information.
Port Monitor Monitors activity on specific target ports.
Table 1-1. System Command Groups (continued)
Command Group Description
Command Groups 84
2CSNXXX_SWUM200.book Page 85 Tuesday, December 10, 2013 1:22 PM
QoS Configures and displays QoS information.
Radius Configures and displays RADIUS information.
Spanning Tree Configures and reports on Spanning Tree protocol.
TACACS+ Configures and displays TACACS+ information.
VLAN Configures VLANs and displays VLAN information.
Voice VLAN Configures voice VLANs and displays voice VLAN information.
802.1x Configures and displays commands related to 802.1x security protocol.
Layer 3 Commands
ARP (IPv4) Manages Address Resolution Protocol functions.
DHCP Server and Relay Agent (IPv4)
Manages DHCP/BOOTP operations on the system.
DHCPv6 Configures IPv6 DHCP functions.
DHCPv6 Snooping Configures DHCP v6 snooping and whether an interface is trusted or untrusted.
DVMRP (Mcast) Configures DVMRP operations.
IGMP (Mcast) Configures IGMP operations.
IGMP Proxy (Mcast) Manages IGMP Proxy on the system.
IP Helper/DHCP Relay Configures relay of UDP packets.
IP Routing (IPv4) Configures IP routing and addressing.
IPv6 Multicast Manages IPv6 Multicasting on the system.
IPv6 Routing Configures IPv6 routing and addressing.
Loopback Interface (IPv6)
Manages Loopback configurations.
Multicast (Mcast) Manages Multicasting on the system.
OSPF (IPv4) Manages shortest path operations.
OSPFv3 (IPv6) Manages IPv6 shortest path operations.
Table 1-1. System Command Groups (continued)
Command Group Description
Command Groups 85
2CSNXXX_SWUM200.book Page 86 Tuesday, December 10, 2013 1:22 PM
Router Discovery Protocol (IPv4)
Manages router discovery operations.
Routing Information Protocol (IPv4)
Configures RIP activities.
Tunnel Interface (IPv6) Managing tunneling operations.
Virtual Router Redundancy (IPv4)
Controls virtual LAN routing.
Virtual Router Redundancy (IPv4)
Manages router redundancy on the system.
Utility Commands
Auto-Install Automatically configures switch when a configuration file is not found.
Captive Portal Blocks clients from accessing network until user verification is established.
Clock Configures the system clock.
Command Line Configuration Scripting
Manages the switch configuration files.
Denial of Service Provides several Denial of Service options.
Line Configures the console, SSH, and remote Telnet connection.
Management ACL Configures and displays management access-list information.
Password Management Provides password management.
PHY Diagnostics Diagnoses and displays the interface status.
Power Over Ethernet (PoE)
Configures PoE and displays PoE information.
RMON Can be configured through the CLI and displays RMON information.
Serviceability Tracing Controls display of debug output to serial port or telnet console.
sFlow Configures sFlow monitoring.
Table 1-1. System Command Groups (continued)
Command Group Description
Command Groups 86
2CSNXXX_SWUM200.book Page 87 Tuesday, December 10, 2013 1:22 PM
Mode Types The tables on the following pages use these abbreviations for Command Mode names.
AAA IAS User Configuration
APC Administrative Profile Configuration
ARPA ARP ACL Configuration
CC Crypto Configuration
CP Captive Portal Configuration
CPI Captive Portal Instance
CMC Class-Map Configuration
DP IP DHCP Pool Configuration
GC Global Configuration
IC Interface Configuration (reached via interface vlan xxx command)
IP IP Access List Configuration
IR Interface Range
KC Key Chain
KE Key
SNMP Configures SNMP communities, traps and displays SNMP information.
SSH Configures SSH authentication.
Syslog Manages and displays syslog messages.
System Management Configures the switch clock, name and authorized users.
Telnet Server Configures Telnet service on the switch and displays Telnet information.
User Interface Describes user commands used for entering CLI commands.
Web Server Configures web-based access to the switch.
Table 1-1. System Command Groups (continued)
Command Group Description
Command Groups 87
2CSNXXX_SWUM200.book Page 88 Tuesday, December 10, 2013 1:22 PM
L Logging
LC Line Configuration
LD Link Dependency
MA Management Access-level
MC MST Configuration
MD MLAG Domain Configuration
MDC Maintenance Domain Configuration
ML MAC-List Configuration
MSC Mail Server Configuration
MT MAC-acl
OG OSPFv2 Global Configuration
PE Privileged EXEC
PM Policy Map Configuration
PCGC Policy Map Global Configuration
PCMC Policy Class Map Configuration
R Radius
RIP Router RIP Configuration
RC Router Configuration
ROSPF Router Open Shortest Path First
ROSV3 Router Open Shortest Path First Version 3
SG Stack Global Configuration
SP SSH Public Key
SK SSH Public Key-chain
TC TACACS Configuration
TRC Time Range Configuration
UE User EXEC
VC VLAN Configuration (reached via vlan command)
v6ACL IPv6 Access List Configuration
v6CMC IPv6 Class-Map Configuration
Command Groups 88
2CSNXXX_SWUM200.book Page 89 Tuesday, December 10, 2013 1:22 PM
v6DP IPv6 DHCP Pool Configuration
Layer 2 Commands
AAA
Command Description Modea
aaa authentication dot1x default
Specifies an authentication method for 802.1x clients.
GC
aaa authentication enable Defines authentication method lists for accessing higher privilege levels.
GC
aaa authentication login Defines login authentication. GC
aaa authorization network default radius
Enables the switch to accept VLAN assignment by the RADIUS server.
GC
aaa ias-user username Configures IAS users and their attributes. Also changes the mode to aa user Configuration mode.
GC
clear (IAS) aaa ias-users Deletes all IAS users. PE
enable authentication Specifies the authentication method list when accessing a higher privilege level from a remote telnet or console.
LC
enable password Sets a local password to control access to the normal level.
GC
ip http authentication Specifies authentication methods for http. GC
ip https authentication Specifies authentication methods for https. GC
login authentication Specifies the login authentication method list for a remote telnet or console.
LC
password (aaa IAS User Configuration)
Configures a password for a user. AAA
password (Line Configuration)
Specifies a password on a line. LC
password (User EXEC) Specifies a user password UE
show aaa ias-users Displays configured IAS users and their attributes.
PE
Command Groups 89
2CSNXXX_SWUM200.book Page 90 Tuesday, December 10, 2013 1:22 PM
Administrative Profiles
show authentication methods
Shows information about authentication methods.
PE
show users accounts Displays information about the local user database.
PE
show users login-history Displays information about login histories of users.
PE
username Establishes a username-based authentication system. Optionally allows the specification of an Administrative Profile for a local user.
GC
username unlock Transfers local user passwords between devices without having to know the passwords.
GC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
admin-profile Creates an administrative profile. GC
description (Administrative Profile Configuration)
Adds a description to an administrative profile. APC
rule Adds a rule to an administrative profile. APC
show admin-profiles Displays the administrative profiles. PE
show admin-profiles brief Lists the names of the administrative profiles defined on the switch.
PE
show cli modes Lists the names of all the CLI modes. PE
show users Shows which administrative profiles have been assigned to local user accounts and to show which profiles are active for logged-in users.
PE
username Optionally allows the specification of an Administrative Profile for a local user.
GC
Command Description Modea
Command Groups 90
2CSNXXX_SWUM200.book Page 91 Tuesday, December 10, 2013 1:22 PM
ACL
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Typeson page 87.
ip access-list Creates an Access Control List (ACL) that is identified by the parameter accesslistnumber.
GC
deny | permit (IP ACL) The deny command denies traffic if the conditions defined in the deny statement are matched. The permit command allows traffic if the conditions defined in the permit statement are matched.
ML
ip access-group Attaches a specified access-control list to an interface.
GC or IC
mac access-group Attaches a specific MAC Access Control List (ACL) to an interface in the in-bound direction.
GC or IC
mac access-list extended Creates the MAC Access Control List (ACL) identified by the name parameter.
GC
mac access-list extended rename
Renames the existing MAC Access Control List (ACL) name.
GC
service-acl input Blocks Link Local Protocol Filtering (LLPF) protocol(s) on a given port.
IC
show service-acl interface Displays the status of LLPF rules configured on a particular port or on all the ports.
PE
show ip access-lists Displays an Access Control List (ACL) and all of the rules that are defined for the ACL.
PE
show mac access-lists Displays a MAC access list and all of the rules that are defined for the ACL.
PE
Command Groups 91
2CSNXXX_SWUM200.book Page 92 Tuesday, December 10, 2013 1:22 PM
Address Table
Command Description Modea
clear mac address-table Removes any learned entries from the forwarding database.
PE
mac address-table aging- time
Sets the address table aging time. GC
mac address-table multicast forbidden address
Forbids adding a specific multicast address to specific ports.
IC
mac address-table static vlan Registers MAC-layer multicast addresses to the bridge forwarding table, and adds static ports to the group.
IC
mac address-table static vlan Adds a static MAC-layer station source address to the bridge table.
IC
port security Disables new address learning on an interface. IC
port security max Configures the maximum addresses that can be learned on the port while the port is in port security mode.
IC
show mac address-table Displays dynamically created entries in the bridge-forwarding database.
PE
show mac address-table address
Displays all entries in the bridge-forwarding database for the specified MAC address.
UE or PE
show mac address-table count
Displays the number of addresses present in the Forwarding Database.
PE
show mac address-table dynamic
Displays all entries in the bridge-forwarding database.
UE or PE
show mac address-table interface
Displays the mac forwarding table entries for a specific interface.
UE or PE
show mac address-table multicast
Displays Multicast MAC address table information.
PE
show mac address-table static
Displays statically created entries in the bridge- forwarding database.
PE
show mac address-table vlan Displays all entries in the bridge-forwarding database for the specified VLAN.
UE or PE
Command Groups 92
2CSNXXX_SWUM200.book Page 93 Tuesday, December 10, 2013 1:22 PM
Auto-VoIP
CDP Interoperability
show ports security Displays the port-lock status. PE
show ports security addresses
Displays current dynamic addresses in locked ports.
PE
a. For the meaning of each Mode abbreviation, see Mode Typeson page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
switchport voice detect auto Enables the VoIP Profile on all the interfaces of the switch.
GC or IC
show switchport voice Displays the status of auto-voip on an interface or all interfaces.
PE
Command Description Modea
clear isdp counters Clears the ISDP counters. PE
clear isdp table Clears entries in the ISDP table. PE
isdp advertise-v2 Enables the sending of ISDP version 2 packets from the device.
GC
isdp enable Enables ISDP on the switch. GC or IC
isdp holdtime Configures the hold time for ISDP packets that the switch transmits.
GC
isdp timer Sets period of time between sending new ISDP packets.
GC
show isdp Displays global ISDP settings. PE
show isdp interface Displays ISDP settings for the specified interface.
PE
show isdp entry Displays ISDP entries. PE
show isdp neighbors Displays the list of neighboring devices. PE
Command Description Modea
Command Groups 93
2CSNXXX_SWUM200.book Page 94 Tuesday, December 10, 2013 1:22 PM
DHCP L2 Relay
DHCP Management Interface
show isdp traffic Displays ISDP statistics. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
dhcp l2relay (Global Configuration)
Enables the Layer 2 DHCP Relay agent for an interface or globally.
GC or IC
dhcp l2relay circuit-id Enables user to set the DHCP Option 82 Circuit ID for a VLAN.
GC
dhcp l2relay remote-id Enables user to set the DHCP Option 82 Remote ID for a VLAN.
GC
dhcp l2relay vlan Enables the L2 DHCP Relay agent for a set of VLANs.
GC
dhcp l2relay trust Configures an interface to trust a received DHCP Option 82.
IC
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
release dhcp Forces the DHCPv4 client to release a leased address.
PE
renew dhcp Forces the DHCP client to immediately renew an IPv4 address lane.
PE
debug dhcp packet Displays debug information about DHCPv4 client activities and traces DHCP v4 packets to and from the local DHCPv4 client.
PE
show dhcp lease Displays IPv4 addresses leased from a DHCP server.
PE
Command Description Modea
Command Groups 94
2CSNXXX_SWUM200.book Page 95 Tuesday, December 10, 2013 1:22 PM
DHCP Snooping
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
clear ip dhcp snooping binding
Clears all DHCP Snooping entries. PE
clear ip dhcp snooping statistics
Clears all DHCP Snooping statistics. PE
ip dhcp snooping Enables DHCP snooping globally or on a specific VLAN.
GC or IC
ip dhcp snooping binding Configures a static DHCP Snooping binding. GC
ip dhcp snooping database Configures the persistent location of the DHCP snooping database.
GC
ip dhcp snooping database write-delay
Configures the interval in seconds at which the DHCP Snooping database will be stored in persistent storage.
GC
ip dhcp snooping limit Controls the maximum rate of DHCP messages.
IC
ip dhcp snooping log-invalid Enables logging of DHCP messages filtered by the DHCP Snooping application.
IC
ip dhcp snooping trust Configure a port as trusted for DHCP snooping. IC
ip dhcp snooping verify mac- address
Enables the verification of the source MAC address with the client MAC address in the received DHCP message.
GC
show ip dhcp snooping Displays the DHCP snooping global and per port configuration.
PE
show ip dhcp snooping binding
Displays the DHCP snooping binding entries. PE
show ip dhcp snooping database
Displays the DHCP snooping configuration related to the database persistence.
PE
show ip dhcp snooping interfaces
Displays the DHCP Snooping status of the interfaces.
PE
show ip dhcp snooping statistics
Displays the DHCP snooping filtration statistics.
PE
Command Groups 95
2CSNXXX_SWUM200.book Page 96 Tuesday, December 10, 2013 1:22 PM
Dynamic ARP Inspection
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
arp access-list Creates an ARP ACL. GC
clear ip arp inspection statistics
Resets the statistics for Dynamic ARP Inspection on all VLANs.
PE
ip arp inspection filter Configures the ARP ACL to be used for a single VLAN or a range of VLANs to filter invalid ARP packets.
GC
ip arp inspection limit Configures the rate limit and burst interval values for an interface.
IC
ip arp inspection trust Configures an interface as trusted for Dynamic ARP Inspection.
IC
ip arp inspection validate Enables additional validation checks like source MAC address validation, destination MAC address validation or IP address validation on the received ARP packets.
GC
ip arp inspection vlan Enables Dynamic ARP Inspection on a single VLAN or a range of VLANs.
GC
permit ip host mac host Configures a rule for a valid IP address and MAC address combination used in ARP packet validation.
ARPA
show arp access-list Displays the configured ARP ACLs with the rules.
PE
show ip arp inspection Displays the Dynamic ARP Inspection configuration.
PE
show ip arp inspection interfaces
Displays the Dynamic ARP Inspection configuration on all the DAI enabled interfaces.
PE
show ip arp inspection vlan Displays the Dynamic ARP Inspection configuration on all the VLANs in the given VLAN range.
PE
Command Groups 96
2CSNXXX_SWUM200.book Page 97 Tuesday, December 10, 2013 1:22 PM
E-mail Alerting
Command Description Modea
logging email Enables e-mail alerting and sets the lowest severity level for which log messages are e- mailed.
GC
logging email urgent Sets the lowest severity level at which log messages are e-mailed in an urgent manner.
GC
logging traps Sets the lowest severity level at which SNMP traps are logged.
GC
logging email message-type to-addr
Configures the To address field of the e-mail. GC
logging email from-addr Configures the From address of the e-mail. GC
logging email message-type subject
Configures the subject. GC
logging email logtime Configures the value of how frequently the queued messages are sent.
GC
logging email test message- type
Tests whether or not an e-mail is being sent to an SMTP server.
GC
show logging email statistics Displays information on how many e-mails are sent, how many e-mails failed, when the last e- mail was sent, how long it has been since the last e-mail was sent, how long it has been since the e-mail changed to disabled mode.
PE
clear logging email statistics Clears the e-mail alerting statistics. GC
security Sets the e-mail alerting security protocol. MSC
mail-server ip-address | hostname
Configures the SMTP server IP address and changes the mode to Mail Server Configuration Mode.
GC
port (Mail Server Configuration Mode)
Configures the TCP port to use for communication with the SMTP servers.
MSC
username (Mail Server Configuration Mode)
Configures the username required by the authentication.
MSC
password (Mail Server Configuration Mode)
Configures the password required to authenticate to the e-mail server.
MSC
Command Groups 97
2CSNXXX_SWUM200.book Page 98 Tuesday, December 10, 2013 1:22 PM
Ethernet Configuration
show mail-server Displays the configuration of all the mail servers or a particular mail server.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
clear counters Clears statistics on an interface. PE
description Adds a description to an interface. IC
flowcontrol receive Configures the flow control on a given interface. GC, IC
interface Enters the interface configuration mode to configure parameters for an interface.
GC or IC
interface range Enters the interface configuration mode to execute a command on multiple ports at the same time.
GC, IC, IR
monitor capture (Global Configuration)
Captures packets transmitted or received from the CPU.
GC
monitor capture (Privileged Exec)
Capture packets transmitted or received from the CPU
PE
rate-limit cpu Sets the maximum transmission unit on an interface by adjusting the maximum size of received Ethernet frames.
IC
rate-limit cpu Reduces the amount of unknown unicast/multicast packets forwarded to the CPU.
GC
show interfaces advertise Displays information about auto negotiation advertisement.
PE
show interfaces configuration
Displays the configuration for all configured interfaces.
UE
show interfaces counters Displays traffic seen by the physical interface. UE
show interfaces description Displays the description for all configured interfaces.
UE
Command Description Modea
Command Groups 98
2CSNXXX_SWUM200.book Page 99 Tuesday, December 10, 2013 1:22 PM
show interfaces detail Displays the detail for all configured interfaces. UE
show interfaces status Displays the status for all configured interfaces. UE
show interfaces transceiver Display the optic static parameters as well as the Dell qualification.
PE
show monitor capture Displays captured packets transmitted or received from the CPU.
PE
show statistics Displays statistics for one port or for the entire switch.
PE
show statistics switchport Displays detailed statistics for a specific port or for the entire switch.
PE
show storm-control Displays the storm control configuration. PE
shutdown Disables interfaces. IC
speed Configures the speed of a given Ethernet interface when not using auto-negotiation.
IC
storm-control broadcast Enables Broadcast storm control. IC
storm-control multicast Enables the switch to count Multicast packets together with Broadcast packets.
IC
storm-control unicast Enables Unicast storm control. IC
switchport protected Sets the port to Protected mode. IC
switchport protected name Configures a name for a protected group. GC
show switchport protected Displays protected group/port information. PE
show system internal pktmgr Displays the configured CPU rate limit for unknown packets in packets per second.
PE
show system mtu Displays the configured MTU. PE
system jumbo mtu Globally configures the Maximum Transmission Unit (MTU) on all interfaces for forwarded and system-generated frames.
GC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
Command Groups 99
2CSNXXX_SWUM200.book Page 100 Tuesday, December 10, 2013 1:22 PM
Ethernet CFM
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
ethernet cfm domain Enters into maintenance domain Configuration mode for an existing domain. Use the optional level parameter to create a domain and enter into maintenance domain Configuration mode.
GC
service Associates a VLAN with a maintenance domain. MDC
ethernet cfm cc level Initiates sending continuity checks (CCMs) at the specified interval and level on a VLAN monitored by an existing domain.
GC
ethernet cfm mep level Creates a Maintenance End Point (MEP) on an interface at the specified level and direction.
IC
ethernet cfm mep enable Enables a MEP at the specified level and direction.
IC
ethernet cfm mep active Activates a MEP at the specified level and direction.
IC
ethernet cfm mep archive- hold-time
Maintains internal information on a missing MEP.
IC
ethernet cfm mip level Creates a Maintenance Intermediate Point (MIP) at the specified level.
IC
ping ethernet cfm Generates a loopback message (LBM) from the configured MEP.
PE
traceroute ethernet cfm Generates a link trace message (LTM) from the configured MEP.
PE
show ethernet cfm errors Displays the cfm errors. PE
show ethernet cfm domain Displays the configured parameters in a maintenance domain.
PE
show ethernet cfm maintenance-points local
Displays the configured local maintenance points.
PE
show ethernet cfm maintenance-points remote
Displays the configured remote maintenance points.
PE
show ethernet cfm statistics Displays the CFM statistics. PE
debug cfm Enables CFM debugging. PE
Command Groups 100
2CSNXXX_SWUM200.book Page 101 Tuesday, December 10, 2013 1:22 PM
Green Ethernet
GVRP
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
green-mode energy-detect Enables a Dell proprietary mode of power reduction on ports that are not connected to another interface.
IC
green-mode eee Enables EEE low power idle mode on an interface or all the interfaces.
IC
clear green-mode statistics Clears:
The EEE LPI event count, and LPI duration
The EEE LPI history table entries
The Cumulative Power savings estimates
for a specified interface or for all the interfaces based upon the argument.
PE
green-mode eee-lpi-history Configures the Global EEE LPI history collection interval and buffer size. This value is applied globally on all interfaces on the stack.
GC
show green-mode interface- id
Displays the green-mode configuration and operational status of the port. This command is also used to display the per port configuration and operational status of the green-mode. The status is shown only for the modes supported on the corresponding hardware platform whether enabled or disabled.
PE
show green-mode Displays the green-mode configuration for the whole system. The status is shown only for the modes supported on the corresponding hardware platform whether enabled or disabled.
PE
show green-mode eee-lpi- history interface
Displays the interface green-mode EEE LPI history.
PE
Command Description Modea
clear gvrp statistics Clears all the GVRP statistics information. PE
Command Groups 101
2CSNXXX_SWUM200.book Page 102 Tuesday, December 10, 2013 1:22 PM
IGMP Snooping
garp timer Adjusts the GARP application join, leave, and leaveall GARP timer values.
IC
gvrp enable (global) Enables GVRP globally. GC
gvrp enable (interface) Enables GVRP on an interface. IC
gvrp registration-forbid Deregisters all VLANs, and prevents dynamic VLAN registration on the port.
IC
gvrp vlan-creation-forbid Enables or disables dynamic VLAN creation. IC
show gvrp configuration Displays GVRP configuration information, including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.
PE
show gvrp error-statistics Displays GVRP error statistics. UE
show gvrp statistics Displays GVRP statistics. UE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
ip igmp snooping In Global Configuration mode, Enables Internet Group Management Protocol (IGMP) snooping.
GC
show ip igmp snooping groups
Displays Multicast groups learned by IGMP snooping.
UE
show ip igmp snooping mrouter
Displays information on dynamically learned Multicast router interfaces.
PE
show ip igmp snooping In VLAN Configuration mode, enables IGMP snooping on a particular VLAN or on all interfaces participating in a VLAN.
VC
ip igmp snooping vlan immediate-leave
Enables or disables IGMP Snooping fast-leave mode on a selected VLAN.
VC
ip igmp snooping vlan groupmembership-interval
Sets the IGMP Group Membership Interval time on a VLAN.
VC
Command Description Modea
Command Groups 102
2CSNXXX_SWUM200.book Page 103 Tuesday, December 10, 2013 1:22 PM
IGMP Snooping Querier
ip igmp snooping vlan last- member-query-interval
Sets the IGMP Maximum Response time on a particular VLAN.
VC
ip igmp snooping vlan mcrtrexpiretime
Sets the Multicast Router Present Expiration time.
VC
ip igmp snooping report- suppression
Enables IGMP report suppression on a specific VLAN.
GC
ip igmp snooping unregistered floodall
Enables flooding of unregistered multicast traffic to all ports in the VLAN.
GC
ip igmp snooping vlan mrouter
Statically configures a port as connected to a multicast router for a specified VLAN.
GC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
ip igmp snooping querier Enables/disables IGMP Snooping Querier on the system (Global Configuration mode) or on a VLAN.
GC, VC
ip igmp snooping querier election participate
Enables the Snooping Querier to participate in the Querier Election process when it discovers the presence of another Querier in the VLAN.
VC
ip igmp snooping querier query-interval
Sets the IGMP Querier Query Interval time. GC
ip igmp snooping querier timer expiry
Sets the IGMP Querier timer expiration period. GC
ip igmp snooping querier version
Sets the IGMP version of the query that the snooping switch is going to send periodically.
GC
show ip igmp snooping querier
Displays IGMP Snooping Querier information. PE
Command Description Modea
Command Groups 103
2CSNXXX_SWUM200.book Page 104 Tuesday, December 10, 2013 1:22 PM
IP Addressing
Command Description Modea
clear host Deletes entries from the host name-to-address cache.
PE
clear ip address-conflict- detect
Clears the address conflict detection status in the switch.
PE
ip address (Out-of-Band) Sets an IP address for the out-of-band interface. IC
ip address-conflict-detect run
Triggers the switch to run active address conflict detection by sending gratuitous ARP packets for IPv4 addresses on the switch.
GC
ip address dhcp (Interface Configuration)
Acquires an IP address on an interface from the DHCP server.
IC
ip default-gateway Defines a default gateway (router). GC
ip domain-lookup Enables IP DNS-based host name-to-address translation.
GC
ip domain-name Defines a default domain name to complete unqualified host names.
GC
ip host Configures static host name-to-address mapping in the host cache.
GC
ip name-server Configures available name servers. GC
ipv6 address (Interface Configuration)
Sets the IPv6 address of the management interface.
IC
ipv6 address (OOB Port) Sets the IPv6 prefix on the out-of-band port. IC
ipv6 address dhcp Enables the DHCPv6 client on an IPv6 interface.
IC
ipv6 enable (Interface Configuration)
Enables IPv6 on the management interface. GC
ipv6 enable (OOB Configuration)
Enables IPv6 operation on the out-of-band interface.
IC
ipv6 gateway (OOB Configuration)
Configures the address of the IPv6 gateway. IC
Command Groups 104
2CSNXXX_SWUM200.book Page 105 Tuesday, December 10, 2013 1:22 PM
IPv6 ACL
IPv6 MLD Snooping
show hosts Displays the default domain name, a list of name server hosts, static and cached list of host names and addresses.
UE
show ip address-conflict Displays the status information corresponding to the last detected address conflict.
UE or PE
show ip helper-address Displays the ip helper addresses configuration. PE
show ipv6 dhcp interface out-of-band statistics
Displays IPv6 DHCP statistics for the out-of- band interface.
PE
show ipv6 interface out-of- band
Displays the IPv6 out-of-band port configuration.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
deny | permit (IPv6 ACL)
Creates a new rule for the current IPv6 access list.
v6ACL
ipv6 access-list Creates an IPv6 Access Control List (ACL) consisting of classification fields defined for the IP header of an IPv6 frame.
GC
ipv6 access-list rename Changes the name of an IPv6 ACL. GC
ipv6 traffic-filter Attaches a specific IPv6 ACL to an interface or associates it with a VLAN ID in a given direction.
GC
IC
show ipv6 access-lists Displays an IPv6 access list (and the rules defined for it).
PE
Command Description Modea
ipv6 mld snooping vlan immediate-leave
Enables or disables MLD Snooping immediate- leave admin mode on a selected interface or VLAN.
VC
Command Description Modea
Command Groups 105
2CSNXXX_SWUM200.book Page 106 Tuesday, December 10, 2013 1:22 PM
IPv6 MLD Snooping Querier
ipv6 mld snooping vlan groupmembership-interval
Sets the MLD Group Membership Interval time on a VLAN or interface.
VC
ipv6 mld snooping vlan last- listener-query-interval
Sets the MLD Maximum Response time for an interface or VLAN.
IC or
VC
ipv6 mld snooping listener- message-suppression
Enables MLD listener message suppression on a specific VLAN.
GC
ipv6 mld snooping vlan mrouter
Statically configures a port as connected to a multicast router for a specified VLAN.
GC
ipv6 mld snooping (Global) Enables MLD Snooping on the system (Global Configuration mode).
GC
show ipv6 mld snooping Displays MLD Snooping information. PE
show ipv6 mld snooping groups
Displays the MLD Snooping entries in the MFDB table.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
ipv6 mld snooping querier Enables MLD Snooping Querier on the system or on a VLAN.
GC or
VC
ipv6 mld snooping querier address
Sets the global MLD Snooping Querier address on the system or on a VLAN.
GC or
VC
ipv6 mld snooping querier election participate
Enables the Snooping Querier to participate in the Querier Election process when it discovers the presence of another Querier in the VLAN.
VC
ipv6 mld snooping querier query-interval
Sets the MLD Querier Query Interval time. GC
ipv6 mld snooping querier timer expiry
Sets the MLD Querier timer expiration period. GC
show ipv6 mld snooping querier
Displays MLD Snooping Querier information. PE
Command Description Modea
Command Groups 106
2CSNXXX_SWUM200.book Page 107 Tuesday, December 10, 2013 1:22 PM
IP Source Guard
iSCSI Optimization
Link Dependency
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
ip verify source Enables IP Source Guard on an interface. IC
ip verify source port-security Enables IP Source Guard using both the IP address and MAC address as filtering criteria.
IC
ip verify binding Configures IPSG static bindings. GC
show ip verify Displays IPSG interface configuration. PE
show ip verify source Displays the bindings configured on a particular interface.
PE
show ip source binding Displays all bindings (static and dynamic). PE
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
iscsi aging time Sets aging time for iSCSI sessions. GC
iscsi cos Sets the quality of service profile that will be applied to iSCSI flows.
GC
iscsi enable Enables Global Configuration mode command globally enables iSCSI awareness.
GC
iscsi target port Configures an iSCSI target port (optionally configures target port address and name).
GC
show iscsi Displays the iSCSI settings. PE
show iscsi sessions Displays the iSCSI sessions. PE
Command Description Modea
action Indicates if the link-dependency group should mirror or invert the status of the depended on interfaces.
LD
Command Groups 107
2CSNXXX_SWUM200.book Page 108 Tuesday, December 10, 2013 1:22 PM
LLDP
link-dependency group Enters the link-dependency mode to configure a link-dependency group.
GC
add Adds member gigabit Ethernet port(s) to the dependency list.
LD
depends-on Adds the dependent Ethernet ports or port channels list.
LD
show link-dependency Shows the link dependencies configured on a particular group.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
clear lldp remote-data Deletes all data from the remote data table. PE
clear lldp statistics Resets all LLDP statistics. PE
lldp med Enables/disables LLDP-MED on an interface. IC
lldp med confignotification Enables sending the topology change notification.
IC
lldp med faststartrepeatcount
Sets the value of the fast start repeat count. GC
lldp med transmit-tlv Specifies which optional TLVs in the LLDP MED set are transmitted in the LLDPDUs.
IC
lldp notification Enables remote data change notifications. IC
lldp notification-interval Limits how frequently remote data change notifications are sent.
GC
lldp receive Enables the LLDP receive capability. IC
lldp timers Sets the timing parameters for local data transmission on ports enabled for LLDP.
GC
lldp transmit Enables the LLDP advertise capability. IC
lldp transmit-mgmt Specifies that transmission of the local system management address information in the LLDPDUs is included.
IC
Command Description Modea
Command Groups 108
2CSNXXX_SWUM200.book Page 109 Tuesday, December 10, 2013 1:22 PM
MLAG
lldp transmit-tlv Specifies which optional TLVs in the 802.1AB basic management set will be transmitted in the LLDPDUs.
IC
show lldp Displays the current LLDP configuration summary.
PE
show lldp interface Displays the current LLDP interface state. PE
show lldp local-device Displays the LLDP local data. PE
show lldp med Displays a summary of the current LLDP MED configuration.
PE
show lldp med interface Displays a summary of the current LLDP MED configuration for a specific interface.
PE
show lldp med local-device detail
Displays the advertised LLDP local data in detail.
PE
show lldp med remote- device
Displays the current LLDP MED remote data. PE
show lldp remote-device Displays the current LLDP remote data. PE
show lldp statistics Displays the current LLDP traffic statistics. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
clear vpc statistics Clears the counters for the keepalive messages transmitted and received by the MLAG switch.
PE
debug vpc Enables debug traces for the specified protocols.
GC
feature vpc Globally enables MLAG. GC
peer-detection enable Enables the Dual Control Plane Detection Protocol.
MD
Command Description Modea
Command Groups 109
2CSNXXX_SWUM200.book Page 110 Tuesday, December 10, 2013 1:22 PM
peer-keepalive destination Enables the Dual Control Plane Detection Protocol with the configured IP address of the peer MLAG, the local source address and the peer timeout value.
MD
peer-keepalive enable Enables the peer keep-alive protocol. MD
role priority Configures the priority value used on a switch for primary/secondary role selection.
MD
show vpc Displays information about an MLAG. PE
show vpc brief Displays the MLAG global status. PE
show vpc consistency- parameters
Displays MLAG-related configuration information in a format suitable for comparison with the other MLAG peer.
PE
show vpc consistency- features
Displays MLAG-related configuration information in a format suitable for comparison with the other MLAG peer.
PE
show vpc peer-keepalive Displays the peer MLAG switchs IP address used by the dual control plane detection protocol.
PE
show vpc role Displays information about the keepalive status, keepalive parameters, role of the MLAG switch, and the system MAC and priority.
PE
show vpc statistics Displays counters for the keepalive messages transmitted and received by the MLAG switch
PE
vpc Configures a port-channel (LAG) as part of the MLAG domain.
IC
vpc domain Enters into MLAG Configuration mode. GC
vpc peer-link Configures a port channel as the MLAG peer link for a domain and enables the peer link protocol.
IC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
Command Groups 110
2CSNXXX_SWUM200.book Page 111 Tuesday, December 10, 2013 1:22 PM
Multicast VLAN Registration
Port Channel
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
mvr Enables MVR. GC or IC
mvr group Adds an MVR membership group. GC
mvr mode Changes the MVR mode type. GC
mvr querytime Sets the MVR query response time. GC
mvr vlan Sets the MVR multicast VLAN. GC
mvr immediate Enables MVR Immediate Leave mode. IC
mvr type Sets the MVR port type. IC
mvr vlan group Use to participate in the specific MVR group. IC
show mvr Displays global MVR settings. PE
show mvr members Displays the MVR membership groups allocated.
PE
show mvr interface Displays the MVR enabled interface configuration.
PE
show mvr traffic Displays global MVR statistics. PE
Command Description Modea
channel-group Associates a port with a port-channel. IC
interface port-channel Enables debug traces for the specified protocols.
GC
interface port-channel Enters the interface configuration mode of a specific port-channel.
GC
interface range port-channel Enters the interface configuration mode to configure multiple port-channels.
GC
hashing-mode Sets the hashing algorithm on trunk ports. IC (port- channel)
Command Groups 111
2CSNXXX_SWUM200.book Page 112 Tuesday, December 10, 2013 1:22 PM
Port Monitor
QoS
lacp port-priority Configures the priority value for physical ports.
IC
lacp system-priority Configures the system LACP priority. GC
lacp timeout Assigns an administrative LACP timeout. IC
port-channel min-links Sets the minimum number of links that must be up in order for the port channel interface to be declared up.
IC
show interfaces port- channel
Displays port-channel information. PE
show lacp Displays LACP information for ports. PE
show statistics port-channel Displays port-channel statistics. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
monitor session Configures a port monitoring session. GC
remote-span Configures a VLAN as an RSPAN VLAN. VC
show monitor session Displays the port monitoring status. PE
show vlan remote-span Displays the RSPAN VLAN IDs. UE or PE
Command Description Modea
assign-queue Modifies the queue ID to which the associated traffic stream is assigned.
PCMC
class Creates an instance of a class definition within the specified policy for the purpose of defining treatment of the traffic class through subsequent policy attribute statements.
PMC
Command Description Modea
Command Groups 112
2CSNXXX_SWUM200.book Page 113 Tuesday, December 10, 2013 1:22 PM
class-map Defines a new DiffServ class of type match-all, match-any, or match-access-group. For now, only match-all is available in the CLI.
GC
class-map rename Changes the name of a DiffServ class. GC
classofservice dot1p- mapping
Maps an 802.1p priority to an internal traffic class for a switch.
GC or IC
classofservice ip-dscp- mapping
Maps an IP DSCP value to an internal traffic class.
GC
classofservice trust Sets the class of service trust mode of an interface.
GC or IC
conform-color Specifies the precoloring of packets conforming to or exceeding the specified rate(s). The possible actions are drop, setdscp-transmit, set- prec-transmit, or transmit.
PCMC
cos-queue min-bandwidth Specifies the minimum transmission bandwidth for each interface queue.
GC or IC
cos-queue random-detect Configures WRED packet drop policy on an interface CoS queue.
GC or IC
cos-queue strict Activates the strict priority scheduler mode for each specified queue.
GC or IC
diffserv Sets the DiffServ operational mode to active. GC
drop Use the drop policy-class-map configuration command to specify that all packets for the associated traffic stream are to be dropped at ingress.
PCMC
mark cos Marks all packets for the associated traffic stream with the specified class of service value in the priority field of the 802.1p header.
PCMC
mark ip-dscp Marks all packets for the associated traffic stream with the specified IP DSCP value.
PCMC
mark ip-precedence Marks all packets for the associated traffic stream with the specified IP precedence value.
PCMC
Command Description Modea
Command Groups 113
2CSNXXX_SWUM200.book Page 114 Tuesday, December 10, 2013 1:22 PM
match class-map Adds add to the specified class definition the set of match conditions defined for another class.
CMC
match cos Adds to the specified class definition a match condition for the Class of Service value.
CMC
match destination-address mac
Adds to the specified class definition a match condition based on the destination MAC address of a packet.
CMC
match dstip Adds to the specified class definition a match condition based on the destination IP address of a packet.
CMC
match dstip6 Adds to the specified class definition a match condition based on the destination IPv6 address of a packet.
v6CMC
match dstl4port Adds to the specified class definition a match condition based on the destination layer 4 port of a packet using a single keyword, or a numeric notation.
CMC
match ethertype Adds to the specified class definition a match condition based on the value of the ethertype.
CMC
match ip6flowlbl Adds to the specified class definition a match condition based on the IPv6 flow label of a packet.
v6CMC
match ip dscp Adds to the specified class definition a match condition based on the value of the IP DiffServ Code Point (DSCP) field in a packet.
CMC
match ip precedence Adds to the specified class definition a match condition based on the value of the IP.
CMC
match ip tos Adds to the specified class definition a match condition based on the value of the IP TOS field in a packet.
CMC
match protocol Adds to the specified class definition a match condition based on the value of the IP Protocol field in a packet using a single keyword notation or a numeric value notation.
CMC
Command Description Modea
Command Groups 114
2CSNXXX_SWUM200.book Page 115 Tuesday, December 10, 2013 1:22 PM
match source-address mac Adds to the specified class definition a match condition based on the source MAC address of the packet.
CMC
match srcip Adds to the specified class definition a match condition based on the source IP address of a packet.
CMC
match srcip6 Adds to the specified class definition a match condition based on the source IPv6 address of a packet.
v6CMC
match srcl4port Adds to the specified class definition a match condition based on the source layer 4 port of a packet using a single keyword, a numeric notation, or a numeric range notation.
CMC
match vlan Adds to the specified class definition a match condition based on the value of the layer 2 VLAN Identifier field.
CMC
mirror Mirrors all the data that matches the class defined to the destination port specified.
PCMC
police-simple Implements simple color aware marking for the specified class.
PCMC
police-single-rate Implements a single-rate Three Color Marker (trTCM) per RFC 2698
PCMC
police-two-rate Implements a two-rate Three Color Marker (trTCM) per RFC 2698.
PCMC
policy-map Establishes a new DiffServ policy or enters policy map configuration mode.
GC
random-detect queue- parms
Configures the green, yellow and red TCP and non-TCP packet minimum and maximum thresholds and corresponding drop probabilities on an interface or all interfaces.
GC, IC, or IR
random-detect exponential- weighting-constant
Configures the decay in the calculation of the average queue size user for WRED on an interface or all interfaces.
GC, IC, or IR
Command Description Modea
Command Groups 115
2CSNXXX_SWUM200.book Page 116 Tuesday, December 10, 2013 1:22 PM
redirect Specifies that all incoming packets for the associated traffic stream are redirected to a specific egress interface (physical port or port- channel).
PCMC
service-policy Attaches a policy to an interface in a particular direction.
GC or IC
show class-map Displays all configuration information for the specified class.
PE
show classofservice dot1p- mapping
Displays the current Dot1p (802.1p) priority mapping to internal traffic classes for a specific interface.
PE
show classofservice ip-dscp- mapping
Displays the current IP DSCP mapping to internal traffic classes for a specific interface.
PE
show classofservice trust Displays the current trust mode setting for a specific interface.
PE
show diffserv Displays the DiffServ General Status information.
PE
show diffserv service interface
Displays policy service information for the specified interface and direction.
PE
show diffserv service interface port-channel
Displays policy service information for the specified interface and direction.
PE
show diffserv service brief Displays all interfaces in the system to which a DiffServ policy has been attached.
PE
show interfaces cos-queue Displays the class-of-service queue configuration for the specified interface.
PE
show interfaces random- detect
Displays the WRED policy on an interface. PE
show policy-map Displays all configuration information for the specified policy.
PE
show policy-map interface Displays policy-oriented statistics information for the specified interface and direction.
PE
show service-policy Displays a summary of policy-oriented statistics information for all interfaces.
PE
Command Description Modea
Command Groups 116
2CSNXXX_SWUM200.book Page 117 Tuesday, December 10, 2013 1:22 PM
Radius
traffic-shape Specifies the maximum transmission bandwidth limit for the interface as a whole.
GC or IC
vlan priority Assigns a default VLAN priority tag for untagged frames ingressing an interface.
IC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
aaa accounting dot1x default start-stop
Creates an accounting method list GC
accounting Applies an accounting method to a line config.
LC
acct-port Sets the port that connects to the RADIUS accounting server.
R
auth-port Sets the port number for authentication requests of the designated radius server.
R
deadtime Improves Radius response times when a server is unavailable by causing the unavailable server to be skipped.
R
debug aaa accounting Enables debugging for accounting. PE
key Sets the authentication and encryption key for all RADIUS communications between the switch and the RADIUS daemon.
R
key Configures an encrypted key that is shared with the RADIUS server.
R
msgauth Enables the message authenticator attribute to be used for the RADIUS Authenticating server being configured.
R
name (RADIUS server) Assigns a name to a RADIUS server. R
primary Specifies that a configured server should be the primary server in the group of authentication servers which have the same server name.
R
Command Description Modea
Command Groups 117
2CSNXXX_SWUM200.book Page 118 Tuesday, December 10, 2013 1:22 PM
priority Specifies the order in which the servers are to be used, with 0 being the highest priority.
R
radius-server attribute 4 Sets the network access server (NAS) IP address for the RADIUS server.
GC
radius-server deadtime Improves RADIUS response times when servers are unavailable. Causes the unavailable servers to be skipped.
GC
radius-server host Specifies a RADIUS server host. GC
radius-server key Sets the authentication and encryption key for all RADIUS communications between the switch and the RADIUS daemon.
GC
radius-server key encrypted Sets the authentication and encryption key for communication between the switch and RADIUS server.
GC
radius-server retransmit Specifies the number of times the software searches the list of RADIUS server hosts.
GC
radius-server source-ip Specifies the source IP address used for communication with RADIUS servers.
GC
radius-server timeout Sets the interval for which a switch waits for a server host to reply.
GC
retransmit Specifies the number of times the software searches the list of RADIUS server hosts before stopping the search.
R
show aaa servers Displays the list of configured RADIUS servers and the values configured for the global parameters of the RADIUS client.
UE or PE
show accounting methods Displays the configured accounting method lists.
PE
show radius statistics Shows the statistics for an authentication or accounting server.
UE or PE
source-ip Specifies the source IP address to be used for communication with RADIUS servers.
R
timeout Sets the timeout value in seconds for the designated radius server.
R
Command Description Modea
Command Groups 118
2CSNXXX_SWUM200.book Page 119 Tuesday, December 10, 2013 1:22 PM
Spanning Tree
usage Specifies the usage type of the server. R
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
clear spanning-tree detected-protocols
Restarts the protocol migration process on all interfaces or on the specified interface.
PE
exit (mst) Exits the MST configuration mode and applies configuration changes.
MC
instance (mst) Maps VLANs to an MST instance. MC
name (mst) Defines the MST configuration name. MC
revision (mst) Defines the configuration revision number. MC
show spanning-tree Displays spanning tree configuration. PE
show spanning-tree summary
Displays spanning tree settings and parameters for the switch.
PE
show spanning-tree vlan Displays spanning tree information per VLAN and also lists the port roles and states as well as the port cost.
PE
spanning-tree Enables spanning-tree functionality. GC
spanning-tree auto-portfast Sets the port to auto portfast mode. IC
spanning-tree backbonefast Enables the detection of indirect link failures and accelerate spanning tree convergence on STP-PV/RSTP-PV configured switches using Indirect Rapid Convergence (IRC).
GC
spanning-tree bpdu flooding Allows flooding of BPDUs received on nonspanning-tree ports to all other non- spanning-tree ports.
GC
spanning-tree bpdu- protection
Enables BPDU protection on a switch. GC
Command Description Modea
Command Groups 119
2CSNXXX_SWUM200.book Page 120 Tuesday, December 10, 2013 1:22 PM
spanning-tree cost Configures the spanning tree path cost for a port.
IC
spanning-tree disable Disables spanning tree on a specific port. IC
spanning-tree forward-time Configures the spanning tree bridge forward time.
GC
spanning-tree guard Selects whether loop guard or root guard is enabled on an interface.
IC
spanning-tree loopguard Enables loop guard on all ports. GC
spanning-tree max-age Configures the spanning tree bridge maximum age.
GC
spanning-tree max-hops Sets the MSTP Max Hops parameter to a new value for the common and internal spanning tree.
GC
spanning-tree mode Configures the spanning tree protocol. GC
spanning-tree mst configuration
Enables configuring an MST region by entering the multiple spanning-tree (MST) mode.
GC
spanning-tree mst cost Configures the path cost for multiple spanning tree (MST) calculations.
IC
spanning-tree mst port- priority
Configures port priority. IC
spanning-tree mst priority Configures the switch priority for the specified spanning tree instance.
GC
spanning-tree portfast Enables PortFast mode. IC
spanning-tree portfast bpdufilter default
Discards BPDUs received on spanningtree ports in portfast mode.
GC
spanning-tree portfast default
Enables Portfast mode on all ports. GC
spanning-tree port-priority (Interface Configuration)
Configures port priority. IC
spanning-tree priority Configures the spanning tree priority. GC
spanning-tree tcnguard Prevents a port from propagating topology change notifications.
IC
Command Description Modea
Command Groups 120
2CSNXXX_SWUM200.book Page 121 Tuesday, December 10, 2013 1:22 PM
TACACS+
spanning-tree transmit hold- count
Set the maximum number of BPDUs that a bridge is allowed to send within a hello time window (2 seconds).
GC
spanning-tree uplinkfast Configures the rate at which gratuitous frames are sent after a switchover to an alternate port and enables Direct Rapid Convergence.
GC
spanning-tree vlan Enables per VLAN spanning tree on a VLAN.
GC
spanning-tree vlan forward- time
Configures the spanning tree forward delay time for a specified VLAN or a range of VLANs.
GC
spanning-tree vlan hello- time
Configures the spanning tree hello time for a specified VLAN or a range of VLANs.
GC
spanning-tree vlan max-age Configures the spanning tree maximum age time for a set of VLANs.
GC
spanning-tree vlan root Configures the switch to become the root bridge or standby root bridge.
GC
spanning-tree vlan priority Configures the bridge priority of a VLAN. GC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
key Specifies the authentication and encryption key for all TACACS communications between the device and the TACACS server.
TC
key encrypted Configures an encrypted key that is shared with the TACACS server.
TC
port Specifies a server port number. TC
priority Specifies the order in which servers are used. TC
Command Description Modea
Command Groups 121
2CSNXXX_SWUM200.book Page 122 Tuesday, December 10, 2013 1:22 PM
VLAN
show tacacs Displays TACACS+ server settings and statistics.
PE
tacacs-server host Specifies a TACACS+ server host. GC
tacacs-server key Sets the authentication and encryption key for all TACACS+ communications between the switch and the TACACS+ daemon.
GC
tacacs-server key Sets the authentication and encryption key for all communication between the switch and the TACACS serve.
GC
tacacs-server timeout Sets the interval for which the switch waits for a server host to reply.
GC
timeout Specifies the timeout value in seconds. TC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
dvlan-tunnel ethertype Configures the EtherType for the interface. GC
interface vlan Enters the VLAN interface configuration mode. GC
interface range vlan Enters the interface configuration mode to configure multiple VLANs.
GC
mode dvlan-tunnel Enables Double VLAN tunneling on the specified interface.
IC
name (VLAN Configuration)
Configures a name to a VLAN. IC
private-vlan Defines a private VLAN association between the primary and secondary VLANs.
VC
protocol group Attaches a vlanid to the protocol-based VLAN identified by groupid.
VC
protocol vlan group Adds the physical unit/slot/port interface to the protocol-based VLAN identified by groupid.
IC
protocol vlan group all Adds all physical unit/slot/port interfaces to the protocol-based VLAN identified by groupid.
GC
Command Description Modea
Command Groups 122
2CSNXXX_SWUM200.book Page 123 Tuesday, December 10, 2013 1:22 PM
show dvlan-tunnel Displays all interfaces enabled for Double VLAN Tunneling.
PE
show dvlan-tunnel interface Displays detailed information about Double VLAN Tunneling for the specified interface.
PE
show interfaces switchport Displays switchport configuration. PE,
IC
show port protocol Displays the Protocol-Based VLAN information for either the entire system or for the indicated group.
PE
show vlan Displays detailed information, including interface information and dynamic vlan type, for a specific VLAN.
PE
show vlan association mac Displays the VLAN associated with a specific configured MAC address.
PE
show vlan association subnet Displays the VLAN associated with a specific configured IP subnet.
PE
show vlan private-vlan
switchport access vlan Configures the VLAN ID when the interface is in access mode.
IC
switchport general forbidden vlan
Forbids adding specific VLANs to a port. IC
switchport general acceptable-frame-type tagged-only
Discards untagged frames at ingress. IC
switchport general allowed vlan
Adds or removes VLANs from a port in General mode.
IC
switchport general ingress- filtering disable
Disables port ingress filtering. IC
switchport general pvid Configures the PVID when the interface is in general mode.
IC
switchport mode Configures the VLAN membership mode of a port.
IC
Command Description Modea
Command Groups 123
2CSNXXX_SWUM200.book Page 124 Tuesday, December 10, 2013 1:22 PM
Voice VLAN
switchport mode private- vlan
Defines a private VLAN association for an isolated or community port or a mapping for a promiscuous port.
IC
switchport private-vlan Defines a private-VLAN association for an isolated or community port or a mapping for a promiscuous port.
IC
switchport trunk Adds or removes VLANs from a trunk port. IC
vlan Configures a VLAN. GC
vlan association mac Associates a MAC address to a VLAN. VC
vlan association subnet Associates an IP subnet to a VLAN. VC
vlan makestatic Changes a GVRP dynamically created VLAN to a static VLAN.
GC
vlan protocol group Adds protocol-based VLAN groups to the system.
GC
vlan protocol group add protocol
Adds a protocol to the protocol-based VLAN identified by groupid.
GC
vlan protocol group name Adds a group name to the protocol-based VLAN identified by groupid.
GC
vlan protocol group remove Removes the protocol-base VLAN group identified by groupid.
GC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
voice vlan Enables the voice VLAN capability on the switch.
GG
voice vlan (Interface) Enables the voice VLAN capability on the interface.
IC
voice vlan data priority Trusts or not trusts the data traffic arriving on the voice VLAN port.
IC
show voice vlan Displays various properties of the voice VLAN. PE
Command Description Modea
Command Groups 124
2CSNXXX_SWUM200.book Page 125 Tuesday, December 10, 2013 1:22 PM
802.1x
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
dot1x dynamic-vlan enable Enables the capability of creating VLANs dynamically when a RADIUS-assigned VLAN does not exist in the switch.
GC
dot1x initialize Begins the initialization sequence on the specified port.
PE
dot1x mac-auth-bypass Enables MAB on an interface. IC
dot1x max-req Sets the maximum number of times the switch sends an EAP-request frame to the client before restarting the authentication process.
IC
dot1x max-users Sets the maximum number of clients supported on the port when MAC-based 802.1X authentication is enabled on the port.
IC
dot1x port-control Enables manual control of the authorization state of the port.
IC
dot1x re-authenticate Manually initiates a reauthentication of all 802.1x-enabled ports or a specified 802.1X enabled port.
PE
dot1x reauthentication Enables periodic reauthentication of the client. IC
dot1x system-auth-control monitor
Enables 802.1X globally. GC
dot1x timeout guest-vlan- period
Sets the number of seconds that the switch waits before authorizing the client if the client is a dot1x unaware client.
IC
dot1x timeout quiet-period Sets the number of seconds the switch remains in the quiet state following a failed authentication attempt.
IC
dot1x timeout re-authperiod Sets the number of seconds between reauthentication attempts.
IC
Command Groups 125
2CSNXXX_SWUM200.book Page 126 Tuesday, December 10, 2013 1:22 PM
dot1x timeout server- timeout
Sets the number of seconds the switch waits for a response from the authentication server before resending the request.
IC
dot1x timeout tx-period Sets the number of seconds the switch waits for a response to an EAP-request/identify frame from the client before resending the request.
IC
authentication enable Enables the Authentication Manager. GC
authentication order Sets the order of authentication methods used on a port
IC
authentication priority Sets the priority for the authentication methods used on a port
IC
authentication restart Sets the interval after which reauthentication starts.
IC
clear authentication statistics
Clears the authentication statistics. PE
clear authentication authentication-history
Clears the authentication history logs. PE
show authentication Displays the configured authentication methods configured and if Tiered Authentication is enabled.
PE
show authenticaton authentication-history
Displays the authentication history on one or more interfaces.
PE
show authentication statistics
Displays the Authentication Manager statistics. PE
show dot1x Displays 802.1X status for the switch or the specified interface.
PE
show dot1x authentication- history
Displays the dot1x authentication events and information during successful and unsuccessful dot1x authentication processes.
PE
show dot1x clients Displays detailed information about the users who have successfully authenticated on the system or on a specified port.
PE
show dot1x interface Shows the status of MAC Authentication Bypass.
PE
Command Description Modea
Command Groups 126
2CSNXXX_SWUM200.book Page 127 Tuesday, December 10, 2013 1:22 PM
Layer 3 Commands
ARP (IPv4)
show dot1x interface statistics
Displays 802.1X statistics for the specified interface.
PE
show dot1x users Displays active 802.1X authenticated users for the switch.
PE
clear dot1x authenticationhistory
Clears the authentication history table captured during successful and unsuccessful authentication.
PE
dot1x guest-vlan Sets the guest VLAN on a port. IC
dot1x unauth-vlan Specifies the unauthenticated VLAN on a port. IC
show dot1x advanced Displays 802.1X advanced features for the switch or specified interface.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
arp Creates an Address Resolution Protocol (ARP) entry.
GC
arp cachesize Configures the maximum number of entries in the ARP cache.
GC
arp dynamicrenew Enables the ARP component to automatically renew dynamic ARP entries when they age out.
GC
arp purge Causes the specified IP address to be removed from the ARP cache.
PE
arp resptime Configures the ARP request response timeout. GC
arp retries Configures the ARP count of maximum request for retries.
GC
arp timeout Configures the ARP entry age-out time. GC
clear arp-cache Removes all ARP entries of type dynamic from the ARP cache.
PE
Command Description Modea
Command Groups 127
2CSNXXX_SWUM200.book Page 128 Tuesday, December 10, 2013 1:22 PM
DHCP Server and Relay Agent (IPv4)
clear arp-cache management Removes all entries from the ARP cache learned from the management port.
PE
ip local-proxy-arp Enables proxying of ARP requests. IC
ip proxy-arp Enables proxy ARP on a router interface. IC
show arp Displays the Address Resolution Protocol (ARP) cache.
PE
show arp brief Displays the brief Address Resolution Protocol (ARP) table information.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
ip dhcp pool Defines a DHCP address pool that can be used to supply addressing information to DHCP client. This command puts the user into DHCP Pool Configuration mode.
GC
bootfile Sets the name of the image for the DHCP client to load.
DP
clear ip dhcp binding Removes automatic DHCP server bindings. PE
clear ip dhcp conflict Removes DHCP server address conflicts. PE
client-identifier Identifies a a Microsoft DHCP client to be manually assigned an address.
DP
client-name Specifies the host name of a DHCP client. DP
default-router Sets the IPv4 address of one or more routers for the DHCP client to use.
DP
dns-server (IP DHCP Pool Config)
Sets the IPv4 DNS server address which is provided to a DHCP client by the DHCP server.
DP
domain-name (IP DHCP Pool Config)
Sets the DNS domain name which is provided to a DHCP client by the DHCP server.
DP
hardware-address Specifies the MAC address of a client to be manually assigned an address.
DP
Command Description Modea
Command Groups 128
2CSNXXX_SWUM200.book Page 129 Tuesday, December 10, 2013 1:22 PM
host Specifies a manual binding for a DHCP client host.
DP
ip dhcp bootp automatic Enables automatic BOOTP address assignments.
GC
ip dhcp conflict logging Enables DHCP address conflict detection. GC
ip dhcp excluded-address Excludes one or more DHCP addresses from automatic assignment.
GC
ip dhcp ping packets Configures the number of pings sent to detect if an address is in use prior to assigning an address from the DHCP pool.
GC
lease Sets the period for which a dynamically assigned DHCP address is valid.
DP
netbios-name-server Configures the IPv4 address of the Windows Internet Naming Service (WINS) for a Microsoft DHCP client.
DP
netbios-node-type Sets the NetBIOS node type for a Microsoft DHCP client.
DP
network Defines a pool of IPv4 addresses for distributing to clients.
DP
next-server Sets the IPv4 address of the TFTP server to be used during auto-install.
DP
option Supplies arbitrary configuration information to a DHCP client.
DP
service dhcp Enables local IPv4 DHCP server on the switch. GC
sntp Sets the IPv4 address of the NTP server to be used for time synchronization of the client.
DP
show ip dhcp binding Displays the configured DHCP bindings. PE
show ip dhcp conflict Displays DHCP address conflicts for all relevant interfaces or a specified interface.
PE
show ip dhcp global configuration
Displays the DHCP global configuration. PE
show ip dhcp pool Displays the configured DHCP pool or pools. UE or PE
Command Description Modea
Command Groups 129
2CSNXXX_SWUM200.book Page 130 Tuesday, December 10, 2013 1:22 PM
DHCPv6
show ip dhcp server statistics Displays the DHCP server binding and message counters.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
clear ipv6 dhcp Clears DHCPv6 statistics for all interfaces or for a specific interface.
PE
dns-server (IPv6 DHCP Pool Config)
Sets the IPv6 DNS server address which is provided to a DHCPv6 client by the DHCPv6 server.
v6DP
domain-name (IPv6 DHCP Pool Config)
Sets the DNS domain name which is provided to a DHCPv6 client by the DHCPv6 server.
v6DP
ipv6 dhcp pool Enters IPv6 DHCP Pool Configuration mode. GC
ipv6 dhcp relay Configures an interface for DHCPv6 Relay functionality.
IC
ipv6 dhcp server Configures DHCPv6 server functionality on an interface.
IC
prefix-delegation Defines Multiple IPv6 prefixes within a pool for distributing to specific DHCPv6 Prefix delegation clients.
v6DP
service dhcpv6 Enables DHCPv6 configuration on the router. GC
show ipv6 dhcp Displays the DHCPv6 server name and status. PE
show ipv6 dhcp binding Displays the configured DHCP pool. PE
show ipv6 dhcp interface (User EXEC)
Displays DHCPv6 information for all relevant interfaces or a specified interface.
UE
PE
show ipv6 dhcp pool Displays the configured DHCP pool. PE
show ipv6 dhcp statistics Displays the DHCPv6 server name and status. UE
Command Description Modea
Command Groups 130
2CSNXXX_SWUM200.book Page 131 Tuesday, December 10, 2013 1:22 PM
DHCPv6 Snooping
Command Description Modea
clear ipv6 dhcp snooping binding
Clears all IPv6 DHCP snooping entries. UE or PE
clear ipv6 dhcp snooping statistics
Clears all IPv6 DHCP snooping statistics. UE or PE
ipv6 dhcp snooping Globally enables IPv6 DHCP snooping. GC
ipv6 dhcp snooping vlan Enables IPv6 DHCP snooping on a set of VLANs.
GC
ipv6 dhcp snooping binding Configures a static IPv6 DHCP snooping binding.
GC
ipv6 dhcp snooping database Configures the persistent location of the DHCP snooping database.
GC
ipv6 dhcp snooping database write-delay
Configures the time period between successive writes of the binding database.
GC
ipv6 dhcp snooping limit Configures an interface to disable itself if the rate of received DHCP messages exceeds the configured limit.
IC
ipv6 dhcp snooping log- invalid
Configures the port to log invalid received DHCP messages.
IC
ipv6 dhcp snooping trust Configures the port as trusted. IC
ipv6 dhcp snooping verify mac-address
Enables the additional verification of the source MAC address with the client hardware address in the received DHCP message.
GC
ipv6 verify binding Configures a static IP source guard binding. GC
ipv6 verify source Configures an interface to filter incoming traffic from sources that are not present in the DHCP binding database.
IC
show ipv6 dhcp snooping Displays the IPv6 DHCP snooping configuration.
UE or PE
show ipv6 dhcp snooping binding
Displays the IPv6 DHCP snooping configuration.
UE or PE
Command Groups 131
2CSNXXX_SWUM200.book Page 132 Tuesday, December 10, 2013 1:22 PM
DVMRP
show ipv6 dhcp snooping database
Displays IPv6 DHCP snooping configurations related to database persistency.
UE or PE
show ipv6 dhcp snooping statistics
Displays IPv6 DHCP snooping filtration statistics.
UE or PE
show ipv6 source binding Displays the IPv6 source guard configurations on all ports, an individual port, or on a VLAN.
UE or PE
show ipv6 verify source Displays the Ipv6 source guard configurations on all ports.
UE or PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
ip dvmrp Sets the administrative mode of DVMRP in the router to active.
GC IC
ip dvmrp metric Configures the metric for an interface. IC
show ip dvmrp Displays the system-wide information for DVMRP.
PE
show ip dvmrp interface Displays the interface information for DVMRP on the specified interface.
PE
show ip dvmrp neighbor Displays the neighbor information for DVMRP. PE
show ip dvmrp nexthop Displays the next hop information on outgoing interfaces for routing multicast datagrams.
PE
show ip dvmrp prune Displays the table that lists the routers upstream prune information.
PE
show ip dvmrp route Displays the multicast routing information for DVMRP.
PE
Command Description Modea
Command Groups 132
2CSNXXX_SWUM200.book Page 133 Tuesday, December 10, 2013 1:22 PM
GMRP
IGMP
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
gmrp enable Enables GMRP globally or on a port. GC or IC
show gmrp configuration Displays GMRP configuration. GC or IC
Command Description Modea
ip igmp last-member-query- count
Sets the number of Group-Specific Queries sent before the router assumes that there are no local members on the interface.
IC
ip igmp last-member-query- interval
Configures the Maximum Response Time inserted in Group-Specific Queries which are sent in response to Leave Group messages.
IC
ip igmp query-interval Configures the query interval for the specified interface. The query interval determines how fast IGMP Host-Query packets are transmitted on this interface.
IC
ip igmp query-max-response- time
Configures the maximum response time interval for the specified interface.
IC
ip igmp robustness Configures the robustness that allows tuning of the interface.
IC
ip igmp startup-query-count Sets the number of queries sent out on startupat intervals equal to the startup query interval for the interface.
IC
ip igmp startup-query- interval
Sets the interval between general queries sent at startup on the interface.
IC
ip igmp version Configures the version of IGMP for an interface.
IC
show ip igmp Displays system-wide IGMP information. PE
Command Groups 133
2CSNXXX_SWUM200.book Page 134 Tuesday, December 10, 2013 1:22 PM
IGMP Proxy
IP Helper/DHCP Relay
show ip igmp groups Displays the registered multicast groups on the interface.
PE
show ip igmp interface Displays the IGMP information for the specified interface.
PE
show ip igmp membership Displays the list of interfaces that have registered in the multicast group.
PE
show ip igmp interface stats Displays the IGMP statistical information for the interface.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
ip igmp proxy-service Enables the IGMP Proxy on the router. IC
ip igmp proxy-service reset- status
Resets the host interface status parameters of the IGMP Proxy router.
IC
ip igmp proxy-service unsolicit-rprt-interval
Sets the unsolicited report interval for the IGMP Proxy router.
IC
show ip igmp proxy-service Displays a summary of the host interface status parameters.
PE
show ip igmp proxy-service interface
Displays a detailed list of the host interface status parameters.
PE
show ip igmp-proxy groups Displays a table of information about multicast groups that IGMP Proxy reported.
PE
show ip igmp proxy-service groups detail
Displays complete information about multicast groups that IGMP Proxy has reported.
PE
Command Description Modea
bootpdhcprelay maxhopcount
Configures the maximum allowable relay agent hops for BootP/DHCP Relay on the system.
GC
Command Description Modea
Command Groups 134
2CSNXXX_SWUM200.book Page 135 Tuesday, December 10, 2013 1:22 PM
bootpdhcprelay minwaittime
Configures the minimum wait time in seconds for BootP/DHCP Relay on the system.
GC
clear ip helper statistics Resets (to 0) the statistics displayed in show ip helper statistics.
PE
ip dhcp relay information check
Enables DHCP Relay to check that the relay agent information option in forwarded BOOTREPLY messages is valid.
GC
ip dhcp relay information check-reply
Enables DHCP Relay to check that the relay agent information option in forwarded BOOTREPLY messages is valid.
IC
ip dhcp relay information option
Enables the circuit ID option and remote agent ID mode for BootP/DHCP Relay on the system (also called option 82).
GC
ip dhcp relay information option-insert
Enables the circuit ID option and remote agent ID mode for BootP/DHCP Relay on the circuit ID option and remote agent ID mode for BootP/DHCP Relay on the interface (also called option 82).
GC
ip helper-address (global configuration)
Configures the relay of certain UDP broadcast packets received on any interface.
GC
ip helper-address (interface configuration)
Configures the relay of certain UDP broadcast packets received on a specific interface.
IC
ip helper enable Enables relay of UDP packets. GC
show ip helper-address Displays the IP helper address configuration. PE
show ip dhcp relay Displays the BootP/DHCP Relay information. UE or PE
show ip helper statistics Displays the number of DHCP and other UDP packets processed and relayed by the UDP relay agent.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
Command Groups 135
2CSNXXX_SWUM200.book Page 136 Tuesday, December 10, 2013 1:22 PM
IP Routing
Command Description Modea
encapsulation Configures the link layer encapsulation type for the packet.
IC
ip address Configures an IP address on an interface. IC
ip netdirbcast Enables the forwarding of network-directed broadcasts.
IC
ip policy route-map Applies a route map on an interface. IC
ip route Configures a static route. Use the no form of the command to delete the static route.
GC
ip route default Configures the default route. Use the no form of the command to delete the default route.
GC
ip route distance Sets the default distance (preference) for static routes.
GC
ip routing Globally enables IPv4 routing on the router. GC
match length Configures packet length matching criteria for a route map.
RM
match mac-list Configures MAC ACL match criteria for a route map.
RM
route-map Creates a policy based route map. GC
match ip address Specify IP address match criteria for a route map.
RM
set interface null0 Routes packets to interface null 0. RM
set ip default next-hop Sets a list of default next-hop IP addresses to be used if no explicit route for the packets destination address appears in the routing table.
RM
set ip next-hop Specifies the adjacent next-hop router in the path toward the destination to which the packets should be forwarded.
RM
set ip precedence Sets the IP precedence bits in the IP packet header.
RM
show ip brief Displays all the summary information of the IP. PE
Command Groups 136
2CSNXXX_SWUM200.book Page 137 Tuesday, December 10, 2013 1:22 PM
IPv6 Routing
show ip interface Displays all pertinent information about the IP interface.
PE
show ip policy Displays the route maps used for policy based routing on the router interfaces.
PE
show ip protocols Displays the parameters and current state of the active routing protocols.
PE
show ip route Displays the routing table. PE
show ip route preferences Displays detailed information about the route preferences.
PE
show ip route summary Shows the number of all routes, including best and non-best routes.
PE
show ip traffic Displays IP statistical information. UE or PE
show ip vlan Displays the VLAN routing information for all VLANs with routing enabled.
PE
show route-map Displays the route maps. PE
show routing heap summary Displays a summary of the memory allocation from the routing heap.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
clear ipv6 neighbors Clears all entries in the IPv6 neighbor table or an entry on a specific interface.
PE
clear ipv6 statistics Clears IPv6 statistics for all interfaces or for a specific interface, including loopback and tunnel interfaces.
PE
ipv6 address Configures an IPv6 address on an interface (including tunnel and loopback interfaces).
IC
Command Description Modea
Command Groups 137
2CSNXXX_SWUM200.book Page 138 Tuesday, December 10, 2013 1:22 PM
ipv6 enable Enables IPv6 routing on an interface (including tunnel and loopback interfaces) that has not been configured with an explicit IPv6 address.
IC
ipv6 hop-limit Configures the hop limit used in IPv6 PDUs originated by the router.
GC
ipv6 host Defines static host name-to- ipv6 address mapping in the host cache.
GC
ipv6 mld last-member- query-count
Sets the number of listener-specific queries sent before the router assumes that there are no local members on the interface.
IC (VC)
ipv6 mld last-member- query-interval
Sets the last member query interval for the MLD interface, which is the value of the maximum response time parameter in the group specific queries sent out of this interface.
IC (VC)
ipv6 mld host-proxy Enables MLD Proxy on the router. IC
ipv6 mld host-proxy reset- status
Resets the host interface status parameters of the MLD Proxy router.
IC
ipv6 mld host-proxy unsolicit-rprt-interval
Sets the unsolicited report interval for the MLD Proxy router.
IC
ipv6 mld query-interval Sets the MLD router's query interval for the interface.
IC
ipv6 mld query-max- response-time
Sets MLD querier's maximum response time for the interface.
IC
ipv6 nd dad attempts Sets the number of duplicate address detection probes transmitted while doing neighbor discovery.
IC
ipv6 nd managed-config- flag
Sets the managed address configuration flag in router advertisements.
IC
ipv6 nd ns-interval Sets the interval between router advertisements for advertised neighbor solicitations.
IC
Command Description Modea
Command Groups 138
2CSNXXX_SWUM200.book Page 139 Tuesday, December 10, 2013 1:22 PM
ipv6 nd other-config-flag Sets the other stateful configuration flag in router advertisements sent from the interface.
IC
ipv6 nd prefix Sets the IPv6 prefixes to include in the router advertisement.
IC
ipv6 nd ra-interval Sets the transmission interval between router advertisements.
IC
ipv6 nd ra-lifetime Sets the value that is placed in the Router Lifetime field of the router advertisements sent from the interface.
IC
ipv6 nd reachable-time Sets the router advertisement time to consider a neighbor reachable after neighbor discovery confirmation.
IC
ipv6 nd suppress-ra Suppresses router advertisement transmission on an interface.
IC
ipv6 route Configures an IPv6 static route GC
ipv6 route distance Sets the default distance (preference) for static routes.
GC
ipv6 unicast-routing Enables forwarding of IPv6 unicast datagrams.
GC
ping ipv6 Determines whether another computer is on the network.
PE
ping ipv6 interface Determines whether another computer is on the network using Interface keyword.
PE
rate-limit cpu Configures the rate in packets-per- second for the number of IPv6 data packets trapped to CPU when the packet fails to be forwarded in the hardware due to unresolved hardware address of the destined IPv6 node.
GC
show ipv6 brief Displays the IPv6 status of forwarding mode and IPv6 unicast routing mode.
PE
show ipv6 interface Shows the usability status of IPv6 interfaces. PE
Command Description Modea
Command Groups 139
2CSNXXX_SWUM200.book Page 140 Tuesday, December 10, 2013 1:22 PM
Loopback Interface
show ipv6 mld groups Displays information about multicast groups that MLD reported.
PE
show ipv6 mld interface Displays MLD related information for an interface.
PE
show ipv6 mld host-proxy Displays a summary of the host interface status parameters.
PE
show ipv6 mld host-proxy groups
Displays information about multicast groups that the MLD Proxy reported.
PE
show ipv6 mld host-proxy groups detail
Displays information about multicast groups that MLD Proxy reported.
PE
show ipv6 mld host-proxy interface
Displays a detailed list of the host interface status parameters.
PE
show ipv6 mld traffic Displays MLD statistical information for the router.
PE
show ipv6 neighbors Displays information about IPv6 neighbors. PE
show ipv6 route Displays the IPv6 routing table. PE
show ipv6 route preferences
Shows the preference value associated with the type of route.
PE
show ipv6 route summary Displays a summary of the routing table. PE
show ipv6 traffic Shows traffic and statistics for IPv6 and ICMPv6.
UE
show ipv6 vlan Displays IPv6 VLAN routing interface addresses.
PE
traceroute ipv6 Discovers the routes that packets actually take when traveling to their destination through the network on a hop-by-hop basis.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
interface loopback Enters the Interface Loopback configuration mode.
GC
Command Description Modea
Command Groups 140
2CSNXXX_SWUM200.book Page 141 Tuesday, December 10, 2013 1:22 PM
Multicast
show interfaces loopback Displays information about configured loopback interfaces.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
ip mcast boundary Adds an administrative scope multicast boundary.
IC
ip mroute Creates a static multicast route for a source range.
GC
ip multicast-routing Sets the administrative mode of the IP multicast forwarder in the router to active.
GC
ip multicast ttl-threshold Applies a ttlvalue to a routing interface. IC
ip pim Administratively configures PIM mode for IP multicast routing on a VLAN interface.
IC
ip pim bsr-border Administratively disables bootstrap router (BSR) messages from being sent or received through an interface.
IC
ip pim bsr-candidate Configures the router to advertise itself as a bootstrap router (BSR).
GC
ip pim dense-mode Administratively configures PIM dense mode for IP multicast routing.
GC
ip pim dr-priority Administratively configures the advertised designated router (DR) priority value.
IC
ip pim hello-interval Administratively configures the PIM Hello messages on the specified interface.
IC
ip pim join-prune-interval Administratively configures the frequency of join/prune messages on the specified interface.
IC
ip pim rp-address Defines the address of a PIM RP for a specific multicast group range.
GC
Command Description Modea
Command Groups 141
2CSNXXX_SWUM200.book Page 142 Tuesday, December 10, 2013 1:22 PM
ip pim rp-candidate Configures the router to advertise itself to the bootstrap router (BSR) as a PIM candidate rendezvous point (RP) for a specific multicast group range.
IC
ip pim sparse-mode Administratively configures PIM sparse mode for IP multicast routing.
GC
ip pim ssm Administratively configures PIM Source Specific Multicast (SSM) range of addresses for IP multicast routing.
GC
show ip multicast Displays the system-wide multicast information.
PE
show ip pim boundary Displays the system-wide multicast information.
PE
show ip multicast interface Displays the multicast information for the specified interface.
PE
show ip mroute Displays a summary or all the details of the multicast table.
PE
show ip mroute group Displays the multicast configuration settings of entries in the multicast mroute table.
PE
show ip mroute source Displays the multicast configuration settings of entries in the multicast mroute table.
PE
show ip mroute static Displays all the static routes configured in the static mcast table.
PE
show ip pim bsr-router Displays the bootstrap router (BSR) information.
PE
show ip pim interface Displays PIM interface status parameters. If no interface is specified, the command displays the status parameters of all PIM-enabled interfaces.
UE or PE
show ip pim neighbor Displays PIM neighbors discovered by PIMv2 Hello messages. If no interface is specified, the command displays the neighbors discovered on all PIM-enabled interfaces.
UE or PE
show ip pim rp hash Displays the rendezvous point (RP) selected for the specified group address.
UE or PE
Command Description Modea
Command Groups 142
2CSNXXX_SWUM200.book Page 143 Tuesday, December 10, 2013 1:22 PM
IPv6 Multicast
show ip pim rp mapping Displays the mappings for the PIM group to the active rendezvous points (RPs).
UE or PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
ipv6 pim (VLAN Interface config)
Administratively enables PIM-SM multicast routing mode on a particular IPv6 router interface.
IC
ipv6 pim bsr-border Prevents bootstrap router (BSR) messages from being sent or received through an interface.
IC
ipv6 pim bsr-candidate Configures the router to announce its candidacy as a bootstrap router (BSR).
GC
ipv6 pim dense-mode Administratively configures PIM dense mode for IPv6 multicast routing.
GC
ipv6 pim dr-priority Sets the priority value for which a router is elected as the designated router (DR).
IC
ipv6 pim hello-interval Administratively configures the PIM-SM Hello Interval for the specified interface.
IC
ipv6 pim join-prune-interval Administratively configures the interface join/prune interval for the PIM-SM router.
IC
ipv6 pim register-threshold Configures the Register Threshold rate for the RP router to switch to the shortest path.
GC
ipv6 pim rp-address Statically configures the Rendezvous Point (RP) address for one or more multicast groups.
GC
ipv6 pim rp-candidate Configures the router to advertise itself as a PIM candidate rendezvous point (RP) to the bootstrap router (BSR).
GC
ipv6 pim sparse-mode Administratively configures PIM sparse mode for multicast routing.
GC
ipv6 pim ssm Defines the Source Specific Multicast (SSM) range of multicast addresses.
GC
Command Description Modea
Command Groups 143
2CSNXXX_SWUM200.book Page 144 Tuesday, December 10, 2013 1:22 PM
OSPF
show ipv6 pim Displays global status of IPv6 PIMSM and its IPv6 routing interfaces.
PE or GC
show ipv6 pim bsr-router Display the bootstrap router (BSR) information.
UE, PE, or GC
show ipv6 pim interface Displays interface config parameters. PE or GC
show ipv6 pim neighbor Displays IPv6 PIMSM neighbors learned on the routing interfaces.
PE or GC
show ipv6 pim rp-hash Displays which rendezvous point (RP) is being selected for a specified group.
PE or GC
show ipv6 pim rp mapping Displays all group-to-RP mappings of which the router is aware (either configured or learned from the bootstrap router (BSR).
PE or GC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
area default-cost (Router OSPF)
Configures the advertised default cost for the stub area.
ROSPF
area nssa (Router OSPF) Configures the specified area ID to function as an NSSA.
ROSPF
area nssa default-info- originate (Router OSPF Config)
Configures the metric value and type for the default route advertised into the NSSA.
ROSPF
area nssa no-redistribute Configures the NSSA Area Border router (ABR) so that learned external routes are not redistributed to the NSSA.
ROSPF
area nssa no-summary Configures the NSSA so that summary LSAs are not advertised into the NSSA.
ROSPF
area nssa translator-role Configures the translator role of the NSSA. ROSPF
area nssa translator-stab- intv
Configures the translator stability interval of the NSSA.
ROSPF
Command Description Modea
Command Groups 144
2CSNXXX_SWUM200.book Page 145 Tuesday, December 10, 2013 1:22 PM
area range (Router OSPF) Creates a specified area range for a specified NSSA.
ROSPF
area stub Creates a stub area for the specified area ID. ROSPF
area stub no-summary Prevents Summary LSAs from being advertised into the NSSA.
ROSPF
area virtual-link Creates the OSPF virtual interface for the specified area-id and neighbor router.
ROSPF
area virtual-link authentication
Configures the authentication type and key for the OSPF virtual interface identified by the area ID and neighbor ID.
ROSPF
area virtual-link dead- interval
Configures the dead interval for the OSPF virtual interface on the virtual interface identified by area-id and neighbor router.
ROSPF
area virtual-link hello- interval
Configures the hello interval for the OSPF virtual interface on the virtual interface identified by the area ID and neighbor ID.
ROSPF
area virtual-link retransmit-interval
Configures the retransmit interval for the OSPF virtual interface on the virtual interface identified by the area ID and neighbor ID.
ROSPF
area virtual-link transmit- delay
Configures the transmit delay for the OSPF virtual interface on the virtual interface identified by the area ID and neighbor ID.
ROSPF
auto-cost Allows user to change the reference bandwidth used in computing link cost.
ROSPF
bandwidth Allows user to change the bandwidth used in computing link cost.
IC
capability opaque Enables Opaque Capability on the router. RC
clear ip ospf Resets specific OSPF states. PE
compatible rfc1583 Enables OSPF 1583 compatibility. ROSPF
default-information originate (Router OSPF Configuration)
Controls the advertisement of default routes. ROSPF
default-metric Sets a default for the metric of distributed routes. ROSPF
Command Description Modea
Command Groups 145
2CSNXXX_SWUM200.book Page 146 Tuesday, December 10, 2013 1:22 PM
distance ospf Sets the route preference value of OSPF in the router.
ROSPF
distribute-list out Specifies the access list to filter routes received from the source protocol.
ROSPF
enable Resets the default administrative mode of OSPF in the router (active).
ROSPF
exit-overflow-interval Configures the exit overflow interval for OSPF. ROSPF
external-lsdb-limit Configures the external LSDB limit for OSPF. ROSPF
ip ospf area Enables OSPFv2 and sets the area ID of an interface.
IC
ip ospf authentication Sets the OSPF Authentication Type and Key for the specified interface.
IC
ip ospf cost Configures the cost on an OSPF interface. IC
ip ospf dead-intervall Sets the OSPF dead interval for the specified interface.
IC
ip ospf hello-interval Sets the OSPF hello interval for the specified interface.
IC
ip ospf mtu-ignore Disables OSPF maximum transmission unit (MTU) mismatch detection.
IC
ip ospf network Configure OSPF to treat an interface as a point- to-point, rather than broadcast interface.
IC
ip ospf priority Sets the OSPF priority for the specified router interface.
IC
ip ospf retransmit-interval Sets the OSPF retransmit Interval for the specified interface.
IC
ip ospf transmit-delay Sets the OSPF Transit Delay for the specified interface.
IC
maximum-paths Sets the number of paths that OSPF can report for a given destination.
ROSPF
nsf Enables OSPF graceful restart. ROSPF
nsf helper Allow OSPF to act as a helpful neighbor for a restarting router.
ROSPF
Command Description Modea
Command Groups 146
2CSNXXX_SWUM200.book Page 147 Tuesday, December 10, 2013 1:22 PM
nsf helper strict-lsa- checking
Set an OSPF helpful neighbor exit helper mode whenever a topology change occurs.
ROSPF
nsf restart-interval Configures the length of the grace period on the restarting router.
ROSPF
network area Enables OSPFv2 on an interface and sets its area ID if the IP address of an interface is covered by this network command.
ROSPF
passive-interface Sets the interface or tunnel as passive. IC
passive-interface default Enables the global passive mode by default for all interfaces.
ROSPF
passive-interface Sets the interface or tunnel as passive. ROSPF
redistribute Configures OSPF protocol to allow redistribution of routes from the specified source protocol/routers.
ROSPF
router-id Sets a 4-digit dotted-decimal number uniquely identifying the router OSPF ID.
ROSPF
router ospf Enters Router OSPF mode. GC
show ip ospf Displays information relevant to the OSPF router.
PE
show ip ospf abr Displays the internal OSPF routing table entries to Area Border Routers (ABR).
PE
show ip ospf area Displays information about the identified OSPF area.
PE
show ip ospf asbr Displays the internal OSPF routing table entries to Autonomous System Boundary Routes (ASBR).
PE
show ip ospf database Displays information about the link state database when OSPF is enabled.
PE
show ip ospf database database-summary
Displays the number of each type of LSA in the database for each area and for the router.
PE
show ip ospf interface Displays the information for the IFO object or virtual interface tables.
PE
Command Description Modea
Command Groups 147
2CSNXXX_SWUM200.book Page 148 Tuesday, December 10, 2013 1:22 PM
OSPFv3
show ip ospf interface brief
Displays brief information for the IFO object or virtual interface tables.
PE
show ip ospf interface stats
Displays the statistics for a specific interface. PE
show ip ospf neighbor Displays information about OSPF neighbors. PE
show ip ospf range Displays information about the area ranges for the specified area-id.
PE
show ip ospf statistics Displays information about recent Shortest Path First (SPF) calculations.
PE
show ip ospf stub table Displays the OSPF stub table. PE
show ip ospf virtual-link Displays the OSPF Virtual Interface information for a specific area and neighbor.
PE
show ip ospf virtual-links brief
Displays the OSPF Virtual Interface information for all areas in the system.
PE
timers pacing flood Adjusts the rate at which OSPFv2 sends LS Update packets
OG
timers pacing lsa-group Tunes how OSPF groups LSAs for periodic refresh.
OG
timers spf Configures the SPF delay and hold time. ROSPF
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
area default-cost (Router OSPFv3)
Configures the monetary default cost for the stub area.
ROSV3
area nssa (Router OSPFv3)
Configures the specified areaid to function as an NSSA.
ROSV3
area nssa default-info- originate (Router OSPFv3 Config)
Configures the metric value and type for the default route advertised into the NSSA.
ROSV3
Command Description Modea
Command Groups 148
2CSNXXX_SWUM200.book Page 149 Tuesday, December 10, 2013 1:22 PM
area nssa no-redistribute Configures the NSSA ABR so that learned external routes will not be redistributed to the NSSA.
ROSV3
area nssa no-summary Configures the NSSA so that summary LSAs are not advertised into the NSSA.
ROSV3
area nssa translator-role Configures the translator role of the NSSA. ROSV3
area nssa translator-stab- intv
Configures the translator stability interval of the NSSA.
ROSV3
area range (Router OSPFv3)
Creates an area range for a specified NSSA. ROSV3
area stub Creates a stub area for the specified area ID. ROSV3
area stub no-summary Disables the import of Summary LSAs for the stub area identified by areaid.
ROSV3
area virtual-link Creates the OSPF virtual interface for the specified areaid and neighbor.
ROSV3
area virtual-link dead- interval
Configures the dead interval for the OSPF virtual interface on the virtual interface identified by areaid and neighbor.
ROSV3
area virtual-link hello- interval
Configures the hello interval for the OSPF virtual interface on the virtual interface identified by areaid and neighbor.
ROSV3
area virtual-link retransmit-interval
Configures the retransmit interval for the OSPF virtual interface on the virtual interface identified by areaid and neighbor.
ROSV3
area virtual-link transmit- delay
Configures the transmit delay for the OSPF virtual interface on the virtual interface identified by areaid and neighbor.
ROSV3
default-information originate (Router OSPFv3 Configuration)
Controls the advertisement of default routes. ROSV3
default-metric Sets a default for the metric of distributed routes. ROSV3
distance ospf Sets the route preference value of OSPF in the router.
ROSV3
Command Description Modea
Command Groups 149
2CSNXXX_SWUM200.book Page 150 Tuesday, December 10, 2013 1:22 PM
enable Resets the default administrative mode of OSPF in the router (active).
ROSV3
exit-overflow-interval Configures the exit overflow interval for OSPF. ROSV3
external-lsdb-limit Configures the external LSDB limit for OSPF. ROSV3
ipv6 ospf Enables OSPF on a router interface or loopback interface.
IC
ipv6 ospf area Sets the OSPF area to which the specified router interface belongs.
IC
ipv6 ospf cost Configures the cost on an OSPF interface. IC
ipv6 ospf dead-interval Sets the OSPF dead interval for the specified interface.
IC
ipv6 ospf hello-interval Sets the OSPF hello interval for the specified interface.
IC
ipv6 ospf mtu-ignore Disables OSPF maximum transmission unit (MTU) mismatch detection.
IC
ipv6 ospf network Changes the default OSPF network type for the interface.
IC
ipv6 ospf priority Sets the OSPF priority for the specified router interface.
IC
ipv6 ospf retransmit- interval
Sets the OSPF retransmit interval for the specified interface.
IC
ipv6 ospf transmit-delay Sets the OSPF Transmit Delay for the specified interface.
IC
ipv6 router ospf Enters Router OSPFv3 Configuration mode. GC
maximum-paths Sets the number of paths that OSPF can report for a given destination.
ROSV3
nsf Enables OSPF graceful restart. ROSV3
nsf helper Allows OSPF to act as a helpful neighbor for a restarting router.
ROSV3
nsf helper strict-lsa- checking
Requires that an OSPF helpful neighbor exit helper mode whenever a topology change occurs.
ROSV3
Command Description Modea
Command Groups 150
2CSNXXX_SWUM200.book Page 151 Tuesday, December 10, 2013 1:22 PM
nsf restart-interval Configures the length of the grace period on the restarting router.
ROSV3
passive-interface Sets the interface or tunnel as passive. IC
passive-interface default Enables the global passive mode by default for all interfaces.
ROSV3
redistribute Configures the OSPFv3 protocol to allow redistribution of routes from the specified source protocol/routers.
ROSV3
router-id Sets a 4-digit dotted-decimal number uniquely identifying the Router OSPF ID.
ROSV3
show ipv6 ospf Displays information relevant to the OSPF router.
PE
show ipv6 ospf abr Displays the internal OSPFv3 routes to reach Area Border Routers (ABR).
PE
show ipv6 ospf area Displays information about the area. PE
show ipv6 ospf asbr Displays the internal OSPFv3 routes to reach Autonomous System Boundary Routes (ASBR).
PE
show ipv6 ospf border- routers
Displays internal OSPFv3 routers to reach Area Border Routers (ABR) and Autonomous System Boundary Routers (ASBR).
UE or PE
show ipv6 ospf database Displays information about the link state database when OSPFv3 is enabled.
PE
show ipv6 ospf database database-summary
Displays the number of each type of LSA in the database and the total number of LSAs in the database.
PE
show ipv6 ospf interface Displays the information for the IFO object or virtual interface tables.
PE
show ipv6 ospf interface brief
Displays brief information for the IFO object or virtual interface tables.
PE
show ipv6 ospf interface stats
Displays the statistics for a specific interface. UE
show ipv6 ospf interface vlan
Displays OSPFv3 configuration and status information for a specific VLAN.
PE
Command Description Modea
Command Groups 151
2CSNXXX_SWUM200.book Page 152 Tuesday, December 10, 2013 1:22 PM
Router Discovery Protocol
show ipv6 ospf neighbor Displays information about OSPF neighbors. PE
show ipv6 ospf range Displays information about the area ranges for the specified area identifier.
PE
show ipv6 ospf stub table Displays the OSPF stub table. PE
show ipv6 ospf virtual- links
Displays the OSPF Virtual Interface information for a specific area and neighbor.
PE
show ipv6 ospf virtual- link brief
Displays the OSPFV3 Virtual Interface information for all areas in the system.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
ip irdp Enables Router Discovery on an interface. IC
ip irdp holdtime Configures the value, in seconds, of the holdtime field of the router advertisement sent from this interface.
IC
ip irdp maxadvertinterval Configures the maximum time, in seconds, allowed between sending router advertisements from the interface.
IC
ip irdp minadvertinterval Configures the minimum time, in seconds, allowed between sending router advertisements from the interface.
IC
ip irdp multicast Sends router advertisements as IP multicast packets.
IC
ip irdp preference Configures the preference of the address as a default router address relative to other router addresses on the same subnet.
IC
show ip irdp Displays the router discovery information for all interfaces, or for a specified interface.
PE
Command Description Modea
Command Groups 152
2CSNXXX_SWUM200.book Page 153 Tuesday, December 10, 2013 1:22 PM
Routing Information Protocol
Command Description Modea
auto-summary Enables the RIP auto-summarization mode. RIP
default-information originate (Router RIP Configuration)
Controls the advertisement of default routes. RIP
default-metric Sets a default for the metric of distributed routes.
RIP
distance rip Sets the route preference value of RIP in the router.
RIP
distribute-list out Specifies the access list to filter routes received from the source protocol.
RIP
enable Resets the default administrative mode of RIP in the router (active).
RIP
hostroutesaccept Enables the RIP hostroutesaccept mode. RIP
ip rip Enables RIP on a router interface. IC
ip rip authentication Sets the RIP Version 2 Authentication Type and Key for the specified interface.
IC
ip rip receive version Configures the interface to allow RIP control packets of the specified version(s) to be received.
IC
ip rip send version Configures the interface to allow RIP control packets of the specified version to be sent.
IC
redistribute Configures OSPF protocol to allow redistribution of routes from the specified source protocol/routers.
PIP
router rip Enters Router RIP mode. GC
show ip rip Displays information relevant to the RIP router. PE
show ip rip interface Displays information related to a particular RIP interface.
PE
show ip rip interface brief Displays general information for each RIP interface.
PE
split-horizon Sets the RIP split horizon mode. RIP
Command Groups 153
2CSNXXX_SWUM200.book Page 154 Tuesday, December 10, 2013 1:22 PM
Tunnel Interface
Virtual Router Redundancy
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
interface tunnel Enables the interface configuration mode for a tunnel.
GC
show interfaces tunnel Displays the parameters related to tunnel such as tunnel mode, tunnel source address and tunnel destination address.
PE
tunnel destination Specifies the destination transport address of the tunnel.
IC
tunnel mode ipv6ip Specifies the mode of the tunnel. IC
tunnel source Specifies the source transport address of the tunnel, either explicitly or by reference to an interface.
IC
Command Description Modea
ip vrrp Enables the administrative mode of Virtual Router Redundancy Protocol (VRRP) for the router.
GC
vrrp accept-mode Enables the VRRP Master to accept ping packets sent to one of the virtual routers IP addresses.
IC
vrrp authentication Sets the authentication details value for the virtual router configured on a specified interface.
IC
vrrp description Assigns a description to the VRRP group. IC
vrrp ip Sets the virtual router IP address value for an interface.
IC
Command Groups 154
2CSNXXX_SWUM200.book Page 155 Tuesday, December 10, 2013 1:22 PM
vrrp mode Enables the virtual router configured on an interface. Enabling the status field starts a virtual router.
IC
vrrp preempt Sets the preemption mode value for the virtual router configured on a specified interface.
IC
vrrp priority Sets the priority value for the virtual router configured on a specified interface.
IC
vrrp timers advertise Sets the frequency, in seconds, that an interface on the specified virtual router sends a virtual router advertisement.
IC
vrrp timers learn Configures the router, when it is acting as backup virtual router for a VRRR group, to learn the advertisement interval used by the master virtual router.
IC
vrrp track interface Alters the priority of the VRRP router based on the availability of its interfaces.
IC
vrrp track ip route Tracks route reachability. IC
show vrrp Displays the global VRRP configuration and status as well as the brief or detailed status of one or all VRRP groups.
UE or PE
show vrrp interface Displays all configuration information and VRRP router statistics of a virtual router configured on a specific interface.
UE or PE
show vrrp interface brief Displays information about each virtual router configured on the switch.
PE
show vrrp interface stats Displays the statistical information about each virtual router configured on the switch.
PE
Pingable VRRP Commands
ip vrrp accept-mode Enables the VRRP Master to accept ping packets sent to one of the virtual routers IP addresses.
IC
show ip vrrp interface Displays the configured value for Accept Mode. UE or PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
Command Groups 155
2CSNXXX_SWUM200.book Page 156 Tuesday, December 10, 2013 1:22 PM
Utility Commands
Auto-Install
Captive Portal
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
boot auto-copy-sw Enables or disables Stack Firmware Synchronization.
GC
boot auto-copy-sw allow- downgrade
Enables downgrading the firmware version on the stack member if the firmware version on the manager is older than the firmware version on the member.
GC
boot host autoreboot Enables rebooting the device (no administrative intervention) when the auto-image is successfully downloaded.
GC
boot host autosave Enables/disables automatically saving the downloaded configuration on the switch.
GC
boot host dhcp Enables/disables Auto Config on the switch. GC
boot host retrycount Set the number of attempts to download a configuration.
GC
show auto-copy-sw Displays Stack Firmware Synchronization configuration status.
PE
show boot Displays the current status of the Auto Config process.
PE
Command Description Modea
authentication timeout Configures the authentication timeout. CP
captive-portal Enables the captive portal configuration mode. GC
enable Globally enables captive portal. CPI
http port Configures an additional HTTP port for captive portal to monitor.
CP
Command Groups 156
2CSNXXX_SWUM200.book Page 157 Tuesday, December 10, 2013 1:22 PM
https port Configures an additional HTTPS port for captive portal to monitor.
CP
show captive-portal Displays the status of captive portal. PE
show captive-portal status Reports the status of all captive portal instances in the system.
PE
block Blocks all traffic for a captive portal configuration.
CPI
configuration Enables the captive portal instance mode. CP
enable Enables a captive portal configuration. CPI
group Configures the group number for a captive portal configuration.
CPI
interface Associates an interface with a captive portal configuration.
CPI
locale Associates an interface with a captive portal configuration.
CPI
name (Captive Portal) Configures the name for a captive portal configuration.
CPI
protocol Configures the protocol mode for a captive portal configuration.
CPI
redirect Enables the redirect mode for a captive portal configuration.
CPI
redirect-url Configures the redirect URL for a captive portal configuration.
CPI
session-timeout Configures the session timeout for a captive portal configuration.
CPI
verification Configures the verification mode for a captive portal configuration.
CPI
captive-portal client deauthenticate
Deauthenticates a specific captive portal client. PE
show captive-portal client status
Displays client connection details or a connection summary for connected captive portal users.
PE
Command Description Modea
Command Groups 157
2CSNXXX_SWUM200.book Page 158 Tuesday, December 10, 2013 1:22 PM
show captive-portal configuration client status
Displays the clients authenticated to all captive portal configurations or a to specific configuration.
PE
show captive-portal interface client status
Displays information about clients authenticated on all interfaces or a specific interface.
PE
show captive-portal interface configuration status
Displays the clients authenticated to all captive portal configurations or a to specific configuration.
PE
clear captive-portal users Deletes all captive portal user entries. PE
no user Deletes a user from the local user database. CP
show captive-portal user Displays all configured users or a specific user in the captive portal local user database.
PE
user group Associates a group with a captive portal user.
user-logout Enables captive portal users to log out of the portal.
CPI
user name Modifies the user name for a local captive portal user.
CP
user password Creates a local user or changes the password for an existing user.
CP
user session-timeout Sets the session timeout value for a captive portal user.
CP
show captive-portal configuration
Displays the operational status of each captive portal configuration.
PE
show captive-portal configuration interface
Displays information about all interfaces assigned to a captive portal configuration or about a specific interface assigned to a captive portal configuration.
PE
show captive-portal configuration locales
Displays locales associated with a specific captive portal configuration.
PE
show captive-portal configuration status
Displays information about all configured captive portal configurations or a specific captive portal configuration.
PE
Command Description Modea
Command Groups 158
2CSNXXX_SWUM200.book Page 159 Tuesday, December 10, 2013 1:22 PM
CLI Macro
Clock
user group Creates a user group. CP
user group moveusers Moves a group's users to a different group. CP
user group name Configures a group name. CP
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
macro name Creates a user-defined macro. GC
macro global apply Use to apply a macro. GC
macro global trace Applies and traces a macro. GC
macro global description Appends a line to the global macro description. GC
macro apply Use to apply a macro. IC
macro trace Applies and traces a macro. IC
macro description Appends a line to the macro description. IC
show parser macro Displays information about defined macros. PE
Command Description Modea
show sntp configuration Displays the SNTP configuration. PE
show sntp server Displays the preconfigured SNTP servers. PE
show sntp status Displays the SNTP status. PE
sntp authenticate Set to require authentication for received NTP traffic from servers.
GC
sntp authentication-key Defines an authentication key for SNTP. GC
sntp broadcast client enable Enables SNTP Broadcast clients. GC
sntp client poll timer Defines polling time for the SNTP client. GC
Command Description Modea
Command Groups 159
2CSNXXX_SWUM200.book Page 160 Tuesday, December 10, 2013 1:22 PM
Command Line Configuration Scripting
sntp server Configures the SNTP server to use SNTP to request and accept NTP traffic from it.
GC
sntp trusted-key Authenticates the identity of a system to which Simple Network Time Protocol (SNTP) will synchronize.
GC
sntp unicast client enable Enables clients to use Simple Network Time Protocol (SNTP) predefined Unicast clients.
GC
clock timezone hours-offset Sets the offset to Coordinated Universal Time. GC
clock summer-time recurring
Sets the summertime offset to UTC recursively every year.
GC
clock summer-time date Sets the summertime offset to UTC. GC
show clock Displays the time and date from the system clock.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Configuration and Image Files
script apply Applies commands in the script to the switch. PE
script delete Deletes a specific script. PE
script list Lists all scripts present in the switch. PE
script show Displays the contents of a script file. PE
script validate Validates a script file. PE
Command Description Modea
boot system Specifies the system image that the switch loads at startup.
PE
clear config Restores switch to default configuration. PE
copy Copies files from a source to a destination. PE
Command Description Modea
Command Groups 160
2CSNXXX_SWUM200.book Page 161 Tuesday, December 10, 2013 1:22 PM
Denial of Service
delete Deletes a file from a flash memory. PE
delete backup-image Deletes a file from a flash memory device. PE
delete backup-config Deletes the backup configuration file. PE
delete startup-config Deletes the startup configuration file. PE
dir Prints the contents of the flash file system. PE
erase Erases the startup configuration, the backup configuration, or the backup image.
PE
filedescr Adds a description to a file. PE
rename Renames the file present in flash. PE
show backup-config Displays contents of a backup configuration file.
PE
show bootvar Displays the active system image file that the switch loads at startup.
UE
show running-config Displays the contents of the currently running configuration file.
PE
show startup-config Displays the startup configuration file contents. PE
write Copies the running configuration image to the startup configuration.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
dos-control firstfrag Enables Minimum TCP Header Size Denial of Service protection.
GC
dos-control icmp Enables Maximum ICMP Packet Size Denial of Service protections.
GC
dos-control l4port Enables L4 Port Denial of Service protection. GC
dos-control sipdip Enables Source IP Address = Destination IP Address (SIP=DIP) Denial of Service protection.
GC
dos-control tcpflag Enables TCP Flag Denial of Service protections. GC
Command Description Modea
Command Groups 161
2CSNXXX_SWUM200.book Page 162 Tuesday, December 10, 2013 1:22 PM
Line
dos-control tcpfrag Enables TCP Fragment Denial of Service protection.
GC
ip icmp echo-reply Enables or disables the generation of ICMP Echo Reply messages.
GC
ip icmp error-interval Limits the rate at which IPv4 ICMP error messages are sent.
GC
ip unreachables Enables the generation of ICMP Destination Unreachable messages.
IC
ip redirects Enables the generation of ICMP Redirect messages.
IC
ipv6 icmp error-interval Limits the rate at which ICMPv6 error messages are sent.
GC
ipv6 unreachables Enables the generation of ICMPv6 Destination Unreachable messages.
IC
show dos-control Displays Denial of Service configuration information.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
exec-timeout Configures the interval that the system waits for user input.
LC
history Enables the command history function. LC
history size Changes the command history buffer size for a particular line.
LC
line Identifies a specific line for configuration and enters the line configuration command mode.
GC
show line Displays line parameters. UE
speed Sets the line baud rate. LC
Command Description Modea
Command Groups 162
2CSNXXX_SWUM200.book Page 163 Tuesday, December 10, 2013 1:22 PM
Management ACL
Password Management
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
deny (management) Defines a deny rule. MA
management access-class Defines which management access-list is used. GC
management access-list Defines a management access-list, and enters the access-list for configuration.
GC
permit (management) Defines a permit rule. MA
show management access- class
Displays the active management access-list. PE
show management access- list
Displays management access-lists. PE
Command Description Modea
passwords aging Implements aging on the passwords such that users are required to change passwords when they expire.
GC
passwords history Enables the administrator to set the number of previous passwords that are stored to ensure that users do not reuse their passwords too frequently.
GC
passwords lock-out Enables the administrator to strengthen the security of the switch by enabling the user lockout feature. When a lockout count is configured, a user who is logging in must enter the correct password within that count.
GC
passwords min-length Enables the administrator to enforce a minimum length required for a password.
GC
passwords strength-check Enables the Password Strength feature. GC
passwords strength minimum uppercase-letters
Enforces a minimum number of uppercase letters that a password should contain.
GC
Command Groups 163
2CSNXXX_SWUM200.book Page 164 Tuesday, December 10, 2013 1:22 PM
PHY Diagnostics
passwords strength minimum lowercase-letters
Enforces a minimum number of lowercase letters that a password must contain.
GC
passwords strength minimum numeric- characters
Enforces a minimum number of numeric numbers that a password should contain.
GC
passwords strength minimum special-characters
Enforces a minimum number of special characters that a password may contain.
GC
passwords strength max- limit consecutive-characters
Enforces a maximum number of consecutive characters that a password can contain.
GC
passwords strength max- limit repeated-characters
Enforces a maximum repeated characters that a password should contain.
GC
passwords strength minimum character-classes
Enforces the minimum number of character classes (uppercase letters, lowercase letters, numeric characters and special characters) that a password must contain.
GC
passwords strength exclude- keyword
Enforces a maximum number of consecutive characters that a password can contain.
GC
enable password encrypted Used by an Administrator to transfer the enable password between devices without having to know the password.
PE
show passwords configuration
Displays the configuration parameters for password configuration.
PE
show passwords result Displays the last password set result information.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
show copper-ports tdr Displays the last TDR (Time Domain Reflectometry) tests on specified ports.
PE
show fiber-ports optical- transceiver
Displays the optical transceiver diagnostics. PE
Command Description Modea
Command Groups 164
2CSNXXX_SWUM200.book Page 165 Tuesday, December 10, 2013 1:22 PM
Power Over Ethernet (PoE)
test copper-port tdr Diagnoses with TDR (Time Domain Reflectometry) technology the quality and characteristics of a copper cable attached to a port.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
power inline Enables/disables the ability of the port to deliver power.
IC (Ethernet)
power inline detection Configures the detection type that tells which types of PDs will be detected and powered by the switch.
IC
power inline high-power Configures the port high power mode. IC
power inline limit Configures the type of power limit. IC
power inline management Sets the power management type. GC
power inline powered- device
Adds a comment or description of the powered device type.
IC (Ethernet)
power inline priority Configures the port priority level for the delivery of power to an attached device.
IC (Ethernet)
power inline reset Use to reset the port. IC
power inline usage- threshold
Configures the system power usage threshold level at which lower priority ports are disconnected.
GC
clear power inline statistics Clears the PoE statistics. PE
show power inline Reports current PoE configuration and status.
PE
show power inline firmware-version
Displays the version of the PoE controller firmware present on the switch file system.
PE
Command Description Modea
Command Groups 165
2CSNXXX_SWUM200.book Page 166 Tuesday, December 10, 2013 1:22 PM
RMON
SDM Templates
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
rmon alarm Configures alarm conditions. GC
rmon collection history Enables a Remote Monitoring (RMON) MIB history statistics group on an interface.
IC
rmon event Configures an RMON event. GC
rmon hcalarm Configures high capacity alarms. GC
show rmon alarm Displays alarm configurations. UE
show rmon alarms Displays the alarms summary table. UE and PE
show rmon collection history Displays the requested group of statistics. UE
show rmon events Displays the RMON event table. UE
show rmon hcalarm Displays the high capacity alarms. PE
show rmon history Displays RMON Ethernet Statistics history. UE
show rmon log Displays the RMON logging table. UE
show rmon statistics Displays RMON Ethernet Statistics. UE
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
sdm prefer Changes the template that will be active after the next reboot.
GC
show sdm prefer Views the currently active SDM template and its scaling parameters, or views the scaling parameters for an inactive template.
PE
Command Groups 166
2CSNXXX_SWUM200.book Page 167 Tuesday, December 10, 2013 1:22 PM
Serviceability Tracing
Command Description Modea
debug arp Enables tracing of ARP packets. PE
debug auto-voip Enables Auto VOIP debug messages. PE
debug clear Disables all debug traces. PE
debug console Enables the display of debug trace output on the login session in which it is executed.
PE
debug dot1ag Enable the tracing of CFM components for events and CFM PDUs based on the type of packet for reception and transmission.
PE
debug dot1x Enables dot1x packet tracing. PE
debug igmpsnooping Enables tracing of IGMP Snooping packets transmitted and/or received by the switch.
PE
debug ip acl Enables debug of IP Protocol packets matching the ACL criteria.
PE
debug ip dvmrp Traces DVMRP packet reception and transmission.
PE
debug ip igmp Traces IGMP packet reception and transmission.
PE
debug ip mcache Traces MDATA packet reception and transmission.
PE
debug ip pimdm packet Traces PIMDM packet reception and transmission.
PE
debug ip pimsm packet Traces PIMSM packet reception and transmission.
PE
debug ip vrrp Enables VRRP debug protocol messages. PE
debug ipv6 dhcp Displays debug information about DHCPv6 client activities and to trace DHCPv6 packets to and from the local DHCPv6 client.
PE
debug ipv6 mcache Traces MDATAv6 packet reception and transmission.
PE
debug ipv6 mld Traces MLD packet reception and transmission. PE
Command Groups 167
2CSNXXX_SWUM200.book Page 168 Tuesday, December 10, 2013 1:22 PM
debug ipv6 pimdm Traces PIMDMv6 packet reception and transmission.
PE
debug ipv6 pimsm Traces PIMSMv6 packet reception and transmission.
PE
debug isdp Traces ISDP packet reception and transmission. PE
debug lacp Traces of LACP packets received and transmitted by the switch.
PE
debug mldsnooping Traces MLD snooping packet reception and transmission.
PE
debug ospf Enables tracing of OSPF packets received and transmitted by the switch.
PE
debug ospfv3 Enables tracing of OSPFv3 packets received and transmitted by the switch.
PE
debug ping Enables tracing of ICMP echo requests and responses.
PE
debug rip Enables tracing of RIP requests and responses. PE
debug sflow Enables sFlow debug packet trace. PE
debug spanning-tree Traces spanning tree BPDU packet reception and transmission.
PE
debug vrrp Enables VRRP debug protocol messages. PE
exception core-file Configures the core dump file name. GC
exception dump Configures the core dump location. GC
exception protocol Enables full core dumps. GC
exception switch-chip- register
Enables the dumping of the switch chip registers in case of an exception.
GC
show debugging Displays packet tracing configurations. PE
show exception Displays the core dump configuration parameters.
PE
write core Generates a core file on demand and either, reboots the switch or tests the core file configuration.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
Command Groups 168
2CSNXXX_SWUM200.book Page 169 Tuesday, December 10, 2013 1:22 PM
sFlow
SNMP
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
sflow destination Configures sFlow collector parameters (owner string, receiver timeout, ip address, and port).
GC
sflow polling Enables a new sflow poller instance for the data source if rcvr_idx is valid.
GC
sflow polling (Interface Mode)
Enable a new sflow poller instance for this data source if rcvr_idx is valid.
IC
sflow sampling Enables a new sflow sampler instance for this data source if rcvr_idx is valid.
GC
sflow sampling (Interface Mode)
Enables a new sflow sampler instance for this data source if rcvr_idx is valid.
IC
show sflow agent Displays the sflow agent information. PE
show sflow destination Displays all the configuration information related to the sFlow receivers.
PE
show sflow polling Displays the sFlow polling instances created on the switch.
PE
show sflow sampling Displays the sFlow sampling instances created on the switch.
PE
Command Description Modea
show snmp Displays the SNMP status. PE
show snmp engineID Displays the SNMP engine ID. PE
show snmp filters Displays the configuration of filters. PE
show snmp group Displays the configuration of groups. PE
show snmp user Displays the configuration of users. PE
show snmp views Displays the configuration of views. PE
show trapflags Displays SNMP traps globally or displays specific SNMP traps.
PE
Command Groups 169
2CSNXXX_SWUM200.book Page 170 Tuesday, December 10, 2013 1:22 PM
SSH
snmp-server community Sets up the community access string to permit access to SNMP protocol.
GC
snmp-server community- group
Maps SNMP v1 and v2 security models to the group name.
GC
snmp-server contact Sets up a system contact (sysContact) string. GC
snmp-server enable traps Enables SNMP traps globally or enables specific SNMP traps.
GC
snmp-server engineID local Specifies the Simple Network Management Protocol (SNMP) engine ID on the local switch.
GC
snmp-server filter Creates or updates an SNMP server filter entry. GC
snmp-server group Configures a new SNMP group or a table that maps SNMP users to SNMP views.
GC
snmp-server host Specifies the recipient of SNMP notifications. GC
snmp-server location Sets the system location string. GC
snmp-server user Configures a new SNMP Version 3 user. GC
snmp-server view Creates or updates a Simple Network Management Protocol (SNMP) server view entry.
GC
snmp-server v3-host Specifies the recipient of Simple Network Management Protocol Version 3 (SNMPv3) notifications.
GC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
cryptho key generate dsa Generates DSA key pairs for the switch. GC
crypto key generate rsa Generates RSA key pairs for the switch. GC
crypto key pubkey-chain ssh Enters SSH Public Key-chain configuration mode.
GC
crypto key zeroize pubkey- chain
Erases all public key chains or the public key chain for a user.
GC
Command Description Modea
Command Groups 170
2CSNXXX_SWUM200.book Page 171 Tuesday, December 10, 2013 1:22 PM
Syslog
crypto key zeroize {rsa|dsa} Deletes the RSA or DSA keys from the switch.
GC
ip ssh port Specifies the port to be used by the SSH server. GC
ip ssh pubkey-auth Enables public key authentication for incoming SSH sessions.
GC
ip ssh server Enables the switch to be configured from a SSH server connection.
GC
key-string Manually specifies a SSH public key. SK
no crypto certificate Removes the SSH public keys from the switch.
GC
show crypto key mypubkey Displays its own SSH public keys stored on the switch.
PE
show crypto key pubkey- chain ssh
Displays SSH public keys stored on the switch. PE
show ip ssh Displays the SSH server configuration. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
clear logging Clears messages from the internal logging buffer.
PE
clear logging file Clears messages from the logging file. PE
description (Logging) Describes the syslog server. L
level Specifies the importance level of syslog messages.
L
logging cli-command Enable CLI command logging. GC
logging Logs messages to a syslog server. GC
logging audit Enables switch auditing. GC
logging buffered Limits syslog messages displayed from an internal buffer based on severity.
GC
Command Description Modea
Command Groups 171
2CSNXXX_SWUM200.book Page 172 Tuesday, December 10, 2013 1:22 PM
System Management
logging console Limits messages logged to the console based on severity.
GC
logging facility Configures the facility to be used in log messages.
GC
logging file Limits syslog messages sent to the logging file based on severity.
GC
logging on Controls error messages logging. GC
logging protocol Logs messages in RFC5424 format. GC
logging snmp Enables SNMP Set command logging. GC
logging web-session Enables web session logging. GC
port Specifies the port number of syslog messages. L
show logging Displays the state of logging and the syslog messages stored in the internal buffer.
PE
show logging file Displays the state of logging and the syslog messages stored in the logging file.
PE
show syslog-servers Displays the syslog servers settings. PE
terminal monitor Enables the display of logging messages on the terminal.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
asset-tag Specifies the switch asset-tag. GC
banner exec Sets the message that is displayed after a successful login.
GC
banner login Sets the message that is displayed just before the login prompt.
GC
banner motd Specifies message-of-the-day banner. GC
banner motd acknowledge
Acknowledges message-of-the-day banner. GC
Command Description Modea
Command Groups 172
2CSNXXX_SWUM200.book Page 173 Tuesday, December 10, 2013 1:22 PM
clear checkpoint statistics
Clears the statistics for the checkpointing process.
GC
clear counters stack- ports
Clears the statistics for all stack-ports. PE
connect Connects to the serial console of a different stack member.
PE
cut-through mode Enables the cut-through mode on the switch. GC
exec-banner Enables exec banner on the console, telnet or SSH connection.
LC
exit Disconnects the serial connection to the remote unit.
UE
hostname Specifies or modifies the switch host name. GC
initiate failover Forces failover of management unit. GC
load-interval Loads the interface utilization measurement interval.
IC
locate Locates a switch by LED blinking. PE
login-banner Enables login banner on the console, telnet, or SSH connection.
LC
logout Disconnects the serial connection to a remote unit on a stack member.
UE
member Configures the switch. SG
motd-banner Enables motd on the console, telnet, or SSH connection.
LC
nsf Specifies non-stop forwarding. GC
ping Sends ICMP echo request packets to another node on the network.
UE
quit Disconnects the serial connection to the remote unit on a stack member.
UE
reload Reloads the operating system. PE
set description Associates a text description with a switch in the stack.
SG
Command Description Modea
Command Groups 173
2CSNXXX_SWUM200.book Page 174 Tuesday, December 10, 2013 1:22 PM
slot Configures a slot in the system. GC
show banner Displays banner information. PE
show checkpoint statistics
Displays the statistics for the checkpointing process.
PE
show cut-through mode Show the cut-through mode on the switch. PE
show idprom interface interface-id
Displays the optics EEPRM contents in a user- readable format.
UE or PE
show interfaces advanced firmware
Displays the firmware revision of the PHY for a port.
PE
show interfaces interface-id
Displays the static and dynamic parameters for the optics.
UE or PE
show interfaces utilization
Displays the interface utilization. PE
show memory cpu Checks the total and available RAM space on the switch.
PE
show nsf Shows non-stop forwarding status. PE
show power-usage- history
Shows the history of unit power consumption for the unit specified in the command and total stack power consumption.
PE
show process cpu Checks the CPU utilization for each process currently running on the switch.
PE
show sessions Displays a list of the open telnet sessions to remote hosts.
PE
show slot Displays information about all the slots in the system or for a specific slot.
UE
show supported cardtype Displays information about all card types supported in the system.
UE
show supported switchtype
Displays information about all supported switch types.
UE
show switch Displays information about the switch status. UE
show system Displays system information. UE
show system fan Explicitly displays the fan status. UE or PE
Command Description Modea
Command Groups 174
2CSNXXX_SWUM200.book Page 175 Tuesday, December 10, 2013 1:22 PM
Telnet Server
show system id Displays the service ID information. UE
show system power Displays information about the system level power consumption.
UE or PE
show system temperature
Displays information about the system temperature and fan status.
UE or PE
show tech-support Displays system and configuration information (for debugging/calls to technical support).
PE
show users Displays information about the active users, including which profiles have been assigned to local user accounts and which profiles are active for logged-in users.
PE
show version Displays the system version information. UE
stack Sets the mode to Stack Global Configuration mode.
GC
stack-port Sets the mode to Stack Global Configuration mode to configure Stack ports as either Stacking ports or as Ethernet ports.
GC
stack-port interface shutdown
Enables or disable the stack port administratively.
SC
standby Configures the standby in the stack. SG
switch renumber Changes the identifier for a switch in the stack. GC
telnet Logs into a host that supports Telnet. PE
traceroute Discovers the IP routes that packets actually take when travelling to their destinations.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
ip telnet server disable Enables/disables the Telnet service on the switch.
GC
ip telnet port Configures the Telnet TCP port number on the switch.
GC
Command Description Modea
Command Groups 175
2CSNXXX_SWUM200.book Page 176 Tuesday, December 10, 2013 1:22 PM
Terminal Length
Time Ranges
USB Flash Drive
show ip telnet Displays the status of the Telnet server and the Telnet TCP port number.
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
terminal length Sets the terminal length. PE
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
time-range Creates a time range identified by name, consisting of one absolute time entry and/or one or more periodic time entries.
GC
absolute Adds an absolute time entry to a time range. TRC
periodic Adds a periodic time entry to a time range. TRC
show time-range Displays a time range and all the absolute/periodic time entries that are defined for the time range.
PE
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types.
unmount usb Makes the USB flash device inactive. PE
show usb Displays the USB flash device details. PE
dir usb Displays the USB device contents and memory statistics.
PE
Command Description Modea
Command Groups 176
2CSNXXX_SWUM200.book Page 177 Tuesday, December 10, 2013 1:22 PM
User Interface
Web Server
Command Description Modea
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
enable Enters the privileged EXEC mode. UE
end Gets the CLI user control back to the privileged execution mode or user execution mode.
Any
exit Exits any configuration mode to the previously highest mode in the CLI mode hierarchy.
(All)
exit (EXEC) Closes an active terminal session by logging off the switch.
UE
quit Closes an active terminal session by logging off the switch.
UE
Command Description Modea
common-name Specifies the common-name for the device. CC
country Specifies the country. CC
crypto certificate generate Generates a HTTPS certificate. GC
crypto certificate import Imports a certificate signed by the Certification Authority for HTTPS.
GC
crypto certificate request Generates and displays a certificate request for HTTPS.
PE
duration Specifies the duration in days. CC
ip http port Specifies the TCP port for use by a web browser to configure the switch.
GC
ip http server Enables the switch to be configured from a browser.
GC
ip http secure-certificate Configures the active certificate for HTTPS. GC
ip http secure-port Configures a TCP port for use by a secure web browser to configure the switch.
GC
ip http secure-server Enables the switch to be configured, monitored, or modified securely from a browser.
GC
Command Groups 177
2CSNXXX_SWUM200.book Page 178 Tuesday, December 10, 2013 1:22 PM
key-generate Specifies the key-generate. CC
location Specifies the location or city name. CC
organization-unit Specifies the organization-unit or department name.
CC
show crypto certificate mycertificate
Displays the SSL certificates of your switch. PE
show ip http server status Displays the HTTP server status information. PE
show ip http server secure status
Displays the HTTP secure server status information.
UE or PE
state Specifies the state or province name. CC
a. For the meaning of each Mode abbreviation, see Mode Types on page 87.
Command Description Modea
Command Groups 178
2CSNXXX_SWUM200.book Page 179 Tuesday, December 10, 2013 1:22 PM
2 Using the CLI Dell Networking N2000/N3000/N4000 Series Switches
Introduction This chapter describes the basics of entering and editing the Dell Networking N2000/N3000/N4000 Series Command Line Interface (CLI) commands and defines the command hierarchy. It also explains how to activate the CLI and implement its major functions.
This chapter covers the following topics:
Entering and Editing CLI Commands
CLI Command Modes
Starting the CLI
Using CLI Functions and Tools
Entering and Editing CLI Commands A CLI command is a series of keywords and arguments. The total number of characters that may be entered in a single command is limited to 1536 characters. Keywords identify a command and arguments specify configuration parameters. For example, in the command show interfaces status gigabitethernet 1/0/5, show, interfaces and status are keywords; gigabitethernet is an argument that specifies the interface type, and1/0/5 specifies the unit/slot/port.
When working with the CLI, the command options are not displayed. The command is not selected by a menu but is entered manually. To see what commands are available in each mode or within an Interface Configuration, the CLI provides a method of displaying the available commands, the command syntax requirements and in some instances parameters required to complete the command. The standard command to request context-sensitive help is the key.
Using the CLI 179
2CSNXXX_SWUM200.book Page 180 Tuesday, December 10, 2013 1:22 PM
Two instances where the help information can be displayed are:
Keyword lookup The key is entered in place of a command. A list of all valid commands and corresponding help messages is displayed.
Partial keyword lookup A command is incomplete and the key is entered in place of a parameter. The matched parameters for this command are displayed.
The following features and conventions are applicable to CLI command entry and editing:
History Buffer
Negating Commands
Show Command
Command Completion
Short Form Commands
Keyboard Shortcuts
Operating on Multiple Objects (Range)
Command Scripting
CLI Command Notation Conventions
Interface Naming Conventions
History Buffer Every time a command is entered in the CLI, it is recorded in an internally managed Command History buffer. Commands are stored in the buffer, which operates on a First In First Out (FIFO) basis. These commands can be recalled, reviewed, modified, and reissued. This buffer is not preserved after switch resets.
Using the CLI 180
2CSNXXX_SWUM200.book Page 181 Tuesday, December 10, 2013 1:22 PM
Table 2-1. History Buffer
By default, the history buffer system is enabled, but it can be disabled at any time. The standard number of 10 stored commands can be increased to 216. By configuring 0, the effect is the same as disabling the history buffer system. For information about the command syntax for configuring the command history buffer, see the history size command on page 1491 in the Line command mode chapter of this guide.
Negating Commands For many commands, the prefix keyword no is entered to cancel the effect of a command or reset the configuration to the default value. Nearly all configuration commands have this capability. This guide describes the negation effect for all commands to which it applies.
Show Command The show command executes in the User Executive (EXEC), Privileged Executive (EXEC), Configuration mode, interface Configuration mode and all configuration submodes such as interface Configuration mode with command completion. Output from show commands is paginated. Use the terminal length command to set the number of lines displayed in a page. When the paging prompt appears, press the space bar to display the next page of output or the enter key to display the next line of output.
Example:
console>en
console#configure
console(config)#interface gi1/0/1
Keyword Source or Destination
Up-arrow key
Recalls commands in the history buffer, beginning with the most recent command. Repeats the key sequence to recall successively older commands.
Down-arrow key
Returns to more recent commands in the history buffer after recalling commands with the up-arrow key. Repeating the key sequence recalls more recent commands in succession.
Using the CLI 181
2CSNXXX_SWUM200.book Page 182 Tuesday, December 10, 2013 1:22 PM
console(config-if-Gi1/0/1)#show interface status
Port Name Duplex Speed Neg Link Flow Control
State Status
--------- ------------------------- ------ ------- ---- ------ ------------
Gi1/0/1 N/A Unknown Auto Down Inactive
Gi1/0/2 N/A Unknown Auto Down Inactive
Gi1/0/3 N/A Unknown Auto Down Inactive
Gi1/0/4 N/A Unknown Auto Down Inactive
Gi1/0/5 N/A Unknown Auto Down Inactive
Gi1/0/6 N/A Unknown Auto Down Inactive
Command Completion CLI can complete partially entered commands when the user presses the
Short Form Commands The CLI supports the short forms of all commands. As long as it is possible to recognize the entered command unambiguously, the CLI accepts the short form of the command as if the user typed the full command.
Keyboard Shortcuts The CLI has a range of keyboard shortcuts to assist in editing the CLI commands. The help command, when used in the User EXEC and Privileged EXEC modes, displays the keyboard short cuts.
Table 2-2 contains the CLI shortcuts displayed by the help command.
Using the CLI 182
2CSNXXX_SWUM200.book Page 183 Tuesday, December 10, 2013 1:22 PM
Table 2-2. CLI Shortcuts
Parameters Command line parameters are entered by the user to choose an individual value or range of values for the specific command. Command line parameters are not syntax or range checked until the carriage return is entered.
Keyboard Key Description
Related manuals for Dell PowerConnect 2048 Networking Solution CLI Reference Guide
Manualsnet FAQs
If you want to find out how the PowerConnect Dell works, you can view and download the Dell PowerConnect 2048 Networking Solution CLI Reference Guide on the Manualsnet website.
Yes, we have the CLI Reference Guide for Dell PowerConnect as well as other Dell manuals. All you need to do is to use our search bar and find the user manual that you are looking for.
The CLI Reference Guide should include all the details that are needed to use a Dell PowerConnect. Full manuals and user guide PDFs can be downloaded from Manualsnet.com.
The best way to navigate the Dell PowerConnect 2048 Networking Solution CLI Reference Guide is by checking the Table of Contents at the top of the page where available. This allows you to navigate a manual by jumping to the section you are looking for.
This Dell PowerConnect 2048 Networking Solution CLI Reference Guide consists of sections like Table of Contents, to name a few. For easier navigation, use the Table of Contents in the upper left corner.
You can download Dell PowerConnect 2048 Networking Solution CLI Reference Guide free of charge simply by clicking the “download” button in the upper right corner of any manuals page. This feature allows you to download any manual in a couple of seconds and is generally in PDF format. You can also save a manual for later by adding it to your saved documents in the user profile.
To be able to print Dell PowerConnect 2048 Networking Solution CLI Reference Guide, simply download the document to your computer. Once downloaded, open the PDF file and print the Dell PowerConnect 2048 Networking Solution CLI Reference Guide as you would any other document. This can usually be achieved by clicking on “File” and then “Print” from the menu bar.