Dell PowerConnect
PCM6220, PCM6348, PCM8024,
PCM8024-k
CLI Reference Guide
Regulatory Model: PCM6220, PCM6348,
PCM8024, PCM8024-k
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
InMon Corporation. Cisco
United States and certain other countries. Microsoft
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.
®
is a registered trademark of Broadcom Corp. sFlow® is a registered trademark of
®
is a registered trademark of Cisco Systems, Inc. and/or its affiliates in the
®
and Windows®are registered trademarks of
Regulatory Model PCM6220, PCM6348, PCM8024, PCM8024-k
2013 - March Rev. A04
Contents
1 Command Groups . . . . . . . . . . . . . . . . . . 77
Introduction . . . . . . . . . . . . . . . . . . . . . . . 77
Command Groups . . . . . . . . . . . . . . . . . . . . 77
Mode Types . . . . . . . . . . . . . . . . . . . . . . . 81
Layer 2 Commands
Data Center Technology Commands. . . . . . . . . . . 118
Layer 3 Commands . . . . . . . . . . . . . . . . . . . . 120
Utility Commands
. . . . . . . . . . . . . . . . . . . . 83
. . . . . . . . . . . . . . . . . . . . 147
2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 169
Introduction . . . . . . . . . . . . . . . . . . . . . . . 169
Entering and Editing CLI Commands. . . . . . . . . . . 169
CLI Command Modes
Starting the CLI
Using CLI Functions and Tools. . . . . . . . . . . . . . 200
. . . . . . . . . . . . . . . . . . 179
. . . . . . . . . . . . . . . . . . . . . . 192
Contents 3
3 Layer 2 Switching Commands . . . . . . . . 241
4 AAA Commands . . . . . . . . . . . . . . . . . . . 243
TACACS+ Accounting . . . . . . . . . . . . . . . . . . 244
Commands in this Chapter. . . . . . . . . . . . . . . . 245
aaa authentication dot1x default . . . . . . . . . . . . 246
aaa authentication enable
. . . . . . . . . . . . . . . . 247
aaa authentication login. . . . . . . . . . . . . . . . . 249
aaa authorization . . . . . . . . . . . . . . . . . . . . 250
aaa authorization network default radius
. . . . . . . . 253
aaa ias-user username . . . . . . . . . . . . . . . . . 253
aaa new-model . . . . . . . . . . . . . . . . . . . . . 254
clear (IAS)
. . . . . . . . . . . . . . . . . . . . . . . . 255
authorization . . . . . . . . . . . . . . . . . . . . . . . 256
enable authentication . . . . . . . . . . . . . . . . . . 257
enable password
. . . . . . . . . . . . . . . . . . . . 258
ip http authentication . . . . . . . . . . . . . . . . . . 259
ip https authentication. . . . . . . . . . . . . . . . . . 260
login authentication
. . . . . . . . . . . . . . . . . . . 261
password (aaa IAS User Configuration). . . . . . . . . 262
password (Line Configuration) . . . . . . . . . . . . . 263
Contents 4
password (User EXEC) . . . . . . . . . . . . . . . . . . 264
show aaa ias-users
. . . . . . . . . . . . . . . . . . . 265
show aaa statistics . . . . . . . . . . . . . . . . . . . 266
show authentication methods. . . . . . . . . . . . . . 267
show authorization methods
. . . . . . . . . . . . . . 268
show users accounts . . . . . . . . . . . . . . . . . . 270
show users login-history . . . . . . . . . . . . . . . . 271
username
. . . . . . . . . . . . . . . . . . . . . . . . . 272
username unlock . . . . . . . . . . . . . . . . . . . . 275
5 Administrative Profiles Commands . . . . 277
Overview . . . . . . . . . . . . . . . . . . . . . . . . . 277
Commands in this Chapter
admin-profile. . . . . . . . . . . . . . . . . . . . . . . 279
description (Administrative Profile Config). . . . . . . 280
. . . . . . . . . . . . . . . . 278
rule
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
show admin-profiles. . . . . . . . . . . . . . . . . . . 282
show admin-profiles brief. . . . . . . . . . . . . . . . 283
show cli modes
. . . . . . . . . . . . . . . . . . . . . 284
6 ACL Commands . . . . . . . . . . . . . . . . . . . 287
ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 287
Contents 5
Commands in this Chapter. . . . . . . . . . . . . . . . 290
access-list
. . . . . . . . . . . . . . . . . . . . . . . . 290
deny | permit (IP ACL) . . . . . . . . . . . . . . . . . . 292
deny | permit (Mac-Access-List-Configuration) . . . . 294
ip access-group
. . . . . . . . . . . . . . . . . . . . . 296
mac access-group . . . . . . . . . . . . . . . . . . . . 297
mac access-list extended . . . . . . . . . . . . . . . . 298
mac access-list extended rename
. . . . . . . . . . . 299
service-acl input. . . . . . . . . . . . . . . . . . . . . 300
show service-acl interface . . . . . . . . . . . . . . . 301
show ip access-lists
. . . . . . . . . . . . . . . . . . . 302
show mac access-list . . . . . . . . . . . . . . . . . . 303
7 Address Table Commands . . . . . . . . . . . 305
Commands in this Chapter. . . . . . . . . . . . . . . . 306
clear mac address-table
. . . . . . . . . . . . . . . . . 306
mac address-table aging-time . . . . . . . . . . . . . 307
mac address-table multicast forbidden address . . . . 308
mac address-table static vlan
. . . . . . . . . . . . . . 309
port security . . . . . . . . . . . . . . . . . . . . . . . 310
port security max . . . . . . . . . . . . . . . . . . . . 311
show mac address-table multicast
. . . . . . . . . . . 312
Contents 6
show mac address-table . . . . . . . . . . . . . . . . 313
show mac address-table address
. . . . . . . . . . . . 315
show mac address-table count . . . . . . . . . . . . . 316
show mac address-table dynamic . . . . . . . . . . . 317
show mac address-table interface
. . . . . . . . . . . 318
show mac address-table static . . . . . . . . . . . . . 319
show mac address-table vlan . . . . . . . . . . . . . . 320
show ports security
. . . . . . . . . . . . . . . . . . . 321
show ports security addresses . . . . . . . . . . . . . 323
8 Auto-VoIP Commands . . . . . . . . . . . . . . 325
Commands in this Chapter. . . . . . . . . . . . . . . . 325
show switchport voice
switchport voice detect auto . . . . . . . . . . . . . . 328
. . . . . . . . . . . . . . . . . 326
9 CDP Interoperability Commands . . . . . . 331
Commands in this Chapter. . . . . . . . . . . . . . . . 331
clear isdp counters
clear isdp table . . . . . . . . . . . . . . . . . . . . . 332
isdp advertise-v2. . . . . . . . . . . . . . . . . . . . . 332
isdp enable
isdp holdtime. . . . . . . . . . . . . . . . . . . . . . . 334
. . . . . . . . . . . . . . . . . . . 331
. . . . . . . . . . . . . . . . . . . . . . . . 333
Contents 7
isdp timer . . . . . . . . . . . . . . . . . . . . . . . . 335
show isdp
. . . . . . . . . . . . . . . . . . . . . . . . 335
show isdp entry . . . . . . . . . . . . . . . . . . . . . 336
show isdp interface . . . . . . . . . . . . . . . . . . . 338
show isdp neighbors
. . . . . . . . . . . . . . . . . . . 339
show isdp traffic . . . . . . . . . . . . . . . . . . . . . 341
10 DHCP Layer 2 Relay Commands . . . . . . 343
Commands in this Chapter. . . . . . . . . . . . . . . . 343
dhcp l2relay (Global Configuration)
dhcp l2relay (Interface Configuration) . . . . . . . . . 344
dhcp l2relay circuit-id . . . . . . . . . . . . . . . . . . 345
dhcp l2relay remote-id
. . . . . . . . . . . . . . . . . . 346
dhcp l2relay trust . . . . . . . . . . . . . . . . . . . . 346
dhcp l2relay vlan. . . . . . . . . . . . . . . . . . . . . 347
. . . . . . . . . . . 343
show dhcp l2relay all
. . . . . . . . . . . . . . . . . . 348
show dhcp l2relay interface. . . . . . . . . . . . . . . 349
show dhcp l2relay stats interface. . . . . . . . . . . . 350
show dhcp l2relay subscription interface
. . . . . . . 351
show dhcp l2relay agent-option vlan . . . . . . . . . . 351
show dhcp l2relay vlan . . . . . . . . . . . . . . . . . 353
show dhcp l2relay circuit-id vlan
. . . . . . . . . . . . 354
Contents 8
show dhcp l2relay remote-id vlan. . . . . . . . . . . . 355
clear dhcp l2relay statistics interface
. . . . . . . . . 356
11 DHCP Management Interface Commands 357
Commands in this Chapter. . . . . . . . . . . . . . . . 357
release dhcp . . . . . . . . . . . . . . . . . . . . . . . 358
renew dhcp
. . . . . . . . . . . . . . . . . . . . . . . 359
debug dhcp packet . . . . . . . . . . . . . . . . . . . 360
show dhcp lease. . . . . . . . . . . . . . . . . . . . . 361
12 DHCP Snooping Commands . . . . . . . . . . 365
Commands in this Chapter. . . . . . . . . . . . . . . . 366
clear ip dhcp snooping binding . . . . . . . . . . . . . 366
clear ip dhcp snooping statistics . . . . . . . . . . . . 367
ip dhcp snooping
. . . . . . . . . . . . . . . . . . . . . 367
ip dhcp snooping binding . . . . . . . . . . . . . . . . 368
ip dhcp snooping database . . . . . . . . . . . . . . . 369
ip dhcp snooping database write-delay
. . . . . . . . 370
ip dhcp snooping limit . . . . . . . . . . . . . . . . . . 371
ip dhcp snooping log-invalid . . . . . . . . . . . . . . 372
ip dhcp snooping trust
. . . . . . . . . . . . . . . . . . 373
ip dhcp snooping verify mac-address . . . . . . . . . . 373
Contents 9
show ip dhcp snooping . . . . . . . . . . . . . . . . . 374
show ip dhcp snooping binding
. . . . . . . . . . . . . 375
show ip dhcp snooping database . . . . . . . . . . . . 376
show ip dhcp snooping interfaces . . . . . . . . . . . 377
show ip dhcp snooping statistics
. . . . . . . . . . . . 378
13 Dynamic ARP Inspection Commands . . 381
Commands in this Chapter. . . . . . . . . . . . . . . . 381
arp access-list . . . . . . . . . . . . . . . . . . . . . . 381
clear ip arp inspection statistics
ip arp inspection filter . . . . . . . . . . . . . . . . . . 383
ip arp inspection limit . . . . . . . . . . . . . . . . . . 383
ip arp inspection trust
. . . . . . . . . . . . . . . . . . 384
ip arp inspection validate . . . . . . . . . . . . . . . . 385
ip arp inspection vlan . . . . . . . . . . . . . . . . . . 386
. . . . . . . . . . . . 382
permit ip host mac host
. . . . . . . . . . . . . . . . . 387
show arp access-list . . . . . . . . . . . . . . . . . . 388
show ip arp inspection . . . . . . . . . . . . . . . . . 388
show ip arp inspection vlan
. . . . . . . . . . . . . . . 391
14 E-mail Alerting Commands . . . . . . . . . . 393
Commands in this Chapter. . . . . . . . . . . . . . . . 393
Contents 10
logging email . . . . . . . . . . . . . . . . . . . . . . 394
logging email urgent
. . . . . . . . . . . . . . . . . . . 396
logging traps . . . . . . . . . . . . . . . . . . . . . . . 397
logging email message-type to-addr . . . . . . . . . . 398
logging email from-addr
. . . . . . . . . . . . . . . . . 399
logging email message-type subject . . . . . . . . . . 399
logging email logtime . . . . . . . . . . . . . . . . . . 400
logging email test message-type
. . . . . . . . . . . . 401
show logging email statistics . . . . . . . . . . . . . . 402
clear logging email statistics . . . . . . . . . . . . . . 402
security
. . . . . . . . . . . . . . . . . . . . . . . . . . 403
mail-server ip-address | hostname . . . . . . . . . . . 404
port (Mail Server Configuration Mode) . . . . . . . . . 405
username (Mail Server Configuration Mode)
. . . . . . 405
password (Mail Server Configuration Mode). . . . . . 406
show mail-server . . . . . . . . . . . . . . . . . . . . 407
15 Ethernet Configuration Commands . . . . 409
Commands in this Chapter. . . . . . . . . . . . . . . . 410
clear counters . . . . . . . . . . . . . . . . . . . . . . 410
description . . . . . . . . . . . . . . . . . . . . . . . . 411
duplex
. . . . . . . . . . . . . . . . . . . . . . . . . . 412
Contents 11
flowcontrol. . . . . . . . . . . . . . . . . . . . . . . . 413
interface
. . . . . . . . . . . . . . . . . . . . . . . . . 414
interface range. . . . . . . . . . . . . . . . . . . . . . 415
mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
show interfaces advertise
. . . . . . . . . . . . . . . . 417
show interfaces configuration . . . . . . . . . . . . . 419
show interfaces counters . . . . . . . . . . . . . . . . 421
show interfaces description
. . . . . . . . . . . . . . . 424
show interfaces detail . . . . . . . . . . . . . . . . . . 425
show interfaces status . . . . . . . . . . . . . . . . . 427
show statistics
. . . . . . . . . . . . . . . . . . . . . . 428
show statistics switchport . . . . . . . . . . . . . . . 432
show storm-control . . . . . . . . . . . . . . . . . . . 434
shutdown
. . . . . . . . . . . . . . . . . . . . . . . . . 435
speed . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
storm-control broadcast . . . . . . . . . . . . . . . . . 437
storm-control multicast
storm-control unicast
. . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . 439
switchport protected . . . . . . . . . . . . . . . . . . 440
switchport protected name
. . . . . . . . . . . . . . . 441
show switchport protected . . . . . . . . . . . . . . . 442
Contents 12
16 Ethernet CFM Commands . . . . . . . . . . . 443
Commands in this Chapter. . . . . . . . . . . . . . . . 443
ethernet cfm domain . . . . . . . . . . . . . . . . . . . 444
service . . . . . . . . . . . . . . . . . . . . . . . . . . 445
ethernet cfm cc level
. . . . . . . . . . . . . . . . . . 446
ethernet cfm mep level . . . . . . . . . . . . . . . . . 447
ethernet cfm mep enable . . . . . . . . . . . . . . . . 448
ethernet cfm mep active
. . . . . . . . . . . . . . . . . 449
ethernet cfm mep archive-hold-time . . . . . . . . . . 450
ethernet cfm mip level . . . . . . . . . . . . . . . . . . 450
ping ethernet cfm
. . . . . . . . . . . . . . . . . . . . 451
traceroute ethernet cfm . . . . . . . . . . . . . . . . . 452
show ethernet cfm errors . . . . . . . . . . . . . . . . 454
show ethernet cfm domain
. . . . . . . . . . . . . . . 454
show ethernet cfm maintenance-points local . . . . . 455
show ethernet cfm maintenance-points remote . . . . 457
show ethernet cfm statistics
debug cfm
. . . . . . . . . . . . . . . . . . . . . . . . 459
. . . . . . . . . . . . . . 458
17 GVRP Commands . . . . . . . . . . . . . . . . . . 463
Commands in this Chapter. . . . . . . . . . . . . . . . 463
Contents 13
clear gvrp statistics . . . . . . . . . . . . . . . . . . . 463
garp timer
. . . . . . . . . . . . . . . . . . . . . . . . 464
gvrp enable (global) . . . . . . . . . . . . . . . . . . . 465
gvrp enable (interface) . . . . . . . . . . . . . . . . . 466
gvrp registration-forbid
. . . . . . . . . . . . . . . . . 467
gvrp vlan-creation-forbid . . . . . . . . . . . . . . . . 468
show gvrp configuration. . . . . . . . . . . . . . . . . 468
show gvrp error-statistics
. . . . . . . . . . . . . . . . 470
show gvrp statistics . . . . . . . . . . . . . . . . . . . 471
18 IGMP Snooping Commands . . . . . . . . . . 473
Commands in this Chapter. . . . . . . . . . . . . . . . 474
ip igmp snooping
show ip igmp snooping . . . . . . . . . . . . . . . . . 476
show ip igmp snooping groups . . . . . . . . . . . . . 477
. . . . . . . . . . . . . . . . . . . . . 474
show ip igmp snooping mrouter
. . . . . . . . . . . . . 478
ip igmp snooping vlan immediate-leave . . . . . . . . 479
ip igmp snooping vlan groupmembership-interval . . . 480
ip igmp snooping vlan last-member-query-interval
. . 481
ip igmp snooping vlan mcrtrexpiretime. . . . . . . . . 482
ip igmp snooping report-suppression. . . . . . . . . . 483
ip igmp snooping unregistered floodall
. . . . . . . . . 484
Contents 14
ip igmp snooping vlan mrouter . . . . . . . . . . . . . 484
19 IGMP Snooping Querier Commands . . . 487
Commands in this Chapter. . . . . . . . . . . . . . . . 487
ip igmp snooping querier . . . . . . . . . . . . . . . . 487
ip igmp snooping querier election participate . . . . . 489
ip igmp snooping querier query-interval
. . . . . . . . 490
ip igmp snooping querier timer expiry . . . . . . . . . 490
ip igmp snooping querier version . . . . . . . . . . . . 491
show ip igmp snooping querier
. . . . . . . . . . . . . 492
20 IP Addressing Commands . . . . . . . . . . . 495
Commands in this Chapter. . . . . . . . . . . . . . . . 495
clear host . . . . . . . . . . . . . . . . . . . . . . . . 496
clear ip address-conflict-detect
interface out-of-band . . . . . . . . . . . . . . . . . . 497
ip address (Out-of-Band) . . . . . . . . . . . . . . . . 498
ip address-conflict-detect run
ip address dhcp (Interface Config) . . . . . . . . . . . 500
ip default-gateway. . . . . . . . . . . . . . . . . . . . 501
. . . . . . . . . . . . 496
. . . . . . . . . . . . . . 499
ip domain-lookup
. . . . . . . . . . . . . . . . . . . . 502
ip domain-name . . . . . . . . . . . . . . . . . . . . . 503
Contents 15
ip host . . . . . . . . . . . . . . . . . . . . . . . . . . 504
ip name-server
. . . . . . . . . . . . . . . . . . . . . . 504
ipv6 address (Interface Config) . . . . . . . . . . . . . 505
ipv6 address dhcp . . . . . . . . . . . . . . . . . . . . 507
ipv6 enable (Interface Config)
. . . . . . . . . . . . . . 508
show hosts . . . . . . . . . . . . . . . . . . . . . . . . 508
show ip address-conflict . . . . . . . . . . . . . . . . 509
show ip helper-address
. . . . . . . . . . . . . . . . . 511
show ipv6 dhcp interface out-of-band statistics . . . . 512
show ipv6 interface out-of-band . . . . . . . . . . . . 513
21 IPv6 Access List Commands . . . . . . . . . 515
Commands in this Chapter. . . . . . . . . . . . . . . . 515
deny | permit (IPv6 ACL) . . . . . . . . . . . . . . . . . 516
ipv6 access-list . . . . . . . . . . . . . . . . . . . . . 518
ipv6 access-list rename
. . . . . . . . . . . . . . . . . 519
ipv6 traffic-filter . . . . . . . . . . . . . . . . . . . . . 520
show ipv6 access-lists . . . . . . . . . . . . . . . . . 521
22 IPv6 MLD Snooping Commands. . . . . . . 525
Commands in this Chapter. . . . . . . . . . . . . . . . 525
ipv6 mld snooping vlan groupmembership-interval . . 526
Contents 16
ipv6 mld snooping vlan immediate-leave . . . . . . . . 526
ipv6 mld snooping listener-message-suppression
. . . 527
ipv6 mld snooping vlan last-listener-query-interval . . 528
ipv6 mld snooping vlan mcrtexpiretime. . . . . . . . . 529
ipv6 mld snooping vlan mrouter
. . . . . . . . . . . . . 530
ipv6 mld snooping (Global) . . . . . . . . . . . . . . . 530
show ipv6 mld snooping . . . . . . . . . . . . . . . . . 531
show ipv6 mld snooping groups
. . . . . . . . . . . . . 533
show ipv6 mld snooping mrouter . . . . . . . . . . . . 534
23 IPv6 MLD Snooping Querier Commands 537
Commands in this Chapter. . . . . . . . . . . . . . . . 537
ipv6 mld snooping querier
ipv6 mld snooping querier (VLAN mode) . . . . . . . . 538
ipv6 mld snooping querier address . . . . . . . . . . . 539
. . . . . . . . . . . . . . . . 538
ipv6 mld snooping querier election participate
. . . . . 540
ipv6 mld snooping querier query-interval . . . . . . . . 541
ipv6 mld snooping querier timer expiry . . . . . . . . . 541
show ipv6 mld snooping querier
. . . . . . . . . . . . 542
24 IP Source Guard Commands . . . . . . . . . 545
Commands in this Chapter. . . . . . . . . . . . . . . . 545
Contents 17
ip verify source . . . . . . . . . . . . . . . . . . . . . 545
ip verify source port-security
. . . . . . . . . . . . . . 546
ip verify binding . . . . . . . . . . . . . . . . . . . . . 547
show ip verify interface . . . . . . . . . . . . . . . . . 547
show ip verify source interface
. . . . . . . . . . . . . 548
show ip source binding . . . . . . . . . . . . . . . . . 548
25 iSCSI Optimization Commands . . . . . . . 551
Commands in this Chapter. . . . . . . . . . . . . . . . 552
iscsi aging time
iscsi cos . . . . . . . . . . . . . . . . . . . . . . . . . 553
iscsi enable . . . . . . . . . . . . . . . . . . . . . . . 555
iscsi target port
show iscsi . . . . . . . . . . . . . . . . . . . . . . . . 558
show iscsi sessions . . . . . . . . . . . . . . . . . . . 559
. . . . . . . . . . . . . . . . . . . . . 552
. . . . . . . . . . . . . . . . . . . . . 556
26 Link Dependency Commands . . . . . . . . 563
Commands in this Chapter. . . . . . . . . . . . . . . . 563
action. . . . . . . . . . . . . . . . . . . . . . . . . . . 563
link-dependency group . . . . . . . . . . . . . . . . . 564
add gigabitethernet
add tengigabitethernet . . . . . . . . . . . . . . . . . 565
. . . . . . . . . . . . . . . . . . . 565
Contents 18
add port-channel. . . . . . . . . . . . . . . . . . . . . 566
depends-on
. . . . . . . . . . . . . . . . . . . . . . . . 567
show link-dependency . . . . . . . . . . . . . . . . . 568
27 LLDP Commands . . . . . . . . . . . . . . . . . . 571
Commands in this Chapter. . . . . . . . . . . . . . . . 572
clear lldp remote-data
clear lldp statistics . . . . . . . . . . . . . . . . . . . 573
dcb enable . . . . . . . . . . . . . . . . . . . . . . . . 574
lldp med
. . . . . . . . . . . . . . . . . . . . . . . . . 574
lldp med confignotification . . . . . . . . . . . . . . . 575
lldp med faststartrepeatcount. . . . . . . . . . . . . . 576
lldp med transmit-tlv
lldp notification . . . . . . . . . . . . . . . . . . . . . 577
lldp notification-interval. . . . . . . . . . . . . . . . . 578
. . . . . . . . . . . . . . . . . . 572
. . . . . . . . . . . . . . . . . . . 576
lldp receive
. . . . . . . . . . . . . . . . . . . . . . . 579
lldp timers . . . . . . . . . . . . . . . . . . . . . . . . 579
lldp transmit . . . . . . . . . . . . . . . . . . . . . . . 581
lldp transmit-mgmt
. . . . . . . . . . . . . . . . . . . . 581
lldp transmit-tlv . . . . . . . . . . . . . . . . . . . . . 582
show lldp. . . . . . . . . . . . . . . . . . . . . . . . . 583
show lldp interface
. . . . . . . . . . . . . . . . . . . 584
Contents 19
show lldp local-device . . . . . . . . . . . . . . . . . 585
show lldp med
. . . . . . . . . . . . . . . . . . . . . . 586
show lldp med interface. . . . . . . . . . . . . . . . . 587
show lldp med local-device detail . . . . . . . . . . . 588
show lldp med remote-device
. . . . . . . . . . . . . . 591
show lldp remote-device . . . . . . . . . . . . . . . . 594
show lldp statistics . . . . . . . . . . . . . . . . . . . 595
28 Multicast VLAN Registration Commands 599
Commands in this Chapter. . . . . . . . . . . . . . . . 600
mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
mvr group . . . . . . . . . . . . . . . . . . . . . . . . 601
mvr mode
mvr querytime . . . . . . . . . . . . . . . . . . . . . . 602
mvr vlan . . . . . . . . . . . . . . . . . . . . . . . . . 604
. . . . . . . . . . . . . . . . . . . . . . . . . 602
mvr immediate
. . . . . . . . . . . . . . . . . . . . . . 604
mvr type . . . . . . . . . . . . . . . . . . . . . . . . . 605
mvr vlan group . . . . . . . . . . . . . . . . . . . . . . 607
show mvr
. . . . . . . . . . . . . . . . . . . . . . . . . 608
show mvr members . . . . . . . . . . . . . . . . . . . 609
show mvr interface . . . . . . . . . . . . . . . . . . . 611
show mvr traffic
. . . . . . . . . . . . . . . . . . . . . 612
Contents 20
29 Port Aggregator Commands . . . . . . . . . 615
add interface. . . . . . . . . . . . . . . . . . . . . . . 615
duplex . . . . . . . . . . . . . . . . . . . . . . . . . . 616
lacp auto . . . . . . . . . . . . . . . . . . . . . . . . . 617
lacp off
. . . . . . . . . . . . . . . . . . . . . . . . . . 618
lacp static . . . . . . . . . . . . . . . . . . . . . . . . 618
minimum active uplinks . . . . . . . . . . . . . . . . . 619
mtu disable
. . . . . . . . . . . . . . . . . . . . . . . . 620
negotiation . . . . . . . . . . . . . . . . . . . . . . . . 621
no lacp . . . . . . . . . . . . . . . . . . . . . . . . . . 621
port-aggregator group
. . . . . . . . . . . . . . . . . . 622
show mac address-table . . . . . . . . . . . . . . . . 623
speed . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
vlan
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
30 Port Channel Commands . . . . . . . . . . . . 627
Static LAGS . . . . . . . . . . . . . . . . . . . . . . . 627
VLANs and LAGs . . . . . . . . . . . . . . . . . . . . . 628
LAG Thresholds
Port Channels . . . . . . . . . . . . . . . . . . . . . . 629
LAG Hashing . . . . . . . . . . . . . . . . . . . . . . . 629
. . . . . . . . . . . . . . . . . . . . . 628
Contents 21
Enhanced LAG Hashing . . . . . . . . . . . . . . . . . 630
Manual Aggregation of LAGs
. . . . . . . . . . . . . . 630
Manual Aggregation of LAGs . . . . . . . . . . . . . . 631
Flexible Assignment of Ports to LAGs. . . . . . . . . . 631
Commands in this Chapter
. . . . . . . . . . . . . . . . 631
channel-group . . . . . . . . . . . . . . . . . . . . . . 631
interface port-channel . . . . . . . . . . . . . . . . . . 632
interface range port-channel
. . . . . . . . . . . . . . 633
hashing-mode . . . . . . . . . . . . . . . . . . . . . . 634
lacp port-priority . . . . . . . . . . . . . . . . . . . . . 635
lacp system-priority
. . . . . . . . . . . . . . . . . . . 636
lacp timeout . . . . . . . . . . . . . . . . . . . . . . . 636
port-channel local-preference . . . . . . . . . . . . . 637
port-channel min-links
. . . . . . . . . . . . . . . . . 638
show interfaces port-channel . . . . . . . . . . . . . . 639
show lacp . . . . . . . . . . . . . . . . . . . . . . . . 640
show statistics port-channel
. . . . . . . . . . . . . . 642
31 Port Monitor Commands . . . . . . . . . . . . 647
Commands in this Chapter. . . . . . . . . . . . . . . . 647
monitor session . . . . . . . . . . . . . . . . . . . . . 648
show monitor session
. . . . . . . . . . . . . . . . . . 649
Contents 22
32 QoS Commands . . . . . . . . . . . . . . . . . . . 651
Access Control Lists . . . . . . . . . . . . . . . . . . . 651
Layer 2 ACLs . . . . . . . . . . . . . . . . . . . . . . . 652
Layer 3/4 IPv4 ACLs . . . . . . . . . . . . . . . . . . . 652
Class of Service (CoS)
. . . . . . . . . . . . . . . . . . 652
Queue Mapping . . . . . . . . . . . . . . . . . . . . . 653
PCM6220 Limitations. . . . . . . . . . . . . . . . . . . 654
Commands in this Chapter
. . . . . . . . . . . . . . . . 654
assign-queue. . . . . . . . . . . . . . . . . . . . . . . 655
class . . . . . . . . . . . . . . . . . . . . . . . . . . . 656
class-map
. . . . . . . . . . . . . . . . . . . . . . . . 657
class-map rename . . . . . . . . . . . . . . . . . . . . 657
classofservice dot1p-mapping . . . . . . . . . . . . . 658
classofservice ip-dscp-mapping
. . . . . . . . . . . . 659
classofservice trust . . . . . . . . . . . . . . . . . . . 663
conform-color . . . . . . . . . . . . . . . . . . . . . . 664
cos-queue min-bandwidth
cos-queue random-detect
. . . . . . . . . . . . . . . 666
. . . . . . . . . . . . . . . . 667
cos-queue strict . . . . . . . . . . . . . . . . . . . . . 669
diffserv
. . . . . . . . . . . . . . . . . . . . . . . . . . 670
drop. . . . . . . . . . . . . . . . . . . . . . . . . . . . 670
Contents 23
mark cos . . . . . . . . . . . . . . . . . . . . . . . . . 671
mark ip-dscp
. . . . . . . . . . . . . . . . . . . . . . . 672
mark ip-precedence . . . . . . . . . . . . . . . . . . . 673
match class-map. . . . . . . . . . . . . . . . . . . . . 673
match cos
. . . . . . . . . . . . . . . . . . . . . . . . 675
match destination-address mac. . . . . . . . . . . . . 675
match dstip. . . . . . . . . . . . . . . . . . . . . . . . 676
match dstip6
. . . . . . . . . . . . . . . . . . . . . . . 677
match dstl4port . . . . . . . . . . . . . . . . . . . . . 678
match ethertype . . . . . . . . . . . . . . . . . . . . . 678
match ip6flowlbl
. . . . . . . . . . . . . . . . . . . . . 679
match ip dscp . . . . . . . . . . . . . . . . . . . . . . 680
match ip precedence . . . . . . . . . . . . . . . . . . 681
match ip tos
. . . . . . . . . . . . . . . . . . . . . . . 682
match protocol . . . . . . . . . . . . . . . . . . . . . . 683
match source-address mac . . . . . . . . . . . . . . . 683
match srcip
match srcip6
. . . . . . . . . . . . . . . . . . . . . . . . 684
. . . . . . . . . . . . . . . . . . . . . . . 685
match srcl4port . . . . . . . . . . . . . . . . . . . . . 686
match vlan
. . . . . . . . . . . . . . . . . . . . . . . . 687
mirror. . . . . . . . . . . . . . . . . . . . . . . . . . . 687
Contents 24
police-simple . . . . . . . . . . . . . . . . . . . . . . 688
police-two-rate
. . . . . . . . . . . . . . . . . . . . . 689
policy-map . . . . . . . . . . . . . . . . . . . . . . . . 691
random-detect queue-parms . . . . . . . . . . . . . . 692
random-detect exponential-weighting-constant
. . . . 695
redirect. . . . . . . . . . . . . . . . . . . . . . . . . . 695
service-policy . . . . . . . . . . . . . . . . . . . . . . 696
show class-map
. . . . . . . . . . . . . . . . . . . . . 697
show classofservice dot1p-mapping . . . . . . . . . . 699
show classofservice ip-dscp-mapping . . . . . . . . . 700
show classofservice trust
. . . . . . . . . . . . . . . . 703
show diffserv. . . . . . . . . . . . . . . . . . . . . . . 704
show diffserv service interface . . . . . . . . . . . . . 705
show diffserv service interface port-channel
. . . . . 706
show diffserv service brief . . . . . . . . . . . . . . . 707
show interfaces cos-queue . . . . . . . . . . . . . . . 708
show interfaces random-detect
show policy-map
. . . . . . . . . . . . . . . . . . . . 711
. . . . . . . . . . . . . 710
show policy-map interface . . . . . . . . . . . . . . . 711
show service-policy
. . . . . . . . . . . . . . . . . . . 713
traffic-shape . . . . . . . . . . . . . . . . . . . . . . . 714
Contents 25
33 RADIUS Commands . . . . . . . . . . . . . . . . 717
Commands in this Chapter. . . . . . . . . . . . . . . . 720
aaa accounting dot1x default start-stop . . . . . . . . 721
accounting . . . . . . . . . . . . . . . . . . . . . . . . 723
acct-port
. . . . . . . . . . . . . . . . . . . . . . . . . 724
auth-port . . . . . . . . . . . . . . . . . . . . . . . . . 725
deadtime . . . . . . . . . . . . . . . . . . . . . . . . . 725
debug aaa accounting
. . . . . . . . . . . . . . . . . . 726
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
msgauth . . . . . . . . . . . . . . . . . . . . . . . . . 728
name (RADIUS server)
. . . . . . . . . . . . . . . . . . 728
primary . . . . . . . . . . . . . . . . . . . . . . . . . . 730
priority . . . . . . . . . . . . . . . . . . . . . . . . . . 730
radius-server attribute 4
. . . . . . . . . . . . . . . . . 731
radius-server deadtime . . . . . . . . . . . . . . . . . 732
radius-server host . . . . . . . . . . . . . . . . . . . . 733
radius-server key
radius-server retransmit
. . . . . . . . . . . . . . . . . . . . 734
. . . . . . . . . . . . . . . . . 735
radius-server source-ip . . . . . . . . . . . . . . . . . 736
radius-server timeout
. . . . . . . . . . . . . . . . . . 736
retransmit . . . . . . . . . . . . . . . . . . . . . . . . 737
Contents 26
show aaa servers . . . . . . . . . . . . . . . . . . . . 738
show accounting methods
. . . . . . . . . . . . . . . 740
show radius statistics . . . . . . . . . . . . . . . . . . 741
source-ip . . . . . . . . . . . . . . . . . . . . . . . . . 745
timeout
. . . . . . . . . . . . . . . . . . . . . . . . . . 746
usage. . . . . . . . . . . . . . . . . . . . . . . . . . . 746
34 Spanning Tree Commands . . . . . . . . . . . 749
Commands in this Chapter. . . . . . . . . . . . . . . . 750
clear spanning-tree detected-protocols
exit (mst) . . . . . . . . . . . . . . . . . . . . . . . . . 752
instance (mst) . . . . . . . . . . . . . . . . . . . . . . 752
name (mst)
. . . . . . . . . . . . . . . . . . . . . . . . 754
revision (mst). . . . . . . . . . . . . . . . . . . . . . . 755
show spanning-tree . . . . . . . . . . . . . . . . . . . 755
. . . . . . . . 751
show spanning-tree summary
. . . . . . . . . . . . . . 759
spanning-tree . . . . . . . . . . . . . . . . . . . . . . 760
spanning-tree auto-portfast . . . . . . . . . . . . . . . 761
spanning-tree bpdu flooding
. . . . . . . . . . . . . . 762
spanning-tree bpdu-protection . . . . . . . . . . . . . 762
spanning-tree cost. . . . . . . . . . . . . . . . . . . . 763
spanning-tree disable
. . . . . . . . . . . . . . . . . . 765
Contents 27
spanning-tree forward-time . . . . . . . . . . . . . . . 765
spanning-tree guard
. . . . . . . . . . . . . . . . . . . 766
spanning-tree loopguard . . . . . . . . . . . . . . . . 767
spanning-tree max-age . . . . . . . . . . . . . . . . . 768
spanning-tree max-hops
. . . . . . . . . . . . . . . . . 769
spanning-tree mode . . . . . . . . . . . . . . . . . . . 769
spanning-tree mst configuration . . . . . . . . . . . . 770
spanning-tree mst cost
. . . . . . . . . . . . . . . . . 771
spanning-tree mst port-priority . . . . . . . . . . . . . 772
spanning-tree mst priority . . . . . . . . . . . . . . . . 773
spanning-tree portfast
. . . . . . . . . . . . . . . . . . 774
spanning-tree portfast bpdufilter default . . . . . . . . 775
spanning-tree portfast default. . . . . . . . . . . . . . 776
spanning-tree port-priority
. . . . . . . . . . . . . . . 777
spanning-tree priority . . . . . . . . . . . . . . . . . . 777
spanning-tree tcnguard . . . . . . . . . . . . . . . . . 778
spanning-tree transmit hold-count
. . . . . . . . . . . 779
35 TACACS+ Commands . . . . . . . . . . . . . . . 781
Commands in this Chapter. . . . . . . . . . . . . . . . 781
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782
port
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 782
Contents 28
priority . . . . . . . . . . . . . . . . . . . . . . . . . . 783
show tacacs
. . . . . . . . . . . . . . . . . . . . . . . 784
tacacs-server host . . . . . . . . . . . . . . . . . . . . 785
tacacs-server key . . . . . . . . . . . . . . . . . . . . 786
tacacs-server timeout
. . . . . . . . . . . . . . . . . . 787
timeout . . . . . . . . . . . . . . . . . . . . . . . . . . 787
36 UDLD Commands . . . . . . . . . . . . . . . . . . 789
Detecting Unidirectional Links on a Device Port . . . . 789
Processing UDLD Traffic from Neighbors
UDLD in Normal-mode. . . . . . . . . . . . . . . . . . 790
UDLD in Aggressive-mode. . . . . . . . . . . . . . . . 790
Commands in this Chapter
. . . . . . . . . . . . . . . . 791
udld enable (Global Config) . . . . . . . . . . . . . . . 791
udld reset . . . . . . . . . . . . . . . . . . . . . . . . 792
. . . . . . . . 790
udld message time
. . . . . . . . . . . . . . . . . . . . 793
udld timeout interval. . . . . . . . . . . . . . . . . . . 793
udld enable (Interface Config). . . . . . . . . . . . . . 794
udld port
. . . . . . . . . . . . . . . . . . . . . . . . . 795
show udld . . . . . . . . . . . . . . . . . . . . . . . . 796
debug udld . . . . . . . . . . . . . . . . . . . . . . . . 797
Contents 29
37 VLAN Commands . . . . . . . . . . . . . . . . . . 799
Double VLAN Mode . . . . . . . . . . . . . . . . . . . 799
Independent VLAN Learning. . . . . . . . . . . . . . . 800
Protocol Based VLANs. . . . . . . . . . . . . . . . . . 800
IP Subnet Based VLANs
. . . . . . . . . . . . . . . . . 801
MAC-Based VLANs . . . . . . . . . . . . . . . . . . . 801
Private VLAN Commands . . . . . . . . . . . . . . . . 801
Commands in this Chapter
. . . . . . . . . . . . . . . . 804
dvlan-tunnel ethertype. . . . . . . . . . . . . . . . . . 805
interface vlan . . . . . . . . . . . . . . . . . . . . . . 806
interface range vlan
. . . . . . . . . . . . . . . . . . . 807
mode dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 808
name (VLAN Configuration) . . . . . . . . . . . . . . . 809
protocol group
. . . . . . . . . . . . . . . . . . . . . . 810
protocol vlan group . . . . . . . . . . . . . . . . . . . 811
protocol vlan group all. . . . . . . . . . . . . . . . . . 812
show dvlan-tunnel
show dvlan-tunnel interface
. . . . . . . . . . . . . . . . . . . . 813
. . . . . . . . . . . . . . 814
show interfaces switchport . . . . . . . . . . . . . . . 815
show port protocol
. . . . . . . . . . . . . . . . . . . . 819
show vlan . . . . . . . . . . . . . . . . . . . . . . . . 820
Contents 30
show vlan association mac . . . . . . . . . . . . . . . 821
show vlan association subnet
. . . . . . . . . . . . . . 822
switchport access vlan . . . . . . . . . . . . . . . . . 823
switchport general forbidden vlan . . . . . . . . . . . 824
switchport general acceptable-frame-type tagged-only
825
switchport general allowed vlan . . . . . . . . . . . . 826
switchport general ingress-filtering disable . . . . . . 827
switchport general pvid
. . . . . . . . . . . . . . . . . 828
switchport mode . . . . . . . . . . . . . . . . . . . . . 829
switchport trunk . . . . . . . . . . . . . . . . . . . . . 830
vlan
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 832
vlan (Global Config) . . . . . . . . . . . . . . . . . . . 833
vlan association mac . . . . . . . . . . . . . . . . . . 834
vlan association subnet
. . . . . . . . . . . . . . . . . 835
vlan database . . . . . . . . . . . . . . . . . . . . . . 835
vlan makestatic . . . . . . . . . . . . . . . . . . . . . 836
vlan protocol group
vlan protocol group add protocol
. . . . . . . . . . . . . . . . . . . 837
. . . . . . . . . . . . 838
vlan protocol group name . . . . . . . . . . . . . . . . 839
vlan protocol group remove
. . . . . . . . . . . . . . . 839
switchport private-vlan . . . . . . . . . . . . . . . . . 840
Contents 31
switchport mode private-vlan . . . . . . . . . . . . . . 841
private-vlan
. . . . . . . . . . . . . . . . . . . . . . . 842
show vlan private-vlan . . . . . . . . . . . . . . . . . 844
38 Voice VLAN Commands . . . . . . . . . . . . . 847
Commands in this Chapter. . . . . . . . . . . . . . . . 848
voice vlan
. . . . . . . . . . . . . . . . . . . . . . . . 848
voice vlan (Interface) . . . . . . . . . . . . . . . . . . 848
voice vlan data priority . . . . . . . . . . . . . . . . . 850
show voice vlan
. . . . . . . . . . . . . . . . . . . . . 850
39 802.1x Commands . . . . . . . . . . . . . . . . . 853
Local 802.1X Authentication Server . . . . . . . . . . . 853
MAC Authentication Bypass. . . . . . . . . . . . . . . 854
Guest VLAN
. . . . . . . . . . . . . . . . . . . . . . . 855
802.1x Monitor Mode . . . . . . . . . . . . . . . . . . 855
RADIUS-based Dynamic VLAN Assignment . . . . . . 856
Commands in this Chapter
. . . . . . . . . . . . . . . . 856
dot1x dynamic-vlan enable . . . . . . . . . . . . . . . 857
dot1x initialize . . . . . . . . . . . . . . . . . . . . . . 858
dot1x mac-auth-bypass
. . . . . . . . . . . . . . . . . 858
dot1x max-req . . . . . . . . . . . . . . . . . . . . . . 859
Contents 32
dot1x max-users . . . . . . . . . . . . . . . . . . . . . 860
dot1x port-control
. . . . . . . . . . . . . . . . . . . . 861
dot1x re-authenticate . . . . . . . . . . . . . . . . . . 862
dot1x reauthentication. . . . . . . . . . . . . . . . . . 863
dot1x system-auth-control
. . . . . . . . . . . . . . . . 863
dot1x system-auth-control monitor . . . . . . . . . . . 864
dot1x timeout guest-vlan-period . . . . . . . . . . . . 865
dot1x timeout quiet-period
. . . . . . . . . . . . . . . 866
dot1x timeout re-authperiod . . . . . . . . . . . . . . . 867
dot1x timeout server-timeout . . . . . . . . . . . . . . 867
dot1x timeout supp-timeout
. . . . . . . . . . . . . . . 868
dot1x timeout tx-period . . . . . . . . . . . . . . . . . 869
show dot1x . . . . . . . . . . . . . . . . . . . . . . . . 870
show dot1x authentication-history
. . . . . . . . . . . 871
show dot1x clients. . . . . . . . . . . . . . . . . . . . 873
show dot1x interface . . . . . . . . . . . . . . . . . . 876
show dot1x interface statistics
show dot1x users
. . . . . . . . . . . . . . . . . . . . 879
. . . . . . . . . . . . . 877
clear dot1x authentication–history . . . . . . . . . . . 880
dot1x guest-vlan
. . . . . . . . . . . . . . . . . . . . . 881
dot1x unauth-vlan . . . . . . . . . . . . . . . . . . . . 882
Contents 33
show dot1x advanced . . . . . . . . . . . . . . . . . . 882
40 Data Center Technology Commands . . . 885
41 Data Center Bridging Commands . . . . . 887
NOTE: Data Center Bridging Exchange Protocol . . . . 887
Interoperability with IEEE DCBX . . . . . . . . . . . . 891
Port Roles . . . . . . . . . . . . . . . . . . . . . . . . 891
Commands in this Chapter
. . . . . . . . . . . . . . . . 895
Data Center Bridging Capability Exchange Commands 896
datacenter-bridging . . . . . . . . . . . . . . . . . . . 896
lldp dcbx version
. . . . . . . . . . . . . . . . . . . . 897
lldp tlv-select dcbxp (dcb enable) . . . . . . . . . . . 898
lldp dcbx port-role. . . . . . . . . . . . . . . . . . . . 899
show lldp tlv-select
. . . . . . . . . . . . . . . . . . . 901
show lldp dcbx. . . . . . . . . . . . . . . . . . . . . . 902
Enhanced Transmission Selection (ETS) Commands . . 907
NOTE: classofservice traffic-class-group
. . . . . . . . 907
traffic-class-group max-bandwidth. . . . . . . . . . . 908
traffic-class-group min-bandwidth . . . . . . . . . . . 910
traffic-class-group strict
. . . . . . . . . . . . . . . . 911
traffic-class-group weight . . . . . . . . . . . . . . . 913
Contents 34
show classofservice traffic-class-group . . . . . . . . 914
show interfaces traffic-class-group
. . . . . . . . . . 915
42 FIP Snooping Commands . . . . . . . . . . . . 919
Setting Up FIP Snooping. . . . . . . . . . . . . . . . . 919
Commands in this Chapter. . . . . . . . . . . . . . . . 920
feature fip-snooping
fip-snooping enable . . . . . . . . . . . . . . . . . . . 922
fip-snooping fc-map . . . . . . . . . . . . . . . . . . . 923
fip-snooping port-mode
show fip-snooping . . . . . . . . . . . . . . . . . . . . 925
show fip-snooping enode . . . . . . . . . . . . . . . . 927
show fip-snooping fcf
show fip-snooping sessions. . . . . . . . . . . . . . . 932
show fip-snooping statistics . . . . . . . . . . . . . . 938
. . . . . . . . . . . . . . . . . . . 921
. . . . . . . . . . . . . . . . . 924
. . . . . . . . . . . . . . . . . . 929
show fip-snooping vlan
. . . . . . . . . . . . . . . . . 945
clear fip-snooping statistics. . . . . . . . . . . . . . . 946
43 Priority Flow Control Commands . . . . . . 949
Commands in this Chapter. . . . . . . . . . . . . . . . 950
priority-flow-control mode
priority-flow-control priority . . . . . . . . . . . . . . 952
. . . . . . . . . . . . . . . 950
Contents 35
clear priority-flow-control statistics . . . . . . . . . . 953
show interfaces priority-flow-control
. . . . . . . . . 953
44 Layer 3 Commands . . . . . . . . . . . . . . . . 957
45 ARP Commands . . . . . . . . . . . . . . . . . . . 959
ARP Aging . . . . . . . . . . . . . . . . . . . . . . . . 960
Commands in this Chapter. . . . . . . . . . . . . . . . 960
arp
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 960
arp cachesize . . . . . . . . . . . . . . . . . . . . . . 961
arp dynamicrenew . . . . . . . . . . . . . . . . . . . . 962
arp purge
arp resptime . . . . . . . . . . . . . . . . . . . . . . . 964
arp retries . . . . . . . . . . . . . . . . . . . . . . . . 965
arp timeout
. . . . . . . . . . . . . . . . . . . . . . . . . 963
. . . . . . . . . . . . . . . . . . . . . . . . 965
clear arp-cache . . . . . . . . . . . . . . . . . . . . . 966
clear arp-cache management . . . . . . . . . . . . . . 967
ip local-proxy-arp
. . . . . . . . . . . . . . . . . . . . 968
ip proxy-arp . . . . . . . . . . . . . . . . . . . . . . . 968
show arp . . . . . . . . . . . . . . . . . . . . . . . . . 969
Contents 36
46 DHCP Server and Relay Agent Commands 971
Commands in this Chapter. . . . . . . . . . . . . . . . 972
ip dhcp pool . . . . . . . . . . . . . . . . . . . . . . . 972
bootfile . . . . . . . . . . . . . . . . . . . . . . . . . . 975
clear ip dhcp binding
. . . . . . . . . . . . . . . . . . 976
clear ip dhcp conflict . . . . . . . . . . . . . . . . . . 976
client-identifier . . . . . . . . . . . . . . . . . . . . . 977
client-name
. . . . . . . . . . . . . . . . . . . . . . . 978
default-router . . . . . . . . . . . . . . . . . . . . . . 979
dns-server (IP DHCP Pool Config) . . . . . . . . . . . . 980
domain-name (IP DHCP Pool Config)
. . . . . . . . . . 981
hardware-address . . . . . . . . . . . . . . . . . . . . 981
host. . . . . . . . . . . . . . . . . . . . . . . . . . . . 982
ip dhcp bootp automatic
. . . . . . . . . . . . . . . . . 983
ip dhcp conflict logging . . . . . . . . . . . . . . . . . 984
ip dhcp excluded-address. . . . . . . . . . . . . . . . 985
ip dhcp ping packets
lease
. . . . . . . . . . . . . . . . . . . . . . . . . . . 987
. . . . . . . . . . . . . . . . . . . 986
netbios-name-server. . . . . . . . . . . . . . . . . . . 988
netbios-node-type
. . . . . . . . . . . . . . . . . . . . 989
network . . . . . . . . . . . . . . . . . . . . . . . . . 990
Contents 37
next-server. . . . . . . . . . . . . . . . . . . . . . . . 990
option
. . . . . . . . . . . . . . . . . . . . . . . . . . . 991
service dhcp . . . . . . . . . . . . . . . . . . . . . . . 995
sntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 996
show ip dhcp binding
. . . . . . . . . . . . . . . . . . 997
show ip dhcp conflict . . . . . . . . . . . . . . . . . . 998
show ip dhcp global configuration . . . . . . . . . . . 998
show ip dhcp pool
. . . . . . . . . . . . . . . . . . . . 999
show ip dhcp server statistics . . . . . . . . . . . . 1000
47 DHCPv6 Commands . . . . . . . . . . . . . . . 1003
clear ipv6 dhcp. . . . . . . . . . . . . . . . . . . . . 1003
dns-server (IPv6 DHCP Pool Config)
domain-name (IPv6 DHCP Pool Config) . . . . . . . . 1004
ipv6 dhcp pool . . . . . . . . . . . . . . . . . . . . . 1005
ipv6 dhcp relay
. . . . . . . . . . . . . . . . . . . . . 1006
ipv6 dhcp server . . . . . . . . . . . . . . . . . . . . 1007
prefix-delegation . . . . . . . . . . . . . . . . . . . 1008
. . . . . . . . . . 1004
service dhcpv6
. . . . . . . . . . . . . . . . . . . . . 1010
show ipv6 dhcp . . . . . . . . . . . . . . . . . . . . 1011
show ipv6 dhcp binding . . . . . . . . . . . . . . . . 1011
show ipv6 dhcp interface (User EXEC)
. . . . . . . . 1012
Contents 38
show ipv6 dhcp interface (Privileged EXEC) . . . . . 1014
show ipv6 dhcp pool
. . . . . . . . . . . . . . . . . . 1018
show ipv6 dhcp statistics . . . . . . . . . . . . . . . 1018
48 DVMRP Commands . . . . . . . . . . . . . . . 1021
Commands in this Chapter. . . . . . . . . . . . . . . 1021
ip dvmrp
ip dvmrp metric . . . . . . . . . . . . . . . . . . . . 1022
show ip dvmrp . . . . . . . . . . . . . . . . . . . . . 1023
show ip dvmrp interface
show ip dvmrp neighbor . . . . . . . . . . . . . . . . 1024
show ip dvmrp nexthop . . . . . . . . . . . . . . . . 1025
show ip dvmrp prune
show ip dvmrp route . . . . . . . . . . . . . . . . . . 1027
. . . . . . . . . . . . . . . . . . . . . . . . 1021
. . . . . . . . . . . . . . . . 1024
. . . . . . . . . . . . . . . . . 1026
49 GMRP Commands . . . . . . . . . . . . . . . . 1029
Commands in this Chapter. . . . . . . . . . . . . . . 1030
gmrp enable
. . . . . . . . . . . . . . . . . . . . . . 1030
show gmrp configuration . . . . . . . . . . . . . . . 1031
50 IGMP Commands . . . . . . . . . . . . . . . . . 1033
Commands in this Chapter. . . . . . . . . . . . . . . 1034
Contents 39
ip igmp . . . . . . . . . . . . . . . . . . . . . . . . . 1034
ip igmp last-member-query-count
. . . . . . . . . . . 1035
ip igmp last-member-query-interval . . . . . . . . . 1036
ip igmp query-interval . . . . . . . . . . . . . . . . . 1037
ip igmp query-max-response-time
. . . . . . . . . . 1038
ip igmp robustness. . . . . . . . . . . . . . . . . . . 1038
ip igmp startup-query-count. . . . . . . . . . . . . . 1039
ip igmp startup-query-interval
. . . . . . . . . . . . . 1040
ip igmp version. . . . . . . . . . . . . . . . . . . . . 1041
show ip igmp. . . . . . . . . . . . . . . . . . . . . . 1041
show ip igmp groups
. . . . . . . . . . . . . . . . . . 1042
show ip igmp interface . . . . . . . . . . . . . . . . 1043
show ip igmp membership . . . . . . . . . . . . . . 1045
show ip igmp interface stats
. . . . . . . . . . . . . 1045
ip igmp router-alert-check . . . . . . . . . . . . . . 1046
51 IGMP Proxy Commands . . . . . . . . . . . . 1049
Commands in this Chapter. . . . . . . . . . . . . . . 1049
ip igmp-proxy
ip igmp-proxy reset-status . . . . . . . . . . . . . . 1050
ip igmp-proxy unsolicit-rprt-interval . . . . . . . . . 1051
show ip igmp-proxy
. . . . . . . . . . . . . . . . . . . . . 1049
. . . . . . . . . . . . . . . . . . 1052
Contents 40
show ip igmp-proxy interface . . . . . . . . . . . . . 1053
show ip igmp-proxy groups
. . . . . . . . . . . . . . 1054
show ip igmp-proxy groups detail . . . . . . . . . . 1054
52 IP Helper/DHCP Relay Commands. . . . 1057
Commands in this Chapter. . . . . . . . . . . . . . . 1059
bootpdhcprelay maxhopcount
bootpdhcprelay minwaittime . . . . . . . . . . . . . 1060
clear ip helper statistics. . . . . . . . . . . . . . . . 1061
ip dhcp relay information check
ip dhcp relay information check-reply . . . . . . . . 1062
ip dhcp relay information option . . . . . . . . . . . 1063
ip dhcp relay information option-insert
ip helper-address (global configuration) . . . . . . . 1065
ip helper-address (interface configuration). . . . . . 1067
. . . . . . . . . . . . . 1059
. . . . . . . . . . . 1061
. . . . . . . . 1064
ip helper enable
. . . . . . . . . . . . . . . . . . . . 1069
show ip helper-address . . . . . . . . . . . . . . . . 1069
show ip dhcp relay. . . . . . . . . . . . . . . . . . . 1071
show ip helper statistics
. . . . . . . . . . . . . . . 1072
53 IP Routing Commands . . . . . . . . . . . . . 1075
Static Routes/ECMP Static Routes . . . . . . . . . . 1075
Contents 41
Static Reject Routes . . . . . . . . . . . . . . . . . . 1076
Default Routes
. . . . . . . . . . . . . . . . . . . . . 1076
Commands in this Chapter. . . . . . . . . . . . . . . 1076
encapsulation . . . . . . . . . . . . . . . . . . . . . 1077
ip address
. . . . . . . . . . . . . . . . . . . . . . . 1077
ip mtu. . . . . . . . . . . . . . . . . . . . . . . . . . 1079
ip netdirbcast . . . . . . . . . . . . . . . . . . . . . 1080
ip route
. . . . . . . . . . . . . . . . . . . . . . . . . 1081
ip route default . . . . . . . . . . . . . . . . . . . . . 1082
ip route distance . . . . . . . . . . . . . . . . . . . . 1083
ip routing
. . . . . . . . . . . . . . . . . . . . . . . . 1084
show ip brief . . . . . . . . . . . . . . . . . . . . . . 1085
show ip interface . . . . . . . . . . . . . . . . . . . 1085
show ip protocols
. . . . . . . . . . . . . . . . . . . 1088
show ip route . . . . . . . . . . . . . . . . . . . . . 1092
show ip route configured . . . . . . . . . . . . . . . 1094
show ip route connected
show ip route preferences
. . . . . . . . . . . . . . . 1095
. . . . . . . . . . . . . . 1096
show ip route summary . . . . . . . . . . . . . . . . 1097
show ip traffic
. . . . . . . . . . . . . . . . . . . . . 1098
show ip vlan . . . . . . . . . . . . . . . . . . . . . . 1101
Contents 42
show routing heap summary . . . . . . . . . . . . . 1101
54 IPv6 Routing Commands . . . . . . . . . . . 1105
IPv6 Limitations & Restrictions . . . . . . . . . . . . 1105
Commands in this Chapter. . . . . . . . . . . . . . . 1105
clear ipv6 neighbors . . . . . . . . . . . . . . . . . . 1106
clear ipv6 statistics
. . . . . . . . . . . . . . . . . . 1107
ipv6 address . . . . . . . . . . . . . . . . . . . . . . 1108
ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . 1109
ipv6 hop-limit
. . . . . . . . . . . . . . . . . . . . . 1110
ipv6 host . . . . . . . . . . . . . . . . . . . . . . . . 1110
ipv6 mld last-member-query-count . . . . . . . . . . 1111
ipv6 mld last-member-query-interval
. . . . . . . . . 1112
ipv6 mld-proxy . . . . . . . . . . . . . . . . . . . . . 1112
ipv6 mld-proxy reset-status . . . . . . . . . . . . . . 1113
ipv6 mld-proxy unsolicit-rprt-interval
. . . . . . . . . 1114
ipv6 mld query-interval . . . . . . . . . . . . . . . . 1114
ipv6 mld query-max-response-time . . . . . . . . . . 1115
ipv6 mld router
. . . . . . . . . . . . . . . . . . . . . 1116
ipv6 mtu . . . . . . . . . . . . . . . . . . . . . . . . 1117
ipv6 nd dad attempts. . . . . . . . . . . . . . . . . . 1118
ipv6 nd managed-config-flag
. . . . . . . . . . . . . 1119
Contents 43
ipv6 nd ns-interval . . . . . . . . . . . . . . . . . . . 1119
ipv6 nd other-config-flag
. . . . . . . . . . . . . . . 1120
ipv6 nd prefix. . . . . . . . . . . . . . . . . . . . . . 1121
ipv6 nd ra-interval . . . . . . . . . . . . . . . . . . . 1122
ipv6 nd ra-lifetime
. . . . . . . . . . . . . . . . . . . 1123
ipv6 nd reachable-time . . . . . . . . . . . . . . . . 1124
ipv6 nd suppress-ra . . . . . . . . . . . . . . . . . . 1125
ipv6 route
. . . . . . . . . . . . . . . . . . . . . . . . 1126
ipv6 route distance. . . . . . . . . . . . . . . . . . . 1127
ipv6 unicast-routing . . . . . . . . . . . . . . . . . . 1128
ping ipv6
. . . . . . . . . . . . . . . . . . . . . . . . 1129
ping ipv6 interface. . . . . . . . . . . . . . . . . . . 1130
show ipv6 brief. . . . . . . . . . . . . . . . . . . . . 1131
show ipv6 interface
. . . . . . . . . . . . . . . . . . 1132
show ipv6 interface management statistics . . . . . 1134
show ipv6 mld groups . . . . . . . . . . . . . . . . . 1135
show ipv6 mld interface
show ipv6 mld-proxy
. . . . . . . . . . . . . . . . 1138
. . . . . . . . . . . . . . . . . . 1141
show ipv6 mld-proxy groups . . . . . . . . . . . . . 1142
show ipv6 mld-proxy groups detail
. . . . . . . . . . 1144
show ipv6 mld-proxy interface . . . . . . . . . . . . 1145
Contents 44
show ipv6 mld traffic . . . . . . . . . . . . . . . . . 1147
show ipv6 neighbors
. . . . . . . . . . . . . . . . . . 1148
show ipv6 route . . . . . . . . . . . . . . . . . . . . 1149
show ipv6 route preferences . . . . . . . . . . . . . 1151
show ipv6 route summary
. . . . . . . . . . . . . . . 1152
show ipv6 traffic . . . . . . . . . . . . . . . . . . . . 1153
show ipv6 vlan . . . . . . . . . . . . . . . . . . . . . 1155
traceroute ipv6
. . . . . . . . . . . . . . . . . . . . . 1156
55 Loopback Interface Commands. . . . . . 1159
Commands in this Chapter. . . . . . . . . . . . . . . 1159
interface loopback. . . . . . . . . . . . . . . . . . . 1159
show interfaces loopback
. . . . . . . . . . . . . . . 1160
56 Multicast Commands . . . . . . . . . . . . . . 1163
Commands in this Chapter. . . . . . . . . . . . . . . 1164
ip mcast boundary . . . . . . . . . . . . . . . . . . . 1164
ip mroute
. . . . . . . . . . . . . . . . . . . . . . . . 1165
ip multicast. . . . . . . . . . . . . . . . . . . . . . . 1166
ip multicast ttl-threshold . . . . . . . . . . . . . . . 1167
ip pim
. . . . . . . . . . . . . . . . . . . . . . . . . . 1168
ip pim bsr-border. . . . . . . . . . . . . . . . . . . . 1169
Contents 45
ip pim bsr-candidate . . . . . . . . . . . . . . . . . . 1170
ip pim dense
. . . . . . . . . . . . . . . . . . . . . . 1171
ip pim dr-priority . . . . . . . . . . . . . . . . . . . . 1171
ip pim hello-interval . . . . . . . . . . . . . . . . . . 1172
ip pim join-prune-interval
. . . . . . . . . . . . . . . 1173
ip pim rp-address . . . . . . . . . . . . . . . . . . . 1174
ip pim rp-candidate . . . . . . . . . . . . . . . . . . 1175
ip pim sparse
. . . . . . . . . . . . . . . . . . . . . . 1176
ip pim ssm . . . . . . . . . . . . . . . . . . . . . . . 1177
show ip multicast . . . . . . . . . . . . . . . . . . . 1177
show ip mcast boundary
. . . . . . . . . . . . . . . . 1178
show ip multicast interface . . . . . . . . . . . . . . 1179
show ip mcast mroute . . . . . . . . . . . . . . . . . 1180
show ip mcast mroute group
. . . . . . . . . . . . . 1181
show ip mcast mroute source . . . . . . . . . . . . . 1182
show ip mcast mroute static . . . . . . . . . . . . . 1182
show ip pim
show ip pim bsr-router
. . . . . . . . . . . . . . . . . . . . . . 1183
. . . . . . . . . . . . . . . . . 1184
show ip pim interface . . . . . . . . . . . . . . . . . 1185
show ip pim neighbor
. . . . . . . . . . . . . . . . . 1187
show ip pim rp hash . . . . . . . . . . . . . . . . . . 1189
Contents 46
show ip pim rp mapping . . . . . . . . . . . . . . . . 1190
57 IPv6 Multicast Commands . . . . . . . . . . 1193
ipv6 pim (Global config) . . . . . . . . . . . . . . . . 1193
ipv6 pim (VLAN Interface config) . . . . . . . . . . . 1194
ipv6 pim bsr-border . . . . . . . . . . . . . . . . . . 1195
ipv6 pim bsr-candidate
. . . . . . . . . . . . . . . . 1195
ipv6 pim dense . . . . . . . . . . . . . . . . . . . . . 1196
ipv6 pim dr-priority. . . . . . . . . . . . . . . . . . . 1197
ipv6 pim hello-interval
. . . . . . . . . . . . . . . . . 1198
ipv6 pim join-prune-interval . . . . . . . . . . . . . . 1198
ipv6 pim register-rate-limit . . . . . . . . . . . . . . 1199
ipv6 pim register-threshold
. . . . . . . . . . . . . . 1200
ipv6 pim rp-address . . . . . . . . . . . . . . . . . . 1201
ipv6 pim rp-candidate . . . . . . . . . . . . . . . . . 1201
ipv6 pim sparse (Global config)
. . . . . . . . . . . . 1202
ipv6 pim spt-threshold . . . . . . . . . . . . . . . . . 1203
ipv6 pim ssm . . . . . . . . . . . . . . . . . . . . . . 1204
show ipv6 pim
. . . . . . . . . . . . . . . . . . . . . 1204
show ipv6 pim bsr . . . . . . . . . . . . . . . . . . . 1206
show ipv6 pim bsr-router . . . . . . . . . . . . . . . 1206
show ipv6 pim interface
. . . . . . . . . . . . . . . . 1208
Contents 47
show ipv6 pim neighbor . . . . . . . . . . . . . . . . 1208
show ipv6 pim rphash
. . . . . . . . . . . . . . . . . 1209
show ipv6 pim rp mapping. . . . . . . . . . . . . . . 1210
58 OSPF Commands . . . . . . . . . . . . . . . . . 1213
Route Preferences . . . . . . . . . . . . . . . . . . . 1214
OSPF Equal Cost Multipath (ECMP)
Forwarding of OSPF Opaque LSAs Enabled by Default 1215
Passive Interfaces . . . . . . . . . . . . . . . . . . . 1215
Graceful Restart
. . . . . . . . . . . . . . . . . . . . 1216
Commands in this Chapter. . . . . . . . . . . . . . . 1216
area default-cost (Router OSPF). . . . . . . . . . . . 1217
area nssa (Router OSPF)
. . . . . . . . . . . . . . . . 1218
area nssa default-info-originate (Router OSPF Config) 1220
area nssa no-redistribute . . . . . . . . . . . . . . . 1221
. . . . . . . . . . 1214
area nssa no-summary
. . . . . . . . . . . . . . . . . 1222
area nssa translator-role . . . . . . . . . . . . . . . 1222
area nssa translator-stab-intv . . . . . . . . . . . . . 1223
area range (Router OSPF)
. . . . . . . . . . . . . . . 1224
area stub . . . . . . . . . . . . . . . . . . . . . . . . 1228
area stub no-summary . . . . . . . . . . . . . . . . . 1229
area virtual-link
. . . . . . . . . . . . . . . . . . . . 1229
Contents 48
area virtual-link authentication . . . . . . . . . . . . 1232
area virtual-link dead-interval
. . . . . . . . . . . . 1233
area virtual-link hello-interval . . . . . . . . . . . . 1234
area virtual-link retransmit-interval . . . . . . . . . 1235
area virtual-link transmit-delay
. . . . . . . . . . . . 1236
auto-cost . . . . . . . . . . . . . . . . . . . . . . . . 1237
bandwidth . . . . . . . . . . . . . . . . . . . . . . . 1238
capability opaque
. . . . . . . . . . . . . . . . . . . 1238
clear ip ospf . . . . . . . . . . . . . . . . . . . . . . 1239
clear ip ospf stub-router . . . . . . . . . . . . . . . . 1240
compatible rfc1583
. . . . . . . . . . . . . . . . . . . 1241
default-information originate (Router OSPF Configuration) 1242
default-metric . . . . . . . . . . . . . . . . . . . . . 1243
distance ospf
. . . . . . . . . . . . . . . . . . . . . . 1244
distribute-list out . . . . . . . . . . . . . . . . . . . 1245
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1246
exit-overflow-interval
external-lsdb-limit
. . . . . . . . . . . . . . . . . 1247
. . . . . . . . . . . . . . . . . . . 1247
ip ospf area. . . . . . . . . . . . . . . . . . . . . . . 1248
ip ospf authentication
. . . . . . . . . . . . . . . . . 1249
ip ospf cost . . . . . . . . . . . . . . . . . . . . . . . 1250
Contents 49
ip ospf database-filter all out . . . . . . . . . . . . . 1251
ip ospf dead-interval
. . . . . . . . . . . . . . . . . . 1251
ip ospf hello-interval. . . . . . . . . . . . . . . . . . 1252
ip ospf mtu-ignore . . . . . . . . . . . . . . . . . . . 1253
ip ospf network
. . . . . . . . . . . . . . . . . . . . 1254
ip ospf priority . . . . . . . . . . . . . . . . . . . . . 1255
ip ospf retransmit-interval. . . . . . . . . . . . . . . 1255
ip ospf transmit-delay
. . . . . . . . . . . . . . . . . 1256
log adjacency-changes . . . . . . . . . . . . . . . . 1257
max-metric router-lsa . . . . . . . . . . . . . . . . . 1258
maximum-paths
. . . . . . . . . . . . . . . . . . . . 1259
network area. . . . . . . . . . . . . . . . . . . . . . 1260
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1261
nsf helper
. . . . . . . . . . . . . . . . . . . . . . . 1263
nsf helper strict-lsa-checking. . . . . . . . . . . . . 1263
nsf restart-interval. . . . . . . . . . . . . . . . . . . 1264
passive-interface default
passive-interface
. . . . . . . . . . . . . . . 1265
. . . . . . . . . . . . . . . . . . . 1266
redistribute. . . . . . . . . . . . . . . . . . . . . . . 1267
router-id
. . . . . . . . . . . . . . . . . . . . . . . . 1268
router ospf . . . . . . . . . . . . . . . . . . . . . . . 1269
Contents 50
show ip ospf . . . . . . . . . . . . . . . . . . . . . . 1269
show ip ospf abr
. . . . . . . . . . . . . . . . . . . . 1276
show ip ospf area . . . . . . . . . . . . . . . . . . . 1277
show ip ospf asbr . . . . . . . . . . . . . . . . . . . 1279
show ip ospf database
. . . . . . . . . . . . . . . . . 1280
show ip ospf database database-summary . . . . . . 1283
show ip ospf interface. . . . . . . . . . . . . . . . . 1286
show ip ospf interface brief
. . . . . . . . . . . . . . 1288
show ip ospf interface stats . . . . . . . . . . . . . . 1289
show ip ospf neighbor . . . . . . . . . . . . . . . . . 1290
show ip ospf range
. . . . . . . . . . . . . . . . . . . 1293
show ip ospf statistics. . . . . . . . . . . . . . . . . 1295
show ip ospf stub table . . . . . . . . . . . . . . . . 1296
show ip ospf traffic
. . . . . . . . . . . . . . . . . . 1297
show ip ospf virtual-link. . . . . . . . . . . . . . . . 1300
show ip ospf virtual-links brief . . . . . . . . . . . . 1301
timers pacing flood
timers pacing lsa-group
. . . . . . . . . . . . . . . . . . 1302
. . . . . . . . . . . . . . . . 1302
timers spf. . . . . . . . . . . . . . . . . . . . . . . . 1303
59 OSPFv3 Commands . . . . . . . . . . . . . . . 1305
area default-cost (Router OSPFv3) . . . . . . . . . . 1306
Contents 51
area nssa (Router OSPFv3) . . . . . . . . . . . . . . 1307
area nssa default-info-originate (Router OSPFv3 Config)
1308
area nssa no-redistribute . . . . . . . . . . . . . . . 1309
area nssa no-summary. . . . . . . . . . . . . . . . . 1310
area nssa translator-role
. . . . . . . . . . . . . . . 1311
area nssa translator-stab-intv . . . . . . . . . . . . . 1312
area range (Router OSPFv3) . . . . . . . . . . . . . . 1313
area stub
. . . . . . . . . . . . . . . . . . . . . . . . 1314
area stub no-summary . . . . . . . . . . . . . . . . . 1315
area virtual-link . . . . . . . . . . . . . . . . . . . . 1316
area virtual-link dead-interval
. . . . . . . . . . . . 1318
area virtual-link hello-interval . . . . . . . . . . . . 1318
area virtual-link retransmit-interval . . . . . . . . . 1319
area virtual-link transmit-delay
. . . . . . . . . . . . 1320
default-information originate (Router OSPFv3 Configuration) 1321
default-metric . . . . . . . . . . . . . . . . . . . . . 1322
distance ospf
enable
. . . . . . . . . . . . . . . . . . . . . . 1323
. . . . . . . . . . . . . . . . . . . . . . . . . 1324
exit-overflow-interval . . . . . . . . . . . . . . . . . 1324
external-lsdb-limit
. . . . . . . . . . . . . . . . . . . 1325
ipv6 ospf . . . . . . . . . . . . . . . . . . . . . . . . 1326
Contents 52
ipv6 ospf area . . . . . . . . . . . . . . . . . . . . . 1327
ipv6 ospf cost
. . . . . . . . . . . . . . . . . . . . . 1328
ipv6 ospf dead-interval . . . . . . . . . . . . . . . . 1328
ipv6 ospf hello-interval . . . . . . . . . . . . . . . . 1329
ipv6 ospf mtu-ignore
. . . . . . . . . . . . . . . . . . 1330
ipv6 ospf network . . . . . . . . . . . . . . . . . . . 1331
ipv6 ospf priority . . . . . . . . . . . . . . . . . . . . 1332
ipv6 ospf retransmit-interval
. . . . . . . . . . . . . 1333
ipv6 ospf transmit-delay . . . . . . . . . . . . . . . . 1333
ipv6 router ospf . . . . . . . . . . . . . . . . . . . . 1334
maximum-paths
. . . . . . . . . . . . . . . . . . . . 1335
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1335
nsf helper . . . . . . . . . . . . . . . . . . . . . . . 1336
nsf helper strict-lsa-checking
. . . . . . . . . . . . . 1337
nsf restart-interval. . . . . . . . . . . . . . . . . . . 1338
passive-interface . . . . . . . . . . . . . . . . . . . 1339
passive-interface default
redistribute
. . . . . . . . . . . . . . . . . . . . . . . 1340
. . . . . . . . . . . . . . . 1340
router-id . . . . . . . . . . . . . . . . . . . . . . . . 1341
show ipv6 ospf
. . . . . . . . . . . . . . . . . . . . . 1342
show ipv6 ospf abr . . . . . . . . . . . . . . . . . . . 1346
Contents 53
show ipv6 ospf area . . . . . . . . . . . . . . . . . . 1347
show ipv6 ospf asbr
. . . . . . . . . . . . . . . . . . 1348
show ipv6 ospf border-routers. . . . . . . . . . . . . 1348
show ipv6 ospf database . . . . . . . . . . . . . . . 1349
show ipv6 ospf database database-summary
. . . . . 1352
show ipv6 ospf interface . . . . . . . . . . . . . . . 1353
show ipv6 ospf interface brief. . . . . . . . . . . . . 1355
show ipv6 ospf interface stats
. . . . . . . . . . . . . 1355
show ipv6 ospf interface vlan . . . . . . . . . . . . . 1357
show ipv6 ospf neighbor. . . . . . . . . . . . . . . . 1358
show ipv6 ospf range
. . . . . . . . . . . . . . . . . 1360
show ipv6 ospf stub table . . . . . . . . . . . . . . . 1361
show ipv6 ospf virtual-links . . . . . . . . . . . . . . 1361
show ipv6 ospf virtual-link brief
. . . . . . . . . . . 1362
60 Router Discovery Protocol Commands 1365
Commands in this Chapter. . . . . . . . . . . . . . . 1365
ip irdp . . . . . . . . . . . . . . . . . . . . . . . . . 1365
ip irdp address
ip irdp holdtime . . . . . . . . . . . . . . . . . . . . 1368
ip irdp maxadvertinterval . . . . . . . . . . . . . . . 1369
ip irdp minadvertinterval
. . . . . . . . . . . . . . . . . . . . . 1367
. . . . . . . . . . . . . . . 1370
Contents 54
ip irdp multicast . . . . . . . . . . . . . . . . . . . . 1371
ip irdp preference
. . . . . . . . . . . . . . . . . . . 1371
show ip irdp . . . . . . . . . . . . . . . . . . . . . . 1372
61 Routing Information Protocol Commands 1375
Commands in this Chapter. . . . . . . . . . . . . . . 1375
auto-summary
default-information originate (Router RIP Configuration) 1376
default-metric . . . . . . . . . . . . . . . . . . . . . 1377
distance rip
distribute-list out . . . . . . . . . . . . . . . . . . . 1378
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1379
hostroutesaccept
ip rip . . . . . . . . . . . . . . . . . . . . . . . . . . 1381
ip rip authentication . . . . . . . . . . . . . . . . . . 1381
. . . . . . . . . . . . . . . . . . . . . 1375
. . . . . . . . . . . . . . . . . . . . . . 1378
. . . . . . . . . . . . . . . . . . . 1380
ip rip receive version
. . . . . . . . . . . . . . . . . 1382
ip rip send version . . . . . . . . . . . . . . . . . . . 1383
redistribute. . . . . . . . . . . . . . . . . . . . . . . 1384
router rip
. . . . . . . . . . . . . . . . . . . . . . . . 1385
show ip rip . . . . . . . . . . . . . . . . . . . . . . . 1386
show ip rip interface. . . . . . . . . . . . . . . . . . 1387
show ip rip interface brief
. . . . . . . . . . . . . . . 1388
Contents 55
split-horizon . . . . . . . . . . . . . . . . . . . . . . 1389
62 Tunnel Interface Commands . . . . . . . . 1391
Commands in this Chapter. . . . . . . . . . . . . . . 1391
interface tunnel . . . . . . . . . . . . . . . . . . . . 1392
show interfaces tunnel . . . . . . . . . . . . . . . . 1392
tunnel destination
. . . . . . . . . . . . . . . . . . . 1393
tunnel mode ipv6ip. . . . . . . . . . . . . . . . . . . 1394
tunnel source . . . . . . . . . . . . . . . . . . . . . 1395
63 Virtual Router Redundancy Protocol Commands
1397
Pingable VRRP Interface . . . . . . . . . . . . . . . 1397
VRRP Route/Interface Tracking
Interface Tracking . . . . . . . . . . . . . . . . . . . 1399
Route Tracking . . . . . . . . . . . . . . . . . . . . . 1399
Commands in this Chapter
ip vrrp
. . . . . . . . . . . . . . . . . . . . . . . . . 1400
vrrp accept-mode . . . . . . . . . . . . . . . . . . . 1400
vrrp authentication
. . . . . . . . . . . . . . . . . . 1401
. . . . . . . . . . . . 1398
. . . . . . . . . . . . . . . 1399
vrrp description . . . . . . . . . . . . . . . . . . . . 1402
vrrp ip . . . . . . . . . . . . . . . . . . . . . . . . . 1403
Contents 56
vrrp mode . . . . . . . . . . . . . . . . . . . . . . . 1404
vrrp preempt
. . . . . . . . . . . . . . . . . . . . . . 1405
vrrp priority. . . . . . . . . . . . . . . . . . . . . . . 1406
vrrp timers advertise. . . . . . . . . . . . . . . . . . 1407
vrrp timers learn
. . . . . . . . . . . . . . . . . . . . 1408
vrrp track interface . . . . . . . . . . . . . . . . . . 1409
vrrp track ip route . . . . . . . . . . . . . . . . . . . 1410
show vrrp
. . . . . . . . . . . . . . . . . . . . . . . 1412
show vrrp interface . . . . . . . . . . . . . . . . . . 1414
show vrrp interface brief . . . . . . . . . . . . . . . 1416
show vrrp interface stats
. . . . . . . . . . . . . . . 1417
ip vrrp accept-mode . . . . . . . . . . . . . . . . . . 1418
show ip vrrp interface . . . . . . . . . . . . . . . . . 1419
64 Utility Commands. . . . . . . . . . . . . . . . . 1421
65 Auto-Install Commands . . . . . . . . . . . . 1423
Commands in this Chapter. . . . . . . . . . . . . . . 1424
boot auto-copy-sw . . . . . . . . . . . . . . . . . . . 1424
boot auto-copy-sw allow-downgrade . . . . . . . . 1425
boot host autoreboot
boot host autosave . . . . . . . . . . . . . . . . . . . 1427
. . . . . . . . . . . . . . . . . . 1426
Contents 57
boot host dhcp . . . . . . . . . . . . . . . . . . . . . 1427
boot host retrycount
. . . . . . . . . . . . . . . . . . 1428
show auto-copy-sw . . . . . . . . . . . . . . . . . . 1429
show boot . . . . . . . . . . . . . . . . . . . . . . . 1430
66 Captive Portal Commands . . . . . . . . . . 1433
Commands in this Chapter. . . . . . . . . . . . . . . 1433
authentication timeout. . . . . . . . . . . . . . . . . 1435
captive-portal . . . . . . . . . . . . . . . . . . . . . 1435
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1436
http port . . . . . . . . . . . . . . . . . . . . . . . . 1437
https port . . . . . . . . . . . . . . . . . . . . . . . . 1437
show captive-portal
show captive-portal status . . . . . . . . . . . . . . 1439
block . . . . . . . . . . . . . . . . . . . . . . . . . . 1440
. . . . . . . . . . . . . . . . . . 1438
configuration
. . . . . . . . . . . . . . . . . . . . . . 1441
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1441
group . . . . . . . . . . . . . . . . . . . . . . . . . . 1442
interface
. . . . . . . . . . . . . . . . . . . . . . . . 1443
locale. . . . . . . . . . . . . . . . . . . . . . . . . . 1443
name (Captive Portal) . . . . . . . . . . . . . . . . . 1444
protocol
. . . . . . . . . . . . . . . . . . . . . . . . 1445
Contents 58
redirect. . . . . . . . . . . . . . . . . . . . . . . . . 1445
redirect-url
. . . . . . . . . . . . . . . . . . . . . . . 1446
session-timeout . . . . . . . . . . . . . . . . . . . . 1446
verification. . . . . . . . . . . . . . . . . . . . . . . 1447
captive-portal client deauthenticate
. . . . . . . . . 1448
show captive-portal client status . . . . . . . . . . . 1448
show captive-portal configuration client status . . . 1449
show captive-portal interface client status
. . . . . 1450
show captive-portal interface configuration status . 1452
clear captive-portal users . . . . . . . . . . . . . . . 1453
no user
. . . . . . . . . . . . . . . . . . . . . . . . . 1453
show captive-portal user . . . . . . . . . . . . . . . 1454
user group . . . . . . . . . . . . . . . . . . . . . . . 1455
user-logout
. . . . . . . . . . . . . . . . . . . . . . . 1456
user name . . . . . . . . . . . . . . . . . . . . . . . 1457
user password . . . . . . . . . . . . . . . . . . . . . 1457
user session-timeout
show captive-portal configuration
. . . . . . . . . . . . . . . . . 1458
. . . . . . . . . . 1459
show captive-portal configuration interface . . . . . 1460
show captive-portal configuration locales
. . . . . . 1461
show captive-portal configuration status. . . . . . . 1461
Contents 59
user group . . . . . . . . . . . . . . . . . . . . . . . 1463
user group moveusers
. . . . . . . . . . . . . . . . . 1463
user group name . . . . . . . . . . . . . . . . . . . . 1464
67 CLI Macro Commands . . . . . . . . . . . . . 1465
Commands in this Chapter. . . . . . . . . . . . . . . 1466
macro name
macro global apply . . . . . . . . . . . . . . . . . . 1467
macro global trace. . . . . . . . . . . . . . . . . . . 1468
macro global description
macro apply . . . . . . . . . . . . . . . . . . . . . . 1470
macro trace . . . . . . . . . . . . . . . . . . . . . . 1471
macro description
show parser macro . . . . . . . . . . . . . . . . . . 1472
. . . . . . . . . . . . . . . . . . . . . . 1466
. . . . . . . . . . . . . . . 1469
. . . . . . . . . . . . . . . . . . . 1472
68 Clock Commands . . . . . . . . . . . . . . . . . 1475
Real-time Clock . . . . . . . . . . . . . . . . . . . . 1475
Simple Network Time Protocol
Commands in this Chapter. . . . . . . . . . . . . . . 1476
show sntp configuration. . . . . . . . . . . . . . . . 1476
show sntp server
. . . . . . . . . . . . . . . . . . . . 1477
show sntp status . . . . . . . . . . . . . . . . . . . . 1479
. . . . . . . . . . . . 1475
Contents 60
sntp authenticate . . . . . . . . . . . . . . . . . . . 1480
sntp authentication-key
. . . . . . . . . . . . . . . . 1481
sntp broadcast client enable . . . . . . . . . . . . . 1482
sntp client poll timer. . . . . . . . . . . . . . . . . . 1482
sntp server
. . . . . . . . . . . . . . . . . . . . . . . 1483
sntp trusted-key . . . . . . . . . . . . . . . . . . . . 1484
sntp unicast client enable . . . . . . . . . . . . . . . 1485
clock timezone hours-offset
. . . . . . . . . . . . . . 1486
no clock timezone . . . . . . . . . . . . . . . . . . . 1486
clock summer-time recurring . . . . . . . . . . . . . 1487
clock summer-time date
. . . . . . . . . . . . . . . . 1488
no clock summer-time . . . . . . . . . . . . . . . . . 1489
show clock . . . . . . . . . . . . . . . . . . . . . . . 1490
69 Command Line Configuration Scripting Commands
1493
Commands in this Chapter. . . . . . . . . . . . . . . 1493
script apply
. . . . . . . . . . . . . . . . . . . . . . . 1493
script delete . . . . . . . . . . . . . . . . . . . . . . 1494
script list . . . . . . . . . . . . . . . . . . . . . . . . 1495
script show
. . . . . . . . . . . . . . . . . . . . . . . 1495
script validate . . . . . . . . . . . . . . . . . . . . . 1496
Contents 61
70 Configuration and Image File Commands 1499
File System Commands . . . . . . . . . . . . . . . . 1499
Command Line Interface Scripting . . . . . . . . . . 1499
Commands in this Chapter. . . . . . . . . . . . . . . 1499
boot system
. . . . . . . . . . . . . . . . . . . . . . 1500
clear config . . . . . . . . . . . . . . . . . . . . . . 1501
copy . . . . . . . . . . . . . . . . . . . . . . . . . . 1501
delete
. . . . . . . . . . . . . . . . . . . . . . . . . . 1507
delete backup-config . . . . . . . . . . . . . . . . . 1508
delete backup-image . . . . . . . . . . . . . . . . . 1508
delete startup-config
. . . . . . . . . . . . . . . . . 1509
dir . . . . . . . . . . . . . . . . . . . . . . . . . . . 1509
erase . . . . . . . . . . . . . . . . . . . . . . . . . . 1510
filedescr
. . . . . . . . . . . . . . . . . . . . . . . . 1511
rename . . . . . . . . . . . . . . . . . . . . . . . . . 1512
show backup-config. . . . . . . . . . . . . . . . . . 1513
show bootvar
show running-config
. . . . . . . . . . . . . . . . . . . . . . 1514
. . . . . . . . . . . . . . . . . . 1515
show startup-config . . . . . . . . . . . . . . . . . . 1516
update bootcode
. . . . . . . . . . . . . . . . . . . . 1518
write . . . . . . . . . . . . . . . . . . . . . . . . . . 1518
Contents 62
71 Denial of Service Commands . . . . . . . 1521
Commands in this Chapter. . . . . . . . . . . . . . . 1522
dos-control firstfrag . . . . . . . . . . . . . . . . . . 1523
dos-control icmp. . . . . . . . . . . . . . . . . . . . 1523
dos-control l4port
. . . . . . . . . . . . . . . . . . . 1524
dos-control sipdip . . . . . . . . . . . . . . . . . . . 1525
dos-control tcpflag . . . . . . . . . . . . . . . . . . 1526
dos-control tcpfrag
. . . . . . . . . . . . . . . . . . 1526
ip icmp echo-reply . . . . . . . . . . . . . . . . . . . 1527
ip icmp error-interval . . . . . . . . . . . . . . . . . 1528
ip unreachables
. . . . . . . . . . . . . . . . . . . . 1529
ip redirects. . . . . . . . . . . . . . . . . . . . . . . 1529
ipv6 icmp error-interval . . . . . . . . . . . . . . . . 1530
ipv6 unreachables
. . . . . . . . . . . . . . . . . . . 1531
show dos-control . . . . . . . . . . . . . . . . . . . 1531
72 Line Commands . . . . . . . . . . . . . . . . . . 1533
exec-timeout. . . . . . . . . . . . . . . . . . . . . . 1533
history
. . . . . . . . . . . . . . . . . . . . . . . . . 1534
history size . . . . . . . . . . . . . . . . . . . . . . . 1535
line . . . . . . . . . . . . . . . . . . . . . . . . . . . 1535
Contents 63
show line. . . . . . . . . . . . . . . . . . . . . . . . 1537
speed
. . . . . . . . . . . . . . . . . . . . . . . . . . 1538
73 Management ACL Commands . . . . . . . 1539
Commands in this Chapter. . . . . . . . . . . . . . . 1539
deny (management) . . . . . . . . . . . . . . . . . . 1540
management access-class
. . . . . . . . . . . . . . 1541
management access-list . . . . . . . . . . . . . . . 1542
permit (management) . . . . . . . . . . . . . . . . . 1543
show management access-class
. . . . . . . . . . . 1545
show management access-list . . . . . . . . . . . . 1546
74 Mode Commands . . . . . . . . . . . . . . . . . 1547
configure terminal . . . . . . . . . . . . . . . . . . . 1547
do
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1547
75 Password Management Commands . . 1551
Configurable Minimum Password Length. . . . . . . 1551
Password History . . . . . . . . . . . . . . . . . . . 1551
Password Aging
. . . . . . . . . . . . . . . . . . . . 1551
User Lockout . . . . . . . . . . . . . . . . . . . . . . 1551
Password Strength . . . . . . . . . . . . . . . . . . 1552
Contents 64
Commands in this Chapter. . . . . . . . . . . . . . . 1553
passwords aging
. . . . . . . . . . . . . . . . . . . . 1554
passwords history . . . . . . . . . . . . . . . . . . . 1554
passwords lock-out . . . . . . . . . . . . . . . . . . 1555
passwords min-length
. . . . . . . . . . . . . . . . . 1556
passwords strength-check . . . . . . . . . . . . . . 1557
passwords strength minimum uppercase-letters. . . 1558
passwords strength minimum lowercase-letters
. . . 1559
passwords strength minimum numeric-characters . 1560
passwords strength minimum special-characters . . 1561
passwords strength max-limit consecutive-characters
1561
passwords strength max-limit repeated-characters . 1562
passwords strength minimum character-classes . . 1563
passwords strength exclude-keyword
. . . . . . . . 1564
enable password encrypted . . . . . . . . . . . . . . 1565
show passwords configuration . . . . . . . . . . . . 1566
show passwords result
. . . . . . . . . . . . . . . . 1568
76 PHY Diagnostics Commands . . . . . . . . 1569
show copper-ports tdr . . . . . . . . . . . . . . . . . 1569
show fiber-ports optical-transceiver . . . . . . . . . 1570
test copper-port tdr
. . . . . . . . . . . . . . . . . . 1571
Contents 65
77 RMON Commands . . . . . . . . . . . . . . . . 1573
Commands in this Chapter. . . . . . . . . . . . . . . 1573
rmon alarm . . . . . . . . . . . . . . . . . . . . . . . 1573
rmon collection history . . . . . . . . . . . . . . . . 1576
rmon event
. . . . . . . . . . . . . . . . . . . . . . . 1577
show rmon alarm . . . . . . . . . . . . . . . . . . . 1578
show rmon alarms . . . . . . . . . . . . . . . . . . . 1580
show rmon collection history
. . . . . . . . . . . . . 1581
show rmon events . . . . . . . . . . . . . . . . . . . 1582
show rmon history . . . . . . . . . . . . . . . . . . . 1583
show rmon log
. . . . . . . . . . . . . . . . . . . . . 1587
show rmon statistics. . . . . . . . . . . . . . . . . . 1588
78 SDM Templates Commands . . . . . . . . . 1591
Commands in this Chapter. . . . . . . . . . . . . . . 1591
sdm prefer
show sdm prefer . . . . . . . . . . . . . . . . . . . . 1593
. . . . . . . . . . . . . . . . . . . . . . . 1591
79 Serviceability Tracing Packet Commands 1597
Commands in this Chapter. . . . . . . . . . . . . . . 1597
debug arp
debug auto-voip . . . . . . . . . . . . . . . . . . . . 1599
. . . . . . . . . . . . . . . . . . . . . . . 1598
Contents 66
debug clear . . . . . . . . . . . . . . . . . . . . . . 1599
debug console
. . . . . . . . . . . . . . . . . . . . . 1600
debug dot1x . . . . . . . . . . . . . . . . . . . . . . 1600
debug igmpsnooping. . . . . . . . . . . . . . . . . . 1601
debug ip acl
. . . . . . . . . . . . . . . . . . . . . . 1602
debug ip dvmrp. . . . . . . . . . . . . . . . . . . . . 1602
debug ip igmp . . . . . . . . . . . . . . . . . . . . . 1603
debug ip mcache
. . . . . . . . . . . . . . . . . . . . 1604
debug ip pimdm packet . . . . . . . . . . . . . . . . 1605
debug ip pimsm packet . . . . . . . . . . . . . . . . 1606
debug ip vrrp
. . . . . . . . . . . . . . . . . . . . . . 1606
debug ipv6 dhcp . . . . . . . . . . . . . . . . . . . . 1607
debug ipv6 mcache . . . . . . . . . . . . . . . . . . 1608
debug ipv6 mld
. . . . . . . . . . . . . . . . . . . . . 1608
debug ipv6 pimdm . . . . . . . . . . . . . . . . . . . 1609
debug ipv6 pimsm . . . . . . . . . . . . . . . . . . . 1610
debug isdp
debug lacp
. . . . . . . . . . . . . . . . . . . . . . . 1611
. . . . . . . . . . . . . . . . . . . . . . . 1612
debug mldsnooping . . . . . . . . . . . . . . . . . . 1612
debug ospf
. . . . . . . . . . . . . . . . . . . . . . . 1613
debug ospfv3 . . . . . . . . . . . . . . . . . . . . . . 1614
Contents 67
debug ping . . . . . . . . . . . . . . . . . . . . . . . 1614
debug rip
. . . . . . . . . . . . . . . . . . . . . . . . 1615
debug sflow . . . . . . . . . . . . . . . . . . . . . . 1616
debug spanning-tree. . . . . . . . . . . . . . . . . . 1616
debug vrrp
. . . . . . . . . . . . . . . . . . . . . . . 1617
show debugging . . . . . . . . . . . . . . . . . . . . 1617
80 Sflow Commands . . . . . . . . . . . . . . . . . 1619
Commands in this Chapter. . . . . . . . . . . . . . . 1619
sflow destination
sflow polling . . . . . . . . . . . . . . . . . . . . . . 1621
sflow polling (Interface Mode) . . . . . . . . . . . . 1622
sflow sampling
sflow sampling (Interface Mode) . . . . . . . . . . . 1624
show sflow agent . . . . . . . . . . . . . . . . . . . 1625
. . . . . . . . . . . . . . . . . . . 1619
. . . . . . . . . . . . . . . . . . . . . 1623
show sflow destination
. . . . . . . . . . . . . . . . 1626
show sflow polling . . . . . . . . . . . . . . . . . . 1627
show sflow sampling . . . . . . . . . . . . . . . . . 1628
81 SNMP Commands . . . . . . . . . . . . . . . . 1631
Commands in this Chapter. . . . . . . . . . . . . . . 1631
show snmp . . . . . . . . . . . . . . . . . . . . . . . 1631
Contents 68
show snmp engineID . . . . . . . . . . . . . . . . . 1633
show snmp filters
. . . . . . . . . . . . . . . . . . . 1633
show snmp group . . . . . . . . . . . . . . . . . . . 1635
show snmp user . . . . . . . . . . . . . . . . . . . . 1636
show snmp views
. . . . . . . . . . . . . . . . . . . 1637
show trapflags . . . . . . . . . . . . . . . . . . . . . 1638
snmp-server community . . . . . . . . . . . . . . . . 1640
snmp-server community-group
. . . . . . . . . . . . 1642
snmp-server contact. . . . . . . . . . . . . . . . . . 1643
snmp-server enable traps . . . . . . . . . . . . . . . 1644
snmp-server engineID local
. . . . . . . . . . . . . . 1646
snmp-server filter . . . . . . . . . . . . . . . . . . . 1647
snmp-server group . . . . . . . . . . . . . . . . . . . 1649
snmp-server host
. . . . . . . . . . . . . . . . . . . 1650
snmp-server location . . . . . . . . . . . . . . . . . 1652
snmp-server user . . . . . . . . . . . . . . . . . . . 1653
snmp-server view
snmp-server v3-host
. . . . . . . . . . . . . . . . . . . 1654
. . . . . . . . . . . . . . . . . . 1656
82 SSH Commands . . . . . . . . . . . . . . . . . . 1659
Commands in this Chapter. . . . . . . . . . . . . . . 1659
crypto key generate dsa
. . . . . . . . . . . . . . . . 1659
Contents 69
crypto key generate rsa . . . . . . . . . . . . . . . . 1660
crypto key pubkey-chain ssh
. . . . . . . . . . . . . 1661
crypto key zeroize pubkey-chain . . . . . . . . . . . 1662
crypto key zeroize {rsa|dsa} . . . . . . . . . . . . . . 1663
ip ssh port
. . . . . . . . . . . . . . . . . . . . . . . 1663
ip ssh pubkey-auth. . . . . . . . . . . . . . . . . . . 1664
ip ssh server . . . . . . . . . . . . . . . . . . . . . . 1665
key-string
. . . . . . . . . . . . . . . . . . . . . . . 1665
no crypto certificate . . . . . . . . . . . . . . . . . . 1667
show crypto key mypubkey . . . . . . . . . . . . . . 1668
show crypto key pubkey-chain ssh
. . . . . . . . . . 1669
show ip ssh . . . . . . . . . . . . . . . . . . . . . . 1670
user-key . . . . . . . . . . . . . . . . . . . . . . . . 1671
83 Syslog Commands . . . . . . . . . . . . . . . . 1673
CLI Logged to Local File and Syslog Server. . . . . . 1673
Commands in this Chapter. . . . . . . . . . . . . . . 1674
clear logging. . . . . . . . . . . . . . . . . . . . . . 1675
clear logging file
. . . . . . . . . . . . . . . . . . . . 1675
description (Logging) . . . . . . . . . . . . . . . . . 1676
level . . . . . . . . . . . . . . . . . . . . . . . . . . 1677
logging cli-command
. . . . . . . . . . . . . . . . . 1677
Contents 70
logging . . . . . . . . . . . . . . . . . . . . . . . . . 1679
logging audit
. . . . . . . . . . . . . . . . . . . . . . 1681
logging buffered . . . . . . . . . . . . . . . . . . . . 1682
logging console . . . . . . . . . . . . . . . . . . . . 1683
logging facility
. . . . . . . . . . . . . . . . . . . . . 1684
logging file . . . . . . . . . . . . . . . . . . . . . . . 1685
logging monitor . . . . . . . . . . . . . . . . . . . . 1686
logging on
. . . . . . . . . . . . . . . . . . . . . . . 1687
logging snmp . . . . . . . . . . . . . . . . . . . . . . 1688
logging web-session . . . . . . . . . . . . . . . . . 1688
port
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1689
show logging. . . . . . . . . . . . . . . . . . . . . . 1690
show logging file . . . . . . . . . . . . . . . . . . . 1691
show syslog-servers
. . . . . . . . . . . . . . . . . . 1692
terminal monitor . . . . . . . . . . . . . . . . . . . . 1693
84 System Management Commands . . . . 1695
asset-tag . . . . . . . . . . . . . . . . . . . . . . . . 1695
banner exec
banner login . . . . . . . . . . . . . . . . . . . . . . 1697
banner motd . . . . . . . . . . . . . . . . . . . . . . 1698
banner motd acknowledge
. . . . . . . . . . . . . . . . . . . . . . 1696
. . . . . . . . . . . . . . 1699
Contents 71
clear checkpoint statistics . . . . . . . . . . . . . . 1702
clear counters stack-ports
. . . . . . . . . . . . . . 1702
cut-through mode . . . . . . . . . . . . . . . . . . . 1703
exec-banner . . . . . . . . . . . . . . . . . . . . . . 1704
hardware profile portmode
. . . . . . . . . . . . . . 1704
hostname. . . . . . . . . . . . . . . . . . . . . . . . 1705
initiate failover. . . . . . . . . . . . . . . . . . . . . 1706
ip address
. . . . . . . . . . . . . . . . . . . . . . . 1707
ip address none . . . . . . . . . . . . . . . . . . . . 1708
ip address {dhcp/bootp} . . . . . . . . . . . . . . . . 1708
login-banner
. . . . . . . . . . . . . . . . . . . . . . 1709
member. . . . . . . . . . . . . . . . . . . . . . . . . 1710
motd-banner . . . . . . . . . . . . . . . . . . . . . . 1711
nsf
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1711
ping. . . . . . . . . . . . . . . . . . . . . . . . . . . 1712
reload . . . . . . . . . . . . . . . . . . . . . . . . . 1714
set description
slot
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1715
. . . . . . . . . . . . . . . . . . . . . 1715
show banner . . . . . . . . . . . . . . . . . . . . . . 1717
show boot-version
. . . . . . . . . . . . . . . . . . . 1718
show checkpoint statistics . . . . . . . . . . . . . . 1719
Contents 72
show cut-through mode . . . . . . . . . . . . . . . . 1720
show hardware profile
. . . . . . . . . . . . . . . . 1720
show interfaces advanced firmware . . . . . . . . . 1721
show ip interface out-of-band. . . . . . . . . . . . . 1722
show memory cpu
. . . . . . . . . . . . . . . . . . . 1723
show nsf . . . . . . . . . . . . . . . . . . . . . . . . 1724
show power-usage-history . . . . . . . . . . . . . . 1725
show process cpu
. . . . . . . . . . . . . . . . . . . 1726
show sessions . . . . . . . . . . . . . . . . . . . . . 1728
show slot . . . . . . . . . . . . . . . . . . . . . . . . 1730
show supported cardtype
. . . . . . . . . . . . . . . 1731
show supported switchtype . . . . . . . . . . . . . . 1733
show switch . . . . . . . . . . . . . . . . . . . . . . 1735
show system
. . . . . . . . . . . . . . . . . . . . . . 1743
show system fan . . . . . . . . . . . . . . . . . . . . 1745
show system id . . . . . . . . . . . . . . . . . . . . 1745
show system power
show system temperature
. . . . . . . . . . . . . . . . . . 1746
. . . . . . . . . . . . . . . 1747
show tech-support . . . . . . . . . . . . . . . . . . . 1749
show users
. . . . . . . . . . . . . . . . . . . . . . . 1751
show version . . . . . . . . . . . . . . . . . . . . . . 1752
Contents 73
stack . . . . . . . . . . . . . . . . . . . . . . . . . . 1753
stack-port
. . . . . . . . . . . . . . . . . . . . . . . 1754
standby. . . . . . . . . . . . . . . . . . . . . . . . . 1755
switch renumber. . . . . . . . . . . . . . . . . . . . 1756
telnet
. . . . . . . . . . . . . . . . . . . . . . . . . . 1757
traceroute . . . . . . . . . . . . . . . . . . . . . . . 1759
85 Telnet Server Commands. . . . . . . . . . . 1763
Telnet Client Behaviors . . . . . . . . . . . . . . . . 1763
Commands in this Chapter
. . . . . . . . . . . . . . . 1766
ip telnet server disable . . . . . . . . . . . . . . . . 1766
ip telnet port . . . . . . . . . . . . . . . . . . . . . . 1767
show ip telnet
. . . . . . . . . . . . . . . . . . . . . 1767
86 Terminal Length Commands . . . . . . . . 1769
terminal length. . . . . . . . . . . . . . . . . . . . . 1769
87 Time Ranges Commands . . . . . . . . . . . 1771
time-range . . . . . . . . . . . . . . . . . . . . . . . 1771
absolute
periodic . . . . . . . . . . . . . . . . . . . . . . . . 1773
show time-range. . . . . . . . . . . . . . . . . . . . 1775
. . . . . . . . . . . . . . . . . . . . . . . . 1772
Contents 74
88 User Interface Commands. . . . . . . . . . 1779
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1779
end . . . . . . . . . . . . . . . . . . . . . . . . . . . 1780
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1780
mode simple
. . . . . . . . . . . . . . . . . . . . . . 1781
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1782
89 Web Server Commands . . . . . . . . . . . . 1783
Web Sessions . . . . . . . . . . . . . . . . . . . . . 1783
Commands in this Chapter
common-name . . . . . . . . . . . . . . . . . . . . . 1784
country . . . . . . . . . . . . . . . . . . . . . . . . . 1785
crypto certificate generate
crypto certificate import. . . . . . . . . . . . . . . . 1787
crypto certificate request . . . . . . . . . . . . . . . 1788
duration
. . . . . . . . . . . . . . . . . . . . . . . . 1789
ip http port . . . . . . . . . . . . . . . . . . . . . . . 1790
ip http server . . . . . . . . . . . . . . . . . . . . . . 1791
. . . . . . . . . . . . . . . 1784
. . . . . . . . . . . . . . 1786
ip http secure-certificate
. . . . . . . . . . . . . . . 1791
ip http secure-port . . . . . . . . . . . . . . . . . . . 1792
ip http secure-server. . . . . . . . . . . . . . . . . . 1793
Contents 75
key-generate . . . . . . . . . . . . . . . . . . . . . . 1794
location
. . . . . . . . . . . . . . . . . . . . . . . . . 1794
organization-unit . . . . . . . . . . . . . . . . . . . . 1795
show crypto certificate mycertificate. . . . . . . . . 1796
show ip http server status
. . . . . . . . . . . . . . . 1797
show ip http server secure status . . . . . . . . . . . 1797
state . . . . . . . . . . . . . . . . . . . . . . . . . . 1799
A Appendix A: List of Commands . . . . . . 1801
Contents 76
1
Command Groups
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 PowerConnect
switch, details the procedures, and provides configuration examples. Basic
installation configuration is described in the
completed before using this document.
User’s Guide
and must be
Command Groups
The system commands can be broken down into four sets of functional
groups: Layer 2, Data Center Technology, Layer 3, and Utility.
Table 1-1. System Command Groups
Command Group Description
Layer 2 Commands
AAA
Administrative Profiles
Commands
Configures connection security including authorization
and passwords.
Group commands into a profile and assign a profile to a
user upon authentication.
Command Groups 77
Table 1-1. System Command Groups
Command Group Description
Administrative Profiles
Address Table
Auto-VoIP
CDP Interoperability
DHCP L2 Relay
DHCP Management
Interface
Dynamic ARP Inspection
Ethernet Configuration
Ethernet CFM
IGMP Snooping
IGMP Snooping Querier
IP Addressing
IPv6 ACL
IPv6 MLD Snooping
IPv6 MLD Snooping
Querier
iSCSI Optimization
Link Dependency
LLDP
Port Aggregator
Port Chan nel
Port Moni tor
Configures and displays ACL information.
Configures bridging address tables.
Configures Auto VoIP for IP phones on a switch.
Configures Cisco® Discovery Protocol (CDP).
Enables the Layer 2 DHCP Relay agent for an interface.
Configures DHCP snooping and whether an interface is
trusted for filtering.
Configures for rejection of invalid and malicious ARP
packets.
Configures all port configuration options for example
ports, storm control, port speed and auto-negotiation.
Configures and displays GVRP configuration and
information.
Configures IGMP snooping and displays IGMP
configuration and IGMP information.
Configures IGMP Snooping Querier and displays IGMP
Snooping Querier information.
Configures and manages IP addresses on the switch.
Configures and displays ACL information for IPv6.
Configures IPv6 MLD Snooping.
Configures IPv6 Snooping Querier and displays IPv6
Snooping Querier information.
Configures special QoS treatment for traffic between
iSCSI initiators and target systems.
Configures and displays link dependency information.
Configures and displays LLDP information.
Provides server administrators the ability to map internal
ports to external ports easily.
Configures and displays Port channel information.
Monitors activity on specific target ports.
(continued)
Command Groups 78
Table 1-1. System Command Groups
Command Group Description
QoS
Radius
Spanning Tree
TACACS+
VLAN
802.1x
Data Center Technology Commands
Data Center Bridging
Commands
FIP Snooping Commands
Priority Flow Control
Commands
Layer 3 Commands
ARP (IPv4)
DHCP Server and Relay
Agent (IPv4)
DHCPv6
DVMRP
IGMP
IGMP Proxy
(Mcast) Configures DVMRP operations.
(Mcast) Configures IGMP operations.
(Mcast) Manages IGMP Proxy on the system.
Configures and displays QoS information.
Configures and displays RADIUS information.
Configures and reports on Spanning Tree protocol.
Configures and displays TACACS+ information.
Configures VLANs and displays VLAN information.
Configures and displays commands related to 802.1x
security protocol.
Data Center Bridging Exchange Protocol (DCBX) is used
by DCB devices to exchange configuration information
with directly connected peers. The protocol is also used to
detect misconfiguration of the peer DCB devices and,
optionally, for configuration of peer DCB devices.
FCoE Initialization Protocol (FIP) is used to perform the
functions of FC_BB_E device discovery, initialization and
maintenance. FIP snooping is a frame inspection method
used by FIP Snooping Bridges to monitor FIP frames and
apply policies based upon the L2 header information in
those frames, following recommendations in Annex C of
FC_BB_5 Rev 2.00
Provides priority-based flow control that can pause
(inhibit transmission of) individual priorities within a
single physical link.
Manages Address Resolution Protocol functions.
Manages DHCP/BOOTP operations on the system.
Configures IPv6 DHCP functions.
(continued)
Command Groups 79
Table 1-1. System Command Groups
Command Group Description
IP Helper/DHCP Relay
IP Routing
IPv6 Multicast
IPv6 Routing
Loopback Interface
(IPv6)
Multicast
OSPF
OSPFv3
Router Discovery Protocol
(IPv4)
Routing Information
Protocol
Tu n ne l I nt er fa c e
Virtual Router
Redundancy
Virtual Router
Redundancy
Utility Commands
Auto-Install
Captive Portal
Clock
Command Line
Configuration Scripting
Denial of Service
Line
(IPv4) Configures IP routing and addressing.
(Mcast) Manages Multicasting on the system.
(IPv4) Manages shortest path operations.
(IPv6) Manages IPv6 shortest path operations.
(IPv4)
(IPv6) Managing tunneling operations.
(IPv4)
(IPv4)
Configures relay of UDP packets.
Manages IPv6 Multicasting on the system.
Configures IPv6 routing and addressing.
Manages Loopback configurations.
Manages router discovery operations.
Configures RIP activities.
Controls virtual LAN routing.
Manages router redundancy on the system.
Automatically configures switch when a configuration file
is not found.
Blocks clients from accessing network until user
verification is established.
Configures the system clock.
Manages the switch configuration files.
Provides several Denial of Service options.
Configures the console, SSH, and remote Telnet
connection.
(continued)
Command Groups 80
Table 1-1. System Command Groups
Command Group Description
Management ACL
Password Management
PHY Diagnostics
RMON
Serviceability Tracing
sFlow
SNMP
SSH
Syslog
System Management
Tel net Ser ver
User Interface
Web S erv e r
Configures and displays management access-list
information.
Provides password management.
Diagnoses and displays the interface status.
Can be configured through the CLI and displays RMON
information.
Controls display of debug output to serial port or telnet
console.
Configures sFlow monitoring.
Configures SNMP communities, traps and displays SNMP
information.
Configures SSH authentication.
Manages and displays syslog messages.
Configures the switch clock, name and authorized users.
Configures Telnet service on the switch and displays
Teln et info r mati on .
Describes user commands used for entering CLI
commands.
Configures web-based access to the switch.
(continued)
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
•C P I — C a p t i v e P o r t a l I n s t a n c e
Command Groups 81
• CMC — Class-Map Configuration
• DP — IP DHCP Pool Configuration
• GC — Global Configuration
• IC — Interface Configuration (reached via
interface vlan xxx
• IP — IP Access List Configuration
• IR — Interface Range
•K C — K e y C h a i n
•K E — K e y
• L — Logging
• LC — Line Configuration
• LD — Link Dependency
• MA — Management Access-level
• MC — MST Configuration
• MDC — Maintenance Domain Configuration
• ML — MAC-List Configuration
• MSC — Mail Server Configuration
•M T — M A C - a c l
• OG — OSPFv2 Global Configuration
• PA — Port Aggregator
• PE — Privileged EXEC
• PM — Policy Map Configuration
• PCGC — Policy Map Global Configuration
• PCMC — Policy Class Map Configuration
•R — R a d i u s
• 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
command)
Command Groups 82
•S P — S S H P u b l i c K e y
•S K — S S H P u b l i c K e y - c h a i n
• TC — TACACS Configuration
• TRC — Time Range Configuration
• UE — User EXEC
• VC — VLAN Configuration (reached via
• v6ACL — IPv6 Access List Configuration
• v6CMC — IPv6 Class-Map Configuration
• v6DP — IPv6 DHCP Pool Configuration
Layer 2 Commands
AAA
vlan database
command)
Command Description Mode
aaa authentication dot1x
default
aaa authentication enable
aaa authentication login
aaa authorization network
default radius
aaa ias-user username
clear (IAS)
enable authentication
enable password
ip http authentication
ip https authentication
aaa ias-users Deletes all IAS users. PE
Specifies an authentication method for 802.1x
clients.
Defines authentication method lists for
accessing higher privilege levels.
Defines login authentication. GC
Enables the switch to accept VLAN assignment
by the RADIUS server.
Configures IAS users and their attributes. Also
changes the mode to aa user config mode.
Specifies the authentication method list when
accessing a higher privilege level from a remote
telnet or console.
Sets a local password to control access to the
normal level.
Specifies authentication methods for http. GC
Specifies authentication methods for https. GC
Command Groups 83
GC
GC
GC
GC
LC
GC
a
Command Description Mode
login authentication
Specifies the login authentication method list
LC
for a remote telnet or console.
password (aaa IAS User
Configures a password for a user. AAA
Configuration)
password (Line
Specifies a password on a line. LC
Configuration)
password (User EXEC)
show aaa ias-users
Specifies a user password UE
Displays configured IAS users and their
PE
attributes.
show authentication
methods
show users accounts
Shows information about authentication
methods.
Displays information about the local user
PE
PE
database.
show users login-history
Displays information about login histories of
PE
users.
username
Establishes a username-based authentication
GC
system. Optionally allows the specification of an
Administrative Profile for a local user.
username unlock
Transfers local user passwords between devices
GC
without having to know the passwords.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81
a
Administrative Profiles
Command Description Mode
admin-profile
description (Administrative
Profile Config)
rule
show admin-profiles
show admin-profiles brief
show cli modes
Creates an administrative profile. GC
Adds a description to an administrative profile. APC
Adds a rule to an administrative profile. APC
Displays the administrative profiles. PE
Lists the names of the administrative
PE
profiles defined on the switch.
Lists the names of all the CLI modes. PE
Command Groups 84
a
Command Description Mode
show users
Shows which administrative profiles have been
PE
assigned to local user accounts and to show
which profiles are active for logged-in users.
username
Optionally allows the specification of an
GC
Administrative Profile for a local user.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
ACL
Command Description Mode
access-list
deny | permit (IP ACL)
ip access-group
mac access-group
mac access-list extended
mac access-list extended
rename
service-acl input
Blocks Link Local Protocol Filtering (LLPF)
show service-acl interface
show ip access-lists
show mac access-list
Creates an Access Control List (ACL) that is
identified by the parameter
accesslistnumber.
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.
Attaches a specified access-control list to an
interface.
Attaches a specific MAC Access Control List
(ACL) to an interface in the in-bound
direction.
Creates the MAC Access Control List (ACL)
name
identified by the
parameter.
Renames the existing MAC Access Control List
(ACL) name.
protocol(s) on a given port.
Displays the status of LLPF rules configured on
a particular port or on all the ports.
Displays an Access Control List (ACL) and all
of the rules that are defined for the ACL.
Displays a MAC access list and all of the rules
that are defined for the ACL.
GC
ML
GC or
IC
GC or
IC
GC
GC
IC
PE
PE
PE
a
Command Groups 85
a. For the meaning of each Mode abbreviation, see
Address Table
Mode Types
on page 81.
Command Description Mode
clear mac address-table
Removes any learned entries from the
PE
forwarding database.
mac address-table aging-
Sets the address table aging time. GC
time
mac address-table multicast
forbidden address
mac address-table static vlan
Forbids adding a specific multicast address to
specific ports.
Registers MAC-layer multicast addresses to the
IC
IC
bridge forwarding table, and adds static ports to
the group.
mac address-table static vlan
Adds a static MAC-layer station source address
IC
to the bridge table.
port security
port security max
Disables new address learning on an interface. IC
Configures the maximum addresses that can be
IC
learned on the port while the port is in port
security mode.
show mac address-table
Displays dynamically created entries in the
PE
bridge-forwarding database.
show mac address-table
address
show mac address-table
count
show mac address-table
dynamic
show mac address-table
interface
show mac address-table
multicast
show mac address-table
static
Displays all entries in the bridge-forwarding
database for the specified MAC address.
Displays the number of addresses present in the
Forwa rd in g D atabase .
Displays all entries in the bridge-forwarding
database.
Displays the mac forwarding table entries for a
specific interface.
Displays Multicast MAC address table
information.
Displays statically created entries in the bridgeforwarding database.
UE or
PE
PE
UE or
PE
UE or
PE
PE
PE
a
Command Groups 86
Command Description Mode
show mac address-table vlan
show ports security
show ports security
addresses
Displays all entries in the bridge-forwarding
database for the specified VLAN.
UE or
PE
Displays the port-lock status. PE
Displays current dynamic addresses in locked
PE
ports.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
Auto-VoIP
Command Description Mode
switchport voice detect auto
show switchport voice
Enables the VoIP Profile on all the interfaces of
the switch.
Displays the status of auto-voip on an interface
GC or
IC
PE
or all interfaces.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
CDP Interoperability
Command Description Mode
clear isdp counters
clear isdp table
isdp advertise-v2
isdp enable
isdp holdtime
isdp timer
show isdp
show isdp interface
Clears the ISDP counters. PE
Clears entries in the ISDP table. PE
Enables the sending of ISDP version 2 packets
GC
from the device.
Enables ISDP on the switch. GC or
IC
Configures the hold time for ISDP packets that
GC
the switch transmits.
Sets period of time between sending new ISDP
GC
packets.
Displays global ISDP settings. PE
Displays ISDP settings for the specified
PE
interface.
a
a
Command Groups 87
Command Description Mode
show isdp entry
show isdp neighbors
show isdp traffic
a. For the meaning of each Mode abbreviation, see
Displays ISDP entries. PE
Displays the list of neighboring devices. PE
Displays ISDP statistics. PE
Mode Types
on page 81.
DHCP L2 Relay
a
Command Description Mode
dhcp l2relay (Global
Configuration)
dhcp l2relay circuit-id
Enables the Layer 2 DHCP Relay agent for an
interface or globally.
Enables user to set the DHCP Option 82
GC or
IC
GC
Circuit ID for a VLAN.
dhcp l2relay remote-id
Enables user to set the DHCP Option 82
GC
Remote ID for a VLAN.
dhcp l2relay vlan
Enables the L2 DHCP Relay agent for a set of
GC
VLANs.
dhcp l2relay trust
Configures an interface to trust a received
IC
DHCP Option 82.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
DHCP Management Interface
Command Description Mode
release dhcp
renew dhcp
debug dhcp packet
Forces the DHCPv4 client to release a leased
address.
Forces the DHCP client to immediately renew
an IPv4 address lane.
Displays debug information about DHCPv4
client activities and traces DHCP v4 packets to
and from the local DHCPv4 client.
PE
PE
PE
a
a
Command Groups 88
Command Description Mode
show dhcp lease
Displays IPv4 addresses leased from a DHCP
PE
server.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
DHCP Snooping
a
Command Description Mode
clear ip dhcp snooping
Clears all DHCP Snooping entries. PE
binding
clear ip dhcp snooping
Clears all DHCP Snooping statistics. PE
statistics
ip dhcp snooping
ip dhcp snooping binding
ip dhcp snooping database
Enables DHCP snooping globally or on a
specific VLAN.
GC or
IC
Configures a static DHCP Snooping binding. GC
Configures the persistent location of the DHCP
GC
snooping database.
ip dhcp snooping database
write-delay
Configures the interval in seconds at which the
DHCP Snooping database will be stored in
GC
persistent storage.
ip dhcp snooping limit
Controls the maximum rate of DHCP
IC
messages.
ip dhcp snooping log-invalid
Enables logging of DHCP messages filtered by
IC
the DHCP Snooping application.
ip dhcp snooping trust
ip dhcp snooping verify macaddress
Configure a port as trusted for DHCP snooping. IC
Enables the verification of the source MAC
GC
address with the client MAC address in the
received DHCP message.
show ip dhcp snooping
Displays the DHCP snooping global and per
PE
port configuration.
show ip dhcp snooping
Displays the DHCP snooping binding entries. PE
binding
show ip dhcp snooping
database
Displays the DHCP snooping configuration
related to the database persistence.
PE
a
Command Groups 89
Command Description Mode
show ip dhcp snooping
interfaces
show ip dhcp snooping
statistics
a. For the meaning of each Mode abbreviation, see
Displays the DHCP Snooping status of the
interfaces.
Displays the DHCP snooping filtration
statistics.
Mode Types
on page 81.
PE
PE
Dynamic ARP Inspection
a
Command Description Mode
arp access-list
clear ip arp inspection
statistics
ip arp inspection filter
Creates an ARP ACL. GC
Resets the statistics for Dynamic ARP
PE
Inspection on all VLANs.
Configures the ARP ACL to be used for a single
GC
VLAN or a range of VLANs to filter invalid ARP
packets.
ip arp inspection limit
Configures the rate limit and burst interval
IC
values for an interface.
ip arp inspection trust
Configures an interface as trusted for Dynamic
IC
ARP Inspection.
ip arp inspection validate
Enables additional validation checks like source
GC
MAC address validation, destination MAC
address validation or IP address validation on
the received ARP packets.
ip arp inspection vlan
Enables Dynamic ARP Inspection on a single
GC
VLAN or a range of VLANs.
permit ip host mac host
Configures a rule for a valid IP address and
ARPA
MAC address combination used in ARP packet
validation.
show arp access-list
Displays the configured ARP ACLs with the
PE
rules.
show ip arp inspection
Displays the Dynamic ARP Inspection
PE
configuration.
show ip arp inspection
interfaces
Displays the Dynamic ARP Inspection
configuration on all the DAI enabled interfaces.
PE
a
Command Groups 90
Command Description Mode
show ip arp inspection vlan
Displays the Dynamic ARP Inspection
PE
configuration on all the VLANs in the given
VLAN range.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
E-mail Alerting
Command Description Mode
logging email
logging email urgent
logging traps
logging email message-type
to-addr
logging email from-addr
logging email message-type
subject
logging email logtime
logging email test messagetype
show logging email statistics
clear logging email statistics
security
mail-server ip-address |
hostname
Enables e-mail alerting and sets the lowest
GC
severity level for which log messages are emailed.
Sets the lowest severity level at which log
GC
messages are e-mailed in an urgent manner.
Sets the lowest severity level at which SNMP
GC
traps are logged.
Configures the To address field of the e-mail. GC
Configures the From address of the e-mail. GC
Configures the subject. GC
Configures the value of how frequently the
GC
queued messages are sent.
Tests whether or not an e-mail is being sent to
GC
an SMTP server.
Displays information on how many e-mails are
PE
sent, how many e-mails failed, when the last email 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.
Clears the e-mail alerting statistics. GC
Sets the e-mail alerting security protocol. MSC
Configures the SMTP server IP address and
GC
changes the mode to Mail Server Configuration
Mode.
a
Command Groups 91
Command Description Mode
port (Mail Server
Configuration Mode)
username (Mail Server
Configuration Mode)
password (Mail Server
Configuration Mode)
show mail-server
Configures the TCP port to use for
communication with the SMTP servers.
Configures the username required by the
authentication.
Configures the password required to
authenticate to the e-mail server.
Displays the configuration of all the mail servers
MSC
MSC
MSC
PE
or a particular mail server.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
Ethernet Configuration
a
Command Description Mode
clear counters
description
duplex
Clears statistics on an interface. PE
Adds a description to an interface. IC
Configures the full/half duplex operation of a
IC
given Ethernet interface when not using autonegotiation.
flowcontrol
interface
Enters the interface configuration mode to
interface range
Configures the flow control on a given interface. GC
GC or
configure parameters for an interface.
Enters the interface configuration mode to
execute a command on multiple ports at the
IC
GC,
IC, IR
same time.
show interfaces advertise
Displays information about auto negotiation
PE
advertisement.
show interfaces
configuration
show interfaces counters
show interfaces description
Displays the configuration for all configured
UE
interfaces.
Displays traffic seen by the physical interface. UE
Displays the description for all configured
UE
interfaces.
show interfaces detail
Displays the detail for all configured interfaces. UE
a
Command Groups 92
Command Description Mode
show interfaces status
show statistics
Displays the status for all configured interfaces. UE
Displays statistics for one port or for the entire
PE
switch.
show statistics switchport
Displays detailed statistics for a specific port or
PE
for the entire switch.
show storm-control
shutdown
speed
Displays the storm control configuration. PE
Disables interfaces. IC
Configures the speed of a given Ethernet
IC
interface when not using auto-negotiation.
storm-control broadcast
storm-control multicast
Enables Broadcast storm control. IC
Enables the switch to count Multicast packets
IC
together with Broadcast packets.
storm-control unicast
switchport protected
switchport protected name
show switchport protected
Enables Unicast storm control. IC
Sets the port to Protected mode. IC
Configures a name for a protected group. GC
Displays protected group/port information. PE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
Ethernet CFM
Command Description Mode
ethernet cfm domain
service
ethernet cfm cc level
ethernet cfm mep level
Enters into maintenance domain config mode
GC
for an existing domain. Use the optional level
parameter to create a domain and enter into
maintenance domain config mode.
Associates a VLAN with a maintenance domain. MDC
Initiates sending continuity checks (CCMs) at
GC
the specified interval and level on a VLAN
monitored by an existing domain.
Creates a Maintenance End Point (MEP) on an
IC
interface at the specified level and direction.
Command Groups 93
a
Command Description Mode
ethernet cfm mep enable
Enables a MEP at the specified level and
IC
direction.
ethernet cfm mep active
Activates a MEP at the specified level and
IC
direction.
ethernet cfm mep archivehold-time
ethernet cfm mip level
Maintains internal information on a missing
MEP.
Creates a Maintenance Intermediate Point
IC
IC
(MIP) at the specified level.
ping ethernet cfm
Generates a loopback message (LBM) from
PE
the configured MEP.
traceroute ethernet cfm
show ethernet cfm errors
show ethernet cfm domain
show ethernet cfm
maintenance-points local
show ethernet cfm
maintenance-points remote
show ethernet cfm statistics
debug cfm
Generates a link trace message (LTM) from the
PE
configured MEP.
Displays the cfm errors. PE
Displays the configured parameters in a
PE
maintenance domain.
Displays the configured local maintenance
PE
points.
Displays the configured remote maintenance
PE
points.
Displays the CFM statistics. PE
Enables CFM debugging. PE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
GVRP
Command Description Mode
clear gvrp statistics
garp timer
gvrp enable (global)
gvrp enable (interface)
gvrp registration-forbid
Clears all the GVRP statistics information. PE
Adjusts the GARP application join, leave, and
IC
leaveall GARP timer values.
Enables GVRP globally. GC
Enables GVRP on an interface. IC
De-registers all VLANs, and prevents dynamic
IC
VLAN registration on the port.
Command Groups 94
a
Command Description Mode
gvrp vlan-creation-forbid
show gvrp configuration
Enables or disables dynamic VLAN creation. IC
Displays GVRP configuration information,
PE
including timer values, whether GVRP and
dynamic VLAN creation is enabled, and
which ports are running GVRP.
show gvrp error-statistics
show gvrp statistics
Displays GVRP error statistics. UE
Displays GVRP statistics. UE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
IGMP Snooping
Command Description Mode
ip igmp snooping
show ip igmp snooping
groups
show ip igmp snooping
mrouter
show ip igmp snooping
ip igmp snooping vlan
immediate-leave
ip igmp snooping vlan
groupmembership-interval
ip igmp snooping vlan lastmember-query-interval
ip igmp snooping vlan
mcrtrexpiretime
ip igmp snooping reportsuppression
In Global Config mode, Enables Internet
Group Management Protocol (IGMP)
snooping.
Displays Multicast groups learned by IGMP
snooping.
Displays information on dynamically learned
Multicast router interfaces.
In VLAN Config mode, enables IGMP snooping
on a particular VLAN or on all interfaces
participating in a VLAN.
Enables or disables IGMP Snooping fast-leave
mode on a selected VLAN.
Sets the IGMP Group Membership Interval
time on a VLAN.
Sets the IGMP Maximum Response time on a
particular VLAN.
Sets the Multicast Router Present Expiration
time.
Enables IGMP report suppression on a
specific VLAN.
GC
UE
PE
VC
VC
VC
VC
VC
GC
a
Command Groups 95
Command Description Mode
ip igmp snooping
unregistered floodall
ip igmp snooping vlan
mrouter
a. For the meaning of each Mode abbreviation, see
Enables flooding of unregistered multicast
traffic to all ports in the VLAN.
Statically configures a port as connected to a
multicast router for a specified VLAN.
Mode Types
on page 81.
GC
GC
IGMP Snooping Querier
a
Command Description Mode
ip igmp snooping querier
Enables/disables IGMP Snooping Querier on
the system (Global Configuration mode) or on
GC,
VC
a VLAN.
ip igmp snooping querier
election participate
Enables the Snooping Querier to participate in
the Querier Election process when it discovers
VC
the presence of another Querier in the VLAN.
ip igmp snooping querier
Sets the IGMP Querier Query Interval time. GC
query-interval
ip igmp snooping querier
Sets the IGMP Querier timer expiration period. GC
timer expiry
ip igmp snooping querier
version
show ip igmp snooping
Sets the IGMP version of the query that the
GC
snooping switch is going to send periodically.
Displays IGMP Snooping Querier information. PE
querier
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
IP Addressing
Command Description Mode
clear host
clear ip address-conflictdetect
interface out-of-band Brings up the OOB port configuration menu. GC
Deletes entries from the host name-to-address
cache.
Clears the address conflict detection status in
the switch.
PE
PE
a
a
Command Groups 96
Command Description Mode
ip address-conflict-detect
run
Triggers the switch to run active address conflict
detection by sending gratuitous ARP packets for
GC
IPv4 addresses on the switch.
ip address dhcp (Interface
Config)
ip default-gateway
ip domain-lookup
Acquires an IP address on an interface from the
IC
DHCP server.
Defines a default gateway (router). GC
Enables IP DNS-based host name-to-address
GC
translation.
ip domain-name
Defines a default domain name to complete
GC
unqualified host names.
ip host
Configures static host name-to-address
GC
mapping in the host cache.
ip name-server
ipv6 address (Interface
Config)
ipv6 address dhcp
ipv6 address dhcp
Configures available name servers. GC
Sets the IPv6 address of the management
IC
interface.
Sets the IPv6 prefix on the out-of-band port. IC
Enables the DHCPv6 client on an IPv6
IC
interface.
ipv6 enable (Interface
Enables IPv6 on the management interface. GC
Config)
show hosts
Displays the default domain name, a list of
UE
name server hosts, static and cached list of host
names and addresses.
show ip address-conflict
show ip helper-address
show ipv6 dhcp interface
out-of-band statistics
show ipv6 interface out-ofband
Displays the status information corresponding
to the last detected address conflict.
UE or
PE
Displays the ip helper addresses configuration. PE
Displays IPv6 DHCP statistics for the out-of-
PE
band interface.
Displays the IPv6 out-of-band port
PE
configuration.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
Command Groups 97
IPv6 ACL
Command Description Mode
deny | permit (IPv6
ACL)
ipv6 access-list
ipv6 access-list rename
ipv6 traffic-filter
show ipv6 access-lists
a. For the meaning of each Mode abbreviation, see
Creates a new rule for the current IPv6 access
list.
Creates an IPv6 Access Control List (ACL)
consisting of classification fields defined for the
IP header of an IPv6 frame.
Changes the name of an IPv6 ACL. GC
Attaches a specific IPv6 ACL to an interface or
associates it with a VLAN ID in a given
direction.
Displays an IPv6 access list (and the rules
defined for it).
Mode Types
on page 81.
v6ACL
GC
GC
IC
PE
IPv6 MLD Snooping
Command Description Mode
ipv6 mld snooping vlan
immediate-leave
ipv6 mld snooping vlan
groupmembership-interval
ipv6 mld snooping vlan lastlistener-query-interval
ipv6 mld snooping listenermessage-suppression
ipv6 mld snooping vlan
mrouter
ipv6 mld snooping (Global)
show ipv6 mld snooping
Enables or disables MLD Snooping immediateleave admin mode on a selected interface or
VLAN.
Sets the MLD Group Membership Interval
time on a VLAN or interface.
Sets the MLD Maximum Response time for an
interface or VLAN.
Enables MLD listener message suppression on a
specific VLAN.
Statically configures a port as connected to
VC
VC
IC or
VC
GC
GC
a multicast router for a specified VLAN.
Enables MLD Snooping on the system (Global
Config Mode).
Displays MLD Snooping information. PE
GC
a
a
Command Groups 98
Command Description Mode
show ipv6 mld snooping
groups
a. For the meaning of each Mode abbreviation, see
Displays the MLD Snooping entries in the
MFDB table.
Mode Types
on page 81.
PE
IPv6 MLD Snooping Querier
a
Command Description Mode
ipv6 mld snooping querier
ipv6 mld snooping querier
address
ipv6 mld snooping querier
election participate
Enables MLD Snooping Querier on the system
or on a VLAN.
Sets the global MLD Snooping Querier address
on the system or on a VLAN.
Enables the Snooping Querier to participate in
the Querier Election process when it discovers
GC or
VC
GC or
VC
VC
the presence of another Querier in the VLAN.
ipv6 mld snooping querier
Sets the MLD Querier Query Interval time. GC
query-interval
ipv6 mld snooping querier
Sets the MLD Querier timer expiration period. GC
timer expiry
show ipv6 mld snooping
Displays MLD Snooping Querier information. PE
querier
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
IP Source Guard
Command Description Mode
ip verify source
ip verify source port-security
ip verify binding
show ip verify interface
show ip verify source
interface
Enables filtering of IP packets matching the
IC
source IP address.
Enables filtering of IP packets matching the
IC
source IP address and the source MAC address.
Configures static bindings. GC
Displays the IPSG interface configuration. PE
Displays the bindings configured on a particular
PE
interface.
a
a
Command Groups 99
Command Description Mode
show ip source binding
Displays all bindings (static and dynamic). PE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
iSCSI Optimization
Link Dependency
Command Description Mode
iscsi aging time
iscsi cos
iscsi enable
iscsi target port
show iscsi
show iscsi sessions
a. For the meaning of each Mode abbreviation, see
Command Description Mode
action
link-dependency group
add gigabitethernet
add tengigabitethernet
add port-channel
Sets aging time for iSCSI sessions. GC
Sets the quality of service profile that will be
applied to iSCSI flows.
Enables Global Configuration mode command
globally enables iSCSI awareness.
Configures an iSCSI target port (optionally
configures target port address and name).
Displays the iSCSI settings. PE
Displays the iSCSI sessions. PE
Mode Types
on page 81.
Indicates if the link-dependency group should
mirror or invert the status of the depended on
interfaces.
Enters the link-dependency mode to configure
a link-dependency group.
Adds member gigabit Ethernet port(s) to the
dependency list.
Adds member ten gigabit Ethernet port(s) to
the dependency list.
Adds member port-channels to the
dependency list.
GC
GC
GC
LD
GC
LD
LD
LD
a
a
Command Groups 100