Dell 8132, 8024, 8164 User Manual

Page 1
Dell PowerConnect
8024/8132/8164 Series Systems
CLI Reference Guide
Regulatory Model: PC8024/PC8024F/ PC8132/PC8132F/PC8164/PC8164F
Page 2
Notes
NOTE: A NOTE indicates important information that helps you make better use of
CAUTION: A CAUTION indicates potential damage to hardware or loss of data if
instructions are not followed.
____________________
Information in this publication is subject to change without notice. © 2013 Dell Inc. All rights reserved.
Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Trademarks used in this text: Dell™, the DELL logo, and PowerConnect™ are trademarks of Dell Inc. StrataXGS InMon Corporation. Cisco United States and certain other countries. Microsoft Microsoft Corporation in the United States and/or other countries.
Other trademarks and trade names may be used in this publication to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
®
is a registered trademark of Broadcom Corp. sFlow® is a registered trademark of
®
is a registered trademark of Cisco Systems, Inc. and/or its affiliates in the
®
and Windows®are registered trademarks of
Regulatory Model PC8024/PC8024F/PC8132/PC8132F/PC8164/PC8164F
2013 - March Rev. A02
Page 3
Contents
1 Command Groups . . . . . . . . . . . . . . . . . . 77
Introduction . . . . . . . . . . . . . . . . . . . . . . . 77
Command Groups . . . . . . . . . . . . . . . . . . . . 77
Mode Types . . . . . . . . . . . . . . . . . . . . . . . 81
Layer 2 Commands
Data Center Technology Commands. . . . . . . . . . . 117
Layer 3 Commands . . . . . . . . . . . . . . . . . . . . 119
Utility Commands
. . . . . . . . . . . . . . . . . . . . 83
. . . . . . . . . . . . . . . . . . . . 146
2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 167
Introduction . . . . . . . . . . . . . . . . . . . . . . . 167
Entering and Editing CLI Commands. . . . . . . . . . . 167
CLI Command Modes
Starting the CLI
Using CLI Functions and Tools. . . . . . . . . . . . . . 198
. . . . . . . . . . . . . . . . . . 177
. . . . . . . . . . . . . . . . . . . . . . 190
Contents 3
Page 4
3 Layer 2 Switching Commands . . . . . . . . 235
4 AAA Commands . . . . . . . . . . . . . . . . . . . 237
TACACS+ Accounting . . . . . . . . . . . . . . . . . . 238
Commands in this Chapter. . . . . . . . . . . . . . . . 239
aaa authentication dot1x default . . . . . . . . . . . . 240
aaa authentication enable
. . . . . . . . . . . . . . . . 241
aaa authentication login. . . . . . . . . . . . . . . . . 243
aaa authorization . . . . . . . . . . . . . . . . . . . . 245
aaa authorization network default radius
. . . . . . . . 247
aaa ias-user username . . . . . . . . . . . . . . . . . 248
aaa new-model . . . . . . . . . . . . . . . . . . . . . 249
clear (IAS)
. . . . . . . . . . . . . . . . . . . . . . . . 250
authorization . . . . . . . . . . . . . . . . . . . . . . . 250
enable authentication . . . . . . . . . . . . . . . . . . 252
enable password
. . . . . . . . . . . . . . . . . . . . 253
ip http authentication . . . . . . . . . . . . . . . . . . 254
ip https authentication. . . . . . . . . . . . . . . . . . 255
login authentication
. . . . . . . . . . . . . . . . . . . 256
password (aaa IAS User Configuration). . . . . . . . . 257
password (Line Configuration) . . . . . . . . . . . . . 258
Contents 4
Page 5
password (User EXEC) . . . . . . . . . . . . . . . . . . 259
show aaa ias-users
. . . . . . . . . . . . . . . . . . . 260
show aaa statistics . . . . . . . . . . . . . . . . . . . 261
show authentication methods. . . . . . . . . . . . . . 262
show authorization methods
. . . . . . . . . . . . . . 263
show users accounts . . . . . . . . . . . . . . . . . . 264
show users login-history . . . . . . . . . . . . . . . . 266
username
. . . . . . . . . . . . . . . . . . . . . . . . . 267
username unlock . . . . . . . . . . . . . . . . . . . . 269
5 Administrative Profiles Commands . . . . 271
Overview . . . . . . . . . . . . . . . . . . . . . . . . . 271
Commands in this Chapter
admin-profile. . . . . . . . . . . . . . . . . . . . . . . 273
description (Administrative Profile Config). . . . . . . 274
. . . . . . . . . . . . . . . . 272
rule
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
show admin-profiles. . . . . . . . . . . . . . . . . . . 276
show admin-profiles brief. . . . . . . . . . . . . . . . 277
show cli modes
. . . . . . . . . . . . . . . . . . . . . 278
6 ACL Commands . . . . . . . . . . . . . . . . . . . 281
ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 281
Contents 5
Page 6
Commands in this Chapter. . . . . . . . . . . . . . . . 284
access-list
. . . . . . . . . . . . . . . . . . . . . . . . 284
deny | permit (IP ACL) . . . . . . . . . . . . . . . . . . 286
deny | permit (Mac-Access-List-Configuration) . . . . 288
ip access-group
. . . . . . . . . . . . . . . . . . . . . 290
mac access-group . . . . . . . . . . . . . . . . . . . . 291
mac access-list extended . . . . . . . . . . . . . . . . 292
mac access-list extended rename
. . . . . . . . . . . 293
service-acl input. . . . . . . . . . . . . . . . . . . . . 294
show service-acl interface . . . . . . . . . . . . . . . 295
show ip access-lists
. . . . . . . . . . . . . . . . . . . 296
show mac access-list . . . . . . . . . . . . . . . . . . 297
7 Address Table Commands . . . . . . . . . . . 299
Commands in this Chapter. . . . . . . . . . . . . . . . 300
clear mac address-table
. . . . . . . . . . . . . . . . . 300
mac address-table aging-time . . . . . . . . . . . . . 301
mac address-table multicast forbidden address . . . . 302
mac address-table static vlan
. . . . . . . . . . . . . . 303
port security . . . . . . . . . . . . . . . . . . . . . . . 304
port security max . . . . . . . . . . . . . . . . . . . . 305
show mac address-table multicast
. . . . . . . . . . . 306
Contents 6
Page 7
show mac address-table . . . . . . . . . . . . . . . . 307
show mac address-table address
. . . . . . . . . . . . 309
show mac address-table count . . . . . . . . . . . . . 310
show mac address-table dynamic . . . . . . . . . . . 311
show mac address-table interface
. . . . . . . . . . . 312
show mac address-table static . . . . . . . . . . . . . 313
show mac address-table vlan . . . . . . . . . . . . . . 314
show ports security
. . . . . . . . . . . . . . . . . . . 315
show ports security addresses . . . . . . . . . . . . . 317
8 Auto-VoIP Commands . . . . . . . . . . . . . . 319
Commands in this Chapter. . . . . . . . . . . . . . . . 319
show switchport voice
switchport voice detect auto . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . . 320
9 CDP Interoperability Commands . . . . . . 325
Commands in this Chapter. . . . . . . . . . . . . . . . 325
clear isdp counters
clear isdp table . . . . . . . . . . . . . . . . . . . . . 326
isdp advertise-v2. . . . . . . . . . . . . . . . . . . . . 326
isdp enable
isdp holdtime. . . . . . . . . . . . . . . . . . . . . . . 328
. . . . . . . . . . . . . . . . . . . 325
. . . . . . . . . . . . . . . . . . . . . . . . 327
Contents 7
Page 8
isdp timer . . . . . . . . . . . . . . . . . . . . . . . . 329
show isdp
. . . . . . . . . . . . . . . . . . . . . . . . 329
show isdp entry . . . . . . . . . . . . . . . . . . . . . 330
show isdp interface . . . . . . . . . . . . . . . . . . . 332
show isdp neighbors
. . . . . . . . . . . . . . . . . . . 333
show isdp traffic . . . . . . . . . . . . . . . . . . . . . 335
10 DHCP Layer 2 Relay Commands . . . . . . 337
Commands in this Chapter. . . . . . . . . . . . . . . . 337
dhcp l2relay (Global Configuration)
dhcp l2relay (Interface Configuration) . . . . . . . . . 338
dhcp l2relay circuit-id . . . . . . . . . . . . . . . . . . 339
dhcp l2relay remote-id
. . . . . . . . . . . . . . . . . . 340
dhcp l2relay trust . . . . . . . . . . . . . . . . . . . . 340
dhcp l2relay vlan. . . . . . . . . . . . . . . . . . . . . 341
. . . . . . . . . . . 337
show dhcp l2relay all
. . . . . . . . . . . . . . . . . . 342
show dhcp l2relay interface. . . . . . . . . . . . . . . 343
show dhcp l2relay stats interface. . . . . . . . . . . . 344
show dhcp l2relay subscription interface
. . . . . . . 345
show dhcp l2relay agent-option vlan . . . . . . . . . . 345
show dhcp l2relay vlan . . . . . . . . . . . . . . . . . 347
show dhcp l2relay circuit-id vlan
. . . . . . . . . . . . 348
Contents 8
Page 9
show dhcp l2relay remote-id vlan. . . . . . . . . . . . 349
clear dhcp l2relay statistics interface
. . . . . . . . . 350
11 DHCP Management Interface Commands 351
Commands in this Chapter. . . . . . . . . . . . . . . . 351
release dhcp . . . . . . . . . . . . . . . . . . . . . . . 352
renew dhcp
. . . . . . . . . . . . . . . . . . . . . . . 353
debug dhcp packet . . . . . . . . . . . . . . . . . . . 354
show dhcp lease. . . . . . . . . . . . . . . . . . . . . 355
12 DHCP Snooping Commands . . . . . . . . . . 359
Commands in this Chapter. . . . . . . . . . . . . . . . 360
clear ip dhcp snooping binding . . . . . . . . . . . . . 360
clear ip dhcp snooping statistics . . . . . . . . . . . . 361
ip dhcp snooping
. . . . . . . . . . . . . . . . . . . . . 361
ip dhcp snooping binding . . . . . . . . . . . . . . . . 362
ip dhcp snooping database . . . . . . . . . . . . . . . 363
ip dhcp snooping database write-delay
. . . . . . . . 364
ip dhcp snooping limit . . . . . . . . . . . . . . . . . . 365
ip dhcp snooping log-invalid . . . . . . . . . . . . . . 366
ip dhcp snooping trust
. . . . . . . . . . . . . . . . . . 367
ip dhcp snooping verify mac-address . . . . . . . . . . 367
Contents 9
Page 10
show ip dhcp snooping . . . . . . . . . . . . . . . . . 368
show ip dhcp snooping binding
. . . . . . . . . . . . . 369
show ip dhcp snooping database . . . . . . . . . . . . 370
show ip dhcp snooping interfaces . . . . . . . . . . . 371
show ip dhcp snooping statistics
. . . . . . . . . . . . 372
13 Dynamic ARP Inspection Commands . . 375
Commands in this Chapter. . . . . . . . . . . . . . . . 375
arp access-list . . . . . . . . . . . . . . . . . . . . . . 375
clear ip arp inspection statistics
ip arp inspection filter . . . . . . . . . . . . . . . . . . 377
ip arp inspection limit . . . . . . . . . . . . . . . . . . 377
ip arp inspection trust
. . . . . . . . . . . . . . . . . . 378
ip arp inspection validate . . . . . . . . . . . . . . . . 379
ip arp inspection vlan . . . . . . . . . . . . . . . . . . 380
. . . . . . . . . . . . 376
permit ip host mac host
. . . . . . . . . . . . . . . . . 381
show arp access-list . . . . . . . . . . . . . . . . . . 382
show ip arp inspection . . . . . . . . . . . . . . . . . 382
show ip arp inspection vlan
. . . . . . . . . . . . . . . 385
14 E-mail Alerting Commands . . . . . . . . . . 387
Commands in this Chapter. . . . . . . . . . . . . . . . 387
Contents 10
Page 11
logging email . . . . . . . . . . . . . . . . . . . . . . 388
logging email urgent
. . . . . . . . . . . . . . . . . . . 390
logging traps . . . . . . . . . . . . . . . . . . . . . . . 391
logging email message-type to-addr . . . . . . . . . . 392
logging email from-addr
. . . . . . . . . . . . . . . . . 393
logging email message-type subject . . . . . . . . . . 393
logging email logtime . . . . . . . . . . . . . . . . . . 394
logging email test message-type
. . . . . . . . . . . . 395
show logging email statistics . . . . . . . . . . . . . . 396
clear logging email statistics . . . . . . . . . . . . . . 396
security
. . . . . . . . . . . . . . . . . . . . . . . . . . 397
mail-server ip-address | hostname . . . . . . . . . . . 398
port (Mail Server Configuration Mode) . . . . . . . . . 399
username (Mail Server Configuration Mode)
. . . . . . 399
password (Mail Server Configuration Mode). . . . . . 400
show mail-server . . . . . . . . . . . . . . . . . . . . 401
15 Ethernet Configuration Commands . . . . 403
Commands in this Chapter. . . . . . . . . . . . . . . . 404
clear counters . . . . . . . . . . . . . . . . . . . . . . 404
description . . . . . . . . . . . . . . . . . . . . . . . . 405
duplex
. . . . . . . . . . . . . . . . . . . . . . . . . . 406
Contents 11
Page 12
flowcontrol. . . . . . . . . . . . . . . . . . . . . . . . 407
interface
. . . . . . . . . . . . . . . . . . . . . . . . . 408
interface range. . . . . . . . . . . . . . . . . . . . . . 409
mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
show interfaces advertise
. . . . . . . . . . . . . . . . 411
show interfaces configuration . . . . . . . . . . . . . 413
show interfaces counters . . . . . . . . . . . . . . . . 415
show interfaces description
. . . . . . . . . . . . . . . 418
show interfaces detail . . . . . . . . . . . . . . . . . . 419
show interfaces status . . . . . . . . . . . . . . . . . 421
show statistics
. . . . . . . . . . . . . . . . . . . . . . 423
show statistics switchport . . . . . . . . . . . . . . . 426
show storm-control . . . . . . . . . . . . . . . . . . . 428
shutdown
. . . . . . . . . . . . . . . . . . . . . . . . . 429
speed . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
storm-control broadcast . . . . . . . . . . . . . . . . . 431
storm-control multicast
storm-control unicast
. . . . . . . . . . . . . . . . . 432
. . . . . . . . . . . . . . . . . . 433
switchport protected . . . . . . . . . . . . . . . . . . 434
switchport protected name
. . . . . . . . . . . . . . . 435
show switchport protected . . . . . . . . . . . . . . . 436
Contents 12
Page 13
16 Ethernet CFM Commands . . . . . . . . . . . 437
Commands in this Chapter. . . . . . . . . . . . . . . . 437
ethernet cfm domain . . . . . . . . . . . . . . . . . . . 438
service . . . . . . . . . . . . . . . . . . . . . . . . . . 439
ethernet cfm cc level
. . . . . . . . . . . . . . . . . . 440
ethernet cfm mep level . . . . . . . . . . . . . . . . . 441
ethernet cfm mep enable . . . . . . . . . . . . . . . . 442
ethernet cfm mep active
. . . . . . . . . . . . . . . . . 443
ethernet cfm mep archive-hold-time . . . . . . . . . . 444
ethernet cfm mip level . . . . . . . . . . . . . . . . . . 444
ping ethernet cfm
. . . . . . . . . . . . . . . . . . . . 445
traceroute ethernet cfm . . . . . . . . . . . . . . . . . 446
show ethernet cfm errors . . . . . . . . . . . . . . . . 448
show ethernet cfm domain
. . . . . . . . . . . . . . . 448
show ethernet cfm maintenance-points local . . . . . 449
show ethernet cfm maintenance-points remote . . . . 451
show ethernet cfm statistics
debug cfm
. . . . . . . . . . . . . . . . . . . . . . . . 453
. . . . . . . . . . . . . . 452
17 GVRP Commands . . . . . . . . . . . . . . . . . . 457
Commands in this Chapter. . . . . . . . . . . . . . . . 457
Contents 13
Page 14
clear gvrp statistics . . . . . . . . . . . . . . . . . . . 457
garp timer
. . . . . . . . . . . . . . . . . . . . . . . . 458
gvrp enable (global) . . . . . . . . . . . . . . . . . . . 459
gvrp enable (interface) . . . . . . . . . . . . . . . . . 460
gvrp registration-forbid
. . . . . . . . . . . . . . . . . 461
gvrp vlan-creation-forbid . . . . . . . . . . . . . . . . 462
show gvrp configuration. . . . . . . . . . . . . . . . . 463
show gvrp error-statistics
. . . . . . . . . . . . . . . . 464
show gvrp statistics . . . . . . . . . . . . . . . . . . . 465
18 IGMP Snooping Commands . . . . . . . . . . 467
Commands in this Chapter. . . . . . . . . . . . . . . . 468
ip igmp snooping
show ip igmp snooping . . . . . . . . . . . . . . . . . 470
show ip igmp snooping groups . . . . . . . . . . . . . 471
. . . . . . . . . . . . . . . . . . . . . 468
show ip igmp snooping mrouter
. . . . . . . . . . . . . 472
ip igmp snooping vlan immediate-leave . . . . . . . . 473
ip igmp snooping vlan groupmembership-interval . . . 474
ip igmp snooping vlan last-member-query-interval
. . 475
ip igmp snooping vlan mcrtrexpiretime. . . . . . . . . 476
ip igmp snooping report-suppression. . . . . . . . . . 477
ip igmp snooping unregistered floodall
. . . . . . . . . 478
Contents 14
Page 15
ip igmp snooping vlan mrouter . . . . . . . . . . . . . 478
19 IGMP Snooping Querier Commands . . . 481
Commands in this Chapter. . . . . . . . . . . . . . . . 481
ip igmp snooping querier . . . . . . . . . . . . . . . . 481
ip igmp snooping querier election participate . . . . . 483
ip igmp snooping querier query-interval
. . . . . . . . 484
ip igmp snooping querier timer expiry . . . . . . . . . 484
ip igmp snooping querier version . . . . . . . . . . . . 485
show ip igmp snooping querier
. . . . . . . . . . . . . 486
20 IP Addressing Commands . . . . . . . . . . . 489
Commands in this Chapter. . . . . . . . . . . . . . . . 489
clear host . . . . . . . . . . . . . . . . . . . . . . . . 490
clear ip address-conflict-detect
interface out-of-band . . . . . . . . . . . . . . . . . . 491
ip address (Out-of-Band) . . . . . . . . . . . . . . . . 492
ip address-conflict-detect run
ip address dhcp (Interface Config) . . . . . . . . . . . 494
ip default-gateway. . . . . . . . . . . . . . . . . . . . 495
. . . . . . . . . . . . 490
. . . . . . . . . . . . . . 493
ip domain-lookup
. . . . . . . . . . . . . . . . . . . . 496
ip domain-name . . . . . . . . . . . . . . . . . . . . . 497
Contents 15
Page 16
ip host . . . . . . . . . . . . . . . . . . . . . . . . . . 498
ip name-server
. . . . . . . . . . . . . . . . . . . . . . 498
ipv6 address (Interface Config) . . . . . . . . . . . . . 499
ipv6 address (OOB Port) . . . . . . . . . . . . . . . . . 501
ipv6 address dhcp
. . . . . . . . . . . . . . . . . . . . 502
ipv6 enable (Interface Config) . . . . . . . . . . . . . . 503
ipv6 enable (OOB Config) . . . . . . . . . . . . . . . . 504
ipv6 gateway (OOB Config)
. . . . . . . . . . . . . . . 504
show hosts . . . . . . . . . . . . . . . . . . . . . . . . 505
show ip address-conflict . . . . . . . . . . . . . . . . 506
show ip helper-address
. . . . . . . . . . . . . . . . . 507
show ipv6 dhcp interface out-of-band statistics . . . . 508
show ipv6 interface out-of-band . . . . . . . . . . . . 509
21 IPv6 Access List Commands . . . . . . . . . 511
Commands in this Chapter. . . . . . . . . . . . . . . . 511
deny | permit (IPv6 ACL) . . . . . . . . . . . . . . . . . 512
ipv6 access-list . . . . . . . . . . . . . . . . . . . . . 514
ipv6 access-list rename
. . . . . . . . . . . . . . . . . 515
ipv6 traffic-filter . . . . . . . . . . . . . . . . . . . . . 516
show ipv6 access-lists . . . . . . . . . . . . . . . . . 517
Contents 16
Page 17
22 IPv6 MLD Snooping Commands. . . . . . . 521
Commands in this Chapter. . . . . . . . . . . . . . . . 521
ipv6 mld snooping vlan groupmembership-interval . . 522
ipv6 mld snooping vlan immediate-leave . . . . . . . . 522
ipv6 mld snooping listener-message-suppression
. . . 523
ipv6 mld snooping vlan last-listener-query-interval . . 524
ipv6 mld snooping vlan mcrtexpiretime. . . . . . . . . 525
ipv6 mld snooping vlan mrouter
. . . . . . . . . . . . . 526
ipv6 mld snooping (Global) . . . . . . . . . . . . . . . 526
show ipv6 mld snooping . . . . . . . . . . . . . . . . . 527
show ipv6 mld snooping groups
. . . . . . . . . . . . . 529
show ipv6 mld snooping mrouter . . . . . . . . . . . . 530
23 IPv6 MLD Snooping Querier Commands 533
Commands in this Chapter. . . . . . . . . . . . . . . . 533
ipv6 mld snooping querier
ipv6 mld snooping querier (VLAN mode) . . . . . . . . 534
ipv6 mld snooping querier address . . . . . . . . . . . 535
. . . . . . . . . . . . . . . . 534
ipv6 mld snooping querier election participate
. . . . . 536
ipv6 mld snooping querier query-interval. . . . . . . . 537
ipv6 mld snooping querier timer expiry . . . . . . . . . 537
Contents 17
Page 18
show ipv6 mld snooping querier . . . . . . . . . . . . 538
24 IP Source Guard Commands . . . . . . . . . 541
Commands in this Chapter. . . . . . . . . . . . . . . . 541
ip verify source . . . . . . . . . . . . . . . . . . . . . 541
ip verify source port-security . . . . . . . . . . . . . . 542
ip verify binding
show ip verify interface . . . . . . . . . . . . . . . . . 543
show ip verify source interface . . . . . . . . . . . . . 544
show ip source binding
. . . . . . . . . . . . . . . . . . . . . 543
. . . . . . . . . . . . . . . . . 544
25 iSCSI Optimization Commands . . . . . . . 547
Commands in this Chapter. . . . . . . . . . . . . . . . 548
iscsi aging time . . . . . . . . . . . . . . . . . . . . . 548
iscsi cos
iscsi enable . . . . . . . . . . . . . . . . . . . . . . . 551
iscsi target port . . . . . . . . . . . . . . . . . . . . . 552
show iscsi
show iscsi sessions . . . . . . . . . . . . . . . . . . . 555
. . . . . . . . . . . . . . . . . . . . . . . . . 549
. . . . . . . . . . . . . . . . . . . . . . . . 554
26 Link Dependency Commands . . . . . . . . 559
Commands in this Chapter. . . . . . . . . . . . . . . . 559
Contents 18
Page 19
action. . . . . . . . . . . . . . . . . . . . . . . . . . . 559
link-dependency group
. . . . . . . . . . . . . . . . . 560
add gigabitethernet . . . . . . . . . . . . . . . . . . . 561
add tengigabitethernet . . . . . . . . . . . . . . . . . 561
add port-channel
. . . . . . . . . . . . . . . . . . . . . 562
depends-on. . . . . . . . . . . . . . . . . . . . . . . . 563
show link-dependency . . . . . . . . . . . . . . . . . 564
27 LLDP Commands . . . . . . . . . . . . . . . . . . 567
Commands in this Chapter. . . . . . . . . . . . . . . . 568
clear lldp remote-data . . . . . . . . . . . . . . . . . . 568
clear lldp statistics . . . . . . . . . . . . . . . . . . . 569
dcb enable
lldp med . . . . . . . . . . . . . . . . . . . . . . . . . 570
lldp med confignotification . . . . . . . . . . . . . . . 571
. . . . . . . . . . . . . . . . . . . . . . . . 570
lldp med faststartrepeatcount
. . . . . . . . . . . . . . 572
lldp med transmit-tlv. . . . . . . . . . . . . . . . . . . 572
lldp notification . . . . . . . . . . . . . . . . . . . . . 573
lldp notification-interval
. . . . . . . . . . . . . . . . . 574
lldp receive . . . . . . . . . . . . . . . . . . . . . . . 575
lldp timers . . . . . . . . . . . . . . . . . . . . . . . . 575
lldp transmit
. . . . . . . . . . . . . . . . . . . . . . . 577
Contents 19
Page 20
lldp transmit-mgmt. . . . . . . . . . . . . . . . . . . . 577
lldp transmit-tlv
. . . . . . . . . . . . . . . . . . . . . 578
show lldp. . . . . . . . . . . . . . . . . . . . . . . . . 579
show lldp interface . . . . . . . . . . . . . . . . . . . 580
show lldp local-device
. . . . . . . . . . . . . . . . . 581
show lldp med . . . . . . . . . . . . . . . . . . . . . . 582
show lldp med interface. . . . . . . . . . . . . . . . . 583
show lldp med local-device detail
. . . . . . . . . . . 584
show lldp med remote-device . . . . . . . . . . . . . . 587
show lldp remote-device . . . . . . . . . . . . . . . . 590
show lldp statistics
. . . . . . . . . . . . . . . . . . . 591
28 Multicast VLAN Registration Commands 595
Commands in this Chapter. . . . . . . . . . . . . . . . 596
mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596
mvr group
. . . . . . . . . . . . . . . . . . . . . . . . 597
mvr mode . . . . . . . . . . . . . . . . . . . . . . . . . 598
mvr querytime . . . . . . . . . . . . . . . . . . . . . . 598
mvr vlan
. . . . . . . . . . . . . . . . . . . . . . . . . 600
mvr immediate . . . . . . . . . . . . . . . . . . . . . . 600
mvr type . . . . . . . . . . . . . . . . . . . . . . . . . 601
mvr vlan group
. . . . . . . . . . . . . . . . . . . . . . 603
Contents 20
Page 21
show mvr . . . . . . . . . . . . . . . . . . . . . . . . . 604
show mvr members
. . . . . . . . . . . . . . . . . . . 605
show mvr interface . . . . . . . . . . . . . . . . . . . 607
show mvr traffic . . . . . . . . . . . . . . . . . . . . . 608
29 Port Channel Commands . . . . . . . . . . . . 611
Static LAGS . . . . . . . . . . . . . . . . . . . . . . . 611
VLANs and LAGs . . . . . . . . . . . . . . . . . . . . . 612
LAG Thresholds . . . . . . . . . . . . . . . . . . . . . 612
Port Channels
LAG Hashing . . . . . . . . . . . . . . . . . . . . . . . 613
Enhanced LAG Hashing . . . . . . . . . . . . . . . . . 614
Manual Aggregation of LAGs
Manual Aggregation of LAGs . . . . . . . . . . . . . . 615
Flexible Assignment of Ports to LAGs. . . . . . . . . . 615
. . . . . . . . . . . . . . . . . . . . . . 613
. . . . . . . . . . . . . . 614
Commands in this Chapter
. . . . . . . . . . . . . . . . 615
channel-group . . . . . . . . . . . . . . . . . . . . . . 615
interface port-channel . . . . . . . . . . . . . . . . . . 616
interface range port-channel
. . . . . . . . . . . . . . 617
hashing-mode . . . . . . . . . . . . . . . . . . . . . . 618
lacp port-priority. . . . . . . . . . . . . . . . . . . . . 619
lacp system-priority
. . . . . . . . . . . . . . . . . . . 620
Contents 21
Page 22
lacp timeout . . . . . . . . . . . . . . . . . . . . . . . 620
port-channel local-preference
. . . . . . . . . . . . . 621
port-channel min-links . . . . . . . . . . . . . . . . . 622
show interfaces port-channel . . . . . . . . . . . . . . 623
show lacp
. . . . . . . . . . . . . . . . . . . . . . . . 624
show statistics port-channel . . . . . . . . . . . . . . 626
30 Port Monitor Commands . . . . . . . . . . . . 631
Commands in this Chapter. . . . . . . . . . . . . . . . 631
monitor session
. . . . . . . . . . . . . . . . . . . . . 632
show monitor session . . . . . . . . . . . . . . . . . . 633
31 QoS Commands . . . . . . . . . . . . . . . . . . . 635
Access Control Lists . . . . . . . . . . . . . . . . . . . 635
Layer 2 ACLs
. . . . . . . . . . . . . . . . . . . . . . . 636
Layer 3/4 IPv4 ACLs . . . . . . . . . . . . . . . . . . . 636
Class of Service (CoS) . . . . . . . . . . . . . . . . . . 636
Queue Mapping
. . . . . . . . . . . . . . . . . . . . . 637
Commands in this Chapter. . . . . . . . . . . . . . . . 638
assign-queue. . . . . . . . . . . . . . . . . . . . . . . 639
class
. . . . . . . . . . . . . . . . . . . . . . . . . . . 639
class-map . . . . . . . . . . . . . . . . . . . . . . . . 640
Contents 22
Page 23
class-map rename . . . . . . . . . . . . . . . . . . . . 641
classofservice dot1p-mapping
. . . . . . . . . . . . . 642
classofservice ip-dscp-mapping . . . . . . . . . . . . 643
classofservice trust . . . . . . . . . . . . . . . . . . . 646
conform-color
. . . . . . . . . . . . . . . . . . . . . . 647
cos-queue min-bandwidth . . . . . . . . . . . . . . . 649
cos-queue random-detect . . . . . . . . . . . . . . . . 650
cos-queue strict
. . . . . . . . . . . . . . . . . . . . . 652
diffserv . . . . . . . . . . . . . . . . . . . . . . . . . . 653
drop. . . . . . . . . . . . . . . . . . . . . . . . . . . . 654
mark cos
. . . . . . . . . . . . . . . . . . . . . . . . . 654
mark ip-dscp . . . . . . . . . . . . . . . . . . . . . . . 655
mark ip-precedence . . . . . . . . . . . . . . . . . . . 656
match class-map
. . . . . . . . . . . . . . . . . . . . . 657
match cos . . . . . . . . . . . . . . . . . . . . . . . . 658
match destination-address mac. . . . . . . . . . . . . 659
match dstip
match dstip6
. . . . . . . . . . . . . . . . . . . . . . . . 660
. . . . . . . . . . . . . . . . . . . . . . . 660
match dstl4port . . . . . . . . . . . . . . . . . . . . . 661
match ethertype
. . . . . . . . . . . . . . . . . . . . . 662
match ip6flowlbl. . . . . . . . . . . . . . . . . . . . . 663
Contents 23
Page 24
match ip dscp . . . . . . . . . . . . . . . . . . . . . . 663
match ip precedence
. . . . . . . . . . . . . . . . . . 664
match ip tos . . . . . . . . . . . . . . . . . . . . . . . 665
match protocol . . . . . . . . . . . . . . . . . . . . . . 666
match source-address mac
. . . . . . . . . . . . . . . 667
match srcip. . . . . . . . . . . . . . . . . . . . . . . . 668
match srcip6 . . . . . . . . . . . . . . . . . . . . . . . 668
match srcl4port
. . . . . . . . . . . . . . . . . . . . . 669
match vlan . . . . . . . . . . . . . . . . . . . . . . . . 670
mirror. . . . . . . . . . . . . . . . . . . . . . . . . . . 671
police-simple
. . . . . . . . . . . . . . . . . . . . . . 671
police-two-rate . . . . . . . . . . . . . . . . . . . . . 673
policy-map . . . . . . . . . . . . . . . . . . . . . . . . 674
random-detect queue-parms
. . . . . . . . . . . . . . 675
random-detect exponential-weighting-constant . . . . 678
redirect. . . . . . . . . . . . . . . . . . . . . . . . . . 678
service-policy
show class-map
. . . . . . . . . . . . . . . . . . . . . . 679
. . . . . . . . . . . . . . . . . . . . . 680
show classofservice dot1p-mapping . . . . . . . . . . 682
show classofservice ip-dscp-mapping
. . . . . . . . . 683
show classofservice trust . . . . . . . . . . . . . . . . 686
Contents 24
Page 25
show diffserv. . . . . . . . . . . . . . . . . . . . . . . 687
show diffserv service interface
. . . . . . . . . . . . . 688
show diffserv service interface port-channel . . . . . 689
show diffserv service brief . . . . . . . . . . . . . . . 690
show interfaces cos-queue
. . . . . . . . . . . . . . . 691
show interfaces random-detect . . . . . . . . . . . . . 693
show policy-map . . . . . . . . . . . . . . . . . . . . 694
show policy-map interface
. . . . . . . . . . . . . . . 695
show service-policy . . . . . . . . . . . . . . . . . . . 696
traffic-shape . . . . . . . . . . . . . . . . . . . . . . . 697
32 RADIUS Commands . . . . . . . . . . . . . . . . 699
Commands in this Chapter. . . . . . . . . . . . . . . . 702
aaa accounting dot1x default start-stop . . . . . . . . 703
accounting . . . . . . . . . . . . . . . . . . . . . . . . 705
acct-port
. . . . . . . . . . . . . . . . . . . . . . . . . 706
auth-port . . . . . . . . . . . . . . . . . . . . . . . . . 707
deadtime . . . . . . . . . . . . . . . . . . . . . . . . . 707
debug aaa accounting
. . . . . . . . . . . . . . . . . . 708
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
msgauth . . . . . . . . . . . . . . . . . . . . . . . . . 710
name (RADIUS server)
. . . . . . . . . . . . . . . . . . 710
Contents 25
Page 26
primary . . . . . . . . . . . . . . . . . . . . . . . . . . 712
priority
. . . . . . . . . . . . . . . . . . . . . . . . . . 712
radius-server attribute 4 . . . . . . . . . . . . . . . . . 713
radius-server deadtime . . . . . . . . . . . . . . . . . 714
radius-server host
. . . . . . . . . . . . . . . . . . . . 715
radius-server key . . . . . . . . . . . . . . . . . . . . 716
radius-server retransmit. . . . . . . . . . . . . . . . . 717
radius-server source-ip
. . . . . . . . . . . . . . . . . 718
radius-server timeout . . . . . . . . . . . . . . . . . . 718
retransmit . . . . . . . . . . . . . . . . . . . . . . . . 719
show aaa servers
. . . . . . . . . . . . . . . . . . . . 720
show accounting methods . . . . . . . . . . . . . . . 722
show radius statistics . . . . . . . . . . . . . . . . . . 723
source-ip
. . . . . . . . . . . . . . . . . . . . . . . . . 727
timeout . . . . . . . . . . . . . . . . . . . . . . . . . . 728
usage. . . . . . . . . . . . . . . . . . . . . . . . . . . 728
33 Spanning Tree Commands . . . . . . . . . . . 731
Commands in this Chapter. . . . . . . . . . . . . . . . 732
clear spanning-tree detected-protocols . . . . . . . . 733
exit (mst) . . . . . . . . . . . . . . . . . . . . . . . . . 734
instance (mst)
. . . . . . . . . . . . . . . . . . . . . . 734
Contents 26
Page 27
name (mst) . . . . . . . . . . . . . . . . . . . . . . . . 736
revision (mst)
. . . . . . . . . . . . . . . . . . . . . . . 737
show spanning-tree . . . . . . . . . . . . . . . . . . . 737
show spanning-tree summary . . . . . . . . . . . . . . 741
spanning-tree
. . . . . . . . . . . . . . . . . . . . . . 743
spanning-tree auto-portfast . . . . . . . . . . . . . . . 743
spanning-tree bpdu flooding . . . . . . . . . . . . . . 744
spanning-tree bpdu-protection
. . . . . . . . . . . . . 745
spanning-tree cost. . . . . . . . . . . . . . . . . . . . 746
spanning-tree disable . . . . . . . . . . . . . . . . . . 747
spanning-tree forward-time
. . . . . . . . . . . . . . . 747
spanning-tree guard . . . . . . . . . . . . . . . . . . . 748
spanning-tree loopguard . . . . . . . . . . . . . . . . 749
spanning-tree max-age
. . . . . . . . . . . . . . . . . 750
spanning-tree max-hops. . . . . . . . . . . . . . . . . 751
spanning-tree mode . . . . . . . . . . . . . . . . . . . 751
spanning-tree mst configuration
spanning-tree mst cost
. . . . . . . . . . . . . . . . . 753
. . . . . . . . . . . . 752
spanning-tree mst port-priority . . . . . . . . . . . . . 754
spanning-tree mst priority
. . . . . . . . . . . . . . . . 755
spanning-tree portfast . . . . . . . . . . . . . . . . . . 756
Contents 27
Page 28
spanning-tree portfast bpdufilter default . . . . . . . . 757
spanning-tree portfast default
. . . . . . . . . . . . . . 758
spanning-tree port-priority . . . . . . . . . . . . . . . 759
spanning-tree priority . . . . . . . . . . . . . . . . . . 759
spanning-tree tcnguard
. . . . . . . . . . . . . . . . . 760
spanning-tree transmit hold-count . . . . . . . . . . . 761
34 TACACS+ Commands . . . . . . . . . . . . . . . 763
Commands in this Chapter. . . . . . . . . . . . . . . . 763
key
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
port . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
priority . . . . . . . . . . . . . . . . . . . . . . . . . . 765
show tacacs
tacacs-server host . . . . . . . . . . . . . . . . . . . . 767
tacacs-server key . . . . . . . . . . . . . . . . . . . . 768
. . . . . . . . . . . . . . . . . . . . . . . 766
tacacs-server timeout
. . . . . . . . . . . . . . . . . . 769
timeout . . . . . . . . . . . . . . . . . . . . . . . . . . 769
35 UDLD Commands . . . . . . . . . . . . . . . . . . 771
Detecting Unidirectional Links on a Device Port . . . . 771
Processing UDLD Traffic from Neighbors
UDLD in Normal-mode. . . . . . . . . . . . . . . . . . 772
. . . . . . . . 772
Contents 28
Page 29
UDLD in Aggressive-mode. . . . . . . . . . . . . . . . 772
Commands in this Chapter
. . . . . . . . . . . . . . . . 773
udld enable (Global Config) . . . . . . . . . . . . . . . 773
udld reset . . . . . . . . . . . . . . . . . . . . . . . . 774
udld message time
. . . . . . . . . . . . . . . . . . . . 775
udld timeout interval. . . . . . . . . . . . . . . . . . . 775
udld enable (Interface Config). . . . . . . . . . . . . . 776
udld port
. . . . . . . . . . . . . . . . . . . . . . . . . 777
show udld . . . . . . . . . . . . . . . . . . . . . . . . 778
debug udld . . . . . . . . . . . . . . . . . . . . . . . . 779
36 VLAN Commands . . . . . . . . . . . . . . . . . . 781
Double VLAN Mode . . . . . . . . . . . . . . . . . . . 781
Independent VLAN Learning. . . . . . . . . . . . . . . 782
Protocol Based VLANs. . . . . . . . . . . . . . . . . . 782
IP Subnet Based VLANs
. . . . . . . . . . . . . . . . . 783
MAC-Based VLANs . . . . . . . . . . . . . . . . . . . 783
Private VLAN Commands . . . . . . . . . . . . . . . . 783
Commands in this Chapter
. . . . . . . . . . . . . . . . 786
dvlan-tunnel ethertype. . . . . . . . . . . . . . . . . . 787
interface vlan . . . . . . . . . . . . . . . . . . . . . . 788
interface range vlan
. . . . . . . . . . . . . . . . . . . 789
Contents 29
Page 30
mode dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 790
name (VLAN Configuration)
. . . . . . . . . . . . . . . 791
protocol group . . . . . . . . . . . . . . . . . . . . . . 792
protocol vlan group . . . . . . . . . . . . . . . . . . . 793
protocol vlan group all
. . . . . . . . . . . . . . . . . . 794
show dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 795
show dvlan-tunnel interface . . . . . . . . . . . . . . 796
show interfaces switchport
. . . . . . . . . . . . . . . 797
show port protocol. . . . . . . . . . . . . . . . . . . . 801
show vlan . . . . . . . . . . . . . . . . . . . . . . . . 802
show vlan association mac
. . . . . . . . . . . . . . . 803
show vlan association subnet . . . . . . . . . . . . . . 804
switchport access vlan . . . . . . . . . . . . . . . . . 805
switchport general forbidden vlan
. . . . . . . . . . . 806
switchport general acceptable-frame-type tagged-only 807
switchport general allowed vlan . . . . . . . . . . . . 808
switchport general ingress-filtering disable
switchport general pvid
. . . . . . . . . . . . . . . . . 810
. . . . . . 809
switchport mode . . . . . . . . . . . . . . . . . . . . . 811
switchport trunk
. . . . . . . . . . . . . . . . . . . . . 812
vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . 814
Contents 30
Page 31
vlan (Global Config) . . . . . . . . . . . . . . . . . . . 815
vlan association mac
. . . . . . . . . . . . . . . . . . 816
vlan association subnet . . . . . . . . . . . . . . . . . 817
vlan database . . . . . . . . . . . . . . . . . . . . . . 817
vlan makestatic
. . . . . . . . . . . . . . . . . . . . . 818
vlan protocol group . . . . . . . . . . . . . . . . . . . 819
vlan protocol group add protocol . . . . . . . . . . . . 820
vlan protocol group name
. . . . . . . . . . . . . . . . 821
vlan protocol group remove . . . . . . . . . . . . . . . 821
switchport private-vlan . . . . . . . . . . . . . . . . . 822
switchport mode private-vlan
. . . . . . . . . . . . . . 823
private-vlan . . . . . . . . . . . . . . . . . . . . . . . 824
show vlan private-vlan . . . . . . . . . . . . . . . . . 826
37 Voice VLAN Commands . . . . . . . . . . . . . 829
Commands in this Chapter. . . . . . . . . . . . . . . . 830
voice vlan . . . . . . . . . . . . . . . . . . . . . . . . 830
voice vlan (Interface) . . . . . . . . . . . . . . . . . . 830
voice vlan data priority
. . . . . . . . . . . . . . . . . 832
show voice vlan . . . . . . . . . . . . . . . . . . . . . 832
Contents 31
Page 32
38 802.1x Commands . . . . . . . . . . . . . . . . . 835
Local 802.1X Authentication Server . . . . . . . . . . . 835
MAC Authentication Bypass. . . . . . . . . . . . . . . 836
Guest VLAN . . . . . . . . . . . . . . . . . . . . . . . 837
802.1x Monitor Mode
. . . . . . . . . . . . . . . . . . 837
RADIUS-based Dynamic VLAN Assignment . . . . . . 838
Commands in this Chapter. . . . . . . . . . . . . . . . 838
dot1x dynamic-vlan enable
. . . . . . . . . . . . . . . 839
dot1x initialize . . . . . . . . . . . . . . . . . . . . . . 840
dot1x mac-auth-bypass . . . . . . . . . . . . . . . . . 840
dot1x max-req
. . . . . . . . . . . . . . . . . . . . . . 841
dot1x max-users . . . . . . . . . . . . . . . . . . . . . 842
dot1x port-control . . . . . . . . . . . . . . . . . . . . 843
dot1x re-authenticate
. . . . . . . . . . . . . . . . . . 844
dot1x reauthentication. . . . . . . . . . . . . . . . . . 845
dot1x system-auth-control. . . . . . . . . . . . . . . . 845
dot1x system-auth-control monitor
dot1x timeout guest-vlan-period
. . . . . . . . . . . 846
. . . . . . . . . . . . 847
dot1x timeout quiet-period . . . . . . . . . . . . . . . 848
dot1x timeout re-authperiod
. . . . . . . . . . . . . . . 849
dot1x timeout server-timeout . . . . . . . . . . . . . . 849
Contents 32
Page 33
dot1x timeout supp-timeout . . . . . . . . . . . . . . . 850
dot1x timeout tx-period
. . . . . . . . . . . . . . . . . 851
show dot1x . . . . . . . . . . . . . . . . . . . . . . . . 852
show dot1x authentication-history . . . . . . . . . . . 853
show dot1x clients
. . . . . . . . . . . . . . . . . . . . 855
show dot1x interface . . . . . . . . . . . . . . . . . . 858
show dot1x interface statistics . . . . . . . . . . . . . 859
show dot1x users
. . . . . . . . . . . . . . . . . . . . 861
clear dot1x authentication–history . . . . . . . . . . . 862
dot1x guest-vlan . . . . . . . . . . . . . . . . . . . . . 863
dot1x unauth-vlan
. . . . . . . . . . . . . . . . . . . . 864
show dot1x advanced . . . . . . . . . . . . . . . . . . 864
39 Data Center Technology Commands . . . 867
40 Data Center Bridging Commands . . . . . 869
Data Center Bridging Exchange Protocol. . . . . . . . 869
Interoperability with IEEE DCBX
Port Roles . . . . . . . . . . . . . . . . . . . . . . . . 874
Commands in this Chapter. . . . . . . . . . . . . . . . 877
Data Center Bridging Capability Exchange Commands
datacenter-bridging . . . . . . . . . . . . . . . . . . . 878
. . . . . . . . . . . . 873
878
Contents 33
Page 34
lldp dcbx version . . . . . . . . . . . . . . . . . . . . 879
lldp tlv-select dcbxp (dcb enable)
. . . . . . . . . . . 880
lldp dcbx port-role. . . . . . . . . . . . . . . . . . . . 881
show lldp tlv-select . . . . . . . . . . . . . . . . . . . 883
show lldp dcbx
. . . . . . . . . . . . . . . . . . . . . . 884
Enhanced Transmission Selection (ETS) Commands . . 889
classofservice traffic-class-group . . . . . . . . . . . 889
traffic-class-group max-bandwidth
. . . . . . . . . . . 890
traffic-class-group min-bandwidth . . . . . . . . . . . 892
traffic-class-group strict . . . . . . . . . . . . . . . . 893
traffic-class-group weight
. . . . . . . . . . . . . . . 895
show classofservice traffic-class-group . . . . . . . . 896
show interfaces traffic-class-group . . . . . . . . . . 897
41 FIP Snooping Commands . . . . . . . . . . . . 901
Setting Up FIP Snooping. . . . . . . . . . . . . . . . . 901
Commands in this Chapter. . . . . . . . . . . . . . . . 902
feature fip-snooping . . . . . . . . . . . . . . . . . . . 903
fip-snooping enable
. . . . . . . . . . . . . . . . . . . 904
fip-snooping fc-map . . . . . . . . . . . . . . . . . . . 905
fip-snooping port-mode . . . . . . . . . . . . . . . . . 906
show fip-snooping
. . . . . . . . . . . . . . . . . . . . 907
Contents 34
Page 35
show fip-snooping enode . . . . . . . . . . . . . . . . 909
show fip-snooping fcf
. . . . . . . . . . . . . . . . . . 911
show fip-snooping sessions . . . . . . . . . . . . . . . 914
show fip-snooping statistics . . . . . . . . . . . . . . 920
show fip-snooping vlan
. . . . . . . . . . . . . . . . . 927
clear fip-snooping statistics. . . . . . . . . . . . . . . 928
42 Priority Flow Control Commands . . . . . . 931
Commands in this Chapter. . . . . . . . . . . . . . . . 932
priority-flow-control mode
. . . . . . . . . . . . . . . 932
priority-flow-control priority . . . . . . . . . . . . . . 934
clear priority-flow-control statistics . . . . . . . . . . 935
show interfaces priority-flow-control
. . . . . . . . . 935
43 Layer 3 Commands . . . . . . . . . . . . . . . . 939
44 ARP Commands . . . . . . . . . . . . . . . . . . . 941
ARP Aging . . . . . . . . . . . . . . . . . . . . . . . . 942
Commands in this Chapter. . . . . . . . . . . . . . . . 942
arp
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 942
arp cachesize . . . . . . . . . . . . . . . . . . . . . . 943
arp dynamicrenew . . . . . . . . . . . . . . . . . . . . 944
Contents 35
Page 36
arp purge . . . . . . . . . . . . . . . . . . . . . . . . . 945
arp resptime
. . . . . . . . . . . . . . . . . . . . . . . 946
arp retries . . . . . . . . . . . . . . . . . . . . . . . . 947
arp timeout . . . . . . . . . . . . . . . . . . . . . . . . 947
clear arp-cache
. . . . . . . . . . . . . . . . . . . . . 948
clear arp-cache management . . . . . . . . . . . . . . 949
ip local-proxy-arp . . . . . . . . . . . . . . . . . . . . 950
ip proxy-arp
. . . . . . . . . . . . . . . . . . . . . . . 950
show arp . . . . . . . . . . . . . . . . . . . . . . . . . 951
45 DHCP Server and Relay Agent Commands 953
Commands in this Chapter. . . . . . . . . . . . . . . . 954
ip dhcp pool
bootfile . . . . . . . . . . . . . . . . . . . . . . . . . . 957
clear ip dhcp binding . . . . . . . . . . . . . . . . . . 958
. . . . . . . . . . . . . . . . . . . . . . . 954
clear ip dhcp conflict
. . . . . . . . . . . . . . . . . . 958
client-identifier . . . . . . . . . . . . . . . . . . . . . 959
client-name . . . . . . . . . . . . . . . . . . . . . . . 960
default-router
. . . . . . . . . . . . . . . . . . . . . . 961
dns-server (IP DHCP Pool Config) . . . . . . . . . . . . 962
domain-name (IP DHCP Pool Config) . . . . . . . . . . 963
hardware-address
. . . . . . . . . . . . . . . . . . . . 963
Contents 36
Page 37
host. . . . . . . . . . . . . . . . . . . . . . . . . . . . 964
ip dhcp bootp automatic
. . . . . . . . . . . . . . . . . 965
ip dhcp conflict logging . . . . . . . . . . . . . . . . . 966
ip dhcp excluded-address. . . . . . . . . . . . . . . . 967
ip dhcp ping packets
. . . . . . . . . . . . . . . . . . . 968
lease . . . . . . . . . . . . . . . . . . . . . . . . . . . 969
netbios-name-server. . . . . . . . . . . . . . . . . . . 970
netbios-node-type
. . . . . . . . . . . . . . . . . . . . 971
network . . . . . . . . . . . . . . . . . . . . . . . . . 972
next-server. . . . . . . . . . . . . . . . . . . . . . . . 972
option
. . . . . . . . . . . . . . . . . . . . . . . . . . . 973
service dhcp . . . . . . . . . . . . . . . . . . . . . . . 977
sntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 978
show ip dhcp binding
. . . . . . . . . . . . . . . . . . 979
show ip dhcp conflict . . . . . . . . . . . . . . . . . . 980
show ip dhcp global configuration . . . . . . . . . . . 980
show ip dhcp pool
show ip dhcp server statistics
. . . . . . . . . . . . . . . . . . . . 981
. . . . . . . . . . . . . 982
46 DHCPv6 Commands . . . . . . . . . . . . . . . . 985
clear ipv6 dhcp. . . . . . . . . . . . . . . . . . . . . . 985
dns-server (IPv6 DHCP Pool Config)
. . . . . . . . . . . 986
Contents 37
Page 38
domain-name (IPv6 DHCP Pool Config) . . . . . . . . . 986
ipv6 dhcp pool
. . . . . . . . . . . . . . . . . . . . . . 987
ipv6 dhcp relay . . . . . . . . . . . . . . . . . . . . . . 988
ipv6 dhcp server . . . . . . . . . . . . . . . . . . . . . 989
prefix-delegation
. . . . . . . . . . . . . . . . . . . . 990
service dhcpv6. . . . . . . . . . . . . . . . . . . . . . 992
show ipv6 dhcp . . . . . . . . . . . . . . . . . . . . . 993
show ipv6 dhcp binding
. . . . . . . . . . . . . . . . . 993
show ipv6 dhcp interface (User EXEC) . . . . . . . . . 994
show ipv6 dhcp interface (Privileged EXEC) . . . . . . 996
show ipv6 dhcp pool
. . . . . . . . . . . . . . . . . . 1000
show ipv6 dhcp statistics . . . . . . . . . . . . . . . 1000
47 DVMRP Commands . . . . . . . . . . . . . . . 1003
Commands in this Chapter. . . . . . . . . . . . . . . 1003
ip dvmrp
. . . . . . . . . . . . . . . . . . . . . . . . 1003
ip dvmrp metric . . . . . . . . . . . . . . . . . . . . 1004
show ip dvmrp . . . . . . . . . . . . . . . . . . . . . 1005
show ip dvmrp interface
. . . . . . . . . . . . . . . . 1006
show ip dvmrp neighbor . . . . . . . . . . . . . . . . 1006
show ip dvmrp nexthop . . . . . . . . . . . . . . . . 1007
show ip dvmrp prune
. . . . . . . . . . . . . . . . . 1008
Contents 38
Page 39
show ip dvmrp route . . . . . . . . . . . . . . . . . . 1009
48 GMRP Commands . . . . . . . . . . . . . . . . 1011
Commands in this Chapter. . . . . . . . . . . . . . . 1012
gmrp enable . . . . . . . . . . . . . . . . . . . . . . 1012
show gmrp configuration . . . . . . . . . . . . . . . 1013
49 IGMP Commands . . . . . . . . . . . . . . . . . 1015
Commands in this Chapter. . . . . . . . . . . . . . . 1016
ip igmp . . . . . . . . . . . . . . . . . . . . . . . . . 1016
ip igmp last-member-query-count. . . . . . . . . . . 1017
ip igmp last-member-query-interval
. . . . . . . . . 1018
ip igmp query-interval . . . . . . . . . . . . . . . . . 1019
ip igmp query-max-response-time . . . . . . . . . . 1020
ip igmp robustness
. . . . . . . . . . . . . . . . . . . 1020
ip igmp startup-query-count. . . . . . . . . . . . . . 1021
ip igmp startup-query-interval. . . . . . . . . . . . . 1022
ip igmp version
. . . . . . . . . . . . . . . . . . . . . 1023
show ip igmp. . . . . . . . . . . . . . . . . . . . . . 1023
show ip igmp groups. . . . . . . . . . . . . . . . . . 1024
show ip igmp interface
. . . . . . . . . . . . . . . . 1025
show ip igmp membership . . . . . . . . . . . . . . 1027
Contents 39
Page 40
show ip igmp interface stats . . . . . . . . . . . . . 1027
ip igmp router-alert-check
. . . . . . . . . . . . . . 1028
50 IGMP Proxy Commands . . . . . . . . . . . . 1031
Commands in this Chapter. . . . . . . . . . . . . . . 1031
ip igmp-proxy . . . . . . . . . . . . . . . . . . . . . 1031
ip igmp-proxy reset-status
. . . . . . . . . . . . . . 1032
ip igmp-proxy unsolicit-rprt-interval . . . . . . . . . 1033
show ip igmp-proxy . . . . . . . . . . . . . . . . . . 1034
show ip igmp-proxy interface
. . . . . . . . . . . . . 1035
show ip igmp-proxy groups . . . . . . . . . . . . . . 1036
show ip igmp-proxy groups detail . . . . . . . . . . 1036
51 IP Helper/DHCP Relay Commands. . . . 1039
Commands in this Chapter. . . . . . . . . . . . . . . 1041
bootpdhcprelay maxhopcount . . . . . . . . . . . . . 1041
bootpdhcprelay minwaittime . . . . . . . . . . . . . 1042
clear ip helper statistics
. . . . . . . . . . . . . . . . 1043
ip dhcp relay information check . . . . . . . . . . . 1043
ip dhcp relay information check-reply . . . . . . . . 1044
ip dhcp relay information option
. . . . . . . . . . . 1045
ip dhcp relay information option-insert. . . . . . . . 1046
Contents 40
Page 41
ip helper-address (global configuration) . . . . . . . 1047
ip helper-address (interface configuration)
. . . . . . 1049
ip helper enable . . . . . . . . . . . . . . . . . . . . 1051
show ip helper-address . . . . . . . . . . . . . . . . 1051
show ip dhcp relay
. . . . . . . . . . . . . . . . . . . 1053
show ip helper statistics . . . . . . . . . . . . . . . 1054
52 IP Routing Commands . . . . . . . . . . . . . 1057
Static Routes/ECMP Static Routes . . . . . . . . . . 1057
Static Reject Routes
Default Routes . . . . . . . . . . . . . . . . . . . . . 1058
Commands in this Chapter. . . . . . . . . . . . . . . 1058
encapsulation
ip address . . . . . . . . . . . . . . . . . . . . . . . 1059
ip mtu. . . . . . . . . . . . . . . . . . . . . . . . . . 1061
. . . . . . . . . . . . . . . . . . 1058
. . . . . . . . . . . . . . . . . . . . . 1059
ip netdirbcast
. . . . . . . . . . . . . . . . . . . . . 1062
ip route . . . . . . . . . . . . . . . . . . . . . . . . . 1063
ip route default. . . . . . . . . . . . . . . . . . . . . 1064
ip route distance
. . . . . . . . . . . . . . . . . . . . 1065
ip routing . . . . . . . . . . . . . . . . . . . . . . . . 1066
show ip brief . . . . . . . . . . . . . . . . . . . . . . 1067
show ip interface
. . . . . . . . . . . . . . . . . . . 1067
Contents 41
Page 42
show ip protocols . . . . . . . . . . . . . . . . . . . 1070
show ip route
. . . . . . . . . . . . . . . . . . . . . 1074
show ip route configured . . . . . . . . . . . . . . . 1076
show ip route connected . . . . . . . . . . . . . . . 1077
show ip route preferences
. . . . . . . . . . . . . . 1078
show ip route summary . . . . . . . . . . . . . . . . 1079
show ip traffic . . . . . . . . . . . . . . . . . . . . . 1080
show ip vlan
. . . . . . . . . . . . . . . . . . . . . . 1083
show routing heap summary . . . . . . . . . . . . . 1083
53 IPv6 Routing Commands . . . . . . . . . . . 1087
IPv6 Limitations & Restrictions . . . . . . . . . . . . 1087
Commands in this Chapter
clear ipv6 neighbors . . . . . . . . . . . . . . . . . . 1088
clear ipv6 statistics . . . . . . . . . . . . . . . . . . 1089
. . . . . . . . . . . . . . . 1087
ipv6 address
. . . . . . . . . . . . . . . . . . . . . . 1090
ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . 1091
ipv6 hop-limit . . . . . . . . . . . . . . . . . . . . . 1092
ipv6 host
. . . . . . . . . . . . . . . . . . . . . . . . 1092
ipv6 mld last-member-query-count . . . . . . . . . . 1093
ipv6 mld last-member-query-interval . . . . . . . . . 1094
ipv6 mld-proxy
. . . . . . . . . . . . . . . . . . . . . 1094
Contents 42
Page 43
ipv6 mld-proxy reset-status . . . . . . . . . . . . . . 1095
ipv6 mld-proxy unsolicit-rprt-interval
. . . . . . . . . 1096
ipv6 mld query-interval . . . . . . . . . . . . . . . . 1096
ipv6 mld query-max-response-time . . . . . . . . . . 1097
ipv6 mld router
. . . . . . . . . . . . . . . . . . . . . 1098
ipv6 mtu . . . . . . . . . . . . . . . . . . . . . . . . 1099
ipv6 nd dad attempts. . . . . . . . . . . . . . . . . . 1100
ipv6 nd managed-config-flag
. . . . . . . . . . . . . 1101
ipv6 nd ns-interval . . . . . . . . . . . . . . . . . . . 1101
ipv6 nd other-config-flag . . . . . . . . . . . . . . . 1102
ipv6 nd prefix
. . . . . . . . . . . . . . . . . . . . . . 1103
ipv6 nd ra-interval . . . . . . . . . . . . . . . . . . . 1104
ipv6 nd ra-lifetime . . . . . . . . . . . . . . . . . . . 1105
ipv6 nd reachable-time
. . . . . . . . . . . . . . . . 1106
ipv6 nd suppress-ra . . . . . . . . . . . . . . . . . . 1107
ipv6 route. . . . . . . . . . . . . . . . . . . . . . . . 1108
ipv6 route distance
ipv6 unicast-routing
. . . . . . . . . . . . . . . . . . . 1109
. . . . . . . . . . . . . . . . . . 1110
ping ipv6 . . . . . . . . . . . . . . . . . . . . . . . . 1111
ping ipv6 interface
. . . . . . . . . . . . . . . . . . . 1112
show ipv6 brief. . . . . . . . . . . . . . . . . . . . . 1113
Contents 43
Page 44
show ipv6 interface . . . . . . . . . . . . . . . . . . 1114
show ipv6 interface management statistics
. . . . . 1116
show ipv6 mld groups . . . . . . . . . . . . . . . . . 1117
show ipv6 mld interface . . . . . . . . . . . . . . . . 1120
show ipv6 mld-proxy
. . . . . . . . . . . . . . . . . . 1123
show ipv6 mld-proxy groups . . . . . . . . . . . . . 1124
show ipv6 mld-proxy groups detail . . . . . . . . . . 1126
show ipv6 mld-proxy interface
. . . . . . . . . . . . 1127
show ipv6 mld traffic . . . . . . . . . . . . . . . . . 1129
show ipv6 neighbors. . . . . . . . . . . . . . . . . . 1130
show ipv6 route
. . . . . . . . . . . . . . . . . . . . 1131
show ipv6 route preferences . . . . . . . . . . . . . 1133
show ipv6 route summary . . . . . . . . . . . . . . . 1134
show ipv6 traffic
. . . . . . . . . . . . . . . . . . . . 1135
show ipv6 vlan . . . . . . . . . . . . . . . . . . . . . 1137
traceroute ipv6. . . . . . . . . . . . . . . . . . . . . 1138
54 Loopback Interface Commands. . . . . . 1141
Commands in this Chapter. . . . . . . . . . . . . . . 1141
interface loopback. . . . . . . . . . . . . . . . . . . 1141
show interfaces loopback . . . . . . . . . . . . . . . 1142
Contents 44
Page 45
55 Multicast Commands . . . . . . . . . . . . . . 1145
Commands in this Chapter. . . . . . . . . . . . . . . 1146
ip mcast boundary . . . . . . . . . . . . . . . . . . . 1146
ip mroute . . . . . . . . . . . . . . . . . . . . . . . . 1147
ip multicast
. . . . . . . . . . . . . . . . . . . . . . . 1148
ip multicast ttl-threshold . . . . . . . . . . . . . . . 1149
ip pim. . . . . . . . . . . . . . . . . . . . . . . . . . 1150
ip pim bsr-border
. . . . . . . . . . . . . . . . . . . . 1151
ip pim bsr-candidate . . . . . . . . . . . . . . . . . . 1152
ip pim dense . . . . . . . . . . . . . . . . . . . . . . 1153
ip pim dr-priority
. . . . . . . . . . . . . . . . . . . . 1153
ip pim hello-interval . . . . . . . . . . . . . . . . . . 1154
ip pim join-prune-interval . . . . . . . . . . . . . . . 1155
ip pim rp-address
. . . . . . . . . . . . . . . . . . . 1156
ip pim rp-candidate . . . . . . . . . . . . . . . . . . 1157
ip pim sparse . . . . . . . . . . . . . . . . . . . . . . 1158
ip pim ssm
show ip multicast
. . . . . . . . . . . . . . . . . . . . . . . 1159
. . . . . . . . . . . . . . . . . . . 1159
show ip mcast boundary. . . . . . . . . . . . . . . . 1160
show ip multicast interface
. . . . . . . . . . . . . . 1161
show ip mcast mroute . . . . . . . . . . . . . . . . . 1162
Contents 45
Page 46
show ip mcast mroute group . . . . . . . . . . . . . 1163
show ip mcast mroute source
. . . . . . . . . . . . . 1164
show ip mcast mroute static . . . . . . . . . . . . . 1164
show ip pim . . . . . . . . . . . . . . . . . . . . . . 1165
show ip pim bsr-router
. . . . . . . . . . . . . . . . . 1166
show ip pim interface . . . . . . . . . . . . . . . . . 1167
show ip pim neighbor . . . . . . . . . . . . . . . . . 1169
show ip pim rp hash
. . . . . . . . . . . . . . . . . . 1171
show ip pim rp mapping . . . . . . . . . . . . . . . . 1172
56 IPv6 Multicast Commands . . . . . . . . . . 1175
ipv6 pim (Global config) . . . . . . . . . . . . . . . . 1175
ipv6 pim (VLAN Interface config)
ipv6 pim bsr-border . . . . . . . . . . . . . . . . . . 1177
ipv6 pim bsr-candidate . . . . . . . . . . . . . . . . 1177
. . . . . . . . . . . 1176
ipv6 pim dense
. . . . . . . . . . . . . . . . . . . . . 1178
ipv6 pim dr-priority. . . . . . . . . . . . . . . . . . . 1179
ipv6 pim hello-interval. . . . . . . . . . . . . . . . . 1180
ipv6 pim join-prune-interval
. . . . . . . . . . . . . . 1180
ipv6 pim register-rate-limit . . . . . . . . . . . . . . 1181
ipv6 pim register-threshold . . . . . . . . . . . . . . 1182
ipv6 pim rp-address
. . . . . . . . . . . . . . . . . . 1183
Contents 46
Page 47
ipv6 pim rp-candidate . . . . . . . . . . . . . . . . . 1183
ipv6 pim sparse (Global config)
. . . . . . . . . . . . 1184
ipv6 pim spt-threshold . . . . . . . . . . . . . . . . . 1185
ipv6 pim ssm . . . . . . . . . . . . . . . . . . . . . . 1186
show ipv6 pim
. . . . . . . . . . . . . . . . . . . . . 1186
show ipv6 pim bsr . . . . . . . . . . . . . . . . . . . 1188
show ipv6 pim bsr-router . . . . . . . . . . . . . . . 1188
show ipv6 pim interface
. . . . . . . . . . . . . . . . 1190
show ipv6 pim neighbor . . . . . . . . . . . . . . . . 1190
show ipv6 pim rphash . . . . . . . . . . . . . . . . . 1191
show ipv6 pim rp mapping
. . . . . . . . . . . . . . . 1192
57 OSPF Commands . . . . . . . . . . . . . . . . . 1195
Route Preferences . . . . . . . . . . . . . . . . . . . 1196
OSPF Equal Cost Multipath (ECMP) . . . . . . . . . . 1196
Forwarding of OSPF Opaque LSAs Enabled by Default
1197
Passive Interfaces . . . . . . . . . . . . . . . . . . . 1197
Graceful Restart . . . . . . . . . . . . . . . . . . . . 1198
Commands in this Chapter
. . . . . . . . . . . . . . . 1198
area default-cost (Router OSPF). . . . . . . . . . . . 1199
area nssa (Router OSPF) . . . . . . . . . . . . . . . . 1200
area nssa default-info-originate (Router OSPF Config)
1202
Contents 47
Page 48
area nssa no-redistribute . . . . . . . . . . . . . . . 1203
area nssa no-summary
. . . . . . . . . . . . . . . . . 1204
area nssa translator-role . . . . . . . . . . . . . . . 1204
area nssa translator-stab-intv . . . . . . . . . . . . . 1205
area range (Router OSPF)
. . . . . . . . . . . . . . . 1206
area stub . . . . . . . . . . . . . . . . . . . . . . . . 1210
area stub no-summary . . . . . . . . . . . . . . . . . 1211
area virtual-link
. . . . . . . . . . . . . . . . . . . . 1211
area virtual-link authentication . . . . . . . . . . . . 1214
area virtual-link dead-interval . . . . . . . . . . . . 1215
area virtual-link hello-interval
. . . . . . . . . . . . 1216
area virtual-link retransmit-interval . . . . . . . . . 1217
area virtual-link transmit-delay . . . . . . . . . . . . 1218
auto-cost
. . . . . . . . . . . . . . . . . . . . . . . . 1219
bandwidth . . . . . . . . . . . . . . . . . . . . . . . 1220
capability opaque . . . . . . . . . . . . . . . . . . . 1220
clear ip ospf
clear ip ospf stub-router
. . . . . . . . . . . . . . . . . . . . . . 1221
. . . . . . . . . . . . . . . . 1222
compatible rfc1583. . . . . . . . . . . . . . . . . . . 1223
default-information originate (Router OSPF Configuration)
default-metric . . . . . . . . . . . . . . . . . . . . . 1225
Contents 48
1224
Page 49
distance ospf . . . . . . . . . . . . . . . . . . . . . . 1226
distribute-list out
. . . . . . . . . . . . . . . . . . . 1227
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1228
exit-overflow-interval . . . . . . . . . . . . . . . . . 1229
external-lsdb-limit
. . . . . . . . . . . . . . . . . . . 1229
ip ospf area. . . . . . . . . . . . . . . . . . . . . . . 1230
ip ospf authentication . . . . . . . . . . . . . . . . . 1231
ip ospf cost
. . . . . . . . . . . . . . . . . . . . . . . 1232
ip ospf database-filter all out . . . . . . . . . . . . . 1233
ip ospf dead-interval. . . . . . . . . . . . . . . . . . 1233
ip ospf hello-interval
. . . . . . . . . . . . . . . . . . 1234
ip ospf mtu-ignore . . . . . . . . . . . . . . . . . . . 1235
ip ospf network . . . . . . . . . . . . . . . . . . . . 1236
ip ospf priority
. . . . . . . . . . . . . . . . . . . . . 1237
ip ospf retransmit-interval. . . . . . . . . . . . . . . 1237
ip ospf transmit-delay . . . . . . . . . . . . . . . . . 1238
log adjacency-changes
max-metric router-lsa
. . . . . . . . . . . . . . . . 1239
. . . . . . . . . . . . . . . . . 1240
maximum-paths . . . . . . . . . . . . . . . . . . . . 1241
network area
. . . . . . . . . . . . . . . . . . . . . . 1242
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1243
Contents 49
Page 50
nsf helper . . . . . . . . . . . . . . . . . . . . . . . 1245
nsf helper strict-lsa-checking
. . . . . . . . . . . . . 1245
nsf restart-interval. . . . . . . . . . . . . . . . . . . 1246
passive-interface default . . . . . . . . . . . . . . . 1247
passive-interface
. . . . . . . . . . . . . . . . . . . 1248
redistribute. . . . . . . . . . . . . . . . . . . . . . . 1249
router-id . . . . . . . . . . . . . . . . . . . . . . . . 1250
router ospf
. . . . . . . . . . . . . . . . . . . . . . . 1251
show ip ospf . . . . . . . . . . . . . . . . . . . . . . 1251
show ip ospf abr . . . . . . . . . . . . . . . . . . . . 1258
show ip ospf area
. . . . . . . . . . . . . . . . . . . 1259
show ip ospf asbr . . . . . . . . . . . . . . . . . . . 1261
show ip ospf database . . . . . . . . . . . . . . . . . 1262
show ip ospf database database-summary
. . . . . . 1265
show ip ospf interface. . . . . . . . . . . . . . . . . 1268
show ip ospf interface brief . . . . . . . . . . . . . . 1270
show ip ospf interface stats
show ip ospf neighbor
. . . . . . . . . . . . . . 1271
. . . . . . . . . . . . . . . . . 1272
show ip ospf range. . . . . . . . . . . . . . . . . . . 1275
show ip ospf statistics
. . . . . . . . . . . . . . . . . 1277
show ip ospf stub table . . . . . . . . . . . . . . . . 1278
Contents 50
Page 51
show ip ospf traffic . . . . . . . . . . . . . . . . . . 1279
show ip ospf virtual-link
. . . . . . . . . . . . . . . . 1282
show ip ospf virtual-links brief . . . . . . . . . . . . 1283
timers pacing flood . . . . . . . . . . . . . . . . . . 1284
timers pacing lsa-group
. . . . . . . . . . . . . . . . 1284
timers spf. . . . . . . . . . . . . . . . . . . . . . . . 1285
58 OSPFv3 Commands . . . . . . . . . . . . . . . 1287
area default-cost (Router OSPFv3) . . . . . . . . . . 1288
area nssa (Router OSPFv3)
area nssa default-info-originate (Router OSPFv3 Config) 1290
area nssa no-redistribute . . . . . . . . . . . . . . . 1291
area nssa no-summary
area nssa translator-role . . . . . . . . . . . . . . . 1293
area nssa translator-stab-intv . . . . . . . . . . . . . 1294
. . . . . . . . . . . . . . 1289
. . . . . . . . . . . . . . . . . 1292
area range (Router OSPFv3)
. . . . . . . . . . . . . . 1295
area stub . . . . . . . . . . . . . . . . . . . . . . . . 1296
area stub no-summary . . . . . . . . . . . . . . . . . 1297
area virtual-link
. . . . . . . . . . . . . . . . . . . . 1298
area virtual-link dead-interval . . . . . . . . . . . . 1300
area virtual-link hello-interval . . . . . . . . . . . . 1300
area virtual-link retransmit-interval
. . . . . . . . . 1301
Contents 51
Page 52
area virtual-link transmit-delay . . . . . . . . . . . . 1302
default-information originate (Router OSPFv3 Configuration)
default-metric . . . . . . . . . . . . . . . . . . . . . 1304
distance ospf . . . . . . . . . . . . . . . . . . . . . . 1305
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1306
exit-overflow-interval . . . . . . . . . . . . . . . . . 1306
external-lsdb-limit. . . . . . . . . . . . . . . . . . . 1307
ipv6 ospf
. . . . . . . . . . . . . . . . . . . . . . . . 1308
ipv6 ospf area . . . . . . . . . . . . . . . . . . . . . 1309
ipv6 ospf cost . . . . . . . . . . . . . . . . . . . . . 1310
ipv6 ospf dead-interval
. . . . . . . . . . . . . . . . 1310
ipv6 ospf hello-interval . . . . . . . . . . . . . . . . 1311
ipv6 ospf mtu-ignore . . . . . . . . . . . . . . . . . . 1312
ipv6 ospf network
. . . . . . . . . . . . . . . . . . . 1313
ipv6 ospf priority . . . . . . . . . . . . . . . . . . . . 1314
1303
ipv6 ospf retransmit-interval . . . . . . . . . . . . . 1315
ipv6 ospf transmit-delay
ipv6 router ospf
. . . . . . . . . . . . . . . . 1315
. . . . . . . . . . . . . . . . . . . . 1316
maximum-paths . . . . . . . . . . . . . . . . . . . . 1317
nsf
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1317
nsf helper . . . . . . . . . . . . . . . . . . . . . . . 1318
Contents 52
Page 53
nsf helper strict-lsa-checking. . . . . . . . . . . . . 1319
nsf restart-interval
. . . . . . . . . . . . . . . . . . . 1320
passive-interface . . . . . . . . . . . . . . . . . . . 1321
passive-interface default . . . . . . . . . . . . . . . 1322
redistribute
. . . . . . . . . . . . . . . . . . . . . . . 1322
router-id . . . . . . . . . . . . . . . . . . . . . . . . 1323
show ipv6 ospf . . . . . . . . . . . . . . . . . . . . . 1324
show ipv6 ospf abr
. . . . . . . . . . . . . . . . . . . 1328
show ipv6 ospf area . . . . . . . . . . . . . . . . . . 1329
show ipv6 ospf asbr . . . . . . . . . . . . . . . . . . 1330
show ipv6 ospf border-routers
. . . . . . . . . . . . . 1330
show ipv6 ospf database . . . . . . . . . . . . . . . 1331
show ipv6 ospf database database-summary. . . . . 1334
show ipv6 ospf interface
. . . . . . . . . . . . . . . 1335
show ipv6 ospf interface brief. . . . . . . . . . . . . 1337
show ipv6 ospf interface stats. . . . . . . . . . . . . 1337
show ipv6 ospf interface vlan
show ipv6 ospf neighbor
. . . . . . . . . . . . . 1339
. . . . . . . . . . . . . . . . 1340
show ipv6 ospf range . . . . . . . . . . . . . . . . . 1342
show ipv6 ospf stub table
. . . . . . . . . . . . . . . 1343
show ipv6 ospf virtual-links . . . . . . . . . . . . . . 1343
Contents 53
Page 54
show ipv6 ospf virtual-link brief . . . . . . . . . . . 1344
59 Router Discovery Protocol Commands 1347
Commands in this Chapter. . . . . . . . . . . . . . . 1347
ip irdp . . . . . . . . . . . . . . . . . . . . . . . . . 1347
ip irdp address . . . . . . . . . . . . . . . . . . . . . 1349
ip irdp holdtime
. . . . . . . . . . . . . . . . . . . . 1350
ip irdp maxadvertinterval . . . . . . . . . . . . . . . 1351
ip irdp minadvertinterval . . . . . . . . . . . . . . . 1352
ip irdp multicast
. . . . . . . . . . . . . . . . . . . . 1353
ip irdp preference . . . . . . . . . . . . . . . . . . . 1353
show ip irdp . . . . . . . . . . . . . . . . . . . . . . 1354
60 Routing Information Protocol Commands 1357
Commands in this Chapter. . . . . . . . . . . . . . . 1357
auto-summary . . . . . . . . . . . . . . . . . . . . . 1357
default-information originate (Router RIP Configuration) 1358
default-metric
distance rip . . . . . . . . . . . . . . . . . . . . . . 1360
distribute-list out . . . . . . . . . . . . . . . . . . . 1360
. . . . . . . . . . . . . . . . . . . . . 1359
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1361
hostroutesaccept . . . . . . . . . . . . . . . . . . . 1362
Contents 54
Page 55
ip rip . . . . . . . . . . . . . . . . . . . . . . . . . . 1363
ip rip authentication
ip rip receive version . . . . . . . . . . . . . . . . . 1364
ip rip send version . . . . . . . . . . . . . . . . . . . 1365
redistribute
router rip . . . . . . . . . . . . . . . . . . . . . . . . 1367
show ip rip . . . . . . . . . . . . . . . . . . . . . . . 1368
show ip rip interface
show ip rip interface brief. . . . . . . . . . . . . . . 1370
split-horizon . . . . . . . . . . . . . . . . . . . . . . 1371
. . . . . . . . . . . . . . . . . . . . . . . 1366
. . . . . . . . . . . . . . . . . . 1363
. . . . . . . . . . . . . . . . . . 1369
61 Tunnel Interface Commands . . . . . . . . 1373
Commands in this Chapter. . . . . . . . . . . . . . . 1373
interface tunnel . . . . . . . . . . . . . . . . . . . . 1374
show interfaces tunnel . . . . . . . . . . . . . . . . 1374
tunnel destination
tunnel mode ipv6ip. . . . . . . . . . . . . . . . . . . 1376
tunnel source . . . . . . . . . . . . . . . . . . . . . 1377
. . . . . . . . . . . . . . . . . . . 1375
62 Virtual Router Redundancy Protocol Commands
1379
Pingable VRRP Interface . . . . . . . . . . . . . . . 1379
Contents 55
Page 56
VRRP Route/Interface Tracking . . . . . . . . . . . . 1380
Interface Tracking
. . . . . . . . . . . . . . . . . . . 1381
Route Tracking . . . . . . . . . . . . . . . . . . . . . 1381
Commands in this Chapter. . . . . . . . . . . . . . . 1381
ip vrrp
. . . . . . . . . . . . . . . . . . . . . . . . . 1382
vrrp accept-mode . . . . . . . . . . . . . . . . . . . 1382
vrrp authentication . . . . . . . . . . . . . . . . . . 1383
vrrp description
. . . . . . . . . . . . . . . . . . . . 1384
vrrp ip . . . . . . . . . . . . . . . . . . . . . . . . . 1385
vrrp mode . . . . . . . . . . . . . . . . . . . . . . . 1386
vrrp preempt
. . . . . . . . . . . . . . . . . . . . . . 1387
vrrp priority. . . . . . . . . . . . . . . . . . . . . . . 1388
vrrp timers advertise. . . . . . . . . . . . . . . . . . 1389
vrrp timers learn
. . . . . . . . . . . . . . . . . . . . 1390
vrrp track interface . . . . . . . . . . . . . . . . . . 1391
vrrp track ip route . . . . . . . . . . . . . . . . . . . 1392
show vrrp
show vrrp interface
. . . . . . . . . . . . . . . . . . . . . . . 1394
. . . . . . . . . . . . . . . . . . 1396
show vrrp interface brief . . . . . . . . . . . . . . . 1398
show vrrp interface stats
. . . . . . . . . . . . . . . 1399
ip vrrp accept-mode . . . . . . . . . . . . . . . . . . 1400
Contents 56
Page 57
show ip vrrp interface . . . . . . . . . . . . . . . . . 1401
63 Utility Commands. . . . . . . . . . . . . . . . . 1403
64 Auto-Install Commands . . . . . . . . . . . . 1405
Commands in this Chapter. . . . . . . . . . . . . . . 1406
boot auto-copy-sw. . . . . . . . . . . . . . . . . . . 1406
boot auto-copy-sw allow-downgrade . . . . . . . . 1407
boot host autoreboot
boot host autosave . . . . . . . . . . . . . . . . . . . 1409
boot host dhcp . . . . . . . . . . . . . . . . . . . . . 1409
boot host retrycount
show auto-copy-sw . . . . . . . . . . . . . . . . . . 1411
show boot . . . . . . . . . . . . . . . . . . . . . . . 1412
. . . . . . . . . . . . . . . . . . 1408
. . . . . . . . . . . . . . . . . . 1410
65 Captive Portal Commands . . . . . . . . . . 1415
Commands in this Chapter. . . . . . . . . . . . . . . 1415
authentication timeout
captive-portal . . . . . . . . . . . . . . . . . . . . . 1417
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1418
http port . . . . . . . . . . . . . . . . . . . . . . . . 1419
https port . . . . . . . . . . . . . . . . . . . . . . . . 1419
. . . . . . . . . . . . . . . . . 1417
Contents 57
Page 58
show captive-portal . . . . . . . . . . . . . . . . . . 1420
show captive-portal status
. . . . . . . . . . . . . . 1421
block . . . . . . . . . . . . . . . . . . . . . . . . . . 1422
configuration. . . . . . . . . . . . . . . . . . . . . . 1423
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1423
group . . . . . . . . . . . . . . . . . . . . . . . . . . 1424
interface . . . . . . . . . . . . . . . . . . . . . . . . 1425
locale
. . . . . . . . . . . . . . . . . . . . . . . . . . 1425
name (Captive Portal) . . . . . . . . . . . . . . . . . 1426
protocol . . . . . . . . . . . . . . . . . . . . . . . . 1427
redirect
. . . . . . . . . . . . . . . . . . . . . . . . . 1427
redirect-url. . . . . . . . . . . . . . . . . . . . . . . 1428
session-timeout . . . . . . . . . . . . . . . . . . . . 1428
verification
. . . . . . . . . . . . . . . . . . . . . . . 1429
captive-portal client deauthenticate . . . . . . . . . 1430
show captive-portal client status . . . . . . . . . . . 1430
show captive-portal configuration client status
show captive-portal interface client status
. . . 1431
. . . . . 1432
show captive-portal interface configuration status . 1434
clear captive-portal users
. . . . . . . . . . . . . . . 1435
no user . . . . . . . . . . . . . . . . . . . . . . . . . 1435
Contents 58
Page 59
show captive-portal user . . . . . . . . . . . . . . . 1436
user group
. . . . . . . . . . . . . . . . . . . . . . . 1437
user-logout. . . . . . . . . . . . . . . . . . . . . . . 1438
user name . . . . . . . . . . . . . . . . . . . . . . . 1439
user password
. . . . . . . . . . . . . . . . . . . . . 1439
user session-timeout . . . . . . . . . . . . . . . . . 1440
show captive-portal configuration . . . . . . . . . . 1441
show captive-portal configuration interface
. . . . . 1442
show captive-portal configuration locales . . . . . . 1443
show captive-portal configuration status. . . . . . . 1444
user group
. . . . . . . . . . . . . . . . . . . . . . . 1445
user group moveusers . . . . . . . . . . . . . . . . . 1446
user group name . . . . . . . . . . . . . . . . . . . . 1446
66 CLI Macro Commands . . . . . . . . . . . . . 1449
Commands in this Chapter. . . . . . . . . . . . . . . 1450
macro name . . . . . . . . . . . . . . . . . . . . . . 1450
macro global apply . . . . . . . . . . . . . . . . . . 1451
macro global trace
. . . . . . . . . . . . . . . . . . . 1452
macro global description . . . . . . . . . . . . . . . 1453
macro apply . . . . . . . . . . . . . . . . . . . . . . 1454
macro trace
. . . . . . . . . . . . . . . . . . . . . . 1455
Contents 59
Page 60
macro description . . . . . . . . . . . . . . . . . . . 1456
show parser macro
. . . . . . . . . . . . . . . . . . 1456
67 Clock Commands . . . . . . . . . . . . . . . . . 1459
Real-time Clock . . . . . . . . . . . . . . . . . . . . 1459
Simple Network Time Protocol . . . . . . . . . . . . 1459
Commands in this Chapter
show sntp configuration. . . . . . . . . . . . . . . . 1460
show sntp server . . . . . . . . . . . . . . . . . . . . 1461
show sntp status
. . . . . . . . . . . . . . . . . . . . 1463
sntp authenticate . . . . . . . . . . . . . . . . . . . 1464
sntp authentication-key . . . . . . . . . . . . . . . . 1465
sntp broadcast client enable
sntp client poll timer. . . . . . . . . . . . . . . . . . 1466
sntp server . . . . . . . . . . . . . . . . . . . . . . . 1467
. . . . . . . . . . . . . . . 1460
. . . . . . . . . . . . . 1466
sntp trusted-key
. . . . . . . . . . . . . . . . . . . . 1468
sntp unicast client enable . . . . . . . . . . . . . . . 1469
clock timezone hours-offset . . . . . . . . . . . . . . 1470
no clock timezone
. . . . . . . . . . . . . . . . . . . 1470
clock summer-time recurring . . . . . . . . . . . . . 1471
clock summer-time date . . . . . . . . . . . . . . . . 1472
no clock summer-time
. . . . . . . . . . . . . . . . . 1473
Contents 60
Page 61
show clock . . . . . . . . . . . . . . . . . . . . . . . 1474
68 Command Line Configuration Scripting Commands
1477
Commands in this Chapter. . . . . . . . . . . . . . . 1477
script apply
. . . . . . . . . . . . . . . . . . . . . . . 1477
script delete . . . . . . . . . . . . . . . . . . . . . . 1478
script list . . . . . . . . . . . . . . . . . . . . . . . . 1479
script show
. . . . . . . . . . . . . . . . . . . . . . . 1479
script validate . . . . . . . . . . . . . . . . . . . . . 1480
69 Configuration and Image File Commands 1483
File System Commands . . . . . . . . . . . . . . . . 1483
Command Line Interface Scripting
Commands in this Chapter. . . . . . . . . . . . . . . 1483
boot system . . . . . . . . . . . . . . . . . . . . . . 1484
clear config
copy
. . . . . . . . . . . . . . . . . . . . . . 1485
. . . . . . . . . . . . . . . . . . . . . . . . . . 1486
delete. . . . . . . . . . . . . . . . . . . . . . . . . . 1492
. . . . . . . . . . 1483
delete backup-config
. . . . . . . . . . . . . . . . . 1493
delete backup-image . . . . . . . . . . . . . . . . . 1493
delete startup-config . . . . . . . . . . . . . . . . . 1494
Contents 61
Page 62
dir . . . . . . . . . . . . . . . . . . . . . . . . . . . 1494
erase
. . . . . . . . . . . . . . . . . . . . . . . . . . 1495
filedescr . . . . . . . . . . . . . . . . . . . . . . . . 1496
rename . . . . . . . . . . . . . . . . . . . . . . . . . 1497
show backup-config
. . . . . . . . . . . . . . . . . . 1498
show bootvar. . . . . . . . . . . . . . . . . . . . . . 1499
show running-config. . . . . . . . . . . . . . . . . . 1500
show startup-config
. . . . . . . . . . . . . . . . . . 1501
update bootcode . . . . . . . . . . . . . . . . . . . . 1503
write . . . . . . . . . . . . . . . . . . . . . . . . . . 1503
70 Denial of Service Commands . . . . . . . 1505
Commands in this Chapter. . . . . . . . . . . . . . . 1506
dos-control firstfrag . . . . . . . . . . . . . . . . . . 1507
dos-control icmp. . . . . . . . . . . . . . . . . . . . 1507
dos-control l4port
dos-control sipdip . . . . . . . . . . . . . . . . . . . 1509
dos-control tcpflag . . . . . . . . . . . . . . . . . . 1510
. . . . . . . . . . . . . . . . . . . 1508
dos-control tcpfrag
. . . . . . . . . . . . . . . . . . 1510
ip icmp echo-reply . . . . . . . . . . . . . . . . . . . 1511
ip icmp error-interval . . . . . . . . . . . . . . . . . 1512
ip unreachables
. . . . . . . . . . . . . . . . . . . . 1513
Contents 62
Page 63
ip redirects. . . . . . . . . . . . . . . . . . . . . . . 1513
ipv6 icmp error-interval
. . . . . . . . . . . . . . . . 1514
ipv6 unreachables . . . . . . . . . . . . . . . . . . . 1515
show dos-control . . . . . . . . . . . . . . . . . . . 1515
71 Line Commands . . . . . . . . . . . . . . . . . . 1517
exec-timeout. . . . . . . . . . . . . . . . . . . . . . 1517
history . . . . . . . . . . . . . . . . . . . . . . . . . 1518
history size . . . . . . . . . . . . . . . . . . . . . . . 1519
line
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1519
show line. . . . . . . . . . . . . . . . . . . . . . . . 1521
speed . . . . . . . . . . . . . . . . . . . . . . . . . . 1522
72 Management ACL Commands . . . . . . . 1523
Commands in this Chapter. . . . . . . . . . . . . . . 1523
deny (management) . . . . . . . . . . . . . . . . . . 1524
management access-class . . . . . . . . . . . . . . 1525
management access-list
. . . . . . . . . . . . . . . 1526
permit (management) . . . . . . . . . . . . . . . . . 1527
show management access-class . . . . . . . . . . . 1529
show management access-list
. . . . . . . . . . . . 1530
Contents 63
Page 64
73 Mode Commands . . . . . . . . . . . . . . . . . 1531
configure terminal . . . . . . . . . . . . . . . . . . . 1531
do. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1531
74 Password Management Commands . . 1535
Configurable Minimum Password Length. . . . . . . 1535
Password History
. . . . . . . . . . . . . . . . . . . 1535
Password Aging . . . . . . . . . . . . . . . . . . . . 1535
User Lockout . . . . . . . . . . . . . . . . . . . . . . 1535
Password Strength
. . . . . . . . . . . . . . . . . . 1536
Commands in this Chapter. . . . . . . . . . . . . . . 1537
passwords aging. . . . . . . . . . . . . . . . . . . . 1538
passwords history
. . . . . . . . . . . . . . . . . . . 1538
passwords lock-out . . . . . . . . . . . . . . . . . . 1539
passwords min-length . . . . . . . . . . . . . . . . . 1540
passwords strength-check
. . . . . . . . . . . . . . 1541
passwords strength minimum uppercase-letters. . . 1542
passwords strength minimum lowercase-letters. . . 1543
passwords strength minimum numeric-characters
. 1544
passwords strength minimum special-characters . . 1545
passwords strength max-limit consecutive-characters 1545
Contents 64
Page 65
passwords strength max-limit repeated-characters . 1546
passwords strength minimum character-classes
. . 1547
passwords strength exclude-keyword . . . . . . . . 1548
enable password encrypted . . . . . . . . . . . . . . 1549
show passwords configuration
. . . . . . . . . . . . 1550
show passwords result . . . . . . . . . . . . . . . . 1552
75 PHY Diagnostics Commands . . . . . . . . 1553
show copper-ports tdr . . . . . . . . . . . . . . . . . 1553
show fiber-ports optical-transceiver
. . . . . . . . . 1554
test copper-port tdr . . . . . . . . . . . . . . . . . . 1555
76 RMON Commands . . . . . . . . . . . . . . . . 1557
Commands in this Chapter. . . . . . . . . . . . . . . 1557
rmon alarm
. . . . . . . . . . . . . . . . . . . . . . . 1557
rmon collection history . . . . . . . . . . . . . . . . 1560
rmon event . . . . . . . . . . . . . . . . . . . . . . . 1561
show rmon alarm
. . . . . . . . . . . . . . . . . . . 1562
show rmon alarms . . . . . . . . . . . . . . . . . . . 1564
show rmon collection history . . . . . . . . . . . . . 1565
show rmon events
. . . . . . . . . . . . . . . . . . . 1566
show rmon history . . . . . . . . . . . . . . . . . . . 1567
Contents 65
Page 66
show rmon log . . . . . . . . . . . . . . . . . . . . . 1571
show rmon statistics
. . . . . . . . . . . . . . . . . . 1572
77 SDM Templates Commands . . . . . . . . . 1577
Commands in this Chapter. . . . . . . . . . . . . . . 1577
sdm prefer . . . . . . . . . . . . . . . . . . . . . . . 1577
show sdm prefer
. . . . . . . . . . . . . . . . . . . . 1579
78 Serviceability Tracing Packet Commands 1583
Commands in this Chapter. . . . . . . . . . . . . . . 1583
debug arp . . . . . . . . . . . . . . . . . . . . . . . 1584
debug auto-voip
debug clear . . . . . . . . . . . . . . . . . . . . . . 1585
debug console . . . . . . . . . . . . . . . . . . . . . 1586
debug dot1x
. . . . . . . . . . . . . . . . . . . . 1585
. . . . . . . . . . . . . . . . . . . . . . 1586
debug igmpsnooping. . . . . . . . . . . . . . . . . . 1587
debug ip acl . . . . . . . . . . . . . . . . . . . . . . 1588
debug ip dvmrp
. . . . . . . . . . . . . . . . . . . . . 1588
debug ip igmp . . . . . . . . . . . . . . . . . . . . . 1589
debug ip mcache. . . . . . . . . . . . . . . . . . . . 1590
debug ip pimdm packet
. . . . . . . . . . . . . . . . 1591
debug ip pimsm packet . . . . . . . . . . . . . . . . 1592
Contents 66
Page 67
debug ip vrrp . . . . . . . . . . . . . . . . . . . . . . 1592
debug ipv6 dhcp
. . . . . . . . . . . . . . . . . . . . 1593
debug ipv6 mcache . . . . . . . . . . . . . . . . . . 1594
debug ipv6 mld . . . . . . . . . . . . . . . . . . . . . 1594
debug ipv6 pimdm
. . . . . . . . . . . . . . . . . . . 1595
debug ipv6 pimsm . . . . . . . . . . . . . . . . . . . 1596
debug isdp . . . . . . . . . . . . . . . . . . . . . . . 1597
debug lacp
. . . . . . . . . . . . . . . . . . . . . . . 1598
debug mldsnooping . . . . . . . . . . . . . . . . . . 1598
debug ospf . . . . . . . . . . . . . . . . . . . . . . . 1599
debug ospfv3
. . . . . . . . . . . . . . . . . . . . . . 1600
debug ping . . . . . . . . . . . . . . . . . . . . . . . 1600
debug rip . . . . . . . . . . . . . . . . . . . . . . . . 1601
debug sflow
. . . . . . . . . . . . . . . . . . . . . . 1602
debug spanning-tree. . . . . . . . . . . . . . . . . . 1602
debug vrrp . . . . . . . . . . . . . . . . . . . . . . . 1603
show debugging
. . . . . . . . . . . . . . . . . . . . 1603
79 Sflow Commands . . . . . . . . . . . . . . . . . 1605
Commands in this Chapter. . . . . . . . . . . . . . . 1605
sflow destination . . . . . . . . . . . . . . . . . . . 1605
sflow polling
. . . . . . . . . . . . . . . . . . . . . . 1607
Contents 67
Page 68
sflow polling (Interface Mode) . . . . . . . . . . . . 1608
sflow sampling
. . . . . . . . . . . . . . . . . . . . . 1609
sflow sampling (Interface Mode) . . . . . . . . . . . 1610
show sflow agent . . . . . . . . . . . . . . . . . . . 1611
show sflow destination
. . . . . . . . . . . . . . . . 1612
show sflow polling . . . . . . . . . . . . . . . . . . 1613
show sflow sampling . . . . . . . . . . . . . . . . . 1614
80 SNMP Commands . . . . . . . . . . . . . . . . 1617
Commands in this Chapter. . . . . . . . . . . . . . . 1617
show snmp . . . . . . . . . . . . . . . . . . . . . . . 1617
show snmp engineID . . . . . . . . . . . . . . . . . 1619
show snmp filters
show snmp group . . . . . . . . . . . . . . . . . . . 1621
show snmp user . . . . . . . . . . . . . . . . . . . . 1622
. . . . . . . . . . . . . . . . . . . 1619
show snmp views
. . . . . . . . . . . . . . . . . . . 1623
show trapflags . . . . . . . . . . . . . . . . . . . . . 1624
snmp-server community . . . . . . . . . . . . . . . . 1626
snmp-server community-group
. . . . . . . . . . . . 1628
snmp-server contact. . . . . . . . . . . . . . . . . . 1629
snmp-server enable traps . . . . . . . . . . . . . . . 1630
snmp-server engineID local
. . . . . . . . . . . . . . 1632
Contents 68
Page 69
snmp-server filter . . . . . . . . . . . . . . . . . . . 1633
snmp-server group
. . . . . . . . . . . . . . . . . . . 1635
snmp-server host . . . . . . . . . . . . . . . . . . . 1636
snmp-server location . . . . . . . . . . . . . . . . . 1638
snmp-server user
. . . . . . . . . . . . . . . . . . . 1639
snmp-server view . . . . . . . . . . . . . . . . . . . 1640
snmp-server v3-host . . . . . . . . . . . . . . . . . . 1642
81 SSH Commands . . . . . . . . . . . . . . . . . . 1645
Commands in this Chapter. . . . . . . . . . . . . . . 1645
crypto key generate dsa . . . . . . . . . . . . . . . . 1645
crypto key generate rsa . . . . . . . . . . . . . . . . 1646
crypto key pubkey-chain ssh
crypto key zeroize pubkey-chain . . . . . . . . . . . 1648
crypto key zeroize {rsa|dsa} . . . . . . . . . . . . . . 1649
. . . . . . . . . . . . . 1647
ip ssh port
. . . . . . . . . . . . . . . . . . . . . . . 1649
ip ssh pubkey-auth. . . . . . . . . . . . . . . . . . . 1650
ip ssh server . . . . . . . . . . . . . . . . . . . . . . 1651
key-string
. . . . . . . . . . . . . . . . . . . . . . . 1651
no crypto certificate . . . . . . . . . . . . . . . . . . 1653
show crypto key mypubkey . . . . . . . . . . . . . . 1654
show crypto key pubkey-chain ssh
. . . . . . . . . . 1655
Contents 69
Page 70
show ip ssh . . . . . . . . . . . . . . . . . . . . . . 1656
user-key
. . . . . . . . . . . . . . . . . . . . . . . . 1657
82 Syslog Commands . . . . . . . . . . . . . . . . 1659
CLI Logged to Local File and Syslog Server. . . . . . 1659
Commands in this Chapter. . . . . . . . . . . . . . . 1660
clear logging
clear logging file. . . . . . . . . . . . . . . . . . . . 1661
description (Logging) . . . . . . . . . . . . . . . . . 1662
level
logging cli-command . . . . . . . . . . . . . . . . . 1663
logging . . . . . . . . . . . . . . . . . . . . . . . . . 1665
logging audit
logging buffered . . . . . . . . . . . . . . . . . . . . 1668
logging console . . . . . . . . . . . . . . . . . . . . 1669
. . . . . . . . . . . . . . . . . . . . . . 1661
. . . . . . . . . . . . . . . . . . . . . . . . . . 1663
. . . . . . . . . . . . . . . . . . . . . . 1667
logging facility
. . . . . . . . . . . . . . . . . . . . . 1670
logging file . . . . . . . . . . . . . . . . . . . . . . . 1671
logging monitor . . . . . . . . . . . . . . . . . . . . 1672
logging on
. . . . . . . . . . . . . . . . . . . . . . . 1673
logging snmp . . . . . . . . . . . . . . . . . . . . . . 1674
logging web-session . . . . . . . . . . . . . . . . . 1674
port
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1675
Contents 70
Page 71
show logging. . . . . . . . . . . . . . . . . . . . . . 1676
show logging file
. . . . . . . . . . . . . . . . . . . 1677
show syslog-servers. . . . . . . . . . . . . . . . . . 1678
terminal monitor . . . . . . . . . . . . . . . . . . . . 1679
83 System Management Commands . . . . 1681
asset-tag . . . . . . . . . . . . . . . . . . . . . . . . 1681
banner exec . . . . . . . . . . . . . . . . . . . . . . 1682
banner login . . . . . . . . . . . . . . . . . . . . . . 1683
banner motd
banner motd acknowledge . . . . . . . . . . . . . . 1685
clear checkpoint statistics . . . . . . . . . . . . . . 1688
clear counters stack-ports
cut-through mode . . . . . . . . . . . . . . . . . . . 1689
exec-banner . . . . . . . . . . . . . . . . . . . . . . 1690
. . . . . . . . . . . . . . . . . . . . . . 1684
. . . . . . . . . . . . . . 1688
hardware profile portmode
. . . . . . . . . . . . . . 1690
hostname. . . . . . . . . . . . . . . . . . . . . . . . 1691
initiate failover. . . . . . . . . . . . . . . . . . . . . 1692
locate
. . . . . . . . . . . . . . . . . . . . . . . . . . 1693
login-banner . . . . . . . . . . . . . . . . . . . . . . 1694
media-type . . . . . . . . . . . . . . . . . . . . . . . 1695
member
. . . . . . . . . . . . . . . . . . . . . . . . . 1696
Contents 71
Page 72
motd-banner . . . . . . . . . . . . . . . . . . . . . . 1697
nsf
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1697
ping. . . . . . . . . . . . . . . . . . . . . . . . . . . 1698
reload . . . . . . . . . . . . . . . . . . . . . . . . . 1700
set description
. . . . . . . . . . . . . . . . . . . . . 1701
slot . . . . . . . . . . . . . . . . . . . . . . . . . . . 1702
show banner . . . . . . . . . . . . . . . . . . . . . . 1703
show boot-version
. . . . . . . . . . . . . . . . . . . 1704
show checkpoint statistics . . . . . . . . . . . . . . 1705
show cut-through mode . . . . . . . . . . . . . . . . 1706
show hardware profile
. . . . . . . . . . . . . . . . 1707
show interfaces advanced firmware . . . . . . . . . 1708
show interfaces media-type . . . . . . . . . . . . . . 1709
show memory cpu
. . . . . . . . . . . . . . . . . . . 1710
show nsf . . . . . . . . . . . . . . . . . . . . . . . . 1710
show power-usage-history . . . . . . . . . . . . . . 1711
show process cpu
show sessions
. . . . . . . . . . . . . . . . . . . 1713
. . . . . . . . . . . . . . . . . . . . . 1715
show slot . . . . . . . . . . . . . . . . . . . . . . . . 1716
show supported cardtype
. . . . . . . . . . . . . . . 1717
show supported switchtype . . . . . . . . . . . . . . 1719
Contents 72
Page 73
show switch . . . . . . . . . . . . . . . . . . . . . . 1720
show system
. . . . . . . . . . . . . . . . . . . . . . 1728
show system fan . . . . . . . . . . . . . . . . . . . . 1729
show system id . . . . . . . . . . . . . . . . . . . . 1730
show system power
. . . . . . . . . . . . . . . . . . 1731
show system temperature . . . . . . . . . . . . . . . 1732
show tech-support . . . . . . . . . . . . . . . . . . . 1733
show users
. . . . . . . . . . . . . . . . . . . . . . . 1736
show version . . . . . . . . . . . . . . . . . . . . . . 1737
stack . . . . . . . . . . . . . . . . . . . . . . . . . . 1738
stack-port
. . . . . . . . . . . . . . . . . . . . . . . 1738
standby. . . . . . . . . . . . . . . . . . . . . . . . . 1740
switch renumber. . . . . . . . . . . . . . . . . . . . 1740
telnet
. . . . . . . . . . . . . . . . . . . . . . . . . . 1741
traceroute . . . . . . . . . . . . . . . . . . . . . . . 1744
84 Telnet Server Commands. . . . . . . . . . . 1747
Telnet Client Behaviors . . . . . . . . . . . . . . . . 1747
Commands in this Chapter
ip telnet server disable . . . . . . . . . . . . . . . . 1750
ip telnet port . . . . . . . . . . . . . . . . . . . . . . 1751
show ip telnet
. . . . . . . . . . . . . . . . . . . . . 1751
. . . . . . . . . . . . . . . 1750
Contents 73
Page 74
85 Terminal Length Commands . . . . . . . . 1753
terminal length. . . . . . . . . . . . . . . . . . . . . 1753
86 Time Ranges Commands . . . . . . . . . . . 1755
time-range . . . . . . . . . . . . . . . . . . . . . . . 1755
absolute . . . . . . . . . . . . . . . . . . . . . . . . 1756
periodic
show time-range. . . . . . . . . . . . . . . . . . . . 1759
. . . . . . . . . . . . . . . . . . . . . . . . 1757
87 User Interface Commands. . . . . . . . . . 1763
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1763
end
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1764
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1764
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1765
88 Web Server Commands . . . . . . . . . . . . 1767
Web Sessions . . . . . . . . . . . . . . . . . . . . . 1767
Commands in this Chapter
common-name . . . . . . . . . . . . . . . . . . . . . 1768
country
. . . . . . . . . . . . . . . . . . . . . . . . . 1769
. . . . . . . . . . . . . . . 1768
crypto certificate generate . . . . . . . . . . . . . . 1770
crypto certificate import. . . . . . . . . . . . . . . . 1771
Contents 74
Page 75
crypto certificate request . . . . . . . . . . . . . . . 1772
duration
. . . . . . . . . . . . . . . . . . . . . . . . 1773
ip http port . . . . . . . . . . . . . . . . . . . . . . . 1774
ip http server . . . . . . . . . . . . . . . . . . . . . . 1775
ip http secure-certificate
. . . . . . . . . . . . . . . 1775
ip http secure-port . . . . . . . . . . . . . . . . . . . 1776
ip http secure-server. . . . . . . . . . . . . . . . . . 1777
key-generate
. . . . . . . . . . . . . . . . . . . . . . 1778
location . . . . . . . . . . . . . . . . . . . . . . . . 1778
organization-unit. . . . . . . . . . . . . . . . . . . . 1779
show crypto certificate mycertificate
. . . . . . . . . 1780
show ip http server status . . . . . . . . . . . . . . . 1781
show ip http server secure status . . . . . . . . . . . 1781
state
. . . . . . . . . . . . . . . . . . . . . . . . . . 1783
A Appendix A: List of Commands . . . . . . 1785
Contents 75
Page 76
Contents 76
Page 77
1

Command Groups

Introduction

The Command Line Interface (CLI) is a network management application operated through an ASCII terminal without the use of a Graphic User Interface (GUI) driven software application. By directly entering commands, the user has greater configuration flexibility. The CLI is a basic command-line interpreter similar to the UNIX C shell.
A switch can be configured and maintained by entering commands from the CLI, which is based solely on textual input and output with commands being entered by a terminal keyboard and the output displayed as text via a terminal monitor. The CLI can be accessed from a console terminal connected to an EIA/TIA-232 port or through a Telnet/SSH session.
This guide describes how the CLI is structured, describes the command syntax, and describes the command functionality.
This guide also provides information for configuring the PowerConnect switch, details the procedures, and provides configuration examples. Basic installation configuration is described in the completed before using this document.
User’s Guide
and must be

Command Groups

The system commands can be broken down into four sets of functional groups: Layer 2, Data Center Technology, Layer 3, and Utility.
Table 1-1. System Command Groups
Command Group Description
Layer 2 Commands
AAA
Administrative Profiles Commands
Configures connection security including authorization and passwords.
Group commands into a profile and assign a profile to a user upon authentication.
Command Groups 77
Page 78
Table 1-1. System Command Groups
Command Group Description
Administrative Profiles
Address Table
Auto-VoIP
CDP Interoperability
DHCP L2 Relay
DHCP Management Interface
Dynamic ARP Inspection
Ethernet Configuration
Ethernet CFM
IGMP Snooping
IGMP Snooping Querier
IP Addressing
IPv6 ACL
IPv6 MLD Snooping
IPv6 MLD Snooping Querier
iSCSI Optimization
Link Dependency
LLDP
Port Ch annel
Port Monitor
QoS
Configures and displays ACL information.
Configures bridging address tables.
Configures Auto VoIP for IP phones on a switch.
Configures Cisco® Discovery Protocol (CDP).
Enables the Layer 2 DHCP Relay agent for an interface.
Configures DHCP snooping and whether an interface is trusted for filtering.
Configures for rejection of invalid and malicious ARP packets.
Configures all port configuration options for example ports, storm control, port speed and auto-negotiation.
Configures and displays GVRP configuration and information.
Configures IGMP snooping and displays IGMP configuration and IGMP information.
Configures IGMP Snooping Querier and displays IGMP Snooping Querier information.
Configures and manages IP addresses on the switch.
Configures and displays ACL information for IPv6.
Configures IPv6 MLD Snooping.
Configures IPv6 Snooping Querier and displays IPv6 Snooping Querier information.
Configures special QoS treatment for traffic between iSCSI initiators and target systems.
Configures and displays link dependency information.
Configures and displays LLDP information.
Configures and displays Port channel information.
Monitors activity on specific target ports.
Configures and displays QoS information.
(continued)
Command Groups 78
Page 79
Table 1-1. System Command Groups
Command Group Description
Radius
Spanning Tree
TACACS+
VLAN
802.1x
Data Center Technology Commands
Data Center Bridging Commands
FIP Snooping Commands
Priority Flow Control Commands
Layer 3 Commands
ARP (IPv4)
DHCP Server and Relay Agent (IPv4)
DHCPv6
DVMRP
IGMP
IGMP Proxy
IP Helper/DHCP Relay
(Mcast) Configures DVMRP operations.
(Mcast) Configures IGMP operations.
(Mcast) Manages IGMP Proxy on the system.
Configures and displays RADIUS information.
Configures and reports on Spanning Tree protocol.
Configures and displays TACACS+ information.
Configures VLANs and displays VLAN information.
Configures and displays commands related to 802.1x security protocol.
Data Center Bridging Exchange Protocol (DCBX) is used by DCB devices to exchange configuration information with directly connected peers. The protocol is also used to detect misconfiguration of the peer DCB devices and, optionally, for configuration of peer DCB devices.
FCoE Initialization Protocol (FIP) is used to perform the functions of FC_BB_E device discovery, initialization and maintenance. FIP snooping is a frame inspection method used by FIP Snooping Bridges to monitor FIP frames and apply policies based upon the L2 header information in those frames, following recommendations in Annex C of FC_BB_5 Rev 2.00
Provides priority-based flow control that can pause (inhibit transmission of) individual priorities within a single physical link.
Manages Address Resolution Protocol functions.
Manages DHCP/BOOTP operations on the system.
Configures IPv6 DHCP functions.
Configures relay of UDP packets.
(continued)
Command Groups 79
Page 80
Table 1-1. System Command Groups
Command Group Description
IP Routing
IPv6 Multicast
IPv6 Routing
Loopback Interface
(IPv6)
Multicast
OSPF
OSPFv3
Router Discovery Protocol
(IPv4)
Routing Information Protocol
Tu n nel Int er f ace
Virtual Router Redundancy
Virtual Router Redundancy
Utility Commands
Auto-Install
Captive Portal
Clock
Command Line Configuration Scripting
Denial of Service
Line
Management ACL
(IPv4) Configures IP routing and addressing.
Manages IPv6 Multicasting on the system.
Configures IPv6 routing and addressing.
Manages Loopback configurations.
(Mcast) Manages Multicasting on the system.
(IPv4) Manages shortest path operations.
(IPv6) Manages IPv6 shortest path operations.
Manages router discovery operations.
Configures RIP activities.
(IPv4)
(IPv6) Managing tunneling operations.
Controls virtual LAN routing.
(IPv4)
Manages router redundancy on the system.
(IPv4)
Automatically configures switch when a configuration file is not found.
Blocks clients from accessing network until user verification is established.
Configures the system clock.
Manages the switch configuration files.
Provides several Denial of Service options.
Configures the console, SSH, and remote Telnet connection.
Configures and displays management access-list information.
(continued)
Command Groups 80
Page 81
Table 1-1. System Command Groups
Command Group Description
Password Management
PHY Diagnostics
RMON
Serviceability Tracing
sFlow
SNMP
SSH
Syslog
System Management
Tel n et S e r ve r
User Interface
Web S e r ve r
Provides password management.
Diagnoses and displays the interface status.
Can be configured through the CLI and displays RMON information.
Controls display of debug output to serial port or telnet console.
Configures sFlow monitoring.
Configures SNMP communities, traps and displays SNMP information.
Configures SSH authentication.
Manages and displays syslog messages.
Configures the switch clock, name and authorized users.
Configures Telnet service on the switch and displays Telne t i n f ormat i o n .
Describes user commands used for entering CLI commands.
Configures web-based access to the switch.
(continued)

Mode Types

The tables on the following pages use these abbreviations for Command Mode names.
AAA — IAS User Configuration
APC — Administrative Profile Configuration
ARPA — ARP ACL Configuration
CC — Crypto Configuration
CP — Captive Portal Configuration
•CPI Captive Portal Instance
CMC — Class-Map Configuration
DP — IP DHCP Pool Configuration
Command Groups 81
Page 82
GC — Global Configuration
IC — Interface Configuration (reached via
interface vlan xxx
IP — IP Access List Configuration
IR — Interface Range
•KC Key Chain
•KE Key
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
•MT MAC-acl
OG — OSPFv2 Global Configuration
PE — Privileged EXEC
PM — Policy Map Configuration
PCGC — Policy Map Global Configuration
PCMC — Policy Class Map Configuration
•R Radius
RIP — Router RIP Configuration
RC — Router Configuration
ROSPF — Router Open Shortest Path First
ROSV3 — Router Open Shortest Path First Version 3
SG — Stack Global Configuration
•SP SSH Public Key
•SK SSH Public Key-chain
TC — TACACS Configuration
command)
Command Groups 82
Page 83
TRC — Time Range Configuration
UE — User EXEC
VC — VLAN Configuration (reached via
v6ACL — IPv6 Access List Configuration
v6CMC — IPv6 Class-Map Configuration
v6DP — IPv6 DHCP Pool Configuration

Layer 2 Commands

AAA
vlan database
command)
Command Description Mode
aaa authentication dot1x default
aaa authentication enable
aaa authentication login
aaa authorization network default radius
aaa ias-user username
clear (IAS)
enable authentication
enable password
ip http authentication
ip https authentication
login authentication
password (aaa IAS User Configuration)
aaa ias-users Deletes all IAS users. PE
Specifies an authentication method for 802.1x clients.
Defines authentication method lists for accessing higher privilege levels.
Defines login authentication. GC
Enables the switch to accept VLAN assignment by the RADIUS server.
Configures IAS users and their attributes. Also changes the mode to aa user config mode.
Specifies the authentication method list when accessing a higher privilege level from a remote telnet or console.
Sets a local password to control access to the normal level.
Specifies authentication methods for http. GC
Specifies authentication methods for https. GC
Specifies the login authentication method list for a remote telnet or console.
Configures a password for a user. AAA
GC
GC
GC
GC
LC
GC
LC
a
Command Groups 83
Page 84
Command Description Mode
password (Line
Specifies a password on a line. LC
Configuration)
password (User EXEC)
show aaa ias-users
Specifies a user password UE
Displays configured IAS users and their
PE
attributes.
show authentication methods
show users accounts
Shows information about authentication methods.
Displays information about the local user
PE
PE
database.
show users login-history
Displays information about login histories of
PE
users.
username
Establishes a username-based authentication
GC system. Optionally allows the specification of an Administrative Profile for a local user.
username unlock
Transfers local user passwords between devices
GC without having to know the passwords.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81

Administrative Profiles

a
Command Description Mode
admin-profile
description (Administrative
Creates an administrative profile. GC
Adds a description to an administrative profile. APC
Profile Config)
rule
show admin-profiles
show admin-profiles brief
Adds a rule to an administrative profile. APC
Displays the administrative profiles. PE
Lists the names of the administrative
PE
profiles defined on the switch.
show cli modes
show users
Lists the names of all the CLI modes. PE
Shows which administrative profiles have been
PE assigned to local user accounts and to show which profiles are active for logged-in users.
Command Groups 84
a
Page 85
Command Description Mode
username
Optionally allows the specification of an
GC Administrative Profile for a local user.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.
ACL
Command Description Mode
access-list
deny | permit (IP ACL)
ip access-group
mac access-group
mac access-list extended
mac access-list extended rename
service-acl input
Blocks Link Local Protocol Filtering (LLPF)
show service-acl interface
show ip access-lists
show mac access-list
a. For the meaning of each Mode abbreviation, see
Creates an Access Control List (ACL) that is identified by the parameter
accesslistnumber.
The deny command denies traffic if the conditions defined in the deny statement are matched. The permit command allows traffic if the conditions defined in the permit statement are matched.
Attaches a specified access-control list to an interface.
Attaches a specific MAC Access Control List (ACL) to an interface in the in-bound direction.
Creates the MAC Access Control List (ACL) identified by the
name
parameter.
Renames the existing MAC Access Control List (ACL) name.
protocol(s) on a given port.
Displays the status of LLPF rules configured on a particular port or on all the ports.
Displays an Access Control List (ACL) and all of the rules that are defined for the ACL.
Displays a MAC access list and all of the rules that are defined for the ACL.
Mode Types
on page 81.
GC
ML
GC or IC
GC or IC
GC
GC
IC
PE
PE
PE
a
Command Groups 85
Page 86

Address Table

Command Description Mode
clear mac address-table
mac address-table aging­time
mac address-table multicast forbidden address
mac address-table static vlan
mac address-table static vlan
port security
port security max
show mac address-table
show mac address-table address
show mac address-table count
show mac address-table dynamic
show mac address-table interface
show mac address-table multicast
show mac address-table static
show mac address-table vlan
Removes any learned entries from the forwarding database.
Sets the address table aging time. GC
Forbids adding a specific multicast address to specific ports.
Registers MAC-layer multicast addresses to the bridge forwarding table, and adds static ports to the group.
Adds a static MAC-layer station source address to the bridge table.
Disables new address learning on an interface. IC
Configures the maximum addresses that can be learned on the port while the port is in port security mode.
Displays dynamically created entries in the bridge-forwarding database.
Displays all entries in the bridge-forwarding database for the specified MAC address.
Displays the number of addresses present in the Forwardin g Databa se.
Displays all entries in the bridge-forwarding database.
Displays the mac forwarding table entries for a specific interface.
Displays Multicast MAC address table information.
Displays statically created entries in the bridge­forwarding database.
Displays all entries in the bridge-forwarding database for the specified VLAN.
PE
IC
IC
IC
IC
PE
UE or
PE
PE
UE or
PE
UE or
PE
PE
PE
UE or
PE
a
Command Groups 86
Page 87
Command Description Mode
show ports security
show ports security addresses
Displays the port-lock status. PE
Displays current dynamic addresses in locked
PE ports.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

Auto-VoIP

Command Description Mode
switchport voice detect auto
show switchport voice
Enables the VoIP Profile on all the interfaces of the switch.
Displays the status of auto-voip on an interface
GC or
IC
PE or all interfaces.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

CDP Interoperability

Command Description Mode
clear isdp counters
clear isdp table
isdp advertise-v2
isdp enable
isdp holdtime
isdp timer
show isdp
show isdp interface
show isdp entry
show isdp neighbors
Clears the ISDP counters. PE
Clears entries in the ISDP table. PE
Enables the sending of ISDP version 2 packets
GC from the device.
Enables ISDP on the switch. GC or
IC
Configures the hold time for ISDP packets that
GC the switch transmits.
Sets period of time between sending new ISDP
GC packets.
Displays global ISDP settings. PE
Displays ISDP settings for the specified
PE interface.
Displays ISDP entries. PE
Displays the list of neighboring devices. PE
a
a
Command Groups 87
Page 88
Command Description Mode
show isdp traffic
Displays ISDP statistics. PE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

DHCP L2 Relay

Command Description Mode
dhcp l2relay (Global Configuration)
dhcp l2relay circuit-id
Enables the Layer 2 DHCP Relay agent for an interface or globally.
Enables user to set the DHCP Option 82
GC or
IC
GC Circuit ID for a VLAN.
dhcp l2relay remote-id
Enables user to set the DHCP Option 82
GC Remote ID for a VLAN.
dhcp l2relay vlan
Enables the L2 DHCP Relay agent for a set of
GC VLANs.
dhcp l2relay trust
Configures an interface to trust a received
IC DHCP Option 82.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

DHCP Management Interface

Command Description Mode
release dhcp
renew dhcp
debug dhcp packet
show dhcp lease
Forces the DHCPv4 client to release a leased address.
Forces the DHCP client to immediately renew an IPv4 address lane.
Displays debug information about DHCPv4 client activities and traces DHCP v4 packets to and from the local DHCPv4 client.
Displays IPv4 addresses leased from a DHCP server.
PE
PE
PE
PE
a
a
Command Groups 88
Page 89
a. For the meaning of each Mode abbreviation, see

DHCP Snooping

Mode Types
on page 81.
Command Description Mode
clear ip dhcp snooping
Clears all DHCP Snooping entries. PE
binding
clear ip dhcp snooping
Clears all DHCP Snooping statistics. PE
statistics
ip dhcp snooping
ip dhcp snooping binding
ip dhcp snooping database
Enables DHCP snooping globally or on a specific VLAN.
GC or
IC
Configures a static DHCP Snooping binding. GC
Configures the persistent location of the DHCP
GC snooping database.
ip dhcp snooping database write-delay
Configures the interval in seconds at which the DHCP Snooping database will be stored in
GC
persistent storage.
ip dhcp snooping limit
Controls the maximum rate of DHCP
IC messages.
ip dhcp snooping log-invalid
Enables logging of DHCP messages filtered by
IC the DHCP Snooping application.
ip dhcp snooping trust
ip dhcp snooping verify mac­address
Configure a port as trusted for DHCP snooping. IC
Enables the verification of the source MAC
GC address with the client MAC address in the received DHCP message.
show ip dhcp snooping
Displays the DHCP snooping global and per
PE port configuration.
show ip dhcp snooping
Displays the DHCP snooping binding entries. PE
binding
show ip dhcp snooping database
show ip dhcp snooping interfaces
Displays the DHCP snooping configuration related to the database persistence.
Displays the DHCP Snooping status of the interfaces.
PE
PE
a
Command Groups 89
Page 90
Command Description Mode
show ip dhcp snooping statistics
a. For the meaning of each Mode abbreviation, see
Displays the DHCP snooping filtration statistics.
Mode Types
on page 81.
PE

Dynamic ARP Inspection

a
Command Description Mode
arp access-list
clear ip arp inspection statistics
ip arp inspection filter
Creates an ARP ACL. GC
Resets the statistics for Dynamic ARP
PE Inspection on all VLANs.
Configures the ARP ACL to be used for a single
GC VLAN or a range of VLANs to filter invalid ARP packets.
ip arp inspection limit
Configures the rate limit and burst interval
IC values for an interface.
ip arp inspection trust
Configures an interface as trusted for Dynamic
IC ARP Inspection.
ip arp inspection validate
Enables additional validation checks like source
GC MAC address validation, destination MAC address validation or IP address validation on the received ARP packets.
ip arp inspection vlan
Enables Dynamic ARP Inspection on a single
GC VLAN or a range of VLANs.
permit ip host mac host
Configures a rule for a valid IP address and
ARPA MAC address combination used in ARP packet validation.
show arp access-list
Displays the configured ARP ACLs with the
PE rules.
show ip arp inspection
Displays the Dynamic ARP Inspection
PE configuration.
show ip arp inspection interfaces
Displays the Dynamic ARP Inspection configuration on all the DAI enabled interfaces.
PE
a
Command Groups 90
Page 91
Command Description Mode
show ip arp inspection vlan
Displays the Dynamic ARP Inspection
PE configuration on all the VLANs in the given VLAN range.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

E-mail Alerting

Command Description Mode
logging email
logging email urgent
logging traps
logging email message-type to-addr
logging email from-addr
logging email message-type subject
logging email logtime
logging email test message­type
show logging email statistics
clear logging email statistics
security
mail-server ip-address | hostname
Enables e-mail alerting and sets the lowest
GC severity level for which log messages are e­mailed.
Sets the lowest severity level at which log
GC messages are e-mailed in an urgent manner.
Sets the lowest severity level at which SNMP
GC traps are logged.
Configures the To address field of the e-mail. GC
Configures the From address of the e-mail. GC
Configures the subject. GC
Configures the value of how frequently the
GC queued messages are sent.
Tests whether or not an e-mail is being sent to
GC an SMTP server.
Displays information on how many e-mails are
PE sent, how many e-mails failed, when the last e­mail was sent, how long it has been since the last e-mail was sent, how long it has been since the e-mail changed to disabled mode.
Clears the e-mail alerting statistics. GC
Sets the e-mail alerting security protocol. MSC
Configures the SMTP server IP address and
GC changes the mode to Mail Server Configuration Mode.
a
Command Groups 91
Page 92
Command Description Mode
port (Mail Server Configuration Mode)
username (Mail Server Configuration Mode)
password (Mail Server Configuration Mode)
show mail-server
Configures the TCP port to use for communication with the SMTP servers.
Configures the username required by the authentication.
Configures the password required to authenticate to the e-mail server.
Displays the configuration of all the mail servers
MSC
MSC
MSC
PE or a particular mail server.
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

Ethernet Configuration

a
Command Description Mode
clear counters
description
duplex
Clears statistics on an interface. PE
Adds a description to an interface. IC
Configures the full/half duplex operation of a
IC given Ethernet interface when not using auto­negotiation.
flowcontrol
interface
Enters the interface configuration mode to
interface range
Configures the flow control on a given interface. GC
GC or configure parameters for an interface.
Enters the interface configuration mode to execute a command on multiple ports at the
IC
GC,
IC, IR same time.
show interfaces advertise
Displays information about auto negotiation
PE advertisement.
show interfaces configuration
show interfaces counters
show interfaces description
Displays the configuration for all configured
UE interfaces.
Displays traffic seen by the physical interface. UE
Displays the description for all configured
UE interfaces.
show interfaces detail
Displays the detail for all configured interfaces. UE
a
Command Groups 92
Page 93
Command Description Mode
show interfaces status
show statistics
Displays the status for all configured interfaces. UE
Displays statistics for one port or for the entire
PE switch.
show statistics switchport
Displays detailed statistics for a specific port or
PE for the entire switch.
show storm-control
shutdown
speed
Displays the storm control configuration. PE
Disables interfaces. IC
Configures the speed of a given Ethernet
IC interface when not using auto-negotiation.
storm-control broadcast
storm-control multicast
Enables Broadcast storm control. IC
Enables the switch to count Multicast packets
IC together with Broadcast packets.
storm-control unicast
switchport protected
switchport protected name
show switchport protected
Enables Unicast storm control. IC
Sets the port to Protected mode. IC
Configures a name for a protected group. GC
Displays protected group/port information. PE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

Ethernet CFM

Command Description Mode
ethernet cfm domain
service
ethernet cfm cc level
ethernet cfm mep level
Enters into maintenance domain config mode
GC for an existing domain. Use the optional level parameter to create a domain and enter into maintenance domain config mode.
Associates a VLAN with a maintenance domain. MDC
Initiates sending continuity checks (CCMs) at
GC the specified interval and level on a VLAN monitored by an existing domain.
Creates a Maintenance End Point (MEP) on an
IC interface at the specified level and direction.
Command Groups 93
a
Page 94
Command Description Mode
ethernet cfm mep enable
Enables a MEP at the specified level and
IC direction.
ethernet cfm mep active
Activates a MEP at the specified level and
IC direction.
ethernet cfm mep archive­hold-time
ethernet cfm mip level
Maintains internal information on a missing MEP.
Creates a Maintenance Intermediate Point
IC
IC (MIP) at the specified level.
ping ethernet cfm
Generates a loopback message (LBM) from
PE
the configured MEP.
traceroute ethernet cfm
show ethernet cfm errors
show ethernet cfm domain
show ethernet cfm maintenance-points local
show ethernet cfm maintenance-points remote
show ethernet cfm statistics
debug cfm
Generates a link trace message (LTM) from the
PE configured MEP.
Displays the cfm errors. PE
Displays the configured parameters in a
PE maintenance domain.
Displays the configured local maintenance
PE points.
Displays the configured remote maintenance
PE points.
Displays the CFM statistics. PE
Enables CFM debugging. PE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

GVRP

Command Description Mode
clear gvrp statistics
garp timer
gvrp enable (global)
gvrp enable (interface)
gvrp registration-forbid
Clears all the GVRP statistics information. PE
Adjusts the GARP application join, leave, and
IC leaveall GARP timer values.
Enables GVRP globally. GC
Enables GVRP on an interface. IC
De-registers all VLANs, and prevents dynamic
IC VLAN registration on the port.
Command Groups 94
a
Page 95
Command Description Mode
gvrp vlan-creation-forbid
show gvrp configuration
Enables or disables dynamic VLAN creation. IC
Displays GVRP configuration information,
PE
including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.
show gvrp error-statistics
show gvrp statistics
Displays GVRP error statistics. UE
Displays GVRP statistics. UE
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

IGMP Snooping

Command Description Mode
ip igmp snooping
show ip igmp snooping groups
show ip igmp snooping mrouter
show ip igmp snooping
ip igmp snooping vlan immediate-leave
ip igmp snooping vlan groupmembership-interval
ip igmp snooping vlan last­member-query-interval
ip igmp snooping vlan mcrtrexpiretime
ip igmp snooping report­suppression
In Global Config mode, Enables Internet Group Management Protocol (IGMP) snooping.
Displays Multicast groups learned by IGMP snooping.
Displays information on dynamically learned Multicast router interfaces.
In VLAN Config mode, enables IGMP snooping on a particular VLAN or on all interfaces participating in a VLAN.
Enables or disables IGMP Snooping fast-leave mode on a selected VLAN.
Sets the IGMP Group Membership Interval time on a VLAN.
Sets the IGMP Maximum Response time on a particular VLAN.
Sets the Multicast Router Present Expiration time.
Enables IGMP report suppression on a specific VLAN.
GC
UE
PE
VC
VC
VC
VC
VC
GC
a
Command Groups 95
Page 96
Command Description Mode
ip igmp snooping unregistered floodall
ip igmp snooping vlan mrouter
a. For the meaning of each Mode abbreviation, see
Enables flooding of unregistered multicast traffic to all ports in the VLAN.
Statically configures a port as connected to a multicast router for a specified VLAN.
Mode Types
on page 81.
GC
GC

IGMP Snooping Querier

a
Command Description Mode
ip igmp snooping querier
Enables/disables IGMP Snooping Querier on the system (Global Configuration mode) or on
GC,
VC a VLAN.
ip igmp snooping querier election participate
Enables the Snooping Querier to participate in the Querier Election process when it discovers
VC
the presence of another Querier in the VLAN.
ip igmp snooping querier
Sets the IGMP Querier Query Interval time. GC
query-interval
ip igmp snooping querier
Sets the IGMP Querier timer expiration period. GC
timer expiry
ip igmp snooping querier version
show ip igmp snooping
Sets the IGMP version of the query that the
GC snooping switch is going to send periodically.
Displays IGMP Snooping Querier information. PE
querier
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

IP Addressing

Command Description Mode
clear host
clear ip address-conflict­detect
ip address (Out-of-Band)
Deletes entries from the host name-to-address
PE cache.
Clears the address conflict detection status in
PE the switch.
Sets an IP address for the out-of-band interface. IC
a
a
Command Groups 96
Page 97
Command Description Mode
ip address-conflict-detect run
Triggers the switch to run active address conflict detection by sending gratuitous ARP packets for
GC
IPv4 addresses on the switch.
ip address dhcp (Interface Config)
ip default-gateway
ip domain-lookup
Acquires an IP address on an interface from the
IC DHCP server.
Defines a default gateway (router). GC
Enables IP DNS-based host name-to-address
GC translation.
ip domain-name
Defines a default domain name to complete
GC unqualified host names.
ip host
Configures static host name-to-address
GC mapping in the host cache.
ip name-server
ipv6 address (Interface Config)
ipv6 address (OOB Port)
ipv6 address dhcp
Configures available name servers. GC
Sets the IPv6 address of the management
IC interface.
Sets the IPv6 prefix on the out-of-band port. IC
Enables the DHCPv6 client on an IPv6
IC interface.
ipv6 enable (Interface
Enables IPv6 on the management interface. GC
Config)
ipv6 enable (OOB Config)
Enables IPv6 operation on the out-of-band
IC interface.
ipv6 gateway (OOB Config)
show hosts
Configures the address of the IPv6 gateway. IC
Displays the default domain name, a list of
UE name server hosts, static and cached list of host names and addresses.
show ip address-conflict
show ip helper-address
show ipv6 dhcp interface out-of-band statistics
Displays the status information corresponding to the last detected address conflict.
UE or
PE
Displays the ip helper addresses configuration. PE
Displays IPv6 DHCP statistics for the out-of-
PE band interface.
a
Command Groups 97
Page 98
Command Description Mode
show ipv6 interface out-of­band
a. For the meaning of each Mode abbreviation, see
Displays the IPv6 out-of-band port configuration.
Mode Types
on page 81.
PE

IPv6 ACL

a
Command Description Mode
deny | permit (IPv6 ACL)
ipv6 access-list
Creates a new rule for the current IPv6 access list.
Creates an IPv6 Access Control List (ACL)
v6ACL
GC consisting of classification fields defined for the IP header of an IPv6 frame.
ipv6 access-list rename
ipv6 traffic-filter
show ipv6 access-lists
Changes the name of an IPv6 ACL. GC
Attaches a specific IPv6 ACL to an interface or associates it with a VLAN ID in a given direction.
Displays an IPv6 access list (and the rules
GC
IC
PE defined for it).
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

IPv6 MLD Snooping

Command Description Mode
ipv6 mld snooping vlan immediate-leave
ipv6 mld snooping vlan groupmembership-interval
ipv6 mld snooping vlan last­listener-query-interval
ipv6 mld snooping listener­message-suppression
Enables or disables MLD Snooping immediate­leave admin mode on a selected interface or VLAN.
Sets the MLD Group Membership Interval time on a VLAN or interface.
Sets the MLD Maximum Response time for an interface or VLAN.
Enables MLD listener message suppression on a specific VLAN.
VC
VC
IC or
VC
GC
a
a
Command Groups 98
Page 99
Command Description Mode
ipv6 mld snooping vlan mrouter
ipv6 mld snooping (Global)
Statically configures a port as connected to a multicast router for a specified VLAN.
Enables MLD Snooping on the system (Global
GC
GC
Config Mode).
show ipv6 mld snooping
show ipv6 mld snooping groups
Displays MLD Snooping information. PE
Displays the MLD Snooping entries in the
PE
MFDB table.
a
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

IPv6 MLD Snooping Querier

Command Description Mode
ipv6 mld snooping querier
ipv6 mld snooping querier address
ipv6 mld snooping querier election participate
Enables MLD Snooping Querier on the system or on a VLAN.
Sets the global MLD Snooping Querier address on the system or on a VLAN.
Enables the Snooping Querier to participate in the Querier Election process when it discovers
GC or
VC
GC or
VC
VC
the presence of another Querier in the VLAN.
ipv6 mld snooping querier
Sets the MLD Querier Query Interval time. GC
query-interval
ipv6 mld snooping querier
Sets the MLD Querier timer expiration period. GC
timer expiry
show ipv6 mld snooping
Displays MLD Snooping Querier information. PE
querier
a. For the meaning of each Mode abbreviation, see
Mode Types
on page 81.

IP Source Guard

Command Description Mode
ip verify source
Enables filtering of IP packets matching the source IP address.
IC
a
a
Command Groups 99
Page 100
Command Description Mode
ip verify source port-security
Enables filtering of IP packets matching the
IC
source IP address and the source MAC address.
ip verify binding
show ip verify interface
show ip verify source interface
show ip source binding
a. For the meaning of each Mode abbreviation, see
Configures static bindings. GC
Displays the IPSG interface configuration. PE
Displays the bindings configured on a particular
PE
interface.
Displays all bindings (static and dynamic). PE
Mode Types
on page 81.

iSCSI Optimization

a

Link Dependency

Command Description Mode
iscsi aging time
iscsi cos
iscsi enable
iscsi target port
show iscsi
show iscsi sessions
a. For the meaning of each Mode abbreviation, see
Command Description Mode
action
link-dependency group
Sets aging time for iSCSI sessions. GC
Sets the quality of service profile that will be applied to iSCSI flows.
Enables Global Configuration mode command globally enables iSCSI awareness.
Configures an iSCSI target port (optionally configures target port address and name).
Displays the iSCSI settings. PE
Displays the iSCSI sessions. PE
Mode Types
on page 81.
Indicates if the link-dependency group should mirror or invert the status of the depended on interfaces.
Enters the link-dependency mode to configure
a link-dependency group.
GC
GC
GC
LD
GC
a
a
Command Groups 100
Loading...