Dell PowerConnect
7000 Series Systems
CLI Reference Guide
Regulatory Model: PC7024, PC7024F,
PC7024P, PC7048, PC7048P, PC7048R, and
PC7048R-RA
Regulatory Type: XXXXX
Notes
NOTE: A NOTE indicates important information that helps you make better use of
your computer.
____________________
Information in this publication is subject to change without notice.
© 2011 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 ce rtain 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 trad emark of
®
is a regist ered trad emark of Cisco Systems, I nc. and/ or its affi liates i n the
®
and Windows®are registered trademarks of
Regulatory Model PC7024, PC7024F, PC7024P, PC7048, PC7048P, PC7048R, and PC7048R-RA
Regulatory Type: XXXXX
2011 - October P/N XXXXX Rev. A03
Contents
1 Command Groups . . . . . . . . . . . . . . . . . . 75
Introduction . . . . . . . . . . . . . . . . . . . . . . . 75
Command Groups
Mode Types . . . . . . . . . . . . . . . . . . . . . . . 79
Layer 2 Commands
Layer 3 Commands . . . . . . . . . . . . . . . . . . . . 115
Utility Commands . . . . . . . . . . . . . . . . . . . . 142
. . . . . . . . . . . . . . . . . . . . 76
. . . . . . . . . . . . . . . . . . . . 81
2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 165
Introduction . . . . . . . . . . . . . . . . . . . . . . . 165
Entering and Editing CLI Commands. . . . . . . . . . . 165
CLI Command Modes . . . . . . . . . . . . . . . . . . 175
Starting the CLI
Using CLI Functions and Tools. . . . . . . . . . . . . . 196
. . . . . . . . . . . . . . . . . . . . . . 188
Contents 3
3 Layer 2 Switching Commands . . . . . . . . 237
4 AAA Commands . . . . . . . . . . . . . . . . . . . 239
Commands in this Chapter . . . . . . . . . . . . . . . 240
aaa authentication dot1x default . . . . . . . . . . . 240
aaa authentication enable . . . . . . . . . . . . . . . 242
aaa authentication login
. . . . . . . . . . . . . . . . 243
aaa authorization network default radius . . . . . . . 245
aaa ias-user username. . . . . . . . . . . . . . . . . 246
aaa new-model
. . . . . . . . . . . . . . . . . . . . . 247
clear (IAS) . . . . . . . . . . . . . . . . . . . . . . . 247
enable authentication . . . . . . . . . . . . . . . . . 248
enable password
. . . . . . . . . . . . . . . . . . . . 249
ip http authentication . . . . . . . . . . . . . . . . . 250
ip https authentication . . . . . . . . . . . . . . . . . 251
login authentication
. . . . . . . . . . . . . . . . . . 252
password (aaa IAS User Configuration) . . . . . . . . 253
password (Line Configuration)
password (User EXEC)
. . . . . . . . . . . . . 254
. . . . . . . . . . . . . . . . . 255
show aaa ias-users . . . . . . . . . . . . . . . . . . 256
4 Contents
show authentication methods
. . . . . . . . . . . . . 257
show users accounts . . . . . . . . . . . . . . . . . . 258
show users login-history
. . . . . . . . . . . . . . . . 260
username. . . . . . . . . . . . . . . . . . . . . . . . . 261
username password encrypted . . . . . . . . . . . . . 262
username unlock
. . . . . . . . . . . . . . . . . . . . 264
5 ACL Commands . . . . . . . . . . . . . . . . . . . 267
ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 267
Commands in this Chapter. . . . . . . . . . . . . . . . 270
access-list
deny | permit (IP ACL) . . . . . . . . . . . . . . . . . . 272
deny | permit (Mac-Access-List-Configuration) . . . . 274
ip access-group
mac access-group . . . . . . . . . . . . . . . . . . . . 277
mac access-list extended . . . . . . . . . . . . . . . . 278
. . . . . . . . . . . . . . . . . . . . . . . . 270
. . . . . . . . . . . . . . . . . . . . . 276
mac access-list extended rename
. . . . . . . . . . . 279
service-acl input. . . . . . . . . . . . . . . . . . . . . 280
show service-acl interface
show ip access-lists
. . . . . . . . . . . . . . . 281
. . . . . . . . . . . . . . . . . . . 282
show mac access-list . . . . . . . . . . . . . . . . . . 283
Contents 5
6 Address Table Commands . . . . . . . . . . . 285
Commands in this Chapter . . . . . . . . . . . . . . . 285
clear mac address-table. . . . . . . . . . . . . . . . 286
mac address-table aging-time . . . . . . . . . . . . . 287
mac address-table multicast filtering
. . . . . . . . . 288
mac address-table multicast forbidden address . . . 289
mac address-table multicast forbidden
forward-unregistered
. . . . . . . . . . . . . . . . . 290
mac address-table multicast forward-all . . . . . . . 291
mac address-table multicast
forward-unregistered
. . . . . . . . . . . . . . . . . 292
mac address-table multicast static . . . . . . . . . . 293
mac address-table static . . . . . . . . . . . . . . . 295
port security
. . . . . . . . . . . . . . . . . . . . . . 296
port security max. . . . . . . . . . . . . . . . . . . . 297
show mac address-table multicast . . . . . . . . . . 297
show mac address-table filtering
. . . . . . . . . . . 299
show mac address-table. . . . . . . . . . . . . . . . 300
6 Contents
show mac address-table address
show mac address-table count
. . . . . . . . . . . 301
. . . . . . . . . . . . 302
show mac address-table dynamic. . . . . . . . . . . 303
show mac address-table interface . . . . . . . . . . . 305
show mac address-table static
. . . . . . . . . . . . . 306
show mac address-table vlan . . . . . . . . . . . . . . 307
show ports security . . . . . . . . . . . . . . . . . . . 308
show ports security addresses
. . . . . . . . . . . . . 309
7 Auto-VoIP Commands . . . . . . . . . . . . . . 311
Commands in this Chapter. . . . . . . . . . . . . . . . 311
show switchport voice . . . . . . . . . . . . . . . . . 312
switchport voice detect auto
. . . . . . . . . . . . . . 314
8 CDP Interoperability Commands . . . . . . 317
Commands in this Chapter. . . . . . . . . . . . . . . . 317
clear isdp counters . . . . . . . . . . . . . . . . . . . 317
clear isdp table
. . . . . . . . . . . . . . . . . . . . . 318
isdp advertise-v2. . . . . . . . . . . . . . . . . . . . . 318
isdp enable . . . . . . . . . . . . . . . . . . . . . . . . 319
isdp holdtime
. . . . . . . . . . . . . . . . . . . . . . . 320
isdp timer . . . . . . . . . . . . . . . . . . . . . . . . 321
show isdp
show isdp entry
. . . . . . . . . . . . . . . . . . . . . . . . 321
. . . . . . . . . . . . . . . . . . . . . 322
show isdp interface . . . . . . . . . . . . . . . . . . . 324
Contents 7
show isdp neighbors . . . . . . . . . . . . . . . . . . 325
show isdp traffic
. . . . . . . . . . . . . . . . . . . . 327
9 DHCP Layer 2 Relay Commands. . . . . . . 329
Commands in this Chapter . . . . . . . . . . . . . . . 329
dhcp l2relay (Global Configuration) . . . . . . . . . . 329
dhcp l2relay (Interface Configuration)
dhcp l2relay circuit-id . . . . . . . . . . . . . . . . . 331
dhcp l2relay remote-id. . . . . . . . . . . . . . . . . 332
dhcp l2relay trust
. . . . . . . . . . . . . . . . . . . . 332
dhcp l2relay vlan . . . . . . . . . . . . . . . . . . . . 333
show dhcp l2relay all . . . . . . . . . . . . . . . . . 334
show dhcp l2relay interface
. . . . . . . . . . . . . . 335
show dhcp l2relay stats interface . . . . . . . . . . . 336
show dhcp l2relay subscription interface. . . . . . . 337
. . . . . . . . . 330
8 Contents
show dhcp l2relay agent-option vlan
. . . . . . . . . 338
show dhcp l2relay vlan . . . . . . . . . . . . . . . . 339
show dhcp l2relay circuit-id vlan
show dhcp l2relay remote-id vlan
. . . . . . . . . . . 340
. . . . . . . . . . . 341
clear dhcp l2relay statistics interface. . . . . . . . . 342
10 DHCP Management Interface
Commands . . . . . . . . . . . . . . . . . . . . . . . 345
Commands in this Chapter. . . . . . . . . . . . . . . . 345
release dhcp
. . . . . . . . . . . . . . . . . . . . . . . 346
renew dhcp . . . . . . . . . . . . . . . . . . . . . . . 347
debug dhcp packet . . . . . . . . . . . . . . . . . . . 348
show dhcp lease
. . . . . . . . . . . . . . . . . . . . . 349
11 DHCP Snooping Commands . . . . . . . . . . 353
Commands in this Chapter. . . . . . . . . . . . . . . . 353
clear ip dhcp snooping binding . . . . . . . . . . . . . 354
clear ip dhcp snooping statistics
ip dhcp snooping. . . . . . . . . . . . . . . . . . . . . 355
ip dhcp snooping binding . . . . . . . . . . . . . . . . 356
ip dhcp snooping database
ip dhcp snooping database write-delay . . . . . . . . 358
ip dhcp snooping limit . . . . . . . . . . . . . . . . . . 359
. . . . . . . . . . . . 355
. . . . . . . . . . . . . . . 357
ip dhcp snooping log-invalid
. . . . . . . . . . . . . . 360
ip dhcp snooping trust . . . . . . . . . . . . . . . . . . 360
ip dhcp snooping verify mac-address
show ip dhcp snooping
. . . . . . . . . . . . . . . . . 362
. . . . . . . . . . 361
show ip dhcp snooping binding . . . . . . . . . . . . . 363
Contents 9
show ip dhcp snooping database . . . . . . . . . . . 364
show ip dhcp snooping interfaces
. . . . . . . . . . 365
show ip dhcp snooping statistics . . . . . . . . . . . 366
12 Dynamic ARP Inspection Commands. . . 369
Commands in this Chapter . . . . . . . . . . . . . . . 369
arp access-list
clear ip arp inspection statistics . . . . . . . . . . . 370
ip arp inspection filter . . . . . . . . . . . . . . . . . 371
ip arp inspection limit
ip arp inspection trust . . . . . . . . . . . . . . . . . 372
ip arp inspection validate . . . . . . . . . . . . . . . 373
ip arp inspection vlan
permit ip host mac host . . . . . . . . . . . . . . . . 375
show arp access-list. . . . . . . . . . . . . . . . . . 376
. . . . . . . . . . . . . . . . . . . . . 369
. . . . . . . . . . . . . . . . . 371
. . . . . . . . . . . . . . . . . 374
13 Email Alerting Commands . . . . . . . . . . . 383
10 Contents
show ip arp inspection
. . . . . . . . . . . . . . . . . 376
show ip arp inspection vlan . . . . . . . . . . . . . . 379
Commands in this Chapter . . . . . . . . . . . . . . . 383
logging email
. . . . . . . . . . . . . . . . . . . . . . 384
logging email urgent . . . . . . . . . . . . . . . . . . 386
logging traps . . . . . . . . . . . . . . . . . . . . . . . 387
logging email message-type to-addr
. . . . . . . . . . 388
logging email from-addr . . . . . . . . . . . . . . . . . 389
logging email message-type subject . . . . . . . . . . 389
logging email logtime
logging email test message-type
. . . . . . . . . . . . . . . . . . 390
. . . . . . . . . . . . 391
show logging email statistics . . . . . . . . . . . . . . 392
clear logging email statistics
. . . . . . . . . . . . . . 392
security. . . . . . . . . . . . . . . . . . . . . . . . . . 393
mail-server ip-address | hostname . . . . . . . . . . . 394
port (Mail Server Configuration Mode)
. . . . . . . . . 395
username (Mail Server Configuration Mode) . . . . . . 395
password (Mail Server Configuration Mode) . . . . . . 396
show mail-server
. . . . . . . . . . . . . . . . . . . . 397
14 Ethernet Configuration Commands . . . . 399
Commands in this Chapter. . . . . . . . . . . . . . . . 400
clear counters
description
duplex . . . . . . . . . . . . . . . . . . . . . . . . . . 402
flowcontrol
interface
. . . . . . . . . . . . . . . . . . . . . . 400
. . . . . . . . . . . . . . . . . . . . . . . . 401
. . . . . . . . . . . . . . . . . . . . . . . . 403
. . . . . . . . . . . . . . . . . . . . . . . . . 403
Contents 11
interface range. . . . . . . . . . . . . . . . . . . . . 404
mtu
. . . . . . . . . . . . . . . . . . . . . . . . . . . 406
show interfaces advertise . . . . . . . . . . . . . . . 407
show interfaces configuration. . . . . . . . . . . . . 408
show interfaces counters
show interfaces description
. . . . . . . . . . . . . . . 409
. . . . . . . . . . . . . . 413
show interfaces detail. . . . . . . . . . . . . . . . . 414
show interfaces status
. . . . . . . . . . . . . . . . . 417
show statistics . . . . . . . . . . . . . . . . . . . . . 418
show statistics switchport . . . . . . . . . . . . . . 423
show storm-control
. . . . . . . . . . . . . . . . . . 425
shutdown . . . . . . . . . . . . . . . . . . . . . . . . 426
speed . . . . . . . . . . . . . . . . . . . . . . . . . . 427
storm-control broadcast
. . . . . . . . . . . . . . . . 428
storm-control multicast . . . . . . . . . . . . . . . . 429
storm-control unicast . . . . . . . . . . . . . . . . . 430
switchport protected
. . . . . . . . . . . . . . . . . . 431
switchport protected name . . . . . . . . . . . . . . 432
15 Ethernet CFM Commands. . . . . . . . . . . . 435
12 Contents
show switchport protected . . . . . . . . . . . . . . 432
Commands in this Chapter . . . . . . . . . . . . . . . 435
ethernet cfm domain . . . . . . . . . . . . . . . . . . . 436
service
. . . . . . . . . . . . . . . . . . . . . . . . . . 437
ethernet cfm cc level . . . . . . . . . . . . . . . . . . 438
ethernet cfm mep level . . . . . . . . . . . . . . . . . 439
ethernet cfm mep enable
ethernet cfm mep active
. . . . . . . . . . . . . . . . 440
. . . . . . . . . . . . . . . . . 441
ethernet cfm mep archive-hold-time . . . . . . . . . . 442
ethernet cfm mip level
. . . . . . . . . . . . . . . . . . 442
ping ethernet cfm . . . . . . . . . . . . . . . . . . . . 443
traceroute ethernet cfm . . . . . . . . . . . . . . . . . 444
show ethernet cfm errors
. . . . . . . . . . . . . . . . 446
show ethernet cfm domain . . . . . . . . . . . . . . . 446
show ethernet cfm maintenance-points local . . . . . 447
show ethernet cfm maintenance-points remote
. . . . 448
show ethernet cfm statistics . . . . . . . . . . . . . . 450
debug cfm . . . . . . . . . . . . . . . . . . . . . . . . 451
16 Green Ethernet Commands . . . . . . . . . . 455
Energy-Detect Mode. . . . . . . . . . . . . . . . . . . 455
Energy Efficient Ethernet . . . . . . . . . . . . . . . . 455
Commands in this Chapter
green-mode energy-detect
. . . . . . . . . . . . . . . . 455
. . . . . . . . . . . . . . . 456
Contents 13
green-mode eee . . . . . . . . . . . . . . . . . . . . 457
clear green-mode statistics
. . . . . . . . . . . . . . 458
green-mode eee-lpi-history . . . . . . . . . . . . . . 458
show green-mode interface-id . . . . . . . . . . . . 460
show green-mode
show green-mode eee-lpi-history interface
. . . . . . . . . . . . . . . . . . . 464
. . . . . 465
17 GVRP Commands . . . . . . . . . . . . . . . . . . 469
Commands in this Chapter . . . . . . . . . . . . . . . 469
clear gvrp statistics
garp timer . . . . . . . . . . . . . . . . . . . . . . . 470
gvrp enable (global) . . . . . . . . . . . . . . . . . . 471
gvrp enable (interface)
gvrp registration-forbid . . . . . . . . . . . . . . . . 473
gvrp vlan-creation-forbid . . . . . . . . . . . . . . . 474
. . . . . . . . . . . . . . . . . . 469
. . . . . . . . . . . . . . . . . 472
18 IGMP Snooping Commands . . . . . . . . . . 479
14 Contents
show gvrp configuration
. . . . . . . . . . . . . . . . 474
show gvrp error-statistics . . . . . . . . . . . . . . . 476
show gvrp statistics
. . . . . . . . . . . . . . . . . . 477
Commands in this Chapter . . . . . . . . . . . . . . . 480
ip igmp snooping (global) . . . . . . . . . . . . . . . 480
ip igmp snooping (interface). . . . . . . . . . . . . . . 481
ip igmp snooping host-time-out
. . . . . . . . . . . . . 482
ip igmp snooping leave-time-out . . . . . . . . . . . . 482
ip igmp snooping mrouter-time-out . . . . . . . . . . . 483
show ip igmp snooping
show ip igmp snooping groups
. . . . . . . . . . . . . . . . . 484
. . . . . . . . . . . . . 485
show ip igmp snooping interface . . . . . . . . . . . . 486
show ip igmp snooping mrouter
. . . . . . . . . . . . . 487
ip igmp snooping (VLAN) . . . . . . . . . . . . . . . . 487
ip igmp snooping fast-leave . . . . . . . . . . . . . . . 488
ip igmp snooping groupmembership-interval
. . . . . . 489
ip igmp snooping maxresponse . . . . . . . . . . . . . 490
ip igmp snooping mcrtrexpiretime . . . . . . . . . . . 491
19 IGMP Snooping Querier Commands . . . 493
Commands in this Chapter. . . . . . . . . . . . . . . . 493
ip igmp snooping querier . . . . . . . . . . . . . . . . 493
ip igmp snooping querier election participate
ip igmp snooping querier query-interval
. . . . . 495
. . . . . . . . 496
ip igmp snooping querier timer expiry . . . . . . . . . 497
ip igmp snooping querier version
show ip igmp snooping querier
. . . . . . . . . . . . 497
. . . . . . . . . . . . . 498
Contents 15
20 IP Addressing Commands . . . . . . . . . . . 501
Commands in this Chapter . . . . . . . . . . . . . . . 501
clear host. . . . . . . . . . . . . . . . . . . . . . . . 502
clear ip address-conflict-detect. . . . . . . . . . . . 502
ip address (Out-of-Band)
. . . . . . . . . . . . . . . . 503
ip address-conflict-detect run. . . . . . . . . . . . . 504
ip address dhcp (Interface Config) . . . . . . . . . . 505
ip default-gateway
. . . . . . . . . . . . . . . . . . . 506
ip domain-lookup . . . . . . . . . . . . . . . . . . . 508
ip domain-name . . . . . . . . . . . . . . . . . . . . 508
ip host
. . . . . . . . . . . . . . . . . . . . . . . . . 509
ip name-server . . . . . . . . . . . . . . . . . . . . . 510
ipv6 address (Interface Config) . . . . . . . . . . . . 511
ipv6 address (OOB Port)
. . . . . . . . . . . . . . . . 512
ipv6 address dhcp . . . . . . . . . . . . . . . . . . . 514
ipv6 enable (Interface Config) . . . . . . . . . . . . . 515
ipv6 enable (OOB Config)
. . . . . . . . . . . . . . . 515
ipv6 gateway (OOB Config) . . . . . . . . . . . . . . 516
16 Contents
show hosts
show ip address-conflict
. . . . . . . . . . . . . . . . . . . . . . . 517
. . . . . . . . . . . . . . . 518
show ip helper-address . . . . . . . . . . . . . . . . 519
show ipv6 dhcp interface out-of-band statistics . . . . 520
show ipv6 interface out-of-band
. . . . . . . . . . . . 521
21 IPv6 Access List Commands . . . . . . . . . 523
Commands in this Chapter. . . . . . . . . . . . . . . . 523
{deny | permit} (IPv6 ACL) . . . . . . . . . . . . . . . . 524
ipv6 access-list
. . . . . . . . . . . . . . . . . . . . . 526
ipv6 access-list rename . . . . . . . . . . . . . . . . . 527
ipv6 traffic-filter . . . . . . . . . . . . . . . . . . . . . 528
show ipv6 access-lists
. . . . . . . . . . . . . . . . . 529
22 IPv6 MLD Snooping Commands. . . . . . . 533
Commands in this Chapter. . . . . . . . . . . . . . . . 533
ipv6 mld snooping immediate-leave . . . . . . . . . . 534
ipv6 mld snooping groupmembership-interval
. . . . . 535
ipv6 mld snooping maxresponse . . . . . . . . . . . . 535
ipv6 mld snooping mcrtexpiretime . . . . . . . . . . . 536
ipv6 mld snooping (Global)
. . . . . . . . . . . . . . . 537
ipv6 mld snooping (Interface) . . . . . . . . . . . . . . 538
ipv6 mld snooping (VLAN)
show ipv6 mld snooping
. . . . . . . . . . . . . . . . 539
. . . . . . . . . . . . . . . . . 540
show ipv6 mld snooping groups. . . . . . . . . . . . . 541
Contents 17
23 IPv6 MLD Snooping Querier
Commands . . . . . . . . . . . . . . . . . . . . . . . 545
Commands in this Chapter . . . . . . . . . . . . . . . 545
ipv6 mld snooping querier
ipv6 mld snooping querier (VLAN mode) . . . . . . . 546
ipv6 mld snooping querier address . . . . . . . . . . 547
ipv6 mld snooping querier election participate
ipv6 mld snooping querier query-interval . . . . . . . 548
ipv6 mld snooping querier timer expiry . . . . . . . . 549
show ipv6 mld snooping querier
. . . . . . . . . . . . . . . 546
. . . . 548
. . . . . . . . . . . . 550
24 IP Source Guard Commands . . . . . . . . . 553
Commands in this Chapter . . . . . . . . . . . . . . . 553
ip verify source. . . . . . . . . . . . . . . . . . . . . 553
ip verify source port-security
ip verify binding . . . . . . . . . . . . . . . . . . . . 555
show ip verify interface . . . . . . . . . . . . . . . . 555
. . . . . . . . . . . . . 554
25 iSCSI Optimization Commands . . . . . . . . 559
18 Contents
show ip verify source interface
show ip source binding . . . . . . . . . . . . . . . . 556
Commands in this Chapter . . . . . . . . . . . . . . . 560
. . . . . . . . . . . . 556
iscsi aging time . . . . . . . . . . . . . . . . . . . . . 560
iscsi cos
. . . . . . . . . . . . . . . . . . . . . . . . . 561
iscsi enable . . . . . . . . . . . . . . . . . . . . . . . 563
iscsi target port . . . . . . . . . . . . . . . . . . . . . 564
show iscsi
show iscsi sessions
. . . . . . . . . . . . . . . . . . . . . . . . 566
. . . . . . . . . . . . . . . . . . . 567
26 Link Dependency Commands . . . . . . . . 571
Commands in this Chapter. . . . . . . . . . . . . . . . 571
action
. . . . . . . . . . . . . . . . . . . . . . . . . . . 571
link-dependency group . . . . . . . . . . . . . . . . . 572
add gigabitethernet . . . . . . . . . . . . . . . . . . . 573
add tengigabitethernet
add port-channel. . . . . . . . . . . . . . . . . . . . . 574
depends-on. . . . . . . . . . . . . . . . . . . . . . . . 575
. . . . . . . . . . . . . . . . . 573
show link-dependency
. . . . . . . . . . . . . . . . . 576
27 LLDP Commands . . . . . . . . . . . . . . . . . . 579
Commands in this Chapter. . . . . . . . . . . . . . . . 580
clear lldp remote-data
clear lldp statistics
lldp med . . . . . . . . . . . . . . . . . . . . . . . . . 582
. . . . . . . . . . . . . . . . . . 580
. . . . . . . . . . . . . . . . . . . 581
Contents 19
lldp med confignotification . . . . . . . . . . . . . . 582
lldp med faststartrepeatcount
. . . . . . . . . . . . . 583
lldp med transmit-tlv . . . . . . . . . . . . . . . . . . 584
lldp notification . . . . . . . . . . . . . . . . . . . . 585
lldp notification-interval
lldp receive
. . . . . . . . . . . . . . . . . . . . . . . 586
. . . . . . . . . . . . . . . . 585
lldp timers . . . . . . . . . . . . . . . . . . . . . . . 587
lldp transmit
. . . . . . . . . . . . . . . . . . . . . . 588
lldp transmit-mgmt . . . . . . . . . . . . . . . . . . . 589
lldp transmit-tlv . . . . . . . . . . . . . . . . . . . . 589
show lldp
. . . . . . . . . . . . . . . . . . . . . . . . 590
show lldp interface . . . . . . . . . . . . . . . . . . 591
show lldp local-device . . . . . . . . . . . . . . . . 592
show lldp med
. . . . . . . . . . . . . . . . . . . . . 594
show lldp med interface . . . . . . . . . . . . . . . . 595
20 Contents
show lldp med local-device detail . . . . . . . . . . 596
show lldp med remote-device
. . . . . . . . . . . . . 598
show lldp remote-device . . . . . . . . . . . . . . . 602
show lldp statistics . . . . . . . . . . . . . . . . . . 603
28 Multicast VLAN Registration
Commands . . . . . . . . . . . . . . . . . . . . . . . 607
Commands in this Chapter. . . . . . . . . . . . . . . . 608
mvr
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
mvr group . . . . . . . . . . . . . . . . . . . . . . . . 609
mvr mode . . . . . . . . . . . . . . . . . . . . . . . . . 610
mvr querytime
. . . . . . . . . . . . . . . . . . . . . . 610
mvr vlan . . . . . . . . . . . . . . . . . . . . . . . . . 612
mvr immediate . . . . . . . . . . . . . . . . . . . . . . 612
mvr type
. . . . . . . . . . . . . . . . . . . . . . . . . 613
mvr vlan group . . . . . . . . . . . . . . . . . . . . . . 615
show mvr . . . . . . . . . . . . . . . . . . . . . . . . . 616
show mvr members
. . . . . . . . . . . . . . . . . . . 618
show mvr interface . . . . . . . . . . . . . . . . . . . 619
show mvr traffic . . . . . . . . . . . . . . . . . . . . . 621
29 Port Channel Commands . . . . . . . . . . . . 623
Static LAGS . . . . . . . . . . . . . . . . . . . . . . . 623
VLANs and LAGs . . . . . . . . . . . . . . . . . . . . . 624
LAG Thresholds
. . . . . . . . . . . . . . . . . . . . . 624
Port Channels
. . . . . . . . . . . . . . . . . . . . . . 624
LAG Hashing . . . . . . . . . . . . . . . . . . . . . . . 625
Contents 21
Enhanced LAG Hashing . . . . . . . . . . . . . . . . 626
Manual Aggregation of LAGs
. . . . . . . . . . . . . 627
Manual Aggregation of LAGs . . . . . . . . . . . . . 627
Flexible Assignment of Ports to LAGs . . . . . . . . . 627
Commands in this Chapter
channel-group
. . . . . . . . . . . . . . . . . . . . . 628
. . . . . . . . . . . . . . . 627
interface port-channel . . . . . . . . . . . . . . . . . 629
interface range port-channel
. . . . . . . . . . . . . 629
hashing-mode . . . . . . . . . . . . . . . . . . . . . 630
lacp port-priority . . . . . . . . . . . . . . . . . . . . 631
lacp system-priority
. . . . . . . . . . . . . . . . . . 632
lacp timeout . . . . . . . . . . . . . . . . . . . . . . 633
port-channel min-links. . . . . . . . . . . . . . . . . 633
show interfaces port-channel
. . . . . . . . . . . . . 634
show lacp . . . . . . . . . . . . . . . . . . . . . . . 635
30 Port Monitor Commands . . . . . . . . . . . . 641
22 Contents
show statistics port-channel . . . . . . . . . . . . . 637
Commands in this Chapter . . . . . . . . . . . . . . . 641
monitor session . . . . . . . . . . . . . . . . . . . . 642
show monitor session
. . . . . . . . . . . . . . . . . 643
31 QoS Commands . . . . . . . . . . . . . . . . . . . 645
Access Control Lists . . . . . . . . . . . . . . . . . . . 645
Layer 2 ACLs . . . . . . . . . . . . . . . . . . . . . . . 646
Layer 3/4 IPv4 ACLs . . . . . . . . . . . . . . . . . . . 646
Class of Service (CoS)
. . . . . . . . . . . . . . . . . . 646
Queue Mapping . . . . . . . . . . . . . . . . . . . . . 647
Commands in this Chapter. . . . . . . . . . . . . . . . 648
assign-queue
. . . . . . . . . . . . . . . . . . . . . . . 649
class . . . . . . . . . . . . . . . . . . . . . . . . . . . 649
class-map . . . . . . . . . . . . . . . . . . . . . . . . 650
class-map rename
. . . . . . . . . . . . . . . . . . . . 651
classofservice dot1p-mapping . . . . . . . . . . . . . 652
classofservice ip-dscp-mapping . . . . . . . . . . . . 653
classofservice trust
. . . . . . . . . . . . . . . . . . . 653
conform-color . . . . . . . . . . . . . . . . . . . . . . 654
cos-queue min-bandwidth . . . . . . . . . . . . . . . 655
cos-queue random-detect
. . . . . . . . . . . . . . . . 656
cos-queue strict . . . . . . . . . . . . . . . . . . . . . 657
diffserv
. . . . . . . . . . . . . . . . . . . . . . . . . . 658
drop
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 659
mark cos . . . . . . . . . . . . . . . . . . . . . . . . . 660
Contents 23
mark ip-dscp . . . . . . . . . . . . . . . . . . . . . . 660
mark ip-precedence
. . . . . . . . . . . . . . . . . . 661
match class-map . . . . . . . . . . . . . . . . . . . . 662
match cos . . . . . . . . . . . . . . . . . . . . . . . 663
match destination-address mac
match dstip
. . . . . . . . . . . . . . . . . . . . . . . 665
. . . . . . . . . . . . 664
match dstip6 . . . . . . . . . . . . . . . . . . . . . . 666
match dstl4port
. . . . . . . . . . . . . . . . . . . . . 666
match ethertype . . . . . . . . . . . . . . . . . . . . 667
match ip6flowlbl . . . . . . . . . . . . . . . . . . . . 668
match ip dscp
. . . . . . . . . . . . . . . . . . . . . 669
match ip precedence. . . . . . . . . . . . . . . . . . 670
match ip tos . . . . . . . . . . . . . . . . . . . . . . 670
match protocol
. . . . . . . . . . . . . . . . . . . . . 671
match source-address mac . . . . . . . . . . . . . . 672
24 Contents
match srcip . . . . . . . . . . . . . . . . . . . . . . . 673
match srcip6
. . . . . . . . . . . . . . . . . . . . . . 674
match srcl4port. . . . . . . . . . . . . . . . . . . . . 674
match vlan . . . . . . . . . . . . . . . . . . . . . . . 675
mirror
. . . . . . . . . . . . . . . . . . . . . . . . . . 676
police-simple. . . . . . . . . . . . . . . . . . . . . . 677
policy-map . . . . . . . . . . . . . . . . . . . . . . . . 678
redirect
. . . . . . . . . . . . . . . . . . . . . . . . . . 679
service-policy . . . . . . . . . . . . . . . . . . . . . . 680
show class-map . . . . . . . . . . . . . . . . . . . . . 681
show classofservice dot1p-mapping
show classofservice ip-dscp-mapping
. . . . . . . . . . 683
. . . . . . . . . 684
show classofservice trust . . . . . . . . . . . . . . . . 687
show diffserv
. . . . . . . . . . . . . . . . . . . . . . . 688
show diffserv service interface . . . . . . . . . . . . . 689
show diffserv service interface port-channel . . . . . 690
show diffserv service brief
. . . . . . . . . . . . . . . 691
show interfaces cos-queue . . . . . . . . . . . . . . . 692
show interfaces random-detect . . . . . . . . . . . . . 694
show policy-map
. . . . . . . . . . . . . . . . . . . . 695
show policy-map interface . . . . . . . . . . . . . . . 696
show service-policy . . . . . . . . . . . . . . . . . . . 697
traffic-shape
. . . . . . . . . . . . . . . . . . . . . . . 698
32 RADIUS Commands . . . . . . . . . . . . . . . . 701
Commands in this Chapter. . . . . . . . . . . . . . . . 704
aaa accounting network default start-stop group
radius
. . . . . . . . . . . . . . . . . . . . . . . . . . . 705
Contents 25
acct-port . . . . . . . . . . . . . . . . . . . . . . . . 705
auth-port
. . . . . . . . . . . . . . . . . . . . . . . . 706
deadtime . . . . . . . . . . . . . . . . . . . . . . . . 707
key . . . . . . . . . . . . . . . . . . . . . . . . . . . 708
msgauth
name (RADIUS server)
. . . . . . . . . . . . . . . . . . . . . . . . 708
. . . . . . . . . . . . . . . . . 709
primary . . . . . . . . . . . . . . . . . . . . . . . . . 710
priority
. . . . . . . . . . . . . . . . . . . . . . . . . 711
radius-server deadtime . . . . . . . . . . . . . . . . 712
radius-server host . . . . . . . . . . . . . . . . . . . 713
radius-server key
. . . . . . . . . . . . . . . . . . . 714
radius-server retransmit . . . . . . . . . . . . . . . . 715
radius-server source-ip . . . . . . . . . . . . . . . . 715
radius-server timeout
. . . . . . . . . . . . . . . . . 716
retransmit . . . . . . . . . . . . . . . . . . . . . . . 717
26 Contents
show aaa servers . . . . . . . . . . . . . . . . . . . 718
show radius statistics
. . . . . . . . . . . . . . . . . 721
source-ip . . . . . . . . . . . . . . . . . . . . . . . . 725
timeout . . . . . . . . . . . . . . . . . . . . . . . . . 726
usage
. . . . . . . . . . . . . . . . . . . . . . . . . . 727
33 Spanning Tree Commands . . . . . . . . . . . 729
Commands in this Chapter. . . . . . . . . . . . . . . . 730
clear spanning-tree detected-protocols . . . . . . . . 731
exit (mst) . . . . . . . . . . . . . . . . . . . . . . . . . 731
instance (mst)
. . . . . . . . . . . . . . . . . . . . . . 732
name (mst) . . . . . . . . . . . . . . . . . . . . . . . . 734
revision (mst). . . . . . . . . . . . . . . . . . . . . . . 735
show spanning-tree
. . . . . . . . . . . . . . . . . . . 735
show spanning-tree summary . . . . . . . . . . . . . . 739
spanning-tree . . . . . . . . . . . . . . . . . . . . . . 741
spanning-tree auto-portfast
. . . . . . . . . . . . . . . 742
spanning-tree bpdu flooding . . . . . . . . . . . . . . 742
spanning-tree bpdu-protection . . . . . . . . . . . . . 743
spanning-tree cost
. . . . . . . . . . . . . . . . . . . . 744
spanning-tree disable . . . . . . . . . . . . . . . . . . 745
spanning-tree forward-time . . . . . . . . . . . . . . . 746
spanning-tree guard
. . . . . . . . . . . . . . . . . . . 747
spanning-tree loopguard . . . . . . . . . . . . . . . . 747
spanning-tree max-age
spanning-tree max-hops
. . . . . . . . . . . . . . . . . 748
. . . . . . . . . . . . . . . . . 749
spanning-tree mode . . . . . . . . . . . . . . . . . . . 750
Contents 27
spanning-tree mst configuration . . . . . . . . . . . 750
spanning-tree mst cost
. . . . . . . . . . . . . . . . . 751
spanning-tree mst port-priority . . . . . . . . . . . . 752
spanning-tree mst priority . . . . . . . . . . . . . . . 753
spanning-tree portfast
spanning-tree portfast bpdufilter default
. . . . . . . . . . . . . . . . . 754
. . . . . . . 755
spanning-tree portfast default . . . . . . . . . . . . . 756
spanning-tree port-priority
. . . . . . . . . . . . . . 757
spanning-tree priority . . . . . . . . . . . . . . . . . 758
spanning-tree tcnguard . . . . . . . . . . . . . . . . 758
spanning-tree transmit hold-count
. . . . . . . . . . 759
34 TACACS+ Commands . . . . . . . . . . . . . . . 761
Commands in this Chapter . . . . . . . . . . . . . . . 762
key . . . . . . . . . . . . . . . . . . . . . . . . . . . 762
28 Contents
port
. . . . . . . . . . . . . . . . . . . . . . . . . . . 763
priority . . . . . . . . . . . . . . . . . . . . . . . . . 763
show tacacs
tacacs-server host
. . . . . . . . . . . . . . . . . . . . . . 764
. . . . . . . . . . . . . . . . . . . 765
tacacs-server key . . . . . . . . . . . . . . . . . . . 766
tacacs-server timeout
timeout
. . . . . . . . . . . . . . . . . . . . . . . . . 767
. . . . . . . . . . . . . . . . . 767
35 VLAN Commands . . . . . . . . . . . . . . . . . . 769
Double VLAN Mode . . . . . . . . . . . . . . . . . . . 769
Independent VLAN Learning. . . . . . . . . . . . . . . 770
Protocol Based VLANs. . . . . . . . . . . . . . . . . . 770
IP Subnet Based VLANs
. . . . . . . . . . . . . . . . . 771
MAC-Based VLANs . . . . . . . . . . . . . . . . . . . 771
Commands in this Chapter. . . . . . . . . . . . . . . . 771
dvlan-tunnel ethertype
. . . . . . . . . . . . . . . . . . 772
interface vlan . . . . . . . . . . . . . . . . . . . . . . 773
interface range vlan . . . . . . . . . . . . . . . . . . . 774
mode dvlan-tunnel
. . . . . . . . . . . . . . . . . . . . 775
name (VLAN Configuration) . . . . . . . . . . . . . . . 776
protocol group . . . . . . . . . . . . . . . . . . . . . . 777
protocol vlan group
. . . . . . . . . . . . . . . . . . . 778
protocol vlan group all. . . . . . . . . . . . . . . . . . 779
show dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 780
show dvlan-tunnel interface
. . . . . . . . . . . . . . 781
show interfaces switchport . . . . . . . . . . . . . . . 782
show port protocol
show vlan
. . . . . . . . . . . . . . . . . . . . 786
. . . . . . . . . . . . . . . . . . . . . . . . 787
show vlan association mac . . . . . . . . . . . . . . . 788
Contents 29
show vlan association subnet . . . . . . . . . . . . . 789
switchport access vlan
. . . . . . . . . . . . . . . . 790
switchport forbidden vlan . . . . . . . . . . . . . . . 791
switchport general acceptable-frame-type
tagged-only
switchport general allowed vlan
. . . . . . . . . . . . . . . . . . . . . . . 792
. . . . . . . . . . . 792
switchport general ingress-filtering disable . . . . . 793
switchport general pvid
. . . . . . . . . . . . . . . . 794
switchport mode . . . . . . . . . . . . . . . . . . . . 795
switchport trunk . . . . . . . . . . . . . . . . . . . . 796
vlan
. . . . . . . . . . . . . . . . . . . . . . . . . . . 798
vlan (Global Config) . . . . . . . . . . . . . . . . . . 799
vlan association mac . . . . . . . . . . . . . . . . . 800
vlan association subnet
. . . . . . . . . . . . . . . . 800
vlan database . . . . . . . . . . . . . . . . . . . . . 801
30 Contents
vlan makestatic . . . . . . . . . . . . . . . . . . . . 802
vlan protocol group
. . . . . . . . . . . . . . . . . . 803
vlan protocol group add protocol . . . . . . . . . . . 804
vlan protocol group name . . . . . . . . . . . . . . . 805
vlan protocol group remove
. . . . . . . . . . . . . . 805
vlan routing. . . . . . . . . . . . . . . . . . . . . . . 806
36 Voice VLAN Commands . . . . . . . . . . . . . 809
Commands in this Chapter. . . . . . . . . . . . . . . . 810
voice vlan . . . . . . . . . . . . . . . . . . . . . . . . 810
voice vlan (Interface) . . . . . . . . . . . . . . . . . . 810
voice vlan data priority
. . . . . . . . . . . . . . . . . 812
show voice vlan . . . . . . . . . . . . . . . . . . . . . 812
37 802.1x Commands . . . . . . . . . . . . . . . . . 815
Local 802.1X Authentication Server . . . . . . . . . . . 815
MAC Authentication Bypass
Guest VLAN . . . . . . . . . . . . . . . . . . . . . . . 817
802.1x Monitor Mode . . . . . . . . . . . . . . . . . . 817
RADIUS-based Dynamic VLAN Assignment
Commands in this Chapter. . . . . . . . . . . . . . . . 818
dot1x dynamic-vlan enable . . . . . . . . . . . . . . . 819
dot1x initialize
. . . . . . . . . . . . . . . . . . . . . . 820
dot1x mac-auth-bypass . . . . . . . . . . . . . . . . . 820
dot1x max-req
. . . . . . . . . . . . . . . . . . . . . . 821
. . . . . . . . . . . . . . . 816
. . . . . . 818
dot1x max-users
. . . . . . . . . . . . . . . . . . . . . 822
dot1x port-control . . . . . . . . . . . . . . . . . . . . 823
dot1x re-authenticate
. . . . . . . . . . . . . . . . . . 824
Contents 31
dot1x reauthentication . . . . . . . . . . . . . . . . . 825
dot1x system-auth-control monitor
. . . . . . . . . . 825
dot1x timeout guest-vlan-period. . . . . . . . . . . . 826
dot1x timeout quiet-period. . . . . . . . . . . . . . . 827
dot1x timeout re-authperiod
dot1x timeout server-timeout
. . . . . . . . . . . . . . 828
. . . . . . . . . . . . . 829
dot1x timeout supp-timeout . . . . . . . . . . . . . . 830
dot1x timeout tx-period
. . . . . . . . . . . . . . . . 831
show dot1x . . . . . . . . . . . . . . . . . . . . . . . 832
show dot1x authentication-history . . . . . . . . . . 833
show dot1x clients
. . . . . . . . . . . . . . . . . . . 835
show dot1x interface. . . . . . . . . . . . . . . . . . 837
show dot1x statistics . . . . . . . . . . . . . . . . . 839
show dot1x users
. . . . . . . . . . . . . . . . . . . 841
clear dot1x authentication–history . . . . . . . . . . 842
32 Contents
dot1x guest-vlan . . . . . . . . . . . . . . . . . . . . 843
dot1x unauth-vlan
. . . . . . . . . . . . . . . . . . . 844
show dot1x advanced . . . . . . . . . . . . . . . . . 845
radius-server attribute 4 . . . . . . . . . . . . . . . . 846
38 Layer 3 Commands . . . . . . . . . . . . . . . . 849
39 ARP Commands . . . . . . . . . . . . . . . . . . . 851
ARP Aging . . . . . . . . . . . . . . . . . . . . . . . . 852
Commands in this Chapter. . . . . . . . . . . . . . . . 852
arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852
arp cachesize
. . . . . . . . . . . . . . . . . . . . . . 853
arp dynamicrenew . . . . . . . . . . . . . . . . . . . . 854
arp purge . . . . . . . . . . . . . . . . . . . . . . . . . 855
arp resptime
. . . . . . . . . . . . . . . . . . . . . . . 856
arp retries . . . . . . . . . . . . . . . . . . . . . . . . 857
arp timeout . . . . . . . . . . . . . . . . . . . . . . . . 857
clear arp-cache
. . . . . . . . . . . . . . . . . . . . . 858
clear arp-cache management . . . . . . . . . . . . . . 859
ip local-proxy-arp . . . . . . . . . . . . . . . . . . . . 860
ip proxy-arp
. . . . . . . . . . . . . . . . . . . . . . . 860
show arp . . . . . . . . . . . . . . . . . . . . . . . . . 861
40 DHCP Server and Relay Agent
Commands
. . . . . . . . . . . . . . . . . . . . . . . 863
Commands in this Chapter. . . . . . . . . . . . . . . . 864
ip dhcp pool
. . . . . . . . . . . . . . . . . . . . . . . 864
Contents 33
bootfile . . . . . . . . . . . . . . . . . . . . . . . . . 867
clear ip dhcp binding
. . . . . . . . . . . . . . . . . 868
clear ip dhcp conflict . . . . . . . . . . . . . . . . . 869
client-identifier . . . . . . . . . . . . . . . . . . . . 869
client-name
default-router
. . . . . . . . . . . . . . . . . . . . . . . 870
. . . . . . . . . . . . . . . . . . . . . . 871
dns-server (IP DHCP Pool Config) . . . . . . . . . . . 872
domain-name (IP DHCP Pool Config)
. . . . . . . . . 873
hardware-address . . . . . . . . . . . . . . . . . . . 874
host . . . . . . . . . . . . . . . . . . . . . . . . . . . 875
ip dhcp bootp automatic
. . . . . . . . . . . . . . . . 876
ip dhcp conflict logging . . . . . . . . . . . . . . . . 876
ip dhcp excluded-address . . . . . . . . . . . . . . . 877
ip dhcp ping packets
. . . . . . . . . . . . . . . . . . 878
lease . . . . . . . . . . . . . . . . . . . . . . . . . . 879
34 Contents
netbios-name-server. . . . . . . . . . . . . . . . . . 880
netbios-node-type
. . . . . . . . . . . . . . . . . . . 881
network. . . . . . . . . . . . . . . . . . . . . . . . . 882
next-server . . . . . . . . . . . . . . . . . . . . . . . 883
option
. . . . . . . . . . . . . . . . . . . . . . . . . . 884
service dhcp . . . . . . . . . . . . . . . . . . . . . . 888
sntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
show ip dhcp binding
. . . . . . . . . . . . . . . . . . 889
show ip dhcp conflict . . . . . . . . . . . . . . . . . . 890
show ip dhcp global configuration . . . . . . . . . . . 891
show ip dhcp pool
show ip dhcp server statistics
. . . . . . . . . . . . . . . . . . . . 892
. . . . . . . . . . . . . 892
41 DHCPv6 Commands . . . . . . . . . . . . . . . . 895
clear ipv6 dhcp. . . . . . . . . . . . . . . . . . . . . . 895
dns-server (IPv6 DHCP Pool Config)
domain-name (IPv6 DHCP Pool Config) . . . . . . . . . 896
ipv6 dhcp pool . . . . . . . . . . . . . . . . . . . . . . 897
ipv6 dhcp relay
. . . . . . . . . . . . . . . . . . . . . . 898
ipv6 dhcp server . . . . . . . . . . . . . . . . . . . . . 899
prefix-delegation . . . . . . . . . . . . . . . . . . . . 900
. . . . . . . . . . . 896
service dhcpv6
. . . . . . . . . . . . . . . . . . . . . . 902
show ipv6 dhcp . . . . . . . . . . . . . . . . . . . . . 903
show ipv6 dhcp binding
show ipv6 dhcp interface (User EXEC)
. . . . . . . . . . . . . . . . . 903
. . . . . . . . . 904
show ipv6 dhcp interface (Privileged EXEC) . . . . . . 906
show ipv6 dhcp pool
show ipv6 dhcp statistics
. . . . . . . . . . . . . . . . . . . 909
. . . . . . . . . . . . . . . . 910
Contents 35
42 DVMRP Commands . . . . . . . . . . . . . . . . 913
Commands in this Chapter . . . . . . . . . . . . . . . 913
ip dvmrp . . . . . . . . . . . . . . . . . . . . . . . . 913
ip dvmrp metric. . . . . . . . . . . . . . . . . . . . . 914
show ip dvmrp
show ip dvmrp interface . . . . . . . . . . . . . . . . 916
show ip dvmrp neighbor . . . . . . . . . . . . . . . . 916
show ip dvmrp nexthop
show ip dvmrp prune . . . . . . . . . . . . . . . . . . 918
show ip dvmrp route . . . . . . . . . . . . . . . . . . 919
. . . . . . . . . . . . . . . . . . . . . 915
. . . . . . . . . . . . . . . . 917
43 GMRP Commands . . . . . . . . . . . . . . . . . 921
Commands in this Chapter . . . . . . . . . . . . . . . 922
gmrp enable . . . . . . . . . . . . . . . . . . . . . . 922
show gmrp configuration . . . . . . . . . . . . . . . 923
44 IGMP Commands . . . . . . . . . . . . . . . . . . 925
Commands in this Chapter . . . . . . . . . . . . . . . 926
36 Contents
ip igmp . . . . . . . . . . . . . . . . . . . . . . . . . 926
ip igmp last-member-query-count
ip igmp last-member-query-interval
ip igmp query-interval . . . . . . . . . . . . . . . . . 929
. . . . . . . . . . . 927
. . . . . . . . . . 928
ip igmp query-max-response-time . . . . . . . . . . . 930
ip igmp robustness
. . . . . . . . . . . . . . . . . . . . 930
ip igmp startup-query-count. . . . . . . . . . . . . . . 931
ip igmp startup-query-interval. . . . . . . . . . . . . . 932
ip igmp version
show ip igmp
. . . . . . . . . . . . . . . . . . . . . . 933
. . . . . . . . . . . . . . . . . . . . . . . 933
show ip igmp groups. . . . . . . . . . . . . . . . . . . 934
show ip igmp interface
. . . . . . . . . . . . . . . . . 935
show ip igmp membership . . . . . . . . . . . . . . . 937
show ip igmp interface stats . . . . . . . . . . . . . . 937
45 IGMP Proxy Commands . . . . . . . . . . . . . 939
Commands in this Chapter. . . . . . . . . . . . . . . . 939
ip igmp-proxy . . . . . . . . . . . . . . . . . . . . . . 939
ip igmp-proxy reset-status . . . . . . . . . . . . . . . 940
ip igmp-proxy unsolicited-report-interval
. . . . . . . 941
show ip igmp-proxy . . . . . . . . . . . . . . . . . . . 942
show ip igmp-proxy interface
show ip igmp-proxy groups
. . . . . . . . . . . . . . 943
. . . . . . . . . . . . . . . 944
show ip igmp-proxy groups detail . . . . . . . . . . . 944
Contents 37
46 IP Helper/DHCP Relay Commands . . . . . 947
Commands in this Chapter . . . . . . . . . . . . . . . 949
bootpdhcprelay maxhopcount . . . . . . . . . . . . . 949
bootpdhcprelay minwaittime . . . . . . . . . . . . . 950
clear ip helper statistics
. . . . . . . . . . . . . . . . 951
ip dhcp relay information check. . . . . . . . . . . . 951
ip dhcp relay information check-reply . . . . . . . . 952
ip dhcp relay information option
. . . . . . . . . . . . 953
ip dhcp relay information option-insert . . . . . . . . 954
ip helper-address (global configuration) . . . . . . . 955
ip helper-address (interface configuration)
. . . . . . 957
ip helper enable . . . . . . . . . . . . . . . . . . . . 959
show ip helper-address . . . . . . . . . . . . . . . . 960
show ip dhcp relay
. . . . . . . . . . . . . . . . . . . 961
show ip helper statistics. . . . . . . . . . . . . . . . 962
47 IP Routing Commands . . . . . . . . . . . . . . 965
Static Routes/ECMP Static Routes . . . . . . . . . . 965
38 Contents
Static Reject Routes
. . . . . . . . . . . . . . . . . . 966
Default Routes . . . . . . . . . . . . . . . . . . . . . 966
Commands in this Chapter
. . . . . . . . . . . . . . . 966
encapsulation . . . . . . . . . . . . . . . . . . . . . . 967
ip address
. . . . . . . . . . . . . . . . . . . . . . . . 967
ip mtu. . . . . . . . . . . . . . . . . . . . . . . . . . . 969
ip netdirbcast . . . . . . . . . . . . . . . . . . . . . . 970
ip route
. . . . . . . . . . . . . . . . . . . . . . . . . . 971
ip route default
. . . . . . . . . . . . . . . . . . . . . . 972
ip route distance . . . . . . . . . . . . . . . . . . . . . 973
ip routing
. . . . . . . . . . . . . . . . . . . . . . . . . 974
routing . . . . . . . . . . . . . . . . . . . . . . . . . . 975
show ip brief . . . . . . . . . . . . . . . . . . . . . . . 975
show ip interface
. . . . . . . . . . . . . . . . . . . . 976
show ip protocols . . . . . . . . . . . . . . . . . . . . 979
show ip route . . . . . . . . . . . . . . . . . . . . . . 980
show ip route configured
. . . . . . . . . . . . . . . . 982
show ip route preferences . . . . . . . . . . . . . . . 983
show ip route summary . . . . . . . . . . . . . . . . . 984
show ip traffic
. . . . . . . . . . . . . . . . . . . . . . 985
show ip vlan . . . . . . . . . . . . . . . . . . . . . . . 987
48 IPv6 PIM Commands . . . . . . . . . . . . . . . 989
ipv6 pim . . . . . . . . . . . . . . . . . . . . . . . . . 989
ipv6 pim sparse (Global config)
. . . . . . . . . . . . . 990
Contents 39
ipv6 pim dense . . . . . . . . . . . . . . . . . . . . . 990
ipv6 pim bsr-border
. . . . . . . . . . . . . . . . . . 991
ipv6 pim bsr-candidate. . . . . . . . . . . . . . . . . 992
ipv6 pim dr-priority . . . . . . . . . . . . . . . . . . . 993
ipv6 pim hello-interval
ipv6 pim join-prune-interval
. . . . . . . . . . . . . . . . . 994
. . . . . . . . . . . . . . 994
ipv6 pim register-rate-limit . . . . . . . . . . . . . . 995
ipv6 pim rp-address
. . . . . . . . . . . . . . . . . . 996
ipv6 pim rp-candidate . . . . . . . . . . . . . . . . . 997
ipv6 pim spt-threshold . . . . . . . . . . . . . . . . . 998
ipv6 pim ssm
. . . . . . . . . . . . . . . . . . . . . . 999
show ipv6 pimsm . . . . . . . . . . . . . . . . . . . . 1000
show ipv6 pim bsr-router . . . . . . . . . . . . . . . 1001
show ipv6 pim interface
. . . . . . . . . . . . . . . . 1002
show ipv6 pim neighbor . . . . . . . . . . . . . . . . 1004
49 IPv6 Routing Commands . . . . . . . . . . . 1009
40 Contents
show ipv6 pim rp hash . . . . . . . . . . . . . . . . . 1006
show ipv6 pim rp mapping
. . . . . . . . . . . . . . . 1007
IPv6 Limitations & Restrictions . . . . . . . . . . . . 1009
Commands in this Chapter
clear ipv6 neighbors
. . . . . . . . . . . . . . . 1009
. . . . . . . . . . . . . . . . . . 1011
clear ipv6 statistics . . . . . . . . . . . . . . . . . . 1011
ipv6 address
. . . . . . . . . . . . . . . . . . . . . . 1012
ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . 1013
ipv6 hop-limit . . . . . . . . . . . . . . . . . . . . . 1014
ipv6 host
ipv6 mld last-member-query-count
. . . . . . . . . . . . . . . . . . . . . . . . 1015
. . . . . . . . . . 1015
ipv6 mld last-member-query-interval . . . . . . . . . 1016
ipv6 mld-proxy
. . . . . . . . . . . . . . . . . . . . . 1017
ipv6 mld-proxy reset-status . . . . . . . . . . . . . . 1017
ipv6 mld-proxy unsolicit-rprt-interval . . . . . . . . . 1018
ipv6 mld query-interval
. . . . . . . . . . . . . . . . 1019
ipv6 mld query-max-response-time . . . . . . . . . . 1020
ipv6 mld router . . . . . . . . . . . . . . . . . . . . . 1020
ipv6 mtu
. . . . . . . . . . . . . . . . . . . . . . . . 1021
ipv6 nd dad attempts. . . . . . . . . . . . . . . . . . 1022
ipv6 nd managed-config-flag . . . . . . . . . . . . . 1023
ipv6 nd ns-interval
. . . . . . . . . . . . . . . . . . . 1024
ipv6 nd other-config-flag . . . . . . . . . . . . . . . 1025
ipv6 nd prefix. . . . . . . . . . . . . . . . . . . . . . 1025
ipv6 nd ra-interval
. . . . . . . . . . . . . . . . . . . 1027
ipv6 nd ra-lifetime . . . . . . . . . . . . . . . . . . . 1028
Contents 41
ipv6 nd reachable-time . . . . . . . . . . . . . . . . 1028
ipv6 nd suppress-ra
. . . . . . . . . . . . . . . . . . 1029
ipv6 route . . . . . . . . . . . . . . . . . . . . . . . . 1030
ipv6 route distance. . . . . . . . . . . . . . . . . . . 1031
ipv6 unicast-routing
ping ipv6
. . . . . . . . . . . . . . . . . . . . . . . . 1033
. . . . . . . . . . . . . . . . . . 1032
ping ipv6 interface . . . . . . . . . . . . . . . . . . . 1034
show ipv6 brief
. . . . . . . . . . . . . . . . . . . . . 1035
show ipv6 interface . . . . . . . . . . . . . . . . . . 1036
show ipv6 interface management statistics . . . . . 1038
show ipv6 mld groups
. . . . . . . . . . . . . . . . . 1040
show ipv6 mld interface . . . . . . . . . . . . . . . . 1043
show ipv6 mld-proxy . . . . . . . . . . . . . . . . . . 1045
show ipv6 mld-proxy groups
. . . . . . . . . . . . . . 1047
show ipv6 mld-proxy groups detail . . . . . . . . . . 1048
42 Contents
show ipv6 mld-proxy interface . . . . . . . . . . . . 1050
show ipv6 mld traffic
. . . . . . . . . . . . . . . . . . 1051
show ipv6 neighbors . . . . . . . . . . . . . . . . . . 1053
show ipv6 route . . . . . . . . . . . . . . . . . . . . 1054
show ipv6 route preferences
. . . . . . . . . . . . . 1055
show ipv6 route summary . . . . . . . . . . . . . . . 1056
show ipv6 traffic . . . . . . . . . . . . . . . . . . . . 1057
show ipv6 vlan
. . . . . . . . . . . . . . . . . . . . . 1060
traceroute ipv6. . . . . . . . . . . . . . . . . . . . . 1060
50 Loopback Interface Commands. . . . . . 1063
Commands in this Chapter. . . . . . . . . . . . . . . 1063
interface loopback
. . . . . . . . . . . . . . . . . . . 1063
show interfaces loopback . . . . . . . . . . . . . . . 1064
51 Multicast Commands . . . . . . . . . . . . . . 1067
Commands in this Chapter. . . . . . . . . . . . . . . 1068
ip mcast boundary
ip mroute . . . . . . . . . . . . . . . . . . . . . . . . 1069
ip multicast. . . . . . . . . . . . . . . . . . . . . . . 1070
ip multicast ttl-threshold
. . . . . . . . . . . . . . . . . . . 1069
. . . . . . . . . . . . . . . 1071
ip pim. . . . . . . . . . . . . . . . . . . . . . . . . . 1072
ip pim bsr-border. . . . . . . . . . . . . . . . . . . . 1073
ip pim bsr-candidate
. . . . . . . . . . . . . . . . . . 1073
ip pim dense . . . . . . . . . . . . . . . . . . . . . . 1075
ip pim dr-priority
ip pim hello-interval
. . . . . . . . . . . . . . . . . . . . 1075
. . . . . . . . . . . . . . . . . . 1076
ip pim join-prune-interval . . . . . . . . . . . . . . . 1077
Contents 43
ip pim register-rate-limit. . . . . . . . . . . . . . . . 1078
ip pim rp-address
. . . . . . . . . . . . . . . . . . . 1078
ip pim rp-candidate . . . . . . . . . . . . . . . . . . 1079
ip pim sparse . . . . . . . . . . . . . . . . . . . . . . 1080
ip pim ssm
ip pim spt-threshold
. . . . . . . . . . . . . . . . . . . . . . . 1081
. . . . . . . . . . . . . . . . . . 1082
show bridge multicast address-table count . . . . . 1083
show ip multicast
. . . . . . . . . . . . . . . . . . . 1084
show ip mcast boundary . . . . . . . . . . . . . . . . 1085
show ip multicast interface . . . . . . . . . . . . . . 1086
show ip mcast mroute
. . . . . . . . . . . . . . . . . 1087
show ip mcast mroute group. . . . . . . . . . . . . . 1087
show ip mcast mroute source . . . . . . . . . . . . . 1088
show ip mcast mroute static
. . . . . . . . . . . . . . 1089
show ip pim bsr-router . . . . . . . . . . . . . . . . . 1090
52 OSPF Commands . . . . . . . . . . . . . . . . . 1097
44 Contents
show ip pim interface . . . . . . . . . . . . . . . . . 1091
show ip pim neighbor
. . . . . . . . . . . . . . . . . 1093
show ip pim rp hash . . . . . . . . . . . . . . . . . . 1094
show ip pim rp mapping . . . . . . . . . . . . . . . . 1095
Route Preferences . . . . . . . . . . . . . . . . . . . 1098
OSPF Equal Cost Multipath (ECMP) . . . . . . . . . . 1098
Forwarding of OSPF Opaque LSAs Enabled
by Default
. . . . . . . . . . . . . . . . . . . . . . . 1099
Passive Interfaces . . . . . . . . . . . . . . . . . . . 1099
Graceful Restart
Commands in this Chapter
. . . . . . . . . . . . . . . . . . . . 1100
. . . . . . . . . . . . . . . 1100
area default-cost (Router OSPF). . . . . . . . . . . . 1101
area nssa (Router OSPF)
. . . . . . . . . . . . . . . . 1102
area nssa default-info-originate . . . . . . . . . . . 1104
area nssa no-redistribute . . . . . . . . . . . . . . . 1105
area nssa no-summary
. . . . . . . . . . . . . . . . . 1105
area nssa translator-role . . . . . . . . . . . . . . . 1106
area nssa translator-stab-intv. . . . . . . . . . . . . 1107
area range (Router OSPF)
. . . . . . . . . . . . . . . 1108
area stub . . . . . . . . . . . . . . . . . . . . . . . . 1109
area stub no-summary . . . . . . . . . . . . . . . . . 1110
area virtual-link
. . . . . . . . . . . . . . . . . . . . 1111
area virtual-link authentication . . . . . . . . . . . . 1113
area virtual-link dead-interval . . . . . . . . . . . . 1114
area virtual-link hello-interval
. . . . . . . . . . . . 1115
area virtual-link retransmit-interval . . . . . . . . . 1116
Contents 45
area virtual-link transmit-delay . . . . . . . . . . . . 1117
auto-cost
. . . . . . . . . . . . . . . . . . . . . . . . 1118
bandwidth . . . . . . . . . . . . . . . . . . . . . . . 1119
capability opaque . . . . . . . . . . . . . . . . . . . 1120
clear ip ospf
compatible rfc1583
. . . . . . . . . . . . . . . . . . . . . . 1120
. . . . . . . . . . . . . . . . . . . 1121
default-information originate . . . . . . . . . . . . . 1122
default-metric
. . . . . . . . . . . . . . . . . . . . . 1123
distance ospf . . . . . . . . . . . . . . . . . . . . . . 1124
distribute-list out. . . . . . . . . . . . . . . . . . . . 1125
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1126
exit-overflow-interval . . . . . . . . . . . . . . . . . 1127
external-lsdb-limit . . . . . . . . . . . . . . . . . . . 1128
ip ospf area
. . . . . . . . . . . . . . . . . . . . . . . 1129
ip ospf authentication . . . . . . . . . . . . . . . . . 1130
46 Contents
ip ospf cost . . . . . . . . . . . . . . . . . . . . . . . 1131
ip ospf dead-interval
. . . . . . . . . . . . . . . . . . 1131
ip ospf hello-interval . . . . . . . . . . . . . . . . . . 1132
ip ospf mtu-ignore . . . . . . . . . . . . . . . . . . . 1133
ip ospf network
. . . . . . . . . . . . . . . . . . . . . 1134
ip ospf priority . . . . . . . . . . . . . . . . . . . . . 1135
ip ospf retransmit-interval. . . . . . . . . . . . . . . 1135
ip ospf transmit-delay
. . . . . . . . . . . . . . . . . 1136
maximum-paths . . . . . . . . . . . . . . . . . . . . 1137
network area. . . . . . . . . . . . . . . . . . . . . . 1138
nsf
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1139
nsf helper
. . . . . . . . . . . . . . . . . . . . . . . 1140
nsf helper strict-lsa-checking. . . . . . . . . . . . . 1141
nsf restart-interval
. . . . . . . . . . . . . . . . . . . 1142
passive-interface default . . . . . . . . . . . . . . . 1143
passive-interface . . . . . . . . . . . . . . . . . . . 1143
redistribute
. . . . . . . . . . . . . . . . . . . . . . . 1144
router-id . . . . . . . . . . . . . . . . . . . . . . . . 1145
router ospf . . . . . . . . . . . . . . . . . . . . . . . 1146
show ip ospf
. . . . . . . . . . . . . . . . . . . . . . 1147
show ip ospf abr . . . . . . . . . . . . . . . . . . . . 1152
show ip ospf area . . . . . . . . . . . . . . . . . . . 1153
show ip ospf asbr
. . . . . . . . . . . . . . . . . . . 1155
show ip ospf database . . . . . . . . . . . . . . . . . 1156
show ip ospf database database-summary . . . . . . 1159
show ip ospf interface
. . . . . . . . . . . . . . . . . 1161
show ip ospf interface brief . . . . . . . . . . . . . . 1163
Contents 47
show ip ospf interface stats . . . . . . . . . . . . . . 1163
show ip ospf neighbor
. . . . . . . . . . . . . . . . . 1164
show ip ospf range . . . . . . . . . . . . . . . . . . . 1167
show ip ospf statistics . . . . . . . . . . . . . . . . . 1168
show ip ospf stub table
show ip ospf virtual-link
. . . . . . . . . . . . . . . . 1169
. . . . . . . . . . . . . . . . 1170
show ip ospf virtual-links brief . . . . . . . . . . . . 1171
timers spf
. . . . . . . . . . . . . . . . . . . . . . . . 1172
53 OSPFv3 Commands . . . . . . . . . . . . . . . 1175
area default-cost (Router OSPFv3). . . . . . . . . . . 1176
area nssa (Router OSPFv3) . . . . . . . . . . . . . . . 1177
area nssa default-info-originate
area nssa no-redistribute . . . . . . . . . . . . . . . 1179
area nssa no-summary . . . . . . . . . . . . . . . . . 1180
. . . . . . . . . . . . 1178
48 Contents
area nssa translator-role
. . . . . . . . . . . . . . . . 1181
area nssa translator-stab-intv . . . . . . . . . . . . . 1182
area range (Router OSPFv3)
area stub
. . . . . . . . . . . . . . . . . . . . . . . . 1184
. . . . . . . . . . . . . . 1183
area stub no-summary . . . . . . . . . . . . . . . . . 1185
area virtual-link
area virtual-link dead-interval
. . . . . . . . . . . . . . . . . . . . 1186
. . . . . . . . . . . . . 1188
area virtual-link hello-interval . . . . . . . . . . . . 1188
area virtual-link retransmit-interval
. . . . . . . . . 1189
area virtual-link transmit-delay . . . . . . . . . . . . 1190
default-information originate . . . . . . . . . . . . . 1191
default-metric
distance ospf
. . . . . . . . . . . . . . . . . . . . . 1192
. . . . . . . . . . . . . . . . . . . . . . 1193
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1194
exit-overflow-interval
. . . . . . . . . . . . . . . . . 1195
external-lsdb-limit. . . . . . . . . . . . . . . . . . . 1195
ipv6 ospf . . . . . . . . . . . . . . . . . . . . . . . . 1196
ipv6 ospf area
. . . . . . . . . . . . . . . . . . . . . 1197
ipv6 ospf cost . . . . . . . . . . . . . . . . . . . . . 1198
ipv6 ospf dead-interval . . . . . . . . . . . . . . . . 1199
ipv6 ospf hello-interval
. . . . . . . . . . . . . . . . 1199
ipv6 ospf mtu-ignore . . . . . . . . . . . . . . . . . . 1200
ipv6 ospf network . . . . . . . . . . . . . . . . . . . 1201
ipv6 ospf priority
. . . . . . . . . . . . . . . . . . . . 1202
ipv6 ospf retransmit-interval . . . . . . . . . . . . . 1203
ipv6 ospf transmit-delay . . . . . . . . . . . . . . . . 1204
ipv6 router ospf
. . . . . . . . . . . . . . . . . . . . 1204
maximum-paths . . . . . . . . . . . . . . . . . . . . 1205
Contents 49
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1206
nsf helper
. . . . . . . . . . . . . . . . . . . . . . . . 1207
nsf helper strict-lsa-checking . . . . . . . . . . . . . 1208
nsf restart-interval . . . . . . . . . . . . . . . . . . . 1208
passive-interface
passive-interface default
. . . . . . . . . . . . . . . . . . . 1209
. . . . . . . . . . . . . . . 1210
redistribute . . . . . . . . . . . . . . . . . . . . . . . 1211
router-id
. . . . . . . . . . . . . . . . . . . . . . . . 1211
show ipv6 ospf . . . . . . . . . . . . . . . . . . . . . 1212
show ipv6 ospf abr . . . . . . . . . . . . . . . . . . . 1216
show ipv6 ospf area
. . . . . . . . . . . . . . . . . . 1217
show ipv6 ospf asbr . . . . . . . . . . . . . . . . . . 1218
show ipv6 ospf border-routers. . . . . . . . . . . . . 1219
show ipv6 ospf database
. . . . . . . . . . . . . . . . 1219
show ipv6 ospf database database-summary . . . . . 1222
50 Contents
show ipv6 ospf interface. . . . . . . . . . . . . . . . 1223
show ipv6 ospf interface brief
. . . . . . . . . . . . . 1225
show ipv6 ospf interface stats. . . . . . . . . . . . . 1226
show ipv6 ospf interface vlan . . . . . . . . . . . . . 1227
show ipv6 ospf neighbor
. . . . . . . . . . . . . . . . 1229
show ipv6 ospf range . . . . . . . . . . . . . . . . . 1230
show ipv6 ospf stub table . . . . . . . . . . . . . . . 1231
show ipv6 ospf virtual-links
. . . . . . . . . . . . . . 1232
show ipv6 ospf virtual-link brief . . . . . . . . . . . 1233
54 Router Discovery Protocol
Commands . . . . . . . . . . . . . . . . . . . . . . 1235
Commands in this Chapter. . . . . . . . . . . . . . . 1235
ip irdp . . . . . . . . . . . . . . . . . . . . . . . . . 1235
ip irdp address
ip irdp holdtime . . . . . . . . . . . . . . . . . . . . 1238
ip irdp maxadvertinterval . . . . . . . . . . . . . . . 1239
ip irdp minadvertinterval
ip irdp multicast . . . . . . . . . . . . . . . . . . . . 1241
ip irdp preference . . . . . . . . . . . . . . . . . . . 1242
show ip irdp
. . . . . . . . . . . . . . . . . . . . . 1237
. . . . . . . . . . . . . . . 1240
. . . . . . . . . . . . . . . . . . . . . . 1242
55 Routing Information Protocol
Commands . . . . . . . . . . . . . . . . . . . . . . 1245
Commands in this Chapter. . . . . . . . . . . . . . . 1245
auto-summary . . . . . . . . . . . . . . . . . . . . . 1245
default-information originate
default-metric
. . . . . . . . . . . . . . . . . . . . . 1247
distance rip . . . . . . . . . . . . . . . . . . . . . . 1247
. . . . . . . . . . . . . 1246
Contents 51
distribute-list out. . . . . . . . . . . . . . . . . . . . 1248
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1249
hostroutesaccept. . . . . . . . . . . . . . . . . . . . 1250
ip rip . . . . . . . . . . . . . . . . . . . . . . . . . . 1250
ip rip authentication
ip rip receive version
. . . . . . . . . . . . . . . . . . 1251
. . . . . . . . . . . . . . . . . 1252
ip rip send version . . . . . . . . . . . . . . . . . . . 1253
redistribute
. . . . . . . . . . . . . . . . . . . . . . . 1254
router rip . . . . . . . . . . . . . . . . . . . . . . . . 1255
show ip rip . . . . . . . . . . . . . . . . . . . . . . . 1256
show ip rip interface
. . . . . . . . . . . . . . . . . . 1257
show ip rip interface brief . . . . . . . . . . . . . . . 1258
split-horizon . . . . . . . . . . . . . . . . . . . . . . 1259
56 Tunnel Interface Commands . . . . . . . . 1261
Commands in this Chapter . . . . . . . . . . . . . . . 1261
interface tunnel . . . . . . . . . . . . . . . . . . . . 1262
show interfaces tunnel
. . . . . . . . . . . . . . . . 1262
52 Contents
tunnel destination
. . . . . . . . . . . . . . . . . . . 1263
tunnel mode ipv6ip. . . . . . . . . . . . . . . . . . . 1264
tunnel source
. . . . . . . . . . . . . . . . . . . . . . 1265
57 Virtual Router Redundancy Protocol
Commands . . . . . . . . . . . . . . . . . . . . . . 1267
Pingable VRRP Interface . . . . . . . . . . . . . . . 1267
VRRP Route/Interface Tracking
. . . . . . . . . . . . 1268
Interface Tracking . . . . . . . . . . . . . . . . . . . 1269
Route Tracking . . . . . . . . . . . . . . . . . . . . . 1269
Commands in this Chapter
. . . . . . . . . . . . . . . 1269
ip vrrp . . . . . . . . . . . . . . . . . . . . . . . . . 1270
vrrp accept-mode . . . . . . . . . . . . . . . . . . . 1270
vrrp authentication
. . . . . . . . . . . . . . . . . . 1271
vrrp description . . . . . . . . . . . . . . . . . . . . 1272
vrrp ip . . . . . . . . . . . . . . . . . . . . . . . . . 1273
vrrp mode
. . . . . . . . . . . . . . . . . . . . . . . 1274
vrrp preempt . . . . . . . . . . . . . . . . . . . . . . 1275
vrrp priority. . . . . . . . . . . . . . . . . . . . . . . 1276
vrrp timers advertise
. . . . . . . . . . . . . . . . . . 1277
vrrp timers learn . . . . . . . . . . . . . . . . . . . . 1278
vrrp track interface
vrrp track ip route
. . . . . . . . . . . . . . . . . . 1279
. . . . . . . . . . . . . . . . . . . 1280
show vrrp . . . . . . . . . . . . . . . . . . . . . . . 1282
show vrrp interface
show vrrp interface brief
. . . . . . . . . . . . . . . . . . 1285
. . . . . . . . . . . . . . . 1287
Contents 53
show vrrp interface stats . . . . . . . . . . . . . . . 1288
ip vrrp accept-mode
. . . . . . . . . . . . . . . . . . 1289
show ip vrrp interface . . . . . . . . . . . . . . . . . 1290
58 Utility Commands . . . . . . . . . . . . . . . . . 1293
59 Auto-Install Commands . . . . . . . . . . . . 1295
Commands in this Chapter . . . . . . . . . . . . . . . 1296
boot auto-copy-sw
boot auto-copy-sw allow-downgrade. . . . . . . . . 1297
boot host autoreboot . . . . . . . . . . . . . . . . . . 1298
boot host autosave
boot host dhcp . . . . . . . . . . . . . . . . . . . . . 1299
boot host retrycount . . . . . . . . . . . . . . . . . . 1300
show auto-copy-sw
. . . . . . . . . . . . . . . . . . . 1296
. . . . . . . . . . . . . . . . . . . 1299
. . . . . . . . . . . . . . . . . . 1301
60 Captive Portal Commands . . . . . . . . . . 1305
54 Contents
show boot . . . . . . . . . . . . . . . . . . . . . . . 1302
Commands in this Chapter . . . . . . . . . . . . . . . 1305
authentication timeout
. . . . . . . . . . . . . . . . . 1307
captive-portal . . . . . . . . . . . . . . . . . . . . . 1307
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1308
http port . . . . . . . . . . . . . . . . . . . . . . . . 1309
https port
. . . . . . . . . . . . . . . . . . . . . . . . 1309
show captive-portal . . . . . . . . . . . . . . . . . . 1310
show captive-portal status . . . . . . . . . . . . . . 1311
block
. . . . . . . . . . . . . . . . . . . . . . . . . . 1312
configuration
. . . . . . . . . . . . . . . . . . . . . . 1313
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1313
group
. . . . . . . . . . . . . . . . . . . . . . . . . . 1314
interface . . . . . . . . . . . . . . . . . . . . . . . . 1315
locale. . . . . . . . . . . . . . . . . . . . . . . . . . 1315
name (Captive Portal)
. . . . . . . . . . . . . . . . . 1316
protocol . . . . . . . . . . . . . . . . . . . . . . . . 1317
redirect. . . . . . . . . . . . . . . . . . . . . . . . . 1317
redirect-url
. . . . . . . . . . . . . . . . . . . . . . . 1318
session-timeout . . . . . . . . . . . . . . . . . . . . 1318
verification. . . . . . . . . . . . . . . . . . . . . . . 1319
captive-portal client deauthenticate
. . . . . . . . . 1320
show captive-portal client status . . . . . . . . . . . 1320
show captive-portal configuration client status . . . 1321
show captive-portal interface client status
. . . . . 1322
Contents 55
show captive-portal interface configuration
status
. . . . . . . . . . . . . . . . . . . . . . . . . . 1324
clear captive-portal users . . . . . . . . . . . . . . . 1325
no user . . . . . . . . . . . . . . . . . . . . . . . . . 1325
show captive-portal user
user group
. . . . . . . . . . . . . . . . . . . . . . . 1327
. . . . . . . . . . . . . . . 1326
user-logout . . . . . . . . . . . . . . . . . . . . . . . 1328
user name
. . . . . . . . . . . . . . . . . . . . . . . 1329
user password . . . . . . . . . . . . . . . . . . . . . 1329
user session-timeout. . . . . . . . . . . . . . . . . . 1330
show captive-portal configuration
. . . . . . . . . . 1331
show captive-portal configuration interface . . . . . 1332
show captive-portal configuration locales . . . . . . 1333
show captive-portal configuration status
. . . . . . . 1334
user group . . . . . . . . . . . . . . . . . . . . . . . 1335
user group moveusers . . . . . . . . . . . . . . . . . 1336
user group name
. . . . . . . . . . . . . . . . . . . . 1336
61 CLI Macro Commands . . . . . . . . . . . . . 1339
56 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 1340
macro name
macro global apply
. . . . . . . . . . . . . . . . . . . . . . 1340
. . . . . . . . . . . . . . . . . . . 1341
macro global trace. . . . . . . . . . . . . . . . . . . 1342
macro global description
. . . . . . . . . . . . . . . 1343
macro apply . . . . . . . . . . . . . . . . . . . . . . 1344
macro trace . . . . . . . . . . . . . . . . . . . . . . 1345
macro description
show parser macro
. . . . . . . . . . . . . . . . . . . 1346
. . . . . . . . . . . . . . . . . . 1346
62 Clock Commands . . . . . . . . . . . . . . . . . 1349
Real-time Clock . . . . . . . . . . . . . . . . . . . . 1349
Simple Network Time Protocol
Commands in this Chapter. . . . . . . . . . . . . . . 1350
show sntp configuration. . . . . . . . . . . . . . . . 1350
show sntp server
. . . . . . . . . . . . . . . . . . . . 1351
show sntp status . . . . . . . . . . . . . . . . . . . . 1353
sntp authenticate . . . . . . . . . . . . . . . . . . . 1354
. . . . . . . . . . . . 1349
sntp authentication-key
. . . . . . . . . . . . . . . . 1355
sntp broadcast client enable . . . . . . . . . . . . . 1356
sntp client poll timer
sntp server
. . . . . . . . . . . . . . . . . . . . . . . 1357
. . . . . . . . . . . . . . . . . . 1356
sntp trusted-key . . . . . . . . . . . . . . . . . . . . 1358
sntp unicast client enable
clock timezone hours-offset
. . . . . . . . . . . . . . . 1359
. . . . . . . . . . . . . . 1360
Contents 57
no clock timezone . . . . . . . . . . . . . . . . . . . 1360
clock summer-time recurring
clock summer-time date . . . . . . . . . . . . . . . . 1362
no clock summer-time . . . . . . . . . . . . . . . . . 1363
show clock
. . . . . . . . . . . . . . . . . . . . . . . 1364
. . . . . . . . . . . . . 1361
63 Command Line Configuration Scripting
Commands . . . . . . . . . . . . . . . . . . . . . . 1367
Commands in this Chapter . . . . . . . . . . . . . . . 1367
script apply. . . . . . . . . . . . . . . . . . . . . . . 1367
script delete . . . . . . . . . . . . . . . . . . . . . . 1368
script list
script show . . . . . . . . . . . . . . . . . . . . . . . 1369
script validate . . . . . . . . . . . . . . . . . . . . . 1370
. . . . . . . . . . . . . . . . . . . . . . . . 1369
64 Configuration and Image File
Commands . . . . . . . . . . . . . . . . . . . . . . 1373
58 Contents
File System Commands . . . . . . . . . . . . . . . . 1373
Command Line Interface Scripting
Commands in this Chapter . . . . . . . . . . . . . . . 1373
boot system
clear config
copy. . . . . . . . . . . . . . . . . . . . . . . . . . . 1375
. . . . . . . . . . . . . . . . . . . . . . . 1374
. . . . . . . . . . . . . . . . . . . . . . . 1375
. . . . . . . . . . 1373
delete. . . . . . . . . . . . . . . . . . . . . . . . . . 1381
delete backup-config
. . . . . . . . . . . . . . . . . 1382
delete backup-image . . . . . . . . . . . . . . . . . 1382
delete startup-config . . . . . . . . . . . . . . . . . 1383
dir
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1384
erase
. . . . . . . . . . . . . . . . . . . . . . . . . . 1385
filedescr . . . . . . . . . . . . . . . . . . . . . . . . 1385
rename
. . . . . . . . . . . . . . . . . . . . . . . . . 1386
show backup-config . . . . . . . . . . . . . . . . . . 1387
show bootvar. . . . . . . . . . . . . . . . . . . . . . 1388
show running-config
. . . . . . . . . . . . . . . . . . 1389
show startup-config . . . . . . . . . . . . . . . . . . 1390
update bootcode . . . . . . . . . . . . . . . . . . . . 1392
write
. . . . . . . . . . . . . . . . . . . . . . . . . . 1392
65 Denial of Service Commands . . . . . . . 1395
Commands in this Chapter. . . . . . . . . . . . . . . 1396
dos-control firstfrag
dos-control icmp
dos-control l4port . . . . . . . . . . . . . . . . . . . 1398
dos-control sipdip
dos-control tcpflag
. . . . . . . . . . . . . . . . . . 1397
. . . . . . . . . . . . . . . . . . . . 1397
. . . . . . . . . . . . . . . . . . . 1399
. . . . . . . . . . . . . . . . . . 1400
Contents 59
dos-control tcpfrag. . . . . . . . . . . . . . . . . . . 1400
ip icmp echo-reply
. . . . . . . . . . . . . . . . . . . 1401
ip icmp error-interval . . . . . . . . . . . . . . . . . 1402
ip unreachables . . . . . . . . . . . . . . . . . . . . 1403
ip redirects
ipv6 icmp error-interval
. . . . . . . . . . . . . . . . . . . . . . . 1403
. . . . . . . . . . . . . . . . 1404
ipv6 unreachables . . . . . . . . . . . . . . . . . . . 1405
show dos-control
. . . . . . . . . . . . . . . . . . . 1405
66 Line Commands . . . . . . . . . . . . . . . . . . 1407
exec-timeout . . . . . . . . . . . . . . . . . . . . . . 1407
history . . . . . . . . . . . . . . . . . . . . . . . . . 1408
history size
line . . . . . . . . . . . . . . . . . . . . . . . . . . . 1409
show line . . . . . . . . . . . . . . . . . . . . . . . . 1410
. . . . . . . . . . . . . . . . . . . . . . . 1409
67 Management ACL Commands . . . . . . . 1413
60 Contents
speed
. . . . . . . . . . . . . . . . . . . . . . . . . . 1412
Commands in this Chapter . . . . . . . . . . . . . . . 1413
deny (management)
management access-class
. . . . . . . . . . . . . . . . . . 1414
. . . . . . . . . . . . . . 1415
management access-list. . . . . . . . . . . . . . . . 1416
permit (management) . . . . . . . . . . . . . . . . . 1417
show management access-class
. . . . . . . . . . . 1419
show management access-list . . . . . . . . . . . . 1420
68 Mode Commands . . . . . . . . . . . . . . . . . 1421
configure terminal . . . . . . . . . . . . . . . . . . . 1421
do
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1421
69 Password Management
Commands . . . . . . . . . . . . . . . . . . . . . . 1423
Configurable Minimum Password Length. . . . . . . 1423
Password History . . . . . . . . . . . . . . . . . . . 1423
Password Aging . . . . . . . . . . . . . . . . . . . . 1423
User Lockout
Password Strength . . . . . . . . . . . . . . . . . . 1424
Commands in this Chapter. . . . . . . . . . . . . . . 1425
. . . . . . . . . . . . . . . . . . . . . . 1423
passwords aging
passwords history
passwords lock-out
passwords min-length
. . . . . . . . . . . . . . . . . . . . 1426
. . . . . . . . . . . . . . . . . . . 1426
. . . . . . . . . . . . . . . . . . 1427
. . . . . . . . . . . . . . . . . 1428
passwords strength-check . . . . . . . . . . . . . . 1429
passwords strength minimum uppercase-letters
. . . 1430
Contents 61
passwords strength minimum lowercase-letters . . . 1431
passwords strength minimum
numeric-characters
. . . . . . . . . . . . . . . . . . 1432
passwords strength minimum
special-characters
. . . . . . . . . . . . . . . . . . . 1433
passwords strength max-limit
consecutive-characters
. . . . . . . . . . . . . . . . 1433
passwords strength max-limit
repeated-characters
. . . . . . . . . . . . . . . . . . 1434
passwords strength minimum character-classes . . . 1435
passwords strength exclude-keyword
. . . . . . . . 1436
enable password encrypted . . . . . . . . . . . . . . 1437
show passwords configuration . . . . . . . . . . . . 1437
show passwords result
. . . . . . . . . . . . . . . . 1439
70 PHY Diagnostics Commands . . . . . . . . 1441
71 Power Over Ethernet Commands . . . . . 1445
62 Contents
show copper-ports tdr . . . . . . . . . . . . . . . . . 1441
show fiber-ports optical-transceiver
test copper-port tdr
. . . . . . . . . . . . . . . . . . . 1443
. . . . . . . . . 1442
Flexible Power Management . . . . . . . . . . . . . 1445
Commands in this Chapter. . . . . . . . . . . . . . . 1445
power inline
. . . . . . . . . . . . . . . . . . . . . . 1446
power inline detection . . . . . . . . . . . . . . . . 1447
power inline high-power . . . . . . . . . . . . . . . 1447
power inline limit
power inline management
. . . . . . . . . . . . . . . . . . . 1448
. . . . . . . . . . . . . . . 1449
power inline powered-device. . . . . . . . . . . . . 1450
power inline priority
. . . . . . . . . . . . . . . . . . 1451
power inline priority enable. . . . . . . . . . . . . . 1452
power inline reset . . . . . . . . . . . . . . . . . . . 1453
power inline usage-threshold
. . . . . . . . . . . . . 1453
clear power inline statistics . . . . . . . . . . . . . 1454
show power inline. . . . . . . . . . . . . . . . . . . 1455
show power inline firmware-version
. . . . . . . . . 1457
72 RMON Commands . . . . . . . . . . . . . . . . 1459
Commands in this Chapter. . . . . . . . . . . . . . . 1459
rmon alarm
rmon collection history
rmon event . . . . . . . . . . . . . . . . . . . . . . . 1463
show rmon alarm
show rmon alarms
. . . . . . . . . . . . . . . . . . . . . . . 1459
. . . . . . . . . . . . . . . . 1462
. . . . . . . . . . . . . . . . . . . 1464
. . . . . . . . . . . . . . . . . . . 1466
Contents 63
show rmon collection history . . . . . . . . . . . . . 1467
show rmon events
. . . . . . . . . . . . . . . . . . . 1468
show rmon history . . . . . . . . . . . . . . . . . . . 1469
show rmon log . . . . . . . . . . . . . . . . . . . . . 1473
show rmon statistics
. . . . . . . . . . . . . . . . . . 1474
73 SDM Templates Commands . . . . . . . . . 1479
Commands in this Chapter . . . . . . . . . . . . . . . 1479
sdm prefer . . . . . . . . . . . . . . . . . . . . . . . 1479
show sdm prefer
. . . . . . . . . . . . . . . . . . . . 1481
74 Serviceability Tracing Packet
Commands . . . . . . . . . . . . . . . . . . . . . . 1485
Commands in this Chapter . . . . . . . . . . . . . . . 1485
debug arp . . . . . . . . . . . . . . . . . . . . . . . . 1486
debug auto-voip . . . . . . . . . . . . . . . . . . . . 1487
64 Contents
debug clear
debug console
debug dot1x
debug igmpsnooping
. . . . . . . . . . . . . . . . . . . . . . . 1487
. . . . . . . . . . . . . . . . . . . . . 1488
. . . . . . . . . . . . . . . . . . . . . . 1488
. . . . . . . . . . . . . . . . . . 1489
debug ip acl . . . . . . . . . . . . . . . . . . . . . . 1490
debug ip dvmrp
. . . . . . . . . . . . . . . . . . . . . 1490
debug ip igmp . . . . . . . . . . . . . . . . . . . . . 1491
debug ip mcache
. . . . . . . . . . . . . . . . . . . . 1492
debug ip pimdm packet . . . . . . . . . . . . . . . . 1493
debug ip pimsm packet . . . . . . . . . . . . . . . . 1494
debug ip vrrp
debug ipv6 dhcp
. . . . . . . . . . . . . . . . . . . . . . 1494
. . . . . . . . . . . . . . . . . . . . 1495
debug ipv6 mcache . . . . . . . . . . . . . . . . . . 1496
debug ipv6 mld
. . . . . . . . . . . . . . . . . . . . . 1496
debug ipv6 pimdm . . . . . . . . . . . . . . . . . . . 1497
debug ipv6 pimsm . . . . . . . . . . . . . . . . . . . 1498
debug isdp
. . . . . . . . . . . . . . . . . . . . . . . 1499
debug lacp . . . . . . . . . . . . . . . . . . . . . . . 1500
debug mldsnooping . . . . . . . . . . . . . . . . . . 1500
debug ospf
. . . . . . . . . . . . . . . . . . . . . . . 1501
debug ospfv3 . . . . . . . . . . . . . . . . . . . . . . 1502
debug ping . . . . . . . . . . . . . . . . . . . . . . . 1502
debug rip
. . . . . . . . . . . . . . . . . . . . . . . . 1503
debug sflow . . . . . . . . . . . . . . . . . . . . . . 1504
debug spanning-tree. . . . . . . . . . . . . . . . . . 1504
debug vrrp
. . . . . . . . . . . . . . . . . . . . . . . 1505
show debugging . . . . . . . . . . . . . . . . . . . . 1505
Contents 65
75 Sflow Commands . . . . . . . . . . . . . . . . . 1507
Commands in this Chapter . . . . . . . . . . . . . . . 1507
sflow destination. . . . . . . . . . . . . . . . . . . . 1507
sflow polling . . . . . . . . . . . . . . . . . . . . . . 1509
sflow polling (Interface Mode)
. . . . . . . . . . . . 1510
sflow sampling. . . . . . . . . . . . . . . . . . . . . 1511
sflow sampling (Interface Mode) . . . . . . . . . . . 1512
show sflow agent
. . . . . . . . . . . . . . . . . . . 1513
show sflow destination . . . . . . . . . . . . . . . . 1514
show sflow polling. . . . . . . . . . . . . . . . . . . 1515
show sflow sampling
. . . . . . . . . . . . . . . . . 1516
76 SNMP Commands . . . . . . . . . . . . . . . . 1519
Commands in this Chapter . . . . . . . . . . . . . . . 1519
show snmp . . . . . . . . . . . . . . . . . . . . . . . 1519
show snmp engineID
show snmp filters . . . . . . . . . . . . . . . . . . . 1522
show snmp group
. . . . . . . . . . . . . . . . . . 1521
. . . . . . . . . . . . . . . . . . . 1523
66 Contents
show snmp user
. . . . . . . . . . . . . . . . . . . . 1524
show snmp views . . . . . . . . . . . . . . . . . . . 1526
show trapflags
. . . . . . . . . . . . . . . . . . . . . 1527
snmp-server community . . . . . . . . . . . . . . . . 1529
snmp-server community-group
. . . . . . . . . . . . 1531
snmp-server contact. . . . . . . . . . . . . . . . . . 1532
snmp-server enable traps . . . . . . . . . . . . . . . 1532
snmp-server engineID local
snmp-server filter
. . . . . . . . . . . . . . . . . . . 1536
. . . . . . . . . . . . . . 1535
snmp-server group . . . . . . . . . . . . . . . . . . . 1538
snmp-server host
. . . . . . . . . . . . . . . . . . . 1539
snmp-server location . . . . . . . . . . . . . . . . . 1541
snmp-server user . . . . . . . . . . . . . . . . . . . 1542
snmp-server view
. . . . . . . . . . . . . . . . . . . 1543
snmp-server v3-host . . . . . . . . . . . . . . . . . . 1545
77 SSH Commands . . . . . . . . . . . . . . . . . . 1547
Commands in this Chapter. . . . . . . . . . . . . . . 1547
crypto key generate dsa
. . . . . . . . . . . . . . . . 1547
crypto key generate rsa . . . . . . . . . . . . . . . . 1548
crypto key pubkey-chain ssh
ip ssh port
. . . . . . . . . . . . . . . . . . . . . . . 1550
. . . . . . . . . . . . . 1549
ip ssh pubkey-auth. . . . . . . . . . . . . . . . . . . 1551
ip ssh server
key-string
. . . . . . . . . . . . . . . . . . . . . . 1551
. . . . . . . . . . . . . . . . . . . . . . . 1552
Contents 67
show crypto key mypubkey . . . . . . . . . . . . . . 1554
show crypto key pubkey-chain ssh
. . . . . . . . . . 1555
show ip ssh . . . . . . . . . . . . . . . . . . . . . . . 1556
user-key . . . . . . . . . . . . . . . . . . . . . . . . 1557
78 Syslog Commands . . . . . . . . . . . . . . . . 1559
CLI Logged to Local File and Syslog Server . . . . . . 1559
Commands in this Chapter . . . . . . . . . . . . . . . 1560
clear logging . . . . . . . . . . . . . . . . . . . . . . 1561
clear logging file
description . . . . . . . . . . . . . . . . . . . . . . . 1562
level . . . . . . . . . . . . . . . . . . . . . . . . . . 1563
logging cli-command
logging . . . . . . . . . . . . . . . . . . . . . . . . . 1565
logging audit . . . . . . . . . . . . . . . . . . . . . . 1567
. . . . . . . . . . . . . . . . . . . . 1561
. . . . . . . . . . . . . . . . . 1563
68 Contents
logging buffered
. . . . . . . . . . . . . . . . . . . . 1568
logging console . . . . . . . . . . . . . . . . . . . . 1569
logging file
logging on
. . . . . . . . . . . . . . . . . . . . . . . 1570
. . . . . . . . . . . . . . . . . . . . . . . 1571
logging snmp . . . . . . . . . . . . . . . . . . . . . . 1572
logging web-session
port
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1573
. . . . . . . . . . . . . . . . . . 1572
show logging. . . . . . . . . . . . . . . . . . . . . . 1574
show logging file
. . . . . . . . . . . . . . . . . . . 1575
show syslog-servers. . . . . . . . . . . . . . . . . . 1576
79 System Management Commands . . . . 1579
asset-tag . . . . . . . . . . . . . . . . . . . . . . . . 1579
banner exec
banner login . . . . . . . . . . . . . . . . . . . . . . 1581
banner motd . . . . . . . . . . . . . . . . . . . . . . 1582
banner motd acknowledge
clear checkpoint statistics . . . . . . . . . . . . . . 1584
cut-through mode . . . . . . . . . . . . . . . . . . . 1585
exec-banner
hostname. . . . . . . . . . . . . . . . . . . . . . . . 1586
initiate failover. . . . . . . . . . . . . . . . . . . . . 1587
. . . . . . . . . . . . . . . . . . . . . . 1580
. . . . . . . . . . . . . . 1583
. . . . . . . . . . . . . . . . . . . . . . 1585
locate
. . . . . . . . . . . . . . . . . . . . . . . . . . 1588
login-banner . . . . . . . . . . . . . . . . . . . . . . 1589
media-type
member
. . . . . . . . . . . . . . . . . . . . . . . 1589
. . . . . . . . . . . . . . . . . . . . . . . . . 1590
motd-banner . . . . . . . . . . . . . . . . . . . . . . 1591
nsf
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1592
ping
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1593
Contents 69
reload. . . . . . . . . . . . . . . . . . . . . . . . . . 1595
set description
. . . . . . . . . . . . . . . . . . . . . 1596
slot . . . . . . . . . . . . . . . . . . . . . . . . . . . 1596
show banner . . . . . . . . . . . . . . . . . . . . . . 1598
show boot-version
show checkpoint statistics
. . . . . . . . . . . . . . . . . . . 1599
. . . . . . . . . . . . . . 1600
show cut-through mode . . . . . . . . . . . . . . . . 1601
show interfaces advanced firmware
. . . . . . . . . 1601
show interfaces media-type . . . . . . . . . . . . . . 1602
show memory cpu . . . . . . . . . . . . . . . . . . . 1603
show power-usage-history
. . . . . . . . . . . . . . 1605
show process cpu . . . . . . . . . . . . . . . . . . . 1606
show sessions . . . . . . . . . . . . . . . . . . . . . 1609
show slot
. . . . . . . . . . . . . . . . . . . . . . . . 1610
show supported cardtype . . . . . . . . . . . . . . . 1611
70 Contents
show supported switchtype . . . . . . . . . . . . . . 1612
show switch
. . . . . . . . . . . . . . . . . . . . . . 1615
show system . . . . . . . . . . . . . . . . . . . . . . 1623
show system id . . . . . . . . . . . . . . . . . . . . . 1625
show system power
. . . . . . . . . . . . . . . . . . 1626
show system temperature . . . . . . . . . . . . . . . 1627
show tech-support . . . . . . . . . . . . . . . . . . . 1628
show users
. . . . . . . . . . . . . . . . . . . . . . . 1631
show version . . . . . . . . . . . . . . . . . . . . . . 1631
stack . . . . . . . . . . . . . . . . . . . . . . . . . . 1632
stack-port
standby
. . . . . . . . . . . . . . . . . . . . . . . 1633
. . . . . . . . . . . . . . . . . . . . . . . . . 1634
telnet . . . . . . . . . . . . . . . . . . . . . . . . . . 1635
traceroute
. . . . . . . . . . . . . . . . . . . . . . . 1638
80 Telnet Server Commands. . . . . . . . . . . 1643
Commands in this Chapter. . . . . . . . . . . . . . . 1643
ip telnet server disable . . . . . . . . . . . . . . . . 1643
ip telnet port
show ip telnet . . . . . . . . . . . . . . . . . . . . . 1645
. . . . . . . . . . . . . . . . . . . . . . 1644
81 Terminal Length Commands . . . . . . . . 1647
terminal length. . . . . . . . . . . . . . . . . . . . . 1647
82 Time Ranges Commands . . . . . . . . . . . 1649
time-range . . . . . . . . . . . . . . . . . . . . . . . 1649
absolute . . . . . . . . . . . . . . . . . . . . . . . . 1650
periodic
. . . . . . . . . . . . . . . . . . . . . . . . 1651
Contents 71
show time-range . . . . . . . . . . . . . . . . . . . . 1653
83 USB Flash Drive Commands . . . . . . . . 1657
Validation of Files Downloaded/Uploaded from
USB Device. . . . . . . . . . . . . . . . . . . . . . . 1657
Validation for Files Uploaded from Switch to USB
Flash Drive
Downloading and Uploading of Files . . . . . . . . . 1658
Commands in this Chapter . . . . . . . . . . . . . . . 1658
unmount usb
show usb . . . . . . . . . . . . . . . . . . . . . . . . 1659
dir usb . . . . . . . . . . . . . . . . . . . . . . . . . 1661
. . . . . . . . . . . . . . . . . . . . . . . 1658
. . . . . . . . . . . . . . . . . . . . . . 1658
84 User Interface Commands . . . . . . . . . . 1663
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1663
end . . . . . . . . . . . . . . . . . . . . . . . . . . . 1664
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1664
quit
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1665
85 Web Server Commands . . . . . . . . . . . . 1667
72 Contents
Web Sessions . . . . . . . . . . . . . . . . . . . . . 1667
Commands in this Chapter
. . . . . . . . . . . . . . . 1668
common-name . . . . . . . . . . . . . . . . . . . . . 1668
country
. . . . . . . . . . . . . . . . . . . . . . . . . 1669
crypto certificate generate . . . . . . . . . . . . . . 1670
crypto certificate import. . . . . . . . . . . . . . . . 1671
crypto certificate request
duration
. . . . . . . . . . . . . . . . . . . . . . . . 1674
. . . . . . . . . . . . . . . 1673
ip http port . . . . . . . . . . . . . . . . . . . . . . . 1674
ip http server
. . . . . . . . . . . . . . . . . . . . . . 1675
ip http secure-certificate . . . . . . . . . . . . . . . 1676
ip http secure-port . . . . . . . . . . . . . . . . . . . 1677
ip http secure-server
. . . . . . . . . . . . . . . . . . 1677
key-generate . . . . . . . . . . . . . . . . . . . . . . 1678
location . . . . . . . . . . . . . . . . . . . . . . . . 1679
organization-unit
. . . . . . . . . . . . . . . . . . . . 1680
show crypto certificate mycertificate. . . . . . . . . 1680
show ip http server status . . . . . . . . . . . . . . . 1682
show ip http server secure status
. . . . . . . . . . . 1682
state . . . . . . . . . . . . . . . . . . . . . . . . . . 1684
A Appendix A: List of Commands . . . . . . 1687
Contents 73
74 Contents
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 75
Command Groups
The system commands can be broken down into three sets of functional
groups: Layer 2, Layer 3, and Utility.
Table 1-1. System Command Groups
Command Group Description
Layer 2 Commands
AAA Configures connection security including authorization
and passwords.
ACL Configures and displays ACL information.
Address Table Configures bridging address tables.
Auto-VoIP Configures Auto VoIP for IP phones on a switch.
CDP Interoperability Configures Cisco® Discovery Protocol (CDP).
DHCP L2 Relay Enables the Layer 2 DHCP Relay agent for an interface.
DHCP Management
Interface
Dynamic ARP Inspection Configures for rejection of invalid and malicious ARP
Ethernet Configuration Configures all port configuration options for example
Ethernet CFM Configures and displays GVRP configuration and
IGMP Snooping Configures IGMP snooping and displays IGMP
IGMP Snooping Querier Configures IGMP Snooping Querier and displays IGMP
IP Addressing Configures and manages IP addresses on the switch.
IPv6 ACL Configures and displays ACL information for IPv6.
IPv6 MLD Snooping Configures IPv6 MLD Snooping.
IPv6 MLD Snooping
Querier
Link Dependency Configures and displays link dependency information.
Configures DHCP snooping and whether an interface is
trusted for filtering.
packets.
ports, storm control, port speed and auto-negotiation.
information.
configuration and IGMP information.
Snooping Querier information.
Configures IPv6 Snooping Querier and displays IPv6
Snooping Querier information.
76 Command Groups
Table 1-1. System Command Groups
Command Group Description
LLDP Configures and displays LLDP information.
Port Channel Configures and displays Port channel information.
Port Monitor Monitors activity on specific target ports.
QoS Configures and displays QoS information.
Radius Configures and displays RADIUS information.
Spanning Tree Configures and reports on Spanning Tree protocol.
TACACS+ Configures and displays TACACS+ information.
VLAN Configures VLANs and displays VLAN information.
Voice VLAN Configures voice VLANs and displays voice VLAN
information.
802.1x Configures and displays commands related to 802.1x
security protocol.
Layer 3 Commands
ARP (IPv4) Manages Address Resolution Protocol functions.
DHCP Server and Relay
Agent (IPv4)
DHCPv6 Configures IPv6 DHCP functions.
DVMRP (Mcast) Configures DVMRP operations.
IGMP (Mcast) Configures IGMP operations.
IGMP Proxy (Mcast) Manages IGMP Proxy on the system.
IP Helper/DHCP Relay Configures relay of UDP packets.
IP Routing (IPv4) Configures IP routing and addressing.
IPv6 Multicast Manages IPv6 Multicasting on the system.
IPv6 Routing Configures IPv6 routing and addressing.
Loopback Interface
(IPv6)
Multicast (Mcast) Manages Multicasting on the system.
OSPF (IPv4) Manages shortest path operations.
Manages DHCP/BOOTP operations on the system.
Manages Loopback configurations.
(continued)
Command Groups 77
Table 1-1. System Command Groups
Command Group Description
OSPFv3 (IPv6) Manages IPv6 shortest path operations.
Router Discovery
Protocol (IPv4)
Routing Information
Protocol (IPv4)
Tunnel Interface (IPv6) Managing tunneling operations.
Virtual Router
Redundancy (IPv4)
Virtual Router
Redundancy (IPv4)
Utility Commands
Auto-Install Automatically configures switch when a configuration file
Captive Portal Blocks clients from accessing network until user
Clock Configures the system clock.
Command Line
Configuration Scripting
Denial of Service Provides several Denial of Service options.
Line Configures the console, SSH, and remote Telnet
Management ACL Configures and displays management access-list
Password M a n agement Prov id es password management.
PHY Diagnostics Diagnoses and displays the interface status.
Power Over E t hernet
(PoE)
RMON Can be configured through the CLI and displays RMON
Serviceability Tracing Controls display of debug output to serial port or telnet
Manages router discovery operations.
Configures RIP activities.
Controls virtual LAN routing.
Manages router redundancy on the system.
is not found.
verification is established.
Manages the switch configuration files.
connection.
information.
Configures PoE and displays PoE information.
information.
console.
(continued)
78 Command Groups
Table 1-1. System Command Groups
Command Group Description
sFlow Configures sFlow monitoring.
SNMP Configures SNMP communities, traps and displays SNMP
information.
SSH Configures SSH authentication.
Syslog Manages and displays syslog messages.
System Management Configures the switch clock, name and authorized users.
Telnet Server Configures Telnet service on the switch and displays
Teln et info r mati on .
User Interface Describes user commands used for entering CLI
commands.
Web Server 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
• 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
• CMC — Class-Map Configuration
• DP — IP DHCP Pool Configuration
• GC — Global Configuration
• IC — Interface Configuration (reached via
• IP — IP Access List Configuration
• IR — Interface Range
•K C — K e y C h a i n
•K E — K e y
interface vlan xxx
command)
Command Groups 79
• 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
• 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
• SP — SSH Public Key
•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
• VLAN — VLAN Configuration (reached via
• v6ACL — IPv6 Access List Configuration
• v6CMC — IPv6 Class-Map Configuration
• v6DP — IPv6 DHCP Pool Configuration
vlan database
command)
80 Command Groups
Layer 2 Commands
AAA
Command Description Mode
aaa authentication dot1x
default
aaa authentication enable Defines authentication method lists for
aaa authentication login Defines login authentication. GC
aaa authorization network
default radius
aaa ias-user username Configures IAS users and their attributes. Also
clear aaa ias-users Deletes all IAS users. PE
enable authentication Specifies the authentication method list when
enable password Sets a local password to control access to the
ip http authentication Specifies authentication methods for http. GC
ip https authentication Specifies authentication methods for https. GC
login authentication Specifies the login authentication method list
password (IAS) Configures a password for a user. AAA
password Specifies a password on a line. LC
password Specifies a user password UE
show aaa ias-users Displays configured IAS users and their
show authentication
methods
show user accounts Displays information about the local user
Specifies an authentication method for 802.1x
clients.
accessing higher privilege levels.
Enables the switch to accept VLAN assignment
by the RADIUS server.
changes the mode to aa user config mode.
accessing a higher privilege level from a remote
telnet or console.
normal level.
for a remote telnet or console.
attributes.
Shows information about authentication
methods.
database.
GC
GC
GC
GC
LC
GC
LC
PE
PE
PE
a
Command Groups 81
Command Description Mode
show users login-history Displays information about login histories of
PE
users.
username Establishes a username-based authentication
GC
system.
username password
encrypted username unlock
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Transfers local user passwords between devices
without having to know the passwords.
GC
ACL
a
Command Description Mode
access-list Creates an Access Control List (ACL) that is
identified by the parameter
accesslistnumber.
deny | permit The deny command denies traffic if the
GC
ML
conditions defined in the deny statement are
matched. The permit command allows traffic if
the conditions defined in the permit statement
are matched.
ip access-group Attaches a specified access-control list to an
interface.
mac access-group Attaches a specific MAC Access Control List
(ACL) to an interface in the in-bound
GC or
IC
GC or
IC
direction.
mac access-list extended Creates the MAC Access Control List (ACL)
name
parameter.
mac access-list extended
rename
identified by the
Renames the existing MAC Access Control List
(ACL) name.
service-acl input Blocks Link Local Protocol Filtering (LLPF)
GC
GC
IC
protocol(s) on a given port.
show service-acl interface Displays the status of LLPF rules configured on
PE
a particular port or on all the ports.
show ip access-lists Displays an Access Control List (ACL) and all
PE
of the rules that are defined for the ACL.
a
82 Command Groups
Command Description Mode
show mac access-list Displays a MAC access list and all of the rules
PE
that are defined for the ACL.
a. For the meaning of each Mode abbreviation, see Mode Typeson page 79.
Address Table
a
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
Enables filtering of Multicast addresses. GC
filtering
mac address-table multicast
forbidden address
mac address-table multicast
forbidden forward-
Forbids adding a specific Multicast address to
specific ports.
Forbids a port to be a forwarding-unregisteredmulticast-addresses port.
IC
IC
unregistered
mac address-table multicast
forward-all
mac address-table multicast
forward-unregistered
mac address-table multicast
static
mac address-table static Adds a static MAC-layer station source address
Enables forwarding of all Multicast packets on a
port.
Enables the forwarding of unregistered
multicast addresses.
Registers MAC-layer Multicast addresses to the
bridge table, and adds static ports to the group.
IC
IC
IC
IC
to the bridge table.
port security Disables new address learning on an interface. IC
port security max 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.
a
Command Groups 83
Command Description Mode
show mac address-table
address
show mac address-table
count
show mac address-table
dynamic
show mac address-table
Displays all entries in the bridge-forwarding
database for the specified MAC address.
Displays the number of addresses present in the
UE or
PE
PE
Forwa rd in g Da ta ba s e.
Displays all entries in the bridge-forwarding
database.
UE or
PE
Displays the Multicast filtering configuration. PE
filtering
show mac address-table
interface
show mac address-table
multicast
show mac address-table
static
show mac address-table
vlan
Displays the mac forwarding table entries for a
specific interface.
Displays Multicast MAC address table
information.
Displays statically created entries in the bridgeforwarding database.
Displays all entries in the bridge-forwarding
database for the specified VLAN.
UE or
PE
PE
PE
UE or
PE
show ports security Displays the port-lock status. PE
show ports security
addresses
a. For the meaning of each Mode abbreviation, see Mode Typeson page 79.
Displays current dynamic addresses in locked
ports.
PE
a
Auto-VoIP
Command Description Mode
switchport voice detect
auto
show switchport voice Displays the status of auto-voip on an interface
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
84 Command Groups
Enables the VoIP Profile on all the interfaces of
the switch.
or all interfaces.
a
GC or
IC
PE
CDP Interoperability
Command Description Mode
clear isdp counters Clears the ISDP counters. PE
clear isdp table Clears entries in the ISDP table. PE
isdp advertise-v2 Enables the sending of ISDP version 2 packets
GC
from the device.
isdp enable Enables ISDP on the switch. GC or
IC
isdp holdtime Configures the hold time for ISDP packets that
GC
the switch transmits.
isdp timer Sets period of time between sending new ISDP
GC
packets.
show isdp Displays global ISDP settings. PE
show isdp interface Displays ISDP settings for the specified
PE
interface.
show isdp entry Displays ISDP entries. PE
show isdp neighbors Displays the list of neighboring devices. PE
show isdp traffic Displays ISDP statistics. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
a
DHCP L2 Relay
Command Description Mode
dhcp l2relay Enables the Layer 2 DHCP Relay agent for an
interface or globally.
dhcp l2relay circuit-id Enables user to set the DHCP Option 82
Circuit ID for a VLAN.
dhcp l2relay remote-id Enables user to set the DHCP Option 82
Remote ID for a VLAN.
Command Groups 85
GC or
IC
GC
GC
a
Command Description Mode
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 79.
DHCP Management Interface
a
Command Description Mode
release dhcp Forces the DHCPv4 client to release a leased
PE
address.
renew dhcp Forces the DHCP client to immediately renew
PE
an IPv4 address lane.
debug dhcp packet Displays debug information about DHCPv4
PE
client activities and traces DHCP v4 packets to
and from the local DHCPv4 client.
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 79.
DHCP Snooping
Command Description Mode
clear ip dhcp snooping
binding
clear ip dhcp snooping
statistics
ip dhcp snooping Enables DHCP snooping globally or on a
ip dhcp snooping binding Configures a static DHCP Snooping binding. GC
ip dhcp snooping database Configures the persistent location of the DHCP
Clears all DHCP Snooping entries. PE
Clears all DHCP Snooping statistics. PE
GC or
specific VLAN.
IC
GC
snooping database.
a
a
86 Command Groups
Command Description Mode
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 loginvalid
Enables logging of DHCP messages filtered by
the DHCP Snooping application.
IC
ip dhcp snooping trust Configure a port as trusted for DHCP snooping. IC
ip dhcp snooping verify
mac-address
Enables the verification of the source MAC
address with the client MAC address in the
GC
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
show ip dhcp snooping
interfaces
show ip dhcp snooping
statistics
Displays the DHCP snooping configuration
related to the database persistence.
Displays the DHCP Snooping status of the
interfaces.
Displays the DHCP snooping filtration
statistics.
PE
PE
PE
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Dynamic ARP Inspection
Command Description Mode
arp access-list Creates an ARP ACL. GC
clear ip arp inspection
statistics
ip arp inspection filter Configures the ARP ACL to be used for a single
Resets the statistics for Dynamic ARP
Inspection on all VLANs.
VLAN or a range of VLANs to filter invalid ARP
packets.
Command Groups 87
PE
GC
a
Command Description Mode
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
interfaces
show ip arp inspection
interfaces
show ip arp inspection vlan Displays the Dynamic ARP Inspection
Displays the Dynamic ARP Inspection
configuration.
Displays the Dynamic ARP Inspection
configuration on all the DAI enabled interfaces.
PE
PE
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 79.
Email Alerting
Command Description Mode
logging email Enables email alerting and sets the lowest
severity level for which log messages are
emailed.
logging email urgent Sets the lowest severity level at which log
messages are emailed in an urgent manner.
logging traps Sets the lowest severity level at which SNMP
traps are logged.
88 Command Groups
a
GC
GC
GC
Command Description Mode
logging email message-type
Configures the To address field of the email. GC
to-addr
logging email from-addr Configures the From address of the email. GC
logging email message-type
Configures the subject. GC
subject
logging email logtime Configures the value of how frequently the
GC
queued messages are sent.
logging email test messagetype
show logging email
statistics
Tests whether or not an email is being sent to an
SMTP server.
Displays information on how many emails are
sent, how many emails failed, when the last
GC
PE
email was sent, how long it has been since the
last email was sent, how long it has been since
the email changed to disabled mode.
clear logging email statistics Clears the email alerting statistics. GC
security Sets the email alerting security protocol. MSC
mail-server ipaddress|hostname
Configures the SMTP server IP address and
changes the mode to Mail Server Configuration
GC
Mode.
port (Mail Server
Configuration Mode)
username (Mail Server
Configuration Mode)
password (Mail Server
Configuration Mode)
show mail-server Displays the configuration of all the mail servers
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 email server.
MSC
MSC
MSC
PE
or a particular mail server.
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Ethernet Configuration
Command Description Mode
clear counters Clears statistics on an interface. PE
Command Groups 89
a
Command Description Mode
description Adds a description to an interface. IC
duplex Configures the full/half duplex operation of a
IC
given Ethernet interface when not using autonegotiation.
flowcontrol Configures the flow control on a given interface. GC
interface Enters the interface configuration mode to
configure parameters for an interface.
interface range Enters the interface configuration mode to
execute a command on multiple ports at the
GC or
IC
GC,
IC, IR
same time.
mtu Enables jumbo frames on an interface by
IC
adjusting the maximum size of a packet or
maximum transmission unit (MTU).
show interfaces advertise Displays information about auto negotiation
PE
advertisement.
show interfaces
configuration
Displays the configuration for all configured
interfaces.
UE
show interfaces counters Displays traffic seen by the physical interface. UE
show interfaces description Displays the description for all configured
UE
interfaces.
show interfaces detail Displays the detail for all configured interfaces. UE
show interfaces status Displays the status for all configured interfaces. UE
show statistics 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 Displays the storm control configuration. PE
shutdown Disables interfaces. IC
speed Configures the speed of a given Ethernet
IC
interface when not using auto-negotiation.
storm-control broadcast Enables Broadcast storm control. IC
a
90 Command Groups
Command Description Mode
storm-control multicast Enables the switch to count Multicast packets
IC
together with Broadcast packets.
storm-control unicast Enables Unicast storm control. IC
switchport protected Sets the port to Protected mode. IC
switchport protected name Configures a name for a protected group. GC
show switchport protected Displays protected group/port information. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Ethernet CFM
a
Command Description Mode
ethernet cfm domain 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.
service Associates a VLAN with a maintenance domain. MDC
ethernet cfm cc level Initiates sending continuity checks (CCMs) at
GC
the specified interval and level on a VLAN
monitored by an existing domain.
ethernet cfm mep level Creates a Maintenance End Point (MEP) on an
IC
interface at the specified level and direction.
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 Creates a Maintenance Intermediate Point
Maintains internal information on a missing
MEP.
IC
IC
(MIP) at the specified level.
ping ethernet cfm Generates a
loopback message (LBM) from
PE
the configured MEP.
traceroute ethernet cfm Generates a link trace message (LTM) from the
configured MEP.
PE
a
Command Groups 91
Command Description Mode
show ethernet cfm errors Displays the cfm errors. PE
show ethernet cfm domain Displays the configured parameters in a
PE
maintenance domain.
show ethernet cfm
maintenance-points local
show ethernet cfm
maintenance-points remote
Displays the configured local maintenance
points.
Displays the configured remote maintenance
points.
PE
PE
show ethernet cfm statistics Displays the CFM statistics. PE
debug cfm Enables CFM debugging. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Green Ethernet
a
Command Description Mode
green-mode energy-detect Enables a Dell proprietary mode of power
IC
reduction on ports that are not connected to
another interface.
green-mode eee Enables EEE low power idle mode on an
IC
interface or all the interfaces.
clear green-mode statistics Clears:
PE
• The EEE LPI event count, and LPI duration
• The EEE LPI history table entries
• The Cumulative Power savings estimates
for a specified interface or for all the interfaces
based upon the argument.
green-mode eee-lpi-history Configures the Global EEE LPI history
GC
collection interval and buffer size. This value is
applied globally on all interfaces on the stack.
a
92 Command Groups
Command Description Mode
show green-mode interface-idDisplays the green-mode configuration and
operational status of the port. This command is
also used to display the per port configuration
and operational status of the green-mode. The
status is shown only for the modes supported on
the corresponding hardware platform whether
enabled or disabled.
show green-mode Displays the green-mode configuration for the
whole system. The status is shown only for the
modes supported on the corresponding
hardware platform whether enabled or disabled.
show green-mode eee-lpihistory interface
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Displays the interface green-mode EEE LPI
history.
PE
PE
PE
GVRP
a
Command Description Mode
clear gvrp statistics Clears all the GVRP statistics information. PE
garp timer Adjusts the GARP application join, leave, and
leaveall GARP timer values.
gvrp enable (global) Enables GVRP globally. GC
gvrp enable (interface) Enables GVRP on an interface. IC
gvrp registration-forbid De-registers all VLANs, and prevents dynamic
VLAN registration on the port.
gvrp vlan-creation-forbid Enables or disables dynamic VLAN creation. IC
show gvrp configuration Displays GVRP configuration information,
IC
IC
PE
including timer values, whether GVRP and
dynamic VLAN creation is enabled, and
which ports are running GVRP.
show gvrp error-statistics Displays GVRP error statistics. UE
show gvrp statistics Displays GVRP statistics. UE
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Command Groups 93
a
IGMP Snooping
Command Description Mode
ip igmp snooping (Global) In Global Config mode, Enables Internet
Group Management Protocol (IGMP)
snooping.
ip igmp snooping
(Interface)
ip igmp snooping hosttime-out
ip igmp snooping leavetime-out
ip igmp snooping mroutertime-out
show ip igmp snooping
groups
show ip igmp snooping
interface
show ip igmp snooping
mrouter
ip igmp snooping (VLAN) In VLAN Config mode, enables IGMP snooping
ip igmp snooping fast-leave Enables or disables IGMP Snooping fast-leave
ip igmp snooping
groupmembership-interval
ip igmp snooping
maxresponse
ip igmp snooping
mcrtrexpiretime
Enables Internet Group Management Protocol
(IGMP) snooping on a specific VLAN.
Configures the host-time-out. IC
Configures the leave-time-out. IC
Configures the mrouter-time-out. IC
Displays Multicast groups learned by IGMP
snooping.
Displays IGMP snooping configuration. PE
Displays information on dynamically learned
Multicast router interfaces.
on a particular VLAN or on all interfaces
participating in a VLAN.
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.
GC
IC
UE
PE
VLAN
VLAN
VLAN
VLAN
VLAN
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
94 Command Groups
IGMP Snooping Querier
Command Description Mode
ip igmp snooping querier Enables/disables IGMP Snooping Querier on
the system (Global Configuration mode) or on
GC,
VLAN
a VLAN.
ip igmp snooping querier
election participate
Enables the Snooping Querier to participate in
the Querier Election process when it discovers
VLAN
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 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 79.
IP Addressing
Command Description Mode
clear host Deletes entries from the host name-to-address
cache.
clear ip address-conflictdetect
Clears the address conflict detection status in
the switch.
ip address (Out-of-Band) Sets an IP address for the service port. IC
ip address-conflict-detect
run
Triggers the switch to run active address conflict
detection by sending gratuitous ARP packets for
IPv4 addresses on the switch.
ip address dhcp (Interface
Config)
Acquires an IP address on an interface from the
DHCP server.
ip default-gateway Defines a default gateway (router). GC
ip domain-lookup Enables IP DNS-based host name-to-address
translation.
PE
PE
GC
IC
GC
a
a
Command Groups 95
Command Description Mode
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 Configures available name servers. GC
ipv6 address (Interface
Config)
Sets the IPv6 address of the management
interface.
IC
ipv6 address (OOB Port) Sets the IPv6 prefix on the out-of-band port. IC
ipv6 address dhcp Enables the DHCPv6 client on an IPv6
IC
interface.
ipv6 enable (Interface
Enables IPv6 on the management interface. GC
Config)
ipv6 enable (OOB Config) Enables IPv6 operation on the out-of-band
IC
interface.
ipv6 gateway (OOB
Configures the address of the IPv6 gateway. IC
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 Displays the status information corresponding
to the last detected address conflict.
UE or
PE
show ip helper-address Displays the ip helper addresses configuration. PE
show ipv6 dhcp interface
out-of-band statistics
show ipv6 interface out-ofband
Displays IPv6 DHCP statistics for the out-ofband interface.
Displays the IPv6 out-of-band port
configuration.
PE
PE
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
IPv6 ACL
Command Description Mode
{deny | permit } Creates a new rule for the current IPv6 access
list.
96 Command Groups
a
v6ACL
Command Description Mode
ipv6 access-list Creates an IPv6 Access Control List (ACL)
GC
consisting of classification fields defined for the
IP header of an IPv6 frame.
ipv6 access-list rename Changes the name of an IPv6 ACL. GC
ipv6 traffic-filter Attaches a specific IPv6 ACL to an interface or
associates it with a VLAN ID in a given
direction.
show ipv6 access-lists Displays an IPv6 access list (and the rules
GC
IC
PE
defined for it).
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
IPv6 MLD Snooping
a
Command Description Mode
ipv6 mld snooping
immediate-leave
ipv6 mld snooping
groupmembership-interval
ipv6 mld snooping
maxresponse
ipv6 mld snooping
mcrtexpiretime
ipv6 mld snooping (Global) Enables MLD Snooping on the system (Global
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.
Sets the Multicast Router Present Expiration
time.
IC
VLAN
IC
VLAN
IC or
VLAN
IC
GC
Config Mode).
ipv6 mld snooping
Enables MLD Snooping on an interface. IC
(Interface)
ipv6 mld snooping (VLAN) Enables MLD Snooping on a particular VLAN
VLAN
and all interfaces participating in that VLAN.
show ipv6 mld snooping Displays MLD Snooping information. PE
show ipv6 mld snooping
groups
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Displays the MLD Snooping entries in the
MFDB table.
PE
a
Command Groups 97
IPv6 MLD Snooping Querier
Command Description Mode
ipv6 mld snooping querier Enables MLD Snooping Querier on the system
or on a VLAN.
ipv6 mld snooping querier
address
ipv6 mld snooping querier
election participate
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
VLAN
GC or
VLAN
VLAN
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 79.
IP Source Guard
Command Description Mode
ip verify source Enables filtering of IP packets matching the
source IP address.
ip verify source portsecurity
Enables filtering of IP packets matching the
source IP address and the source MAC address.
ip verify binding Configures static bindings. GC
show ip verify interface Displays the IPSG interface configuration. PE
show ip verify source
interface
Displays the bindings configured on a particular
interface.
show ip source binding Displays all bindings (static and dynamic). PE
IC
IC
PE
a
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
98 Command Groups
iSCSI Optimization
Command Description Mode
iscsi aging time Sets aging time for iSCSI sessions. GC
iscsi cos Sets the quality of service profile that will be
GC
applied to iSCSI flows.
iscsi enable Enables Global Configuration mode command
GC
globally enables iSCSI awareness.
iscsi target port Configures an iSCSI target port (optionally
GC
configures target port address and name).
show iscsi Displays the iSCSI settings. PE
show iscsi sessions Displays the iSCSI sessions. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Link Dependency
Command Description Mode
action Indicates if the link-dependency group should
mirror or invert the status of the depended on
interfaces.
link-dependency group Enters the link-dependency mode to configure
a link-dependency group.
add gigabitethernet Adds member gigabit Ethernet port(s) to the
dependency list.
add tengigabitethernet Adds member ten gigabit Ethernet port(s) to
the dependency list.
add port-channel Adds member port-channels to the
dependency list.
depends-on Adds the dependent Ethernet ports or port
channels list.
show link-dependency Shows the link dependencies configured on a
particular group.
LD
GC
LD
LD
LD
LD
PE
a
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 79.
Command Groups 99
LLDP
Command Description Mode
clear lldp remote-data Deletes all data from the remote data table. PE
clear lldp statistics Resets all LLDP statistics. PE
led med Enables/disables LLDP-MED on an interface. IC
lldp med confignotification Enables sending the topology change
notification.
lldp med
faststartrepeatcount
lldp med transmit-tlv Specifies which optional TLVs in the LLDP
lldp notification Enables remote data change notifications. IC
lldp notification-interval Limits how frequently remote data change
lldp receive Enables the LLDP receive capability. IC
lldp timers Sets the timing parameters for local data
lldp transmit Enables the LLDP advertise capability. IC
lldp transmit-mgmt Specifies that transmission of the local system
lldp transmit-tlv Specifies which optional TLVs in the 802.1AB
show lldp Displays the current LLDP configuration
show lldp interface Displays the current LLDP interface state. PE
show lldp local-device Displays the LLDP local data. PE
show lldp med Displays a summary of the current LLDP MED
show lldp med interface Displays a summary of the current LLDP MED
Sets the value of the fast start repeat count. GC
MED set are transmitted in the LLDPDUs.
notifications are sent.
transmission on ports enabled for LLDP.
management address information in the
LLDPDUs is included.
basic management set will be transmitted in the
LLDPDUs.
summary.
configuration.
configuration for a specific interface.
IC
IC
GC
GC
IC
IC
PE
PE
PE
a
100 Command Groups