Dell PowerConnect
PCM6220, PCM6348, PCM8024,
PCM8024-k
CLI Reference Guide
Regulatory Model: PCM6220, PCM6348,
PCM8024, PCM8024-k
Notes
NOTE: A Note indicates important information that helps you make better use of
your computer.
____________________
Information in this publication is subject to change without notice.
© 2011 Dell Inc. All rights reserved.
Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc.
is strictly forbidd en .
Trademarks used in this text: Dell™, the DELL logo, and PowerConnect™ are trademarks of Dell
Inc. StrataXGS
InMon Corporation. Cisco
United States and certai n other countries. Microso ft
Microsoft Corporation in th e United States and/or other countries.
Other trademarks an d trade names may be used in th is publication to ref er to either the entiti es claiming
the marks and names or thei r products. Dell Inc. disc laims an y proprie tary int erest in trademark s and
trade names other than its own.
®
is a registered trademark of Broadcom Corp. sFlow® is a registered trad emark of
®
is a regist ered trad emark of Cisco Systems, I nc. and/ or its affi liates i n the
®
and Windows® are registered trademarks of
Regulatory Model PCM6220, PCM6348, PCM8024, PCM8024-k
March 2011 Rev A00
Contents
1 Command Groups . . . . . . . . . . . . . . . . . . 73
Introduction . . . . . . . . . . . . . . . . . . . . . . . 73
Command Groups
Mode Types . . . . . . . . . . . . . . . . . . . . . . . 77
Layer 2 Commands
Layer 3 Commands . . . . . . . . . . . . . . . . . . . . 113
Utility Commands . . . . . . . . . . . . . . . . . . . . 140
. . . . . . . . . . . . . . . . . . . . 74
. . . . . . . . . . . . . . . . . . . . 79
2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 163
Introduction . . . . . . . . . . . . . . . . . . . . . . . 163
Entering and Editing CLI Commands. . . . . . . . . . . 163
CLI Command Modes . . . . . . . . . . . . . . . . . . 172
Starting the CLI
Using CLI Functions and Tools. . . . . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . 185
Contents 3
3 Layer 2 Commands . . . . . . . . . . . . . . . . . 215
4 AAA Commands . . . . . . . . . . . . . . . . . . . 217
Commands in this Chapter . . . . . . . . . . . . . . . 218
aaa authentication dot1x default . . . . . . . . . . . 218
aaa authentication enable . . . . . . . . . . . . . . . 220
aaa authentication login
. . . . . . . . . . . . . . . . 221
aaa authorization network default radius. . . . . . . 223
aaa ias-user username. . . . . . . . . . . . . . . . . 224
clear (IAS)
. . . . . . . . . . . . . . . . . . . . . . . 225
enable authentication . . . . . . . . . . . . . . . . . 225
enable password . . . . . . . . . . . . . . . . . . . . 226
ip http authentication
. . . . . . . . . . . . . . . . . 227
ip https authentication . . . . . . . . . . . . . . . . . 228
login authentication . . . . . . . . . . . . . . . . . . 229
password (aaa IAS User Configuration)
. . . . . . . . 230
password (Line Configuration). . . . . . . . . . . . . 231
password (User EXEC)
show aaa ias-users
. . . . . . . . . . . . . . . . . 232
. . . . . . . . . . . . . . . . . . 233
show authentication methods . . . . . . . . . . . . . 234
4 Contents
show users accounts
. . . . . . . . . . . . . . . . . 235
show users login-history . . . . . . . . . . . . . . . . 237
username
. . . . . . . . . . . . . . . . . . . . . . . . . 238
username password encrypted . . . . . . . . . . . . . 239
username unlock . . . . . . . . . . . . . . . . . . . . 241
5 ACL Commands . . . . . . . . . . . . . . . . . . . 243
ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 243
Commands in this Chapter. . . . . . . . . . . . . . . . 244
access-list . . . . . . . . . . . . . . . . . . . . . . . . 244
deny | permit (IP ACL)
deny | permit (Mac-Access-List-Configuration) . . . . 247
ip access-group . . . . . . . . . . . . . . . . . . . . . 250
mac access-group
mac access-list extended . . . . . . . . . . . . . . . . 252
mac access-list extended rename . . . . . . . . . . . 253
. . . . . . . . . . . . . . . . . . 246
. . . . . . . . . . . . . . . . . . . . 251
service-acl input
. . . . . . . . . . . . . . . . . . . . . 254
show service-acl interface . . . . . . . . . . . . . . . 255
show ip access-lists
show mac access-list
. . . . . . . . . . . . . . . . . . . 256
. . . . . . . . . . . . . . . . . . 257
6 Address Table Commands . . . . . . . . . . . 259
Commands in this Chapter. . . . . . . . . . . . . . . . 259
Contents 5
clear mac address-table . . . . . . . . . . . . . . . . 260
mac address-table aging-time
. . . . . . . . . . . . . 261
mac address-table multicast filtering . . . . . . . . . 262
mac address-table multicast forbidden address . . . 263
mac address-table multicast forbidden
forward-unregistered
. . . . . . . . . . . . . . . . . 264
mac address-table multicast forward-all . . . . . . . 265
mac address-table multicast
forward-unregistered
. . . . . . . . . . . . . . . . . 266
mac address-table multicast static . . . . . . . . . . 267
mac address-table static
. . . . . . . . . . . . . . . 268
port security . . . . . . . . . . . . . . . . . . . . . . 269
port security max. . . . . . . . . . . . . . . . . . . . 270
show mac address-table multicast
. . . . . . . . . . 271
show mac address-table filtering . . . . . . . . . . . 273
6 Contents
show mac address-table. . . . . . . . . . . . . . . . 274
show mac address-table address
. . . . . . . . . . . 275
show mac address-table count . . . . . . . . . . . . 276
show mac address-table dynamic. . . . . . . . . . . 277
show mac address-table interface
. . . . . . . . . . 279
show mac address-table static . . . . . . . . . . . . 280
show mac address-table vlan . . . . . . . . . . . . . . 281
show ports security
. . . . . . . . . . . . . . . . . . . 282
show ports security addresses . . . . . . . . . . . . . 283
7 Auto-VoIP Commands . . . . . . . . . . . . . . 285
Commands in this Chapter. . . . . . . . . . . . . . . . 285
show switchport voice
. . . . . . . . . . . . . . . . . 285
switchport voice detect auto . . . . . . . . . . . . . . 288
8 CDP Interoperability Commands . . . . . . 291
Commands in this Chapter. . . . . . . . . . . . . . . . 291
clear isdp counters
clear isdp table . . . . . . . . . . . . . . . . . . . . . 292
isdp advertise-v2. . . . . . . . . . . . . . . . . . . . . 292
isdp enable
. . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . . . . . 293
isdp holdtime. . . . . . . . . . . . . . . . . . . . . . . 294
isdp timer . . . . . . . . . . . . . . . . . . . . . . . . 295
show isdp
. . . . . . . . . . . . . . . . . . . . . . . . 295
show isdp entry . . . . . . . . . . . . . . . . . . . . . 296
show isdp interface
show isdp neighbors
. . . . . . . . . . . . . . . . . . . 298
. . . . . . . . . . . . . . . . . . . 299
show isdp traffic . . . . . . . . . . . . . . . . . . . . . 301
Contents 7
9 Data Center Bridging Commands . . . . . 303
clear priority-flow-control statistics . . . . . . . . . 303
datacenter-bridging . . . . . . . . . . . . . . . . . . 304
priority-flow-control mode on . . . . . . . . . . . . . 305
priority-flow-control priority
show interfaces datacenter-bridging . . . . . . . . . 306
. . . . . . . . . . . . . . 305
10 DHCP Layer 2 Relay Commands. . . . . . . 311
Commands in this Chapter . . . . . . . . . . . . . . . 311
dhcp l2relay (Global Configuration)
dhcp l2relay (Interface Configuration). . . . . . . . . 312
dhcp l2relay circuit-id . . . . . . . . . . . . . . . . . 313
dhcp l2relay remote-id
dhcp l2relay trust. . . . . . . . . . . . . . . . . . . . 314
dhcp l2relay vlan . . . . . . . . . . . . . . . . . . . . 315
. . . . . . . . . . . . . . . . . 313
. . . . . . . . . . 311
11 DHCP Management Interface
Commands
Commands in this Chapter . . . . . . . . . . . . . . . 317
. . . . . . . . . . . . . . . . . . . . . . . 317
8 Contents
release dhcp
renew dhcp. . . . . . . . . . . . . . . . . . . . . . . 319
debug dhcp packet
. . . . . . . . . . . . . . . . . . . . . . 318
. . . . . . . . . . . . . . . . . . . 320
show dhcp lease. . . . . . . . . . . . . . . . . . . . . 321
12 DHCP Snooping Commands . . . . . . . . . . 325
Commands in this Chapter. . . . . . . . . . . . . . . . 325
clear ip dhcp snooping binding . . . . . . . . . . . . . 326
clear ip dhcp snooping statistics . . . . . . . . . . . . 327
ip dhcp snooping
. . . . . . . . . . . . . . . . . . . . . 327
ip dhcp snooping binding . . . . . . . . . . . . . . . . 328
ip dhcp snooping database . . . . . . . . . . . . . . . 329
ip dhcp snooping database write-delay
. . . . . . . . 330
ip dhcp snooping limit . . . . . . . . . . . . . . . . . . 331
ip dhcp snooping log-invalid . . . . . . . . . . . . . . 332
ip dhcp snooping trust
. . . . . . . . . . . . . . . . . . 332
ip dhcp snooping verify mac-address . . . . . . . . . . 333
show ip dhcp snooping . . . . . . . . . . . . . . . . . 334
show ip dhcp snooping binding
. . . . . . . . . . . . . 335
show ip dhcp snooping database . . . . . . . . . . . . 336
show ip dhcp snooping interfaces
show ip dhcp snooping statistics
. . . . . . . . . . . 337
. . . . . . . . . . . . 338
13 Dynamic ARP Inspection Commands . . 341
Commands in this Chapter. . . . . . . . . . . . . . . . 341
Contents 9
arp access-list . . . . . . . . . . . . . . . . . . . . . 341
clear ip arp inspection statistics
. . . . . . . . . . . 342
ip arp inspection filter . . . . . . . . . . . . . . . . . 343
ip arp inspection limit . . . . . . . . . . . . . . . . . 343
ip arp inspection trust
ip arp inspection validate
. . . . . . . . . . . . . . . . . 344
. . . . . . . . . . . . . . . 345
ip arp inspection vlan . . . . . . . . . . . . . . . . . 346
permit ip host mac host
. . . . . . . . . . . . . . . . 347
show arp access-list. . . . . . . . . . . . . . . . . . 348
show ip arp inspection. . . . . . . . . . . . . . . . . 348
show ip arp inspection vlan
. . . . . . . . . . . . . . 351
14 Email Alerting Commands . . . . . . . . . . . 355
Commands in this Chapter . . . . . . . . . . . . . . . 355
logging email. . . . . . . . . . . . . . . . . . . . . . 356
10 Contents
logging email urgent
. . . . . . . . . . . . . . . . . . 358
logging traps . . . . . . . . . . . . . . . . . . . . . . 359
logging email message-type to-addr
logging email from-addr
. . . . . . . . . . . . . . . . 361
. . . . . . . . . 360
logging email message-type subject . . . . . . . . . 361
logging email logtime
logging email test message-type
. . . . . . . . . . . . . . . . . 362
. . . . . . . . . . . 363
show logging email statistics . . . . . . . . . . . . . . 364
clear logging email statistics
. . . . . . . . . . . . . . 364
security. . . . . . . . . . . . . . . . . . . . . . . . . . 365
mail-server ip-address | hostname . . . . . . . . . . . 366
port (Mail Server Configuration Mode)
username (Mail Server Configuration Mode)
. . . . . . . . . 367
. . . . . . 367
password (Mail Server Configuration Mode). . . . . . 368
show mail-server
. . . . . . . . . . . . . . . . . . . . 369
15 Ethernet Configuration Commands . . . . 371
Commands in this Chapter. . . . . . . . . . . . . . . . 372
clear counters . . . . . . . . . . . . . . . . . . . . . . 372
description
duplex . . . . . . . . . . . . . . . . . . . . . . . . . . 374
flowcontrol. . . . . . . . . . . . . . . . . . . . . . . . 375
. . . . . . . . . . . . . . . . . . . . . . . . 373
interface
. . . . . . . . . . . . . . . . . . . . . . . . . 375
interface range. . . . . . . . . . . . . . . . . . . . . . 376
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
mtu
show interfaces advertise
. . . . . . . . . . . . . . . . 379
show interfaces configuration . . . . . . . . . . . . . 380
show interfaces counters
show interfaces description
. . . . . . . . . . . . . . . . 382
. . . . . . . . . . . . . . . 385
Contents 11
show interfaces status. . . . . . . . . . . . . . . . . 386
show statistics
. . . . . . . . . . . . . . . . . . . . . 390
show statistics switchport . . . . . . . . . . . . . . 395
show storm-control . . . . . . . . . . . . . . . . . . 397
shutdown
speed
. . . . . . . . . . . . . . . . . . . . . . . . 398
. . . . . . . . . . . . . . . . . . . . . . . . . . 398
storm-control broadcast . . . . . . . . . . . . . . . . 400
storm-control multicast
. . . . . . . . . . . . . . . . 400
storm-control unicast . . . . . . . . . . . . . . . . . 401
switchport protected. . . . . . . . . . . . . . . . . . 402
switchport protected name
. . . . . . . . . . . . . . 403
show switchport protected . . . . . . . . . . . . . . 404
16 Ethernet CFM Commands. . . . . . . . . . . . 407
Commands in this Chapter . . . . . . . . . . . . . . . 407
12 Contents
ethernet cfm domain
. . . . . . . . . . . . . . . . . . 408
service . . . . . . . . . . . . . . . . . . . . . . . . . 409
ethernet cfm cc level
ethernet cfm mep level
. . . . . . . . . . . . . . . . . . 410
. . . . . . . . . . . . . . . . . 411
ethernet cfm mep enable . . . . . . . . . . . . . . . 412
ethernet cfm mep active
ethernet cfm mep archive-hold-time
. . . . . . . . . . . . . . . . 413
. . . . . . . . . 414
ethernet cfm mip level . . . . . . . . . . . . . . . . . . 414
ping ethernet cfm
. . . . . . . . . . . . . . . . . . . . 415
traceroute ethernet cfm . . . . . . . . . . . . . . . . . 416
show ethernet cfm errors . . . . . . . . . . . . . . . . 418
show ethernet cfm domain
show ethernet cfm maintenance-points local
. . . . . . . . . . . . . . . 418
. . . . . 419
show ethernet cfm maintenance-points remote . . . . 420
show ethernet cfm statistics
. . . . . . . . . . . . . . 422
debug cfm . . . . . . . . . . . . . . . . . . . . . . . . 423
17 GVRP Commands . . . . . . . . . . . . . . . . . . 427
Commands in this Chapter. . . . . . . . . . . . . . . . 427
clear gvrp statistics
garp timer . . . . . . . . . . . . . . . . . . . . . . . . 428
gvrp enable (global) . . . . . . . . . . . . . . . . . . . 429
. . . . . . . . . . . . . . . . . . . 427
gvrp enable (interface)
. . . . . . . . . . . . . . . . . 430
gvrp registration-forbid . . . . . . . . . . . . . . . . . 431
gvrp vlan-creation-forbid
show gvrp configuration
. . . . . . . . . . . . . . . . 432
. . . . . . . . . . . . . . . . . 432
show gvrp error-statistics . . . . . . . . . . . . . . . . 434
show gvrp statistics
. . . . . . . . . . . . . . . . . . . 435
Contents 13
18 IGMP Snooping Commands . . . . . . . . . . 437
Commands in this Chapter . . . . . . . . . . . . . . . 438
ip igmp snooping (global) . . . . . . . . . . . . . . . 438
ip igmp snooping (interface). . . . . . . . . . . . . . 439
ip igmp snooping host-time-out
. . . . . . . . . . . . 440
ip igmp snooping leave-time-out . . . . . . . . . . . 440
ip igmp snooping mrouter-time-out . . . . . . . . . . 441
show ip igmp snooping
. . . . . . . . . . . . . . . . 442
show ip igmp snooping groups . . . . . . . . . . . . 443
show ip igmp snooping interface . . . . . . . . . . . 444
show ip igmp snooping mrouter
. . . . . . . . . . . . 445
ip igmp snooping (VLAN). . . . . . . . . . . . . . . . 445
ip igmp snooping fast-leave . . . . . . . . . . . . . . 446
ip igmp snooping groupmembership-interval
. . . . . 447
ip igmp snooping maxresponse . . . . . . . . . . . . 448
ip igmp snooping mcrtrexpiretime . . . . . . . . . . 449
19 IGMP Snooping Querier Commands . . . 451
14 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 451
ip igmp snooping querier . . . . . . . . . . . . . . . 451
ip igmp snooping querier election participate
. . . . 453
ip igmp snooping querier query-interval . . . . . . . . 454
ip igmp snooping querier timer expiry
. . . . . . . . . 455
ip igmp snooping querier version . . . . . . . . . . . . 455
show ip igmp snooping querier . . . . . . . . . . . . . 456
20 IP Addressing Commands . . . . . . . . . . . 459
Commands in this Chapter. . . . . . . . . . . . . . . . 459
clear host . . . . . . . . . . . . . . . . . . . . . . . . 460
clear ip address-conflict-detect . . . . . . . . . . . . 460
interface out-of-band
ip address (Out-of-Band) . . . . . . . . . . . . . . . . 462
ip address-conflict-detect run. . . . . . . . . . . . . . 463
ip address dhcp (Interface Config)
ip default-gateway. . . . . . . . . . . . . . . . . . . . 465
ip domain-lookup . . . . . . . . . . . . . . . . . . . . 466
. . . . . . . . . . . . . . . . . . 461
. . . . . . . . . . . 464
ip domain-name
. . . . . . . . . . . . . . . . . . . . . 467
ip host . . . . . . . . . . . . . . . . . . . . . . . . . . 468
ip name-server
ipv6 address
. . . . . . . . . . . . . . . . . . . . . . 469
. . . . . . . . . . . . . . . . . . . . . . . 469
ipv6 address dhcp . . . . . . . . . . . . . . . . . . . . 471
ipv6 enable
show arp switch
. . . . . . . . . . . . . . . . . . . . . . . . 472
. . . . . . . . . . . . . . . . . . . . . 473
Contents 15
show hosts . . . . . . . . . . . . . . . . . . . . . . . 473
show ip address-conflict
. . . . . . . . . . . . . . . 474
show ip helper-address . . . . . . . . . . . . . . . . 476
21 IPv6 Access List Commands . . . . . . . . . 477
Commands in this Chapter . . . . . . . . . . . . . . . 477
{deny | permit} (IPv6 ACL)
. . . . . . . . . . . . . . . 478
ipv6 access-list . . . . . . . . . . . . . . . . . . . . 480
ipv6 access-list rename . . . . . . . . . . . . . . . . 481
ipv6 traffic-filter
. . . . . . . . . . . . . . . . . . . . 482
show ipv6 access-lists. . . . . . . . . . . . . . . . . 483
22 IPv6 MLD Snooping Commands . . . . . . . 487
Commands in this Chapter . . . . . . . . . . . . . . . 487
ipv6 mld snooping immediate-leave
. . . . . . . . . . 488
16 Contents
ipv6 mld snooping groupmembership-interval . . . . 489
ipv6 mld snooping maxresponse . . . . . . . . . . . 489
ipv6 mld snooping mcrtexpiretime
. . . . . . . . . . 490
ipv6 mld snooping (Global) . . . . . . . . . . . . . . 491
ipv6 mld snooping (Interface)
ipv6 mld snooping (VLAN)
. . . . . . . . . . . . . 492
. . . . . . . . . . . . . . . 493
show ipv6 mld snooping . . . . . . . . . . . . . . . . 494
show ipv6 mld snooping groups. . . . . . . . . . . . . 495
23 IPv6 MLD Snooping Querier
Commands . . . . . . . . . . . . . . . . . . . . . . . 499
Commands in this Chapter. . . . . . . . . . . . . . . . 499
ipv6 mld snooping querier
ipv6 mld snooping querier (VLAN mode)
. . . . . . . . . . . . . . . . 500
. . . . . . . . 500
ipv6 mld snooping querier address . . . . . . . . . . . 501
ipv6 mld snooping querier election participate
. . . . . 502
ipv6 mld snooping querier query-interval . . . . . . . . 502
ipv6 mld snooping querier timer expiry . . . . . . . . . 503
show ipv6 mld snooping querier
. . . . . . . . . . . . 504
24 IP Source Guard Commands . . . . . . . . . 507
Commands in this Chapter. . . . . . . . . . . . . . . . 507
ip verify source . . . . . . . . . . . . . . . . . . . . . 507
ip verify source port-security
ip verify binding
. . . . . . . . . . . . . . . . . . . . . 509
show ip verify interface
. . . . . . . . . . . . . . 508
. . . . . . . . . . . . . . . . . 509
show ip verify source interface
. . . . . . . . . . . . . 510
show ip source binding . . . . . . . . . . . . . . . . . 510
Contents 17
25 iSCSI Optimization Commands. . . . . . . . 513
Commands in this Chapter . . . . . . . . . . . . . . . 514
iscsi aging time . . . . . . . . . . . . . . . . . . . . 514
iscsi cos . . . . . . . . . . . . . . . . . . . . . . . . 515
iscsi enable
. . . . . . . . . . . . . . . . . . . . . . 517
iscsi target port . . . . . . . . . . . . . . . . . . . . 518
show iscsi . . . . . . . . . . . . . . . . . . . . . . . 519
show iscsi sessions
. . . . . . . . . . . . . . . . . . 521
26 Link Dependency Commands . . . . . . . . . 525
Commands in this Chapter . . . . . . . . . . . . . . . 525
action. . . . . . . . . . . . . . . . . . . . . . . . . . 525
link-dependency group
add gigabitethernet . . . . . . . . . . . . . . . . . . 527
add tengigabitethernet. . . . . . . . . . . . . . . . . 527
add port-channel
depends-on . . . . . . . . . . . . . . . . . . . . . . . 529
show link-dependency
. . . . . . . . . . . . . . . . 526
. . . . . . . . . . . . . . . . . . . . 528
. . . . . . . . . . . . . . . . . 530
27 LLDP Commands . . . . . . . . . . . . . . . . . . 533
18 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 534
clear lldp remote-data . . . . . . . . . . . . . . . . . 534
clear lldp statistics . . . . . . . . . . . . . . . . . . . 535
lldp notification
. . . . . . . . . . . . . . . . . . . . . 536
lldp notification-interval. . . . . . . . . . . . . . . . . 536
lldp receive . . . . . . . . . . . . . . . . . . . . . . . 537
lldp timers
lldp transmit
. . . . . . . . . . . . . . . . . . . . . . . . 538
. . . . . . . . . . . . . . . . . . . . . . . 539
lldp transmit-mgmt. . . . . . . . . . . . . . . . . . . . 540
lldp transmit-tlv
. . . . . . . . . . . . . . . . . . . . . 540
show lldp. . . . . . . . . . . . . . . . . . . . . . . . . 541
show lldp interface . . . . . . . . . . . . . . . . . . . 542
show lldp local-device
. . . . . . . . . . . . . . . . . 543
show lldp remote-device . . . . . . . . . . . . . . . . 545
show lldp statistics . . . . . . . . . . . . . . . . . . . 546
28 Multicast VLAN Registration
Commands . . . . . . . . . . . . . . . . . . . . . . . 549
Commands in this Chapter. . . . . . . . . . . . . . . . 550
mvr
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
mvr group . . . . . . . . . . . . . . . . . . . . . . . . 551
mvr mode
mvr querytime
. . . . . . . . . . . . . . . . . . . . . . . . . 552
. . . . . . . . . . . . . . . . . . . . . . 552
mvr vlan . . . . . . . . . . . . . . . . . . . . . . . . . 554
Contents 19
mvr immediate . . . . . . . . . . . . . . . . . . . . . 554
mvr type
. . . . . . . . . . . . . . . . . . . . . . . . 555
mvr vlan group . . . . . . . . . . . . . . . . . . . . . 557
show mvr . . . . . . . . . . . . . . . . . . . . . . . . 558
show mvr members
show mvr interface
. . . . . . . . . . . . . . . . . . 560
. . . . . . . . . . . . . . . . . . 561
show mvr traffic . . . . . . . . . . . . . . . . . . . . 563
29 Port Aggregator Commands . . . . . . . . . 565
add ethernet . . . . . . . . . . . . . . . . . . . . . . 565
duplex . . . . . . . . . . . . . . . . . . . . . . . . . 566
minimum active uplinks . . . . . . . . . . . . . . . . 567
mtu disable
negotiation . . . . . . . . . . . . . . . . . . . . . . . 568
port-aggregator group . . . . . . . . . . . . . . . . . 569
. . . . . . . . . . . . . . . . . . . . . . . 567
30 Port Channel Commands . . . . . . . . . . . . 573
20 Contents
show bridge address-table
. . . . . . . . . . . . . . 570
speed . . . . . . . . . . . . . . . . . . . . . . . . . . 571
Static LAGS. . . . . . . . . . . . . . . . . . . . . . . 573
VLANs and LAGs
. . . . . . . . . . . . . . . . . . . . 574
LAG Thresholds . . . . . . . . . . . . . . . . . . . . 574
Port Channels . . . . . . . . . . . . . . . . . . . . . . 574
LAG Hashing
. . . . . . . . . . . . . . . . . . . . . . . 575
Enhanced LAG Hashing . . . . . . . . . . . . . . . . . 576
Manual Aggregation of LAGs . . . . . . . . . . . . . . 577
Commands in this Chapter
channel-group
. . . . . . . . . . . . . . . . . . . . . . 577
. . . . . . . . . . . . . . . . 577
interface port-channel . . . . . . . . . . . . . . . . . . 578
interface range port-channel
. . . . . . . . . . . . . . 579
hashing-mode . . . . . . . . . . . . . . . . . . . . . . 580
lacp auto . . . . . . . . . . . . . . . . . . . . . . . . . 581
lacp off
. . . . . . . . . . . . . . . . . . . . . . . . . . 581
lacp port-priority . . . . . . . . . . . . . . . . . . . . . 582
lacp static . . . . . . . . . . . . . . . . . . . . . . . . 583
lacp system-priority
. . . . . . . . . . . . . . . . . . . 583
lacp timeout . . . . . . . . . . . . . . . . . . . . . . . 584
no lacp . . . . . . . . . . . . . . . . . . . . . . . . . . 585
port-channel min-links
. . . . . . . . . . . . . . . . . 586
show interfaces port-channel . . . . . . . . . . . . . . 586
show lacp . . . . . . . . . . . . . . . . . . . . . . . . 587
show statistics port-channel
. . . . . . . . . . . . . . 589
Contents 21
31 Port Monitor Commands . . . . . . . . . . . . 593
Commands in this Chapter . . . . . . . . . . . . . . . 593
monitor session . . . . . . . . . . . . . . . . . . . . 594
show monitor session . . . . . . . . . . . . . . . . . 595
32 QoS Commands . . . . . . . . . . . . . . . . . . . 597
Access Control Lists . . . . . . . . . . . . . . . . . . 597
Layer 2 ACLs . . . . . . . . . . . . . . . . . . . . . . 598
Layer 3/4 IPv4 ACLs . . . . . . . . . . . . . . . . . . 598
22 Contents
Class of Service (CoS)
. . . . . . . . . . . . . . . . . 598
Queue Mapping . . . . . . . . . . . . . . . . . . . . 599
PCM6220 Limitations . . . . . . . . . . . . . . . . . . 600
Commands in this Chapter
. . . . . . . . . . . . . . . 600
assign-queue. . . . . . . . . . . . . . . . . . . . . . 601
class . . . . . . . . . . . . . . . . . . . . . . . . . . 602
class-map
. . . . . . . . . . . . . . . . . . . . . . . 603
class-map rename . . . . . . . . . . . . . . . . . . . 603
classofservice dot1p-mapping
classofservice ip-dscp-mapping
. . . . . . . . . . . . . 604
. . . . . . . . . . . 605
classofservice trust . . . . . . . . . . . . . . . . . . 606
conform-color
. . . . . . . . . . . . . . . . . . . . . 607
cos-queue min-bandwidth . . . . . . . . . . . . . . . 608
cos-queue random-detect
. . . . . . . . . . . . . . . . 608
cos-queue strict . . . . . . . . . . . . . . . . . . . . . 610
diffserv . . . . . . . . . . . . . . . . . . . . . . . . . . 611
drop
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 611
mark cos
. . . . . . . . . . . . . . . . . . . . . . . . . 612
mark ip-dscp . . . . . . . . . . . . . . . . . . . . . . . 613
mark ip-precedence
. . . . . . . . . . . . . . . . . . . 614
match class-map. . . . . . . . . . . . . . . . . . . . . 614
match cos . . . . . . . . . . . . . . . . . . . . . . . . 616
match destination-address mac
. . . . . . . . . . . . . 616
match dstip. . . . . . . . . . . . . . . . . . . . . . . . 617
match dstip6 . . . . . . . . . . . . . . . . . . . . . . . 618
match dstl4port
. . . . . . . . . . . . . . . . . . . . . 619
match ethertype . . . . . . . . . . . . . . . . . . . . . 620
match ip6flowlbl. . . . . . . . . . . . . . . . . . . . . 620
match ip dscp
. . . . . . . . . . . . . . . . . . . . . . 621
match ip precedence . . . . . . . . . . . . . . . . . . 622
match ip tos . . . . . . . . . . . . . . . . . . . . . . . 623
match protocol
. . . . . . . . . . . . . . . . . . . . . . 624
match source-address mac . . . . . . . . . . . . . . . 625
Contents 23
match srcip . . . . . . . . . . . . . . . . . . . . . . . 626
match srcip6
. . . . . . . . . . . . . . . . . . . . . . 626
match srcl4port. . . . . . . . . . . . . . . . . . . . . 627
match vlan . . . . . . . . . . . . . . . . . . . . . . . 628
mirror
. . . . . . . . . . . . . . . . . . . . . . . . . . 629
police-simple
. . . . . . . . . . . . . . . . . . . . . . 629
policy-map . . . . . . . . . . . . . . . . . . . . . . . 630
redirect
. . . . . . . . . . . . . . . . . . . . . . . . . 632
service-policy . . . . . . . . . . . . . . . . . . . . . 632
show class-map . . . . . . . . . . . . . . . . . . . . 634
show classofservice dot1p-mapping
. . . . . . . . . 635
show classofservice ip-dscp-mapping . . . . . . . . 637
show classofservice trust . . . . . . . . . . . . . . . 640
show diffserv
. . . . . . . . . . . . . . . . . . . . . . 641
show diffserv service interface . . . . . . . . . . . . 642
24 Contents
show diffserv service interface port-channel. . . . . 643
show diffserv service brief
. . . . . . . . . . . . . . 644
show interfaces cos-queue . . . . . . . . . . . . . . 644
show interfaces random-detect . . . . . . . . . . . . 647
show policy-map
. . . . . . . . . . . . . . . . . . . . 648
show policy-map interface . . . . . . . . . . . . . . 648
show service-policy . . . . . . . . . . . . . . . . . . . 650
traffic-shape
. . . . . . . . . . . . . . . . . . . . . . . 651
33 RADIUS Commands . . . . . . . . . . . . . . . . 653
Commands in this Chapter. . . . . . . . . . . . . . . . 653
aaa accounting network default start-stop
group radius
acct-port . . . . . . . . . . . . . . . . . . . . . . . . . 655
auth-port . . . . . . . . . . . . . . . . . . . . . . . . . 655
deadtime
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657
msgauth . . . . . . . . . . . . . . . . . . . . . . . . . 658
name (RADIUS server)
primary . . . . . . . . . . . . . . . . . . . . . . . . . . 660
priority . . . . . . . . . . . . . . . . . . . . . . . . . . 660
. . . . . . . . . . . . . . . . . . . . . . . 654
. . . . . . . . . . . . . . . . . . . . . . . . . 656
. . . . . . . . . . . . . . . . . . 658
radius-server deadtime
. . . . . . . . . . . . . . . . . 661
radius-server host . . . . . . . . . . . . . . . . . . . . 662
radius-server key
radius-server retransmit
. . . . . . . . . . . . . . . . . . . . 663
. . . . . . . . . . . . . . . . . 664
radius-server source-ip . . . . . . . . . . . . . . . . . 665
radius-server timeout
retransmit
. . . . . . . . . . . . . . . . . . . . . . . . 666
. . . . . . . . . . . . . . . . . . 665
Contents 25
show aaa servers . . . . . . . . . . . . . . . . . . . 667
show radius statistics
. . . . . . . . . . . . . . . . . 670
source-ip . . . . . . . . . . . . . . . . . . . . . . . . 674
timeout . . . . . . . . . . . . . . . . . . . . . . . . . 675
usage
. . . . . . . . . . . . . . . . . . . . . . . . . . 676
34 Spanning Tree Commands . . . . . . . . . . . 677
Commands in this Chapter . . . . . . . . . . . . . . . 678
clear spanning-tree detected-protocols . . . . . . . 679
exit (mst)
instance (mst) . . . . . . . . . . . . . . . . . . . . . 680
name (mst) . . . . . . . . . . . . . . . . . . . . . . . 682
revision (mst)
show spanning-tree . . . . . . . . . . . . . . . . . . 683
show spanning-tree summary . . . . . . . . . . . . . 687
. . . . . . . . . . . . . . . . . . . . . . . . 679
. . . . . . . . . . . . . . . . . . . . . . 683
26 Contents
spanning-tree
. . . . . . . . . . . . . . . . . . . . . 689
spanning-tree auto-portfast . . . . . . . . . . . . . . 690
spanning-tree bpdu flooding
spanning-tree bpdu-protection
. . . . . . . . . . . . . . 690
. . . . . . . . . . . . 691
spanning-tree cost . . . . . . . . . . . . . . . . . . . 692
spanning-tree disable
spanning-tree forward-time
. . . . . . . . . . . . . . . . . 693
. . . . . . . . . . . . . . 694
spanning-tree guard . . . . . . . . . . . . . . . . . . . 695
spanning-tree loopguard
. . . . . . . . . . . . . . . . 695
spanning-tree max-age . . . . . . . . . . . . . . . . . 696
spanning-tree max-hops. . . . . . . . . . . . . . . . . 697
spanning-tree mode
spanning-tree mst configuration
. . . . . . . . . . . . . . . . . . . 698
. . . . . . . . . . . . 698
spanning-tree mst cost . . . . . . . . . . . . . . . . . 699
spanning-tree mst port-priority
. . . . . . . . . . . . . 700
spanning-tree mst priority . . . . . . . . . . . . . . . . 701
spanning-tree portfast . . . . . . . . . . . . . . . . . . 702
spanning-tree portfast bpdufilter default
. . . . . . . . 703
spanning-tree portfast default. . . . . . . . . . . . . . 704
spanning-tree port-priority . . . . . . . . . . . . . . . 705
spanning-tree priority
. . . . . . . . . . . . . . . . . . 706
spanning-tree tcnguard . . . . . . . . . . . . . . . . . 706
spanning-tree transmit hold-count . . . . . . . . . . . 707
35 TACACS+ Commands . . . . . . . . . . . . . . . 709
Commands in this Chapter. . . . . . . . . . . . . . . . 710
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
port
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 711
priority
. . . . . . . . . . . . . . . . . . . . . . . . . . 711
Contents 27
show tacacs . . . . . . . . . . . . . . . . . . . . . . 712
tacacs-server host
. . . . . . . . . . . . . . . . . . . 713
tacacs-server key . . . . . . . . . . . . . . . . . . . 714
tacacs-server timeout . . . . . . . . . . . . . . . . . 715
timeout
. . . . . . . . . . . . . . . . . . . . . . . . . 715
36 VLAN Commands . . . . . . . . . . . . . . . . . . 717
Double VLAN Mode . . . . . . . . . . . . . . . . . . 717
Independent VLAN Learning . . . . . . . . . . . . . . 718
Protocol Based VLANs
IP Subnet Based VLANs . . . . . . . . . . . . . . . . 719
MAC-Based VLANs . . . . . . . . . . . . . . . . . . 719
Commands in this Chapter
dvlan-tunnel ethertype . . . . . . . . . . . . . . . . . 720
interface vlan. . . . . . . . . . . . . . . . . . . . . . 721
. . . . . . . . . . . . . . . . . 718
. . . . . . . . . . . . . . . 719
28 Contents
interface range vlan
. . . . . . . . . . . . . . . . . . 722
mode dvlan-tunnel . . . . . . . . . . . . . . . . . . . 723
name (VLAN Configuration)
protocol group
. . . . . . . . . . . . . . . . . . . . . 725
. . . . . . . . . . . . . . 724
protocol vlan group . . . . . . . . . . . . . . . . . . 726
protocol vlan group all
show dvlan-tunnel
. . . . . . . . . . . . . . . . . 727
. . . . . . . . . . . . . . . . . . . 728
show dvlan-tunnel interface . . . . . . . . . . . . . . 729
show interfaces switchport
. . . . . . . . . . . . . . . 730
show port protocol. . . . . . . . . . . . . . . . . . . . 734
show vlan . . . . . . . . . . . . . . . . . . . . . . . . 735
show vlan association mac
show vlan association subnet
. . . . . . . . . . . . . . . 736
. . . . . . . . . . . . . . 737
switchport access vlan . . . . . . . . . . . . . . . . . 738
switchport forbidden vlan
. . . . . . . . . . . . . . . . 739
switchport general acceptable-frame-type
tagged-only . . . . . . . . . . . . . . . . . . . . . . . 740
switchport general allowed vlan
. . . . . . . . . . . . 740
switchport general ingress-filtering disable . . . . . . 741
switchport general pvid . . . . . . . . . . . . . . . . . 742
switchport mode
. . . . . . . . . . . . . . . . . . . . . 743
switchport trunk . . . . . . . . . . . . . . . . . . . . . 744
vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . 746
vlan (Global Config)
. . . . . . . . . . . . . . . . . . . 747
vlan association mac . . . . . . . . . . . . . . . . . . 748
vlan association subnet . . . . . . . . . . . . . . . . . 748
vlan database
. . . . . . . . . . . . . . . . . . . . . . 749
vlan makestatic . . . . . . . . . . . . . . . . . . . . . 750
Contents 29
vlan protocol group . . . . . . . . . . . . . . . . . . 751
vlan protocol group add protocol
. . . . . . . . . . . 752
vlan protocol group name . . . . . . . . . . . . . . . 753
vlan protocol group remove . . . . . . . . . . . . . . 753
vlan routing
. . . . . . . . . . . . . . . . . . . . . . . 754
37 Voice VLAN Commands . . . . . . . . . . . . . 757
Commands in this Chapter . . . . . . . . . . . . . . . 757
voice vlan . . . . . . . . . . . . . . . . . . . . . . . 758
voice vlan (Interface)
. . . . . . . . . . . . . . . . . 758
voice vlan data priority . . . . . . . . . . . . . . . . 760
show voice vlan . . . . . . . . . . . . . . . . . . . . 760
38 802.1x Commands. . . . . . . . . . . . . . . . . . 763
Local 802.1X Authentication Server . . . . . . . . . . 763
30 Contents
MAC Authentication Bypass . . . . . . . . . . . . . . 764
Guest VLAN. . . . . . . . . . . . . . . . . . . . . . . 765
802.1x Monitor Mode
. . . . . . . . . . . . . . . . . . 765
RADIUS-based Dynamic VLAN Assignment. . . . . . 766
Commands in this Chapter
dot1x dynamic-vlan enable
. . . . . . . . . . . . . . . 766
. . . . . . . . . . . . . . 767
dot1x initialize . . . . . . . . . . . . . . . . . . . . . 768
dot1x mac-auth-bypass . . . . . . . . . . . . . . . . . 768
dot1x max-req
. . . . . . . . . . . . . . . . . . . . . . 769
dot1x max-users . . . . . . . . . . . . . . . . . . . . . 770
dot1x port-control . . . . . . . . . . . . . . . . . . . . 771
dot1x re-authenticate
dot1x reauthentication
. . . . . . . . . . . . . . . . . . 772
. . . . . . . . . . . . . . . . . . 773
dot1x system-auth-control monitor . . . . . . . . . . . 773
dot1x timeout guest-vlan-period
. . . . . . . . . . . . 774
dot1x timeout quiet-period . . . . . . . . . . . . . . . 775
dot1x timeout re-authperiod . . . . . . . . . . . . . . . 776
dot1x timeout server-timeout
. . . . . . . . . . . . . . 777
dot1x timeout supp-timeout . . . . . . . . . . . . . . . 778
dot1x timeout tx-period . . . . . . . . . . . . . . . . . 779
show dot1x
. . . . . . . . . . . . . . . . . . . . . . . . 780
show dot1x authentication-history . . . . . . . . . . . 781
show dot1x clients. . . . . . . . . . . . . . . . . . . . 783
show dot1x interface
. . . . . . . . . . . . . . . . . . 785
show dot1x statistics . . . . . . . . . . . . . . . . . . 787
show dot1x users . . . . . . . . . . . . . . . . . . . . 789
clear dot1x authentication–history
. . . . . . . . . . . 790
dot1x guest-vlan . . . . . . . . . . . . . . . . . . . . . 791
Contents 31
dot1x unauth-vlan . . . . . . . . . . . . . . . . . . . 792
show dot1x advanced
. . . . . . . . . . . . . . . . . 793
radius-server attribute 4 . . . . . . . . . . . . . . . . 794
39 Layer 3 Commands . . . . . . . . . . . . . . . . . 797
40 ARP Commands . . . . . . . . . . . . . . . . . . . 799
ARP Aging . . . . . . . . . . . . . . . . . . . . . . . 800
Commands in this Chapter
arp . . . . . . . . . . . . . . . . . . . . . . . . . . . 800
arp cachesize . . . . . . . . . . . . . . . . . . . . . 801
arp dynamicrenew
arp purge . . . . . . . . . . . . . . . . . . . . . . . . 803
arp resptime . . . . . . . . . . . . . . . . . . . . . . 804
arp retries
. . . . . . . . . . . . . . . . . . . . . . . 805
. . . . . . . . . . . . . . . 800
. . . . . . . . . . . . . . . . . . . 802
32 Contents
arp timeout . . . . . . . . . . . . . . . . . . . . . . . 805
clear arp-cache . . . . . . . . . . . . . . . . . . . . 806
clear arp-cache management
. . . . . . . . . . . . . 807
ip local-proxy-arp . . . . . . . . . . . . . . . . . . . 808
ip proxy-arp
show arp
. . . . . . . . . . . . . . . . . . . . . . 808
. . . . . . . . . . . . . . . . . . . . . . . . 809
41 DHCP Server and Relay Agent
Commands . . . . . . . . . . . . . . . . . . . . . . . 811
Commands in this Chapter. . . . . . . . . . . . . . . . 812
ip dhcp pool
. . . . . . . . . . . . . . . . . . . . . . . 812
bootfile . . . . . . . . . . . . . . . . . . . . . . . . . . 815
clear ip dhcp binding . . . . . . . . . . . . . . . . . . 816
clear ip dhcp conflict
. . . . . . . . . . . . . . . . . . 817
client-identifier . . . . . . . . . . . . . . . . . . . . . 817
client-name . . . . . . . . . . . . . . . . . . . . . . . 818
default-router
. . . . . . . . . . . . . . . . . . . . . . 819
dns-server (IP DHCP Pool Config) . . . . . . . . . . . . 820
domain-name (IP DHCP Pool Config) . . . . . . . . . . 821
hardware-address
. . . . . . . . . . . . . . . . . . . . 822
host. . . . . . . . . . . . . . . . . . . . . . . . . . . . 823
ip dhcp bootp automatic . . . . . . . . . . . . . . . . . 824
ip dhcp conflict logging
. . . . . . . . . . . . . . . . . 824
ip dhcp excluded-address. . . . . . . . . . . . . . . . 825
ip dhcp ping packets
lease
. . . . . . . . . . . . . . . . . . . . . . . . . . . 827
. . . . . . . . . . . . . . . . . . . 826
netbios-name-server. . . . . . . . . . . . . . . . . . . 828
netbios-node-type
network
. . . . . . . . . . . . . . . . . . . . . . . . . 830
. . . . . . . . . . . . . . . . . . . . 829
Contents 33
next-server . . . . . . . . . . . . . . . . . . . . . . . 831
option
. . . . . . . . . . . . . . . . . . . . . . . . . . 832
service dhcp . . . . . . . . . . . . . . . . . . . . . . 836
sntp . . . . . . . . . . . . . . . . . . . . . . . . . . . 836
show ip dhcp binding
show ip dhcp conflict
. . . . . . . . . . . . . . . . . 837
. . . . . . . . . . . . . . . . . 838
show ip dhcp global configuration . . . . . . . . . . 839
show ip dhcp pool
. . . . . . . . . . . . . . . . . . . 839
show ip dhcp server statistics. . . . . . . . . . . . . 840
42 DHCPv6 Commands . . . . . . . . . . . . . . . . 843
clear ipv6 dhcp . . . . . . . . . . . . . . . . . . . . . 843
dns-server (IPv6 DHCP Pool Config)
domain-name (IPv6 DHCP Pool Config) . . . . . . . . 844
ipv6 dhcp pool . . . . . . . . . . . . . . . . . . . . . 845
ipv6 dhcp relay
. . . . . . . . . . . . . . . . . . . . . 846
ipv6 dhcp server . . . . . . . . . . . . . . . . . . . . 847
prefix-delegation
. . . . . . . . . . . . . . . . . . . . 848
. . . . . . . . . . 844
34 Contents
service dhcpv6
. . . . . . . . . . . . . . . . . . . . . 850
show ipv6 dhcp. . . . . . . . . . . . . . . . . . . . . 851
show ipv6 dhcp binding
show ipv6 dhcp interface (User EXEC)
. . . . . . . . . . . . . . . . 851
. . . . . . . . 852
show ipv6 dhcp interface (Privileged EXEC) . . . . . . 854
show ipv6 dhcp pool
. . . . . . . . . . . . . . . . . . . 857
show ipv6 dhcp statistics . . . . . . . . . . . . . . . . 858
43 DVMRP Commands . . . . . . . . . . . . . . . . 861
Commands in this Chapter. . . . . . . . . . . . . . . . 861
ip dvmrp
ip dvmrp metric . . . . . . . . . . . . . . . . . . . . . 862
show ip dvmrp . . . . . . . . . . . . . . . . . . . . . . 863
show ip dvmrp interface
show ip dvmrp neighbor . . . . . . . . . . . . . . . . . 864
show ip dvmrp nexthop . . . . . . . . . . . . . . . . . 865
show ip dvmrp prune
show ip dvmrp route . . . . . . . . . . . . . . . . . . . 867
. . . . . . . . . . . . . . . . . . . . . . . . . 861
. . . . . . . . . . . . . . . . . 864
. . . . . . . . . . . . . . . . . . 866
44 GMRP Commands . . . . . . . . . . . . . . . . . 869
Commands in this Chapter. . . . . . . . . . . . . . . . 870
gmrp enable
. . . . . . . . . . . . . . . . . . . . . . . 870
show gmrp configuration . . . . . . . . . . . . . . . . 871
45 IGMP Commands . . . . . . . . . . . . . . . . . . 873
Commands in this Chapter. . . . . . . . . . . . . . . . 874
Contents 35
ip igmp . . . . . . . . . . . . . . . . . . . . . . . . . 875
ip igmp last-member-query-count
. . . . . . . . . . . 875
ip igmp last-member-query-interval. . . . . . . . . . 876
ip igmp query-interval . . . . . . . . . . . . . . . . . 877
ip igmp query-max-response-time
ip igmp robustness
. . . . . . . . . . . . . . . . . . . 879
. . . . . . . . . . 878
ip igmp startup-query-count . . . . . . . . . . . . . . 879
ip igmp startup-query-interval
. . . . . . . . . . . . . 880
ip igmp version. . . . . . . . . . . . . . . . . . . . . 881
show ip igmp . . . . . . . . . . . . . . . . . . . . . . 882
show ip igmp groups
. . . . . . . . . . . . . . . . . . 883
show ip igmp interface . . . . . . . . . . . . . . . . 884
show ip igmp membership. . . . . . . . . . . . . . . 885
show ip igmp interface stats
. . . . . . . . . . . . . . 886
ip igmp router-alert-optional . . . . . . . . . . . . . 887
46 IGMP Proxy Commands . . . . . . . . . . . . . 889
36 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 889
ip igmp-proxy
. . . . . . . . . . . . . . . . . . . . . . 889
ip igmp-proxy reset-status. . . . . . . . . . . . . . . 890
ip igmp-proxy unsolicited-report-interval
show ip igmp-proxy
. . . . . . . . . . . . . . . . . . 892
. . . . . . . 891
show ip igmp-proxy interface . . . . . . . . . . . . . . 893
show ip igmp-proxy groups
. . . . . . . . . . . . . . . 894
show ip igmp-proxy groups detail . . . . . . . . . . . 894
47 IP Helper/DHCP Relay Commands. . . . . 897
Commands in this Chapter. . . . . . . . . . . . . . . . 899
bootpdhcprelay maxhopcount
bootpdhcprelay minwaittime . . . . . . . . . . . . . . 900
clear ip helper statistics. . . . . . . . . . . . . . . . . 901
ip dhcp relay information check
ip dhcp relay information check-reply . . . . . . . . . 902
ip dhcp relay information option . . . . . . . . . . . . 903
ip dhcp relay information option-insert
ip helper-address (global configuration) . . . . . . . . 905
ip helper-address (interface configuration). . . . . . . 907
. . . . . . . . . . . . . . 899
. . . . . . . . . . . . 901
. . . . . . . . . 904
ip helper enable
. . . . . . . . . . . . . . . . . . . . . 909
show ip helper-address . . . . . . . . . . . . . . . . . 910
show ip dhcp relay
show ip helper statistics
. . . . . . . . . . . . . . . . . . . . 911
. . . . . . . . . . . . . . . . 912
48 IP Routing Commands . . . . . . . . . . . . . . 915
Static Routes/ECMP Static Routes . . . . . . . . . . . 915
Contents 37
Static Reject Routes . . . . . . . . . . . . . . . . . . 916
Default Routes
. . . . . . . . . . . . . . . . . . . . . 916
Commands in this Chapter . . . . . . . . . . . . . . . 916
encapsulation . . . . . . . . . . . . . . . . . . . . . 917
ip address
ip mtu
. . . . . . . . . . . . . . . . . . . . . . . 917
. . . . . . . . . . . . . . . . . . . . . . . . . . 919
ip netdirbcast. . . . . . . . . . . . . . . . . . . . . . 920
ip route
. . . . . . . . . . . . . . . . . . . . . . . . . 921
ip route default . . . . . . . . . . . . . . . . . . . . . 922
ip route distance . . . . . . . . . . . . . . . . . . . . 923
ip routing
. . . . . . . . . . . . . . . . . . . . . . . . 924
routing . . . . . . . . . . . . . . . . . . . . . . . . . 925
show ip brief . . . . . . . . . . . . . . . . . . . . . . 925
show ip interface
. . . . . . . . . . . . . . . . . . . 926
show ip protocols . . . . . . . . . . . . . . . . . . . 929
38 Contents
show ip route . . . . . . . . . . . . . . . . . . . . . . 930
show ip route preferences
. . . . . . . . . . . . . . . 932
show ip route summary . . . . . . . . . . . . . . . . 933
show ip traffic . . . . . . . . . . . . . . . . . . . . . 934
show ip vlan
. . . . . . . . . . . . . . . . . . . . . . 936
49 IPv6 PIM Commands . . . . . . . . . . . . . . . 939
ipv6 pim . . . . . . . . . . . . . . . . . . . . . . . . . 939
ipv6 pim sparse (Global config) . . . . . . . . . . . . . 940
ipv6 pim dense . . . . . . . . . . . . . . . . . . . . . . 940
ipv6 pim bsr-border
. . . . . . . . . . . . . . . . . . . 941
ipv6 pim bsr-candidate . . . . . . . . . . . . . . . . . 942
ipv6 pim dr-priority. . . . . . . . . . . . . . . . . . . . 943
ipv6 pim hello-interval
. . . . . . . . . . . . . . . . . . 943
ipv6 pim join-prune-interval . . . . . . . . . . . . . . . 944
ipv6 pim register-rate-limit . . . . . . . . . . . . . . . 945
ipv6 pim rp-address
. . . . . . . . . . . . . . . . . . . 946
ipv6 pim rp-candidate . . . . . . . . . . . . . . . . . . 947
ipv6 pim spt-threshold . . . . . . . . . . . . . . . . . . 948
ipv6 pim ssm
. . . . . . . . . . . . . . . . . . . . . . . 948
show ipv6 pimsm . . . . . . . . . . . . . . . . . . . . 949
show ipv6 pim bsr-router . . . . . . . . . . . . . . . . 950
show ipv6 pim interface
. . . . . . . . . . . . . . . . . 952
show ipv6 pim neighbor . . . . . . . . . . . . . . . . . 954
show ipv6 pim rp hash
. . . . . . . . . . . . . . . . . . 955
show ipv6 pim rp mapping
. . . . . . . . . . . . . . . . 956
Contents 39
50 IPv6 Routing Commands . . . . . . . . . . . . 959
IPv6 Limitations & Restrictions . . . . . . . . . . . . 959
Commands in this Chapter . . . . . . . . . . . . . . . 959
clear ipv6 neighbors . . . . . . . . . . . . . . . . . . 961
clear ipv6 statistics
. . . . . . . . . . . . . . . . . . 961
ipv6 address . . . . . . . . . . . . . . . . . . . . . . 962
ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . 963
ipv6 hop-limit
. . . . . . . . . . . . . . . . . . . . . . 964
ipv6 host . . . . . . . . . . . . . . . . . . . . . . . . 965
ipv6 mld last-member-query-count . . . . . . . . . . 965
ipv6 mld last-member-query-interval
. . . . . . . . . 966
ipv6 mld-proxy . . . . . . . . . . . . . . . . . . . . . 967
ipv6 mld-proxy reset-status . . . . . . . . . . . . . . 967
ipv6 mld-proxy unsolicit-rprt-interval
. . . . . . . . . 968
ipv6 mld query-interval . . . . . . . . . . . . . . . . 969
ipv6 mld query-max-response-time . . . . . . . . . . 970
ipv6 mld router
. . . . . . . . . . . . . . . . . . . . . 970
ipv6 mtu. . . . . . . . . . . . . . . . . . . . . . . . . 971
40 Contents
ipv6 nd dad attempts
ipv6 nd managed-config-flag
. . . . . . . . . . . . . . . . . . 972
. . . . . . . . . . . . . 973
ipv6 nd ns-interval . . . . . . . . . . . . . . . . . . . 974
ipv6 nd other-config-flag . . . . . . . . . . . . . . . . 974
ipv6 nd prefix
. . . . . . . . . . . . . . . . . . . . . . . 975
ipv6 nd ra-interval . . . . . . . . . . . . . . . . . . . . 977
ipv6 nd ra-lifetime . . . . . . . . . . . . . . . . . . . . 978
ipv6 nd reachable-time
ipv6 nd suppress-ra
. . . . . . . . . . . . . . . . . 978
. . . . . . . . . . . . . . . . . . . 979
ipv6 route. . . . . . . . . . . . . . . . . . . . . . . . . 980
ipv6 route distance
. . . . . . . . . . . . . . . . . . . . 981
ipv6 unicast-routing . . . . . . . . . . . . . . . . . . . 982
ping ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . 983
ping ipv6 interface
. . . . . . . . . . . . . . . . . . . . 984
show ipv6 brief. . . . . . . . . . . . . . . . . . . . . . 985
show ipv6 interface . . . . . . . . . . . . . . . . . . . 986
show ipv6 interface management statistics
. . . . . . 988
show ipv6 mld groups . . . . . . . . . . . . . . . . . . 990
show ipv6 mld interface . . . . . . . . . . . . . . . . . 993
show ipv6 mld-proxy
. . . . . . . . . . . . . . . . . . . 995
show ipv6 mld-proxy groups . . . . . . . . . . . . . . 997
show ipv6 mld-proxy groups detail . . . . . . . . . . . 998
show ipv6 mld-proxy interface
. . . . . . . . . . . . 1000
show ipv6 mld traffic . . . . . . . . . . . . . . . . . 1001
Contents 41
show ipv6 neighbors . . . . . . . . . . . . . . . . . . 1003
show ipv6 route
. . . . . . . . . . . . . . . . . . . . 1004
show ipv6 route preferences . . . . . . . . . . . . . 1005
show ipv6 route summary . . . . . . . . . . . . . . . 1006
show ipv6 traffic
show ipv6 vlan
. . . . . . . . . . . . . . . . . . . . 1007
. . . . . . . . . . . . . . . . . . . . . 1010
traceroute ipv6 . . . . . . . . . . . . . . . . . . . . . 1010
51 Loopback Interface Commands . . . . . . 1013
Commands in this Chapter . . . . . . . . . . . . . . . 1013
interface loopback. . . . . . . . . . . . . . . . . . . 1013
show interfaces loopback . . . . . . . . . . . . . . . 1014
52 Multicast Commands . . . . . . . . . . . . . . 1017
Commands in this Chapter . . . . . . . . . . . . . . . 1018
42 Contents
ip mcast boundary . . . . . . . . . . . . . . . . . . . 1019
ip mroute . . . . . . . . . . . . . . . . . . . . . . . . 1019
ip multicast
. . . . . . . . . . . . . . . . . . . . . . . 1020
ip multicast ttl-threshold. . . . . . . . . . . . . . . . 1021
ip pim
. . . . . . . . . . . . . . . . . . . . . . . . . . 1022
ip pim bsr-border
. . . . . . . . . . . . . . . . . . . . 1023
ip pim bsr-candidate . . . . . . . . . . . . . . . . . . 1023
ip pim dense . . . . . . . . . . . . . . . . . . . . . . 1024
ip pim dr-priority
. . . . . . . . . . . . . . . . . . . . 1025
ip pim hello-interval . . . . . . . . . . . . . . . . . . 1026
ip pim join-prune-interval . . . . . . . . . . . . . . . 1027
ip pim register-rate-limit
ip pim rp-address
. . . . . . . . . . . . . . . 1027
. . . . . . . . . . . . . . . . . . . 1028
ip pim rp-candidate . . . . . . . . . . . . . . . . . . 1029
ip pim sparse
. . . . . . . . . . . . . . . . . . . . . . 1030
ip pim ssm . . . . . . . . . . . . . . . . . . . . . . . 1031
ip pim spt-threshold . . . . . . . . . . . . . . . . . . 1032
show bridge multicast address-table count
. . . . . 1033
show ip multicast . . . . . . . . . . . . . . . . . . . 1034
show ip mcast boundary. . . . . . . . . . . . . . . . 1035
show ip multicast interface
. . . . . . . . . . . . . . 1036
show ip mcast mroute . . . . . . . . . . . . . . . . . 1036
show ip mcast mroute group . . . . . . . . . . . . . 1037
show ip mcast mroute source
. . . . . . . . . . . . . 1038
show ip mcast mroute static . . . . . . . . . . . . . 1039
show ip pim bsr-router. . . . . . . . . . . . . . . . . 1040
show ip pim interface
. . . . . . . . . . . . . . . . . 1041
show ip pim neighbor . . . . . . . . . . . . . . . . . 1043
Contents 43
show ip pim rp hash . . . . . . . . . . . . . . . . . . 1044
show ip pim rp mapping
. . . . . . . . . . . . . . . . 1045
53 IPv6 Multicast Commands . . . . . . . . . . 1049
ipv6 pimsm (Global config) . . . . . . . . . . . . . . 1049
ipv6 pimsm (VLAN Interface config). . . . . . . . . . 1050
ipv6 pimsm bsr-border
ipv6 pimsm bsr-candidate . . . . . . . . . . . . . . . 1051
ipv6 pimsm dr-priority . . . . . . . . . . . . . . . . . 1052
ipv6 pimsm hello-interval
ipv6 pimsm join-prune-interval . . . . . . . . . . . . 1053
ipv6 pimsm register-threshold . . . . . . . . . . . . . 1054
ipv6 pimsm rp-address
ipv6 pimsm rp-candidate. . . . . . . . . . . . . . . . 1056
ipv6 pimsm spt-threshold . . . . . . . . . . . . . . . 1056
. . . . . . . . . . . . . . . . . 1050
. . . . . . . . . . . . . . . 1053
. . . . . . . . . . . . . . . . . 1055
44 Contents
ipv6 pimsm ssm
. . . . . . . . . . . . . . . . . . . . 1057
show ipv6 pimsm . . . . . . . . . . . . . . . . . . . . 1058
show ipv6 pimsm bsr
show ipv6 pimsm interface
. . . . . . . . . . . . . . . . . . 1059
. . . . . . . . . . . . . . 1060
show ipv6 pimsm neighbor . . . . . . . . . . . . . . 1061
show ipv6 pimsm rphash
show ipv6 pimsm rp mapping
. . . . . . . . . . . . . . . . 1062
. . . . . . . . . . . . . 1063
54 OSPF Commands . . . . . . . . . . . . . . . . . 1065
Route Preferences . . . . . . . . . . . . . . . . . . . 1066
OSPF Equal Cost Multipath (ECMP) . . . . . . . . . . 1066
Forwarding of OSPF Opaque LSAs Enabled
by Default
. . . . . . . . . . . . . . . . . . . . . . . 1067
Passive Interfaces . . . . . . . . . . . . . . . . . . . 1067
Graceful Restart . . . . . . . . . . . . . . . . . . . . 1068
Commands in this Chapter
. . . . . . . . . . . . . . . 1068
area default-cost (Router OSPF). . . . . . . . . . . . 1069
area nssa (Router OSPF) . . . . . . . . . . . . . . . . 1070
area nssa default-info-originate
. . . . . . . . . . . 1072
area nssa no-redistribute . . . . . . . . . . . . . . . 1073
area nssa no-summary. . . . . . . . . . . . . . . . . 1073
area nssa translator-role
. . . . . . . . . . . . . . . 1074
area nssa translator-stab-intv . . . . . . . . . . . . . 1075
area range (Router OSPF) . . . . . . . . . . . . . . . 1076
area stub
. . . . . . . . . . . . . . . . . . . . . . . . 1077
area stub no-summary . . . . . . . . . . . . . . . . . 1078
area virtual-link
area virtual-link authentication
. . . . . . . . . . . . . . . . . . . . 1079
. . . . . . . . . . . . 1081
area virtual-link dead-interval . . . . . . . . . . . . 1082
Contents 45
area virtual-link hello-interval . . . . . . . . . . . . 1083
area virtual-link retransmit-interval
. . . . . . . . . . 1084
area virtual-link transmit-delay . . . . . . . . . . . . 1085
auto-cost . . . . . . . . . . . . . . . . . . . . . . . . 1086
bandwidth
capability opaque
. . . . . . . . . . . . . . . . . . . . . . . 1087
. . . . . . . . . . . . . . . . . . . 1088
clear ip ospf . . . . . . . . . . . . . . . . . . . . . . 1088
compatible rfc1583
. . . . . . . . . . . . . . . . . . . 1089
default-information originate . . . . . . . . . . . . . 1090
default-metric . . . . . . . . . . . . . . . . . . . . . 1091
distance ospf
. . . . . . . . . . . . . . . . . . . . . . 1092
distribute-list out. . . . . . . . . . . . . . . . . . . . 1093
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1094
exit-overflow-interval
. . . . . . . . . . . . . . . . . 1095
external-lsdb-limit . . . . . . . . . . . . . . . . . . . 1096
46 Contents
ip ospf area . . . . . . . . . . . . . . . . . . . . . . . 1097
ip ospf authentication
. . . . . . . . . . . . . . . . . 1098
ip ospf cost . . . . . . . . . . . . . . . . . . . . . . . 1099
ip ospf dead-interval . . . . . . . . . . . . . . . . . . 1099
ip ospf hello-interval
. . . . . . . . . . . . . . . . . . 1100
ip ospf mtu-ignore . . . . . . . . . . . . . . . . . . . 1101
ip ospf network . . . . . . . . . . . . . . . . . . . . 1102
ip ospf priority
. . . . . . . . . . . . . . . . . . . . . 1103
ip ospf retransmit-interval. . . . . . . . . . . . . . . 1103
ip ospf transmit-delay . . . . . . . . . . . . . . . . . 1104
maximum-paths
network area
. . . . . . . . . . . . . . . . . . . . 1105
. . . . . . . . . . . . . . . . . . . . . . 1106
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1107
nsf helper
. . . . . . . . . . . . . . . . . . . . . . . 1108
nsf helper strict-lsa-checking. . . . . . . . . . . . . 1109
nsf restart-interval. . . . . . . . . . . . . . . . . . . 1110
passive-interface default
. . . . . . . . . . . . . . . 1111
passive-interface . . . . . . . . . . . . . . . . . . . 1111
redistribute. . . . . . . . . . . . . . . . . . . . . . . 1112
router-id
. . . . . . . . . . . . . . . . . . . . . . . . 1113
router ospf . . . . . . . . . . . . . . . . . . . . . . . 1114
show ip ospf . . . . . . . . . . . . . . . . . . . . . . 1115
show ip ospf abr
. . . . . . . . . . . . . . . . . . . . 1120
show ip ospf area . . . . . . . . . . . . . . . . . . . 1121
show ip ospf asbr . . . . . . . . . . . . . . . . . . . 1123
show ip ospf database
. . . . . . . . . . . . . . . . . 1124
show ip ospf database database-summary . . . . . . 1127
Contents 47
show ip ospf interface . . . . . . . . . . . . . . . . . 1129
show ip ospf interface brief
. . . . . . . . . . . . . . 1131
show ip ospf interface stats . . . . . . . . . . . . . . 1131
show ip ospf neighbor . . . . . . . . . . . . . . . . . 1132
show ip ospf range
show ip ospf statistics
. . . . . . . . . . . . . . . . . . . 1135
. . . . . . . . . . . . . . . . . 1136
show ip ospf stub table . . . . . . . . . . . . . . . . 1137
show ip ospf virtual-link
. . . . . . . . . . . . . . . . 1138
show ip ospf virtual-links brief . . . . . . . . . . . . 1139
timers spf . . . . . . . . . . . . . . . . . . . . . . . . 1140
55 OSPFv3 Commands . . . . . . . . . . . . . . . 1143
area default-cost (Router OSPFv3). . . . . . . . . . . 1144
area nssa (Router OSPFv3) . . . . . . . . . . . . . . . 1145
area nssa default-info-originate. . . . . . . . . . . . 1146
48 Contents
area nssa no-redistribute
. . . . . . . . . . . . . . . 1147
area nssa no-summary . . . . . . . . . . . . . . . . . 1148
area nssa translator-role
area nssa translator-stab-intv
. . . . . . . . . . . . . . . . 1149
. . . . . . . . . . . . . 1150
area range (Router OSPFv3) . . . . . . . . . . . . . . 1151
area stub
area stub no-summary
. . . . . . . . . . . . . . . . . . . . . . . . 1152
. . . . . . . . . . . . . . . . . 1153
area virtual-link . . . . . . . . . . . . . . . . . . . . 1154
area virtual-link dead-interval
. . . . . . . . . . . . 1156
area virtual-link hello-interval . . . . . . . . . . . . 1156
area virtual-link retransmit-interval . . . . . . . . . 1157
area virtual-link transmit-delay
default-information originate
. . . . . . . . . . . . 1158
. . . . . . . . . . . . . 1159
default-metric . . . . . . . . . . . . . . . . . . . . . 1160
distance ospf
. . . . . . . . . . . . . . . . . . . . . . 1161
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1162
exit-overflow-interval . . . . . . . . . . . . . . . . . 1163
external-lsdb-limit
. . . . . . . . . . . . . . . . . . . 1163
ipv6 ospf . . . . . . . . . . . . . . . . . . . . . . . . 1164
ipv6 ospf area . . . . . . . . . . . . . . . . . . . . . 1165
ipv6 ospf cost
. . . . . . . . . . . . . . . . . . . . . 1166
ipv6 ospf dead-interval . . . . . . . . . . . . . . . . 1167
ipv6 ospf hello-interval . . . . . . . . . . . . . . . . 1167
ipv6 ospf mtu-ignore
. . . . . . . . . . . . . . . . . . 1168
ipv6 ospf network . . . . . . . . . . . . . . . . . . . 1169
ipv6 ospf priority . . . . . . . . . . . . . . . . . . . . 1170
ipv6 ospf retransmit-interval
. . . . . . . . . . . . . 1171
ipv6 ospf transmit-delay . . . . . . . . . . . . . . . . 1172
Contents 49
ipv6 router ospf. . . . . . . . . . . . . . . . . . . . . 1172
maximum-paths
. . . . . . . . . . . . . . . . . . . . 1173
nsf . . . . . . . . . . . . . . . . . . . . . . . . . . . 1174
nsf helper. . . . . . . . . . . . . . . . . . . . . . . . 1175
nsf helper strict-lsa-checking
nsf restart-interval
. . . . . . . . . . . . . . . . . . . 1176
. . . . . . . . . . . . . 1176
passive-interface . . . . . . . . . . . . . . . . . . . 1177
passive-interface default
. . . . . . . . . . . . . . . 1178
redistribute . . . . . . . . . . . . . . . . . . . . . . . 1179
router-id . . . . . . . . . . . . . . . . . . . . . . . . 1179
show ipv6 ospf
. . . . . . . . . . . . . . . . . . . . . 1180
show ipv6 ospf abr . . . . . . . . . . . . . . . . . . . 1184
show ipv6 ospf area . . . . . . . . . . . . . . . . . . 1185
show ipv6 ospf asbr
. . . . . . . . . . . . . . . . . . 1186
show ipv6 ospf border-routers. . . . . . . . . . . . . 1187
50 Contents
show ipv6 ospf database. . . . . . . . . . . . . . . . 1187
show ipv6 ospf database database-summary
. . . . . 1190
show ipv6 ospf interface. . . . . . . . . . . . . . . . 1191
show ipv6 ospf interface brief . . . . . . . . . . . . . 1193
show ipv6 ospf interface stats
. . . . . . . . . . . . . 1194
show ipv6 ospf interface vlan . . . . . . . . . . . . . 1195
show ipv6 ospf neighbor. . . . . . . . . . . . . . . . 1197
show ipv6 ospf range
show ipv6 ospf stub table . . . . . . . . . . . . . . . 1199
show ipv6 ospf virtual-links . . . . . . . . . . . . . . 1200
show ipv6 ospf virtual-link brief
. . . . . . . . . . . . . . . . . 1198
. . . . . . . . . . . 1201
56 Router Discovery Protocol
Commands . . . . . . . . . . . . . . . . . . . . . . 1203
Commands in this Chapter. . . . . . . . . . . . . . . 1203
ip irdp . . . . . . . . . . . . . . . . . . . . . . . . . 1203
ip irdp address . . . . . . . . . . . . . . . . . . . . . 1205
ip irdp holdtime
ip irdp maxadvertinterval . . . . . . . . . . . . . . . 1207
ip irdp minadvertinterval . . . . . . . . . . . . . . . 1208
ip irdp multicast
. . . . . . . . . . . . . . . . . . . . 1206
. . . . . . . . . . . . . . . . . . . . 1209
ip irdp preference . . . . . . . . . . . . . . . . . . . 1210
show ip irdp . . . . . . . . . . . . . . . . . . . . . . 1210
57 Routing Information Protocol
Commands . . . . . . . . . . . . . . . . . . . . . . 1213
Commands in this Chapter. . . . . . . . . . . . . . . 1213
auto-summary
default-information originate . . . . . . . . . . . . . 1214
. . . . . . . . . . . . . . . . . . . . . 1213
Contents 51
default-metric . . . . . . . . . . . . . . . . . . . . . 1215
distance rip
. . . . . . . . . . . . . . . . . . . . . . . 1215
distribute-list out. . . . . . . . . . . . . . . . . . . . 1216
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1217
hostroutesaccept
ip rip
. . . . . . . . . . . . . . . . . . . . . . . . . . 1218
. . . . . . . . . . . . . . . . . . . . 1218
ip rip authentication . . . . . . . . . . . . . . . . . . 1219
ip rip receive version
. . . . . . . . . . . . . . . . . 1220
ip rip send version . . . . . . . . . . . . . . . . . . . 1221
redistribute . . . . . . . . . . . . . . . . . . . . . . . 1222
router rip
. . . . . . . . . . . . . . . . . . . . . . . . 1223
show ip rip . . . . . . . . . . . . . . . . . . . . . . . 1224
show ip rip interface. . . . . . . . . . . . . . . . . . 1225
show ip rip interface brief
. . . . . . . . . . . . . . . 1226
split-horizon . . . . . . . . . . . . . . . . . . . . . . 1227
58 Tunnel Interface Commands . . . . . . . . 1229
52 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 1229
interface tunnel
. . . . . . . . . . . . . . . . . . . . 1230
show interfaces tunnel . . . . . . . . . . . . . . . . 1230
tunnel destination
tunnel mode ipv6ip
. . . . . . . . . . . . . . . . . . . 1231
. . . . . . . . . . . . . . . . . . . 1232
tunnel source . . . . . . . . . . . . . . . . . . . . . 1233
59 Virtual Router Redundancy Protocol
Commands . . . . . . . . . . . . . . . . . . . . . . 1235
Pingable VRRP Interface . . . . . . . . . . . . . . . 1235
VRRP Route/Interface Tracking
Interface Tracking
. . . . . . . . . . . . . . . . . . . 1237
. . . . . . . . . . . . 1236
Route Tracking . . . . . . . . . . . . . . . . . . . . . 1237
Commands in this Chapter
. . . . . . . . . . . . . . . 1237
ip vrrp . . . . . . . . . . . . . . . . . . . . . . . . . 1238
vrrp accept-mode . . . . . . . . . . . . . . . . . . . 1238
vrrp authentication
. . . . . . . . . . . . . . . . . . 1239
vrrp description . . . . . . . . . . . . . . . . . . . . 1240
vrrp ip . . . . . . . . . . . . . . . . . . . . . . . . . 1241
vrrp mode
. . . . . . . . . . . . . . . . . . . . . . . 1242
vrrp preempt . . . . . . . . . . . . . . . . . . . . . . 1243
vrrp priority. . . . . . . . . . . . . . . . . . . . . . . 1244
vrrp timers advertise
. . . . . . . . . . . . . . . . . . 1245
vrrp timers learn . . . . . . . . . . . . . . . . . . . . 1246
vrrp track interface
vrrp track ip route
. . . . . . . . . . . . . . . . . . 1247
. . . . . . . . . . . . . . . . . . . 1248
show vrrp . . . . . . . . . . . . . . . . . . . . . . . 1250
Contents 53
show vrrp interface . . . . . . . . . . . . . . . . . . 1252
show vrrp interface brief
. . . . . . . . . . . . . . . 1254
show vrrp interface stats . . . . . . . . . . . . . . . 1255
ip vrrp accept-mode . . . . . . . . . . . . . . . . . . 1256
show ip vrrp interface
. . . . . . . . . . . . . . . . . 1257
60 Utility Commands . . . . . . . . . . . . . . . . . 1259
61 Auto-Install Commands . . . . . . . . . . . . 1261
Commands in this Chapter . . . . . . . . . . . . . . . 1262
boot auto-copy-sw . . . . . . . . . . . . . . . . . . . 1262
boot auto-copy-sw allow-downgrade
boot host autoreboot . . . . . . . . . . . . . . . . . . 1264
boot host autosave . . . . . . . . . . . . . . . . . . . 1265
boot host dhcp
. . . . . . . . . . . . . . . . . . . . . 1265
. . . . . . . . . 1263
62 Captive Portal Commands . . . . . . . . . . 1271
54 Contents
boot host retrycount . . . . . . . . . . . . . . . . . . 1266
show auto-copy-sw . . . . . . . . . . . . . . . . . . 1267
show boot
. . . . . . . . . . . . . . . . . . . . . . . 1268
Commands in this Chapter . . . . . . . . . . . . . . . 1271
authentication timeout
. . . . . . . . . . . . . . . . . 1273
captive-portal . . . . . . . . . . . . . . . . . . . . . 1273
enable
. . . . . . . . . . . . . . . . . . . . . . . . . 1274
http port . . . . . . . . . . . . . . . . . . . . . . . . 1275
https port . . . . . . . . . . . . . . . . . . . . . . . . 1275
show captive-portal
show captive-portal status
. . . . . . . . . . . . . . . . . . 1276
. . . . . . . . . . . . . . 1277
block . . . . . . . . . . . . . . . . . . . . . . . . . . 1278
configuration
. . . . . . . . . . . . . . . . . . . . . . 1279
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1279
group . . . . . . . . . . . . . . . . . . . . . . . . . . 1280
interface
. . . . . . . . . . . . . . . . . . . . . . . . 1281
locale. . . . . . . . . . . . . . . . . . . . . . . . . . 1281
name (Captive Portal) . . . . . . . . . . . . . . . . . 1282
protocol
. . . . . . . . . . . . . . . . . . . . . . . . 1283
redirect. . . . . . . . . . . . . . . . . . . . . . . . . 1283
redirect-url. . . . . . . . . . . . . . . . . . . . . . . 1284
session-timeout
. . . . . . . . . . . . . . . . . . . . 1284
verification. . . . . . . . . . . . . . . . . . . . . . . 1285
captive-portal client deauthenticate . . . . . . . . . 1286
show captive-portal client status
. . . . . . . . . . . 1286
show captive-portal configuration client status . . . 1287
Contents 55
show captive-portal interface client status. . . . . . 1288
show captive-portal interface
configuration status
. . . . . . . . . . . . . . . . . . 1290
clear captive-portal users
. . . . . . . . . . . . . . . 1291
no user . . . . . . . . . . . . . . . . . . . . . . . . . 1291
show captive-portal user . . . . . . . . . . . . . . . 1292
user group
. . . . . . . . . . . . . . . . . . . . . . . 1293
user-logout . . . . . . . . . . . . . . . . . . . . . . . 1294
user name . . . . . . . . . . . . . . . . . . . . . . . 1295
user password
. . . . . . . . . . . . . . . . . . . . . 1295
user session-timeout. . . . . . . . . . . . . . . . . . 1296
show captive-portal configuration . . . . . . . . . . 1297
show captive-portal configuration interface
. . . . . 1298
show captive-portal configuration locales . . . . . . 1299
show captive-portal configuration status. . . . . . . 1300
user group
. . . . . . . . . . . . . . . . . . . . . . . 1301
user group moveusers . . . . . . . . . . . . . . . . . 1302
63 CLI Macro Commands . . . . . . . . . . . . . 1305
56 Contents
user group name
. . . . . . . . . . . . . . . . . . . . 1302
Commands in this Chapter . . . . . . . . . . . . . . . 1306
macro name . . . . . . . . . . . . . . . . . . . . . . 1306
macro global apply . . . . . . . . . . . . . . . . . . 1307
macro global trace
. . . . . . . . . . . . . . . . . . . 1308
macro global description . . . . . . . . . . . . . . . 1309
macro apply . . . . . . . . . . . . . . . . . . . . . . 1310
macro trace
macro description
. . . . . . . . . . . . . . . . . . . . . . 1311
. . . . . . . . . . . . . . . . . . . 1312
show parser macro . . . . . . . . . . . . . . . . . . 1312
64 Clock Commands . . . . . . . . . . . . . . . . . 1315
Real-time Clock . . . . . . . . . . . . . . . . . . . . 1315
Simple Network Time Protocol . . . . . . . . . . . . 1315
Commands in this Chapter. . . . . . . . . . . . . . . 1316
show sntp configuration
show sntp server . . . . . . . . . . . . . . . . . . . . 1317
show sntp status . . . . . . . . . . . . . . . . . . . . 1319
. . . . . . . . . . . . . . . . 1316
sntp authenticate
. . . . . . . . . . . . . . . . . . . 1320
sntp authentication-key . . . . . . . . . . . . . . . . 1321
sntp broadcast client enable
sntp client poll timer
. . . . . . . . . . . . . 1322
. . . . . . . . . . . . . . . . . . 1322
sntp server . . . . . . . . . . . . . . . . . . . . . . . 1323
sntp trusted-key
sntp unicast client enable
. . . . . . . . . . . . . . . . . . . . 1324
. . . . . . . . . . . . . . . 1325
Contents 57
clock timezone hours-offset . . . . . . . . . . . . . . 1326
no clock timezone
. . . . . . . . . . . . . . . . . . . 1326
clock summer-time recurring . . . . . . . . . . . . . 1327
clock summer-time date . . . . . . . . . . . . . . . . 1328
no clock summer-time
show clock
. . . . . . . . . . . . . . . . . . . . . . . 1330
. . . . . . . . . . . . . . . . . 1329
65 Command Line Configuration Scripting
Commands . . . . . . . . . . . . . . . . . . . . . . 1333
Commands in this Chapter . . . . . . . . . . . . . . . 1333
script apply. . . . . . . . . . . . . . . . . . . . . . . 1333
script delete
script list . . . . . . . . . . . . . . . . . . . . . . . . 1335
script show . . . . . . . . . . . . . . . . . . . . . . . 1335
script validate
. . . . . . . . . . . . . . . . . . . . . . 1334
. . . . . . . . . . . . . . . . . . . . . 1336
66 Configuration and Image File
Commands . . . . . . . . . . . . . . . . . . . . . . 1339
58 Contents
File System Commands . . . . . . . . . . . . . . . . 1339
Command Line Interface Scripting . . . . . . . . . . 1339
Commands in this Chapter
boot system
. . . . . . . . . . . . . . . . . . . . . . . 1340
. . . . . . . . . . . . . . . 1339
clear config. . . . . . . . . . . . . . . . . . . . . . . 1341
copy . . . . . . . . . . . . . . . . . . . . . . . . . . 1341
delete
. . . . . . . . . . . . . . . . . . . . . . . . . . 1347
delete backup-config . . . . . . . . . . . . . . . . . 1348
delete backup-image . . . . . . . . . . . . . . . . . 1348
delete startup-config
dir
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1350
. . . . . . . . . . . . . . . . . 1349
erase . . . . . . . . . . . . . . . . . . . . . . . . . . 1351
filedescr
. . . . . . . . . . . . . . . . . . . . . . . . 1351
rename . . . . . . . . . . . . . . . . . . . . . . . . . 1352
show backup-config. . . . . . . . . . . . . . . . . . 1353
show bootvar
. . . . . . . . . . . . . . . . . . . . . . 1354
show running-config. . . . . . . . . . . . . . . . . . 1355
show startup-config . . . . . . . . . . . . . . . . . . 1356
update bootcode
. . . . . . . . . . . . . . . . . . . . 1358
write . . . . . . . . . . . . . . . . . . . . . . . . . . 1359
67 Denial of Service Commands . . . . . . . 1361
Commands in this Chapter. . . . . . . . . . . . . . . 1362
dos-control firstfrag
. . . . . . . . . . . . . . . . . . 1363
dos-control icmp. . . . . . . . . . . . . . . . . . . . 1363
dos-control l4port
dos-control sipdip
. . . . . . . . . . . . . . . . . . . 1364
. . . . . . . . . . . . . . . . . . . 1365
Contents 59
dos-control tcpflag. . . . . . . . . . . . . . . . . . . 1366
dos-control tcpfrag
. . . . . . . . . . . . . . . . . . . 1366
ip icmp echo-reply . . . . . . . . . . . . . . . . . . . 1367
ip icmp error-interval . . . . . . . . . . . . . . . . . 1368
ip unreachables
ip redirects
. . . . . . . . . . . . . . . . . . . . 1369
. . . . . . . . . . . . . . . . . . . . . . . 1369
ipv6 icmp error-interval . . . . . . . . . . . . . . . . 1370
ipv6 unreachables
. . . . . . . . . . . . . . . . . . . 1371
show dos-control . . . . . . . . . . . . . . . . . . . 1371
68 Line Commands . . . . . . . . . . . . . . . . . . 1373
exec-timeout . . . . . . . . . . . . . . . . . . . . . . 1373
history
. . . . . . . . . . . . . . . . . . . . . . . . . 1374
history size . . . . . . . . . . . . . . . . . . . . . . . 1374
line . . . . . . . . . . . . . . . . . . . . . . . . . . . 1375
69 Management ACL Commands . . . . . . . 1379
60 Contents
show line
. . . . . . . . . . . . . . . . . . . . . . . . 1376
speed . . . . . . . . . . . . . . . . . . . . . . . . . . 1377
Commands in this Chapter . . . . . . . . . . . . . . . 1379
deny (management)
. . . . . . . . . . . . . . . . . . 1380
management access-class . . . . . . . . . . . . . . 1381
management access-list . . . . . . . . . . . . . . . 1382
permit (management)
. . . . . . . . . . . . . . . . . 1383
show management access-class . . . . . . . . . . . 1385
show management access-list . . . . . . . . . . . . 1386
70 Mode Commands . . . . . . . . . . . . . . . . . 1387
configure terminal . . . . . . . . . . . . . . . . . . . 1387
do. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1387
71 Password Management
Commands . . . . . . . . . . . . . . . . . . . . . . 1389
Configurable Minimum Password Length. . . . . . . 1389
Password History . . . . . . . . . . . . . . . . . . . 1389
Password Aging
User Lockout . . . . . . . . . . . . . . . . . . . . . . 1389
Password Strength . . . . . . . . . . . . . . . . . . 1390
. . . . . . . . . . . . . . . . . . . . 1389
Commands in this Chapter
passwords aging
. . . . . . . . . . . . . . . . . . . . 1392
passwords history
passwords lock-out
. . . . . . . . . . . . . . . 1391
. . . . . . . . . . . . . . . . . . . 1393
. . . . . . . . . . . . . . . . . . 1394
passwords min-length . . . . . . . . . . . . . . . . . 1395
passwords strength-check
. . . . . . . . . . . . . . 1395
Contents 61
passwords strength minimum uppercase-letters . . . 1396
passwords strength minimum lowercase-letters
. . . 1397
passwords strength minimum
numeric-characters . . . . . . . . . . . . . . . . . . 1398
passwords strength minimum
special-characters
. . . . . . . . . . . . . . . . . . . 1399
passwords strength max-limit
consecutive-characters
. . . . . . . . . . . . . . . . 1400
passwords strength max-limit
repeated-characters . . . . . . . . . . . . . . . . . . 1401
passwords strength minimum
character-classes
. . . . . . . . . . . . . . . . . . . 1401
passwords strength exclude-keyword . . . . . . . . 1402
enable password encrypted
. . . . . . . . . . . . . . 1403
show passwords configuration . . . . . . . . . . . . 1404
72 PHY Diagnostics Commands . . . . . . . . 1409
62 Contents
show passwords result . . . . . . . . . . . . . . . . 1406
show copper-ports tdr . . . . . . . . . . . . . . . . . 1409
show fiber-ports optical-transceiver . . . . . . . . . 1410
test copper-port tdr
. . . . . . . . . . . . . . . . . . . 1411
73 RMON Commands . . . . . . . . . . . . . . . . 1413
Commands in this Chapter. . . . . . . . . . . . . . . 1413
rmon alarm . . . . . . . . . . . . . . . . . . . . . . . 1413
rmon collection history . . . . . . . . . . . . . . . . 1416
rmon event
. . . . . . . . . . . . . . . . . . . . . . . 1417
show rmon alarm . . . . . . . . . . . . . . . . . . . 1418
show rmon alarms . . . . . . . . . . . . . . . . . . . 1420
show rmon collection history
. . . . . . . . . . . . . 1421
show rmon events . . . . . . . . . . . . . . . . . . . 1422
show rmon history . . . . . . . . . . . . . . . . . . . 1423
show rmon log
. . . . . . . . . . . . . . . . . . . . . 1427
show rmon statistics. . . . . . . . . . . . . . . . . . 1428
74 SDM Templates Commands . . . . . . . . . 1433
Commands in this Chapter. . . . . . . . . . . . . . . 1433
sdm prefer
show sdm prefer . . . . . . . . . . . . . . . . . . . . 1435
. . . . . . . . . . . . . . . . . . . . . . . 1433
75 Serviceability Tracing Packet
Commands
Commands in this Chapter. . . . . . . . . . . . . . . 1439
debug arp
. . . . . . . . . . . . . . . . . . . . . . 1439
. . . . . . . . . . . . . . . . . . . . . . . 1440
Contents 63
debug auto-voip . . . . . . . . . . . . . . . . . . . . 1441
debug clear
. . . . . . . . . . . . . . . . . . . . . . . 1441
debug console . . . . . . . . . . . . . . . . . . . . . 1442
debug dot1x . . . . . . . . . . . . . . . . . . . . . . 1442
debug igmpsnooping
debug ip acl
. . . . . . . . . . . . . . . . . . 1443
. . . . . . . . . . . . . . . . . . . . . . 1444
debug ip dvmrp . . . . . . . . . . . . . . . . . . . . . 1444
debug ip igmp
. . . . . . . . . . . . . . . . . . . . . 1445
debug ip mcache . . . . . . . . . . . . . . . . . . . . 1446
debug ip pimdm . . . . . . . . . . . . . . . . . . . . 1447
debug ip pimsm
. . . . . . . . . . . . . . . . . . . . 1447
debug ip vrrp . . . . . . . . . . . . . . . . . . . . . . 1448
debug ipv6 dhcp . . . . . . . . . . . . . . . . . . . . 1449
debug ipv6 mcache
. . . . . . . . . . . . . . . . . . 1450
debug ipv6 mld . . . . . . . . . . . . . . . . . . . . . 1450
64 Contents
debug ipv6 pimdm . . . . . . . . . . . . . . . . . . . 1451
debug ipv6 pimsm
. . . . . . . . . . . . . . . . . . . 1452
debug isdp . . . . . . . . . . . . . . . . . . . . . . . 1453
debug lacp . . . . . . . . . . . . . . . . . . . . . . . 1453
debug mldsnooping
. . . . . . . . . . . . . . . . . . 1454
debug ospf . . . . . . . . . . . . . . . . . . . . . . . 1455
debug ospfv3 . . . . . . . . . . . . . . . . . . . . . . 1456
debug ping
. . . . . . . . . . . . . . . . . . . . . . . 1456
debug rip . . . . . . . . . . . . . . . . . . . . . . . . 1457
debug sflow . . . . . . . . . . . . . . . . . . . . . . 1458
debug spanning-tree
debug vrrp
. . . . . . . . . . . . . . . . . . . . . . . 1459
. . . . . . . . . . . . . . . . . . 1458
show debugging . . . . . . . . . . . . . . . . . . . . 1459
76 Sflow Commands . . . . . . . . . . . . . . . . . 1461
Commands in this Chapter. . . . . . . . . . . . . . . 1461
sflow destination . . . . . . . . . . . . . . . . . . . 1461
sflow polling . . . . . . . . . . . . . . . . . . . . . . 1463
sflow polling (Interface Mode)
sflow sampling. . . . . . . . . . . . . . . . . . . . . 1465
sflow sampling (Interface Mode) . . . . . . . . . . . 1466
. . . . . . . . . . . . 1464
show sflow agent
. . . . . . . . . . . . . . . . . . . 1467
show sflow destination . . . . . . . . . . . . . . . . 1468
show sflow polling
show sflow sampling
. . . . . . . . . . . . . . . . . . 1469
. . . . . . . . . . . . . . . . . 1470
77 SNMP Commands . . . . . . . . . . . . . . . . 1473
Commands in this Chapter. . . . . . . . . . . . . . . 1473
Contents 65
show snmp . . . . . . . . . . . . . . . . . . . . . . . 1473
show snmp engineID
. . . . . . . . . . . . . . . . . . 1475
show snmp filters . . . . . . . . . . . . . . . . . . . 1476
show snmp group . . . . . . . . . . . . . . . . . . . 1477
show snmp user
show snmp views
. . . . . . . . . . . . . . . . . . . . 1478
. . . . . . . . . . . . . . . . . . . 1480
show trapflags . . . . . . . . . . . . . . . . . . . . . 1481
snmp-server community
. . . . . . . . . . . . . . . . 1483
snmp-server community-group . . . . . . . . . . . . 1485
snmp-server contact . . . . . . . . . . . . . . . . . . 1486
snmp-server enable traps
. . . . . . . . . . . . . . . 1486
snmp-server engineID local . . . . . . . . . . . . . . 1489
snmp-server filter . . . . . . . . . . . . . . . . . . . 1490
snmp-server group
. . . . . . . . . . . . . . . . . . . 1492
snmp-server host . . . . . . . . . . . . . . . . . . . . 1493
78 SSH Commands . . . . . . . . . . . . . . . . . . 1501
66 Contents
snmp-server location . . . . . . . . . . . . . . . . . 1495
snmp-server user
. . . . . . . . . . . . . . . . . . . . 1496
snmp-server view . . . . . . . . . . . . . . . . . . . 1497
snmp-server v3-host . . . . . . . . . . . . . . . . . . 1499
Commands in this Chapter . . . . . . . . . . . . . . . 1501
crypto key generate dsa . . . . . . . . . . . . . . . . 1501
crypto key generate rsa
. . . . . . . . . . . . . . . . 1502
crypto key pubkey-chain ssh . . . . . . . . . . . . . 1503
ip ssh port . . . . . . . . . . . . . . . . . . . . . . . 1504
ip ssh pubkey-auth
ip ssh server
. . . . . . . . . . . . . . . . . . . 1505
. . . . . . . . . . . . . . . . . . . . . . 1505
key-string . . . . . . . . . . . . . . . . . . . . . . . 1506
show crypto key mypubkey
. . . . . . . . . . . . . . 1508
show crypto key pubkey-chain ssh . . . . . . . . . . 1509
show ip ssh . . . . . . . . . . . . . . . . . . . . . . 1510
user-key
. . . . . . . . . . . . . . . . . . . . . . . . 1511
79 Syslog Commands . . . . . . . . . . . . . . . . 1513
CLI Logged to Local File and Syslog Server. . . . . . 1513
Commands in this Chapter. . . . . . . . . . . . . . . 1514
clear logging
. . . . . . . . . . . . . . . . . . . . . . 1515
clear logging file. . . . . . . . . . . . . . . . . . . . 1515
description
level
. . . . . . . . . . . . . . . . . . . . . . . 1516
. . . . . . . . . . . . . . . . . . . . . . . . . . 1517
logging cli-command . . . . . . . . . . . . . . . . . 1517
logging
. . . . . . . . . . . . . . . . . . . . . . . . . 1519
logging audit
. . . . . . . . . . . . . . . . . . . . . . 1521
Contents 67
logging buffered . . . . . . . . . . . . . . . . . . . . 1522
logging console
. . . . . . . . . . . . . . . . . . . . 1523
logging file . . . . . . . . . . . . . . . . . . . . . . . 1524
logging on . . . . . . . . . . . . . . . . . . . . . . . 1525
logging snmp
logging web-session
. . . . . . . . . . . . . . . . . . . . . . 1526
. . . . . . . . . . . . . . . . . . 1526
port . . . . . . . . . . . . . . . . . . . . . . . . . . . 1527
show logging
. . . . . . . . . . . . . . . . . . . . . . 1528
show logging file. . . . . . . . . . . . . . . . . . . . 1529
show syslog-servers . . . . . . . . . . . . . . . . . . 1530
80 System Management Commands. . . . . 1533
asset-tag . . . . . . . . . . . . . . . . . . . . . . . . 1534
banner exec . . . . . . . . . . . . . . . . . . . . . . 1534
banner login . . . . . . . . . . . . . . . . . . . . . . 1535
68 Contents
banner motd
. . . . . . . . . . . . . . . . . . . . . . 1536
banner motd acknowledge . . . . . . . . . . . . . . 1537
clear checkpoint statistics
cut-through mode
. . . . . . . . . . . . . . . . . . . 1539
. . . . . . . . . . . . . . 1538
exec-banner . . . . . . . . . . . . . . . . . . . . . . 1539
hostname
ip address
. . . . . . . . . . . . . . . . . . . . . . . . 1540
. . . . . . . . . . . . . . . . . . . . . . . 1542
ip address none . . . . . . . . . . . . . . . . . . . . 1543
ip address {dhcp/bootp}
. . . . . . . . . . . . . . . . 1543
login-banner . . . . . . . . . . . . . . . . . . . . . . 1544
member. . . . . . . . . . . . . . . . . . . . . . . . . 1544
motd-banner
nsf
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1547
. . . . . . . . . . . . . . . . . . . . . . 1545
ping. . . . . . . . . . . . . . . . . . . . . . . . . . . 1548
reload
. . . . . . . . . . . . . . . . . . . . . . . . . 1550
set description . . . . . . . . . . . . . . . . . . . . . 1551
slot . . . . . . . . . . . . . . . . . . . . . . . . . . . 1551
show banner
. . . . . . . . . . . . . . . . . . . . . . 1553
show boot-version . . . . . . . . . . . . . . . . . . . 1554
show checkpoint statistics . . . . . . . . . . . . . . 1555
show cut-through mode
. . . . . . . . . . . . . . . . 1556
show interfaces advanced firmware . . . . . . . . . 1556
show ip interface out-of-band. . . . . . . . . . . . . 1557
show memory cpu
. . . . . . . . . . . . . . . . . . . 1558
show power-usage-history . . . . . . . . . . . . . . 1560
show process cpu . . . . . . . . . . . . . . . . . . . 1561
show sessions
. . . . . . . . . . . . . . . . . . . . . 1563
show slot . . . . . . . . . . . . . . . . . . . . . . . . 1564
Contents 69
show supported cardtype . . . . . . . . . . . . . . . 1566
show supported switchtype
. . . . . . . . . . . . . . 1567
show switch . . . . . . . . . . . . . . . . . . . . . . 1569
show system . . . . . . . . . . . . . . . . . . . . . . 1577
show system id
show system power
. . . . . . . . . . . . . . . . . . . . . 1579
. . . . . . . . . . . . . . . . . . 1580
show system temperature . . . . . . . . . . . . . . . 1581
show tech-support
. . . . . . . . . . . . . . . . . . . 1582
show users . . . . . . . . . . . . . . . . . . . . . . . 1584
show version . . . . . . . . . . . . . . . . . . . . . . 1585
stack
. . . . . . . . . . . . . . . . . . . . . . . . . . 1586
console(config-stack)#stack-port . . . . . . . . . . . 1587
standby . . . . . . . . . . . . . . . . . . . . . . . . . 1588
telnet
. . . . . . . . . . . . . . . . . . . . . . . . . . 1589
traceroute . . . . . . . . . . . . . . . . . . . . . . . 1592
81 Telnet Server Commands . . . . . . . . . . . 1595
70 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 1595
ip telnet server disable
. . . . . . . . . . . . . . . . 1595
ip telnet port . . . . . . . . . . . . . . . . . . . . . . 1596
show ip telnet
. . . . . . . . . . . . . . . . . . . . . 1597
82 Terminal Length Commands . . . . . . . . 1599
terminal length. . . . . . . . . . . . . . . . . . . . . 1599
83 Time Ranges Commands . . . . . . . . . . . 1601
time-range . . . . . . . . . . . . . . . . . . . . . . . 1601
absolute . . . . . . . . . . . . . . . . . . . . . . . . 1602
periodic
show time-range. . . . . . . . . . . . . . . . . . . . 1605
. . . . . . . . . . . . . . . . . . . . . . . . 1603
84 User Interface Commands. . . . . . . . . . 1609
enable . . . . . . . . . . . . . . . . . . . . . . . . . 1609
end
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1610
exit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1610
mode simple . . . . . . . . . . . . . . . . . . . . . . 1611
mode-change confirm
quit . . . . . . . . . . . . . . . . . . . . . . . . . . . 1612
. . . . . . . . . . . . . . . . . 1612
85 Web Server Commands . . . . . . . . . . . . 1615
Web Sessions . . . . . . . . . . . . . . . . . . . . . 1615
Commands in this Chapter
. . . . . . . . . . . . . . . 1616
common-name . . . . . . . . . . . . . . . . . . . . . 1616
country
. . . . . . . . . . . . . . . . . . . . . . . . . 1617
Contents 71
crypto certificate generate . . . . . . . . . . . . . . 1618
crypto certificate import
. . . . . . . . . . . . . . . . 1619
crypto certificate request . . . . . . . . . . . . . . . 1621
duration. . . . . . . . . . . . . . . . . . . . . . . . . 1622
ip http port
ip http server
. . . . . . . . . . . . . . . . . . . . . . . 1622
. . . . . . . . . . . . . . . . . . . . . . 1623
ip http secure-certificate . . . . . . . . . . . . . . . 1624
ip http secure-port
. . . . . . . . . . . . . . . . . . . 1625
ip http secure-server. . . . . . . . . . . . . . . . . . 1625
key-generate . . . . . . . . . . . . . . . . . . . . . . 1626
location
. . . . . . . . . . . . . . . . . . . . . . . . . 1627
organization-unit . . . . . . . . . . . . . . . . . . . . 1628
show crypto certificate mycertificate. . . . . . . . . 1628
show ip http server status
. . . . . . . . . . . . . . . 1630
show ip http server secure status . . . . . . . . . . . 1630
A List of Commands. . . . . . . . . . . . . . . . . 1635
72 Contents
state . . . . . . . . . . . . . . . . . . . . . . . . . . 1632
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 73
Command Groups
The system commands can be broken down into three sets of functional
groups, Layers 2, Layer 3, and Utility.
Table 1-1. System Command Groups
Command Group Description
Layer 2 Commands
AAA Configures connection security including authorization
and passwords.
ACL Configures and displays ACL information.
Address Table Configures bridging address tables.
Auto-VoIP Configures Auto VoIP for IP phones on a switch.
CDP Interoperability Configures Cisco Discovery Protocol (CDP).
Data Center Bridging Provides priority-based flow control that can pause
(inhibit transmission) of individual priorities within a
single physical link.
DHCP l2 Relay Enables the Layer 2 DHCP Relay agent for an interface.
DHCP Management
Interface
Dynamic ARP Inspection Configures for rejection of invalid and malicious ARP
Ethernet Configuration Configures all port configuration options for example
Ethernet CFM Configures and displays GVRP configuration and
IGMP Snooping Configures IGMP snooping and displays IGMP
IGMP Snooping Querier Configures IGMP Snooping Querier and displays IGMP
IP Addressing Configures and manages IP addresses on the switch.
IPv6 ACL Configures and displays ACL information for IPv6.
IPv6 MLD Snooping Configures IPv6 MLD Snooping.
Configures DHCP snooping and whether an interface is
trusted for filtering.
packets.
ports, storm control, port speed and auto-negotiation.
information.
configuration and IGMP information.
Snooping Querier information.
74 Command Groups
Table 1-1. System Command Groups
Command Group Description
IPv6 MLD Snooping
Querier
Link Dependency Configures and displays link dependency information.
LLDP Configures and displays LLDP information.
Port Aggregator Provides server administrators the ability to map internal
Port Channel Configures and displays Port channel information.
Port Monitor Monitors activity on specific target ports.
QoS Configures and displays QoS information.
Radius Configures and displays RADIUS information.
Spanning Tree Configures and reports on Spanning Tree protocol.
TACACS+ Configures and displays TACACS+ information.
VLAN Configures VLANs and displays VLAN information.
802.1x Configures and displays commands related to 802.1x
Layer 3 Commands
ARP (IPv4) Manages Address Resolution Protocol functions.
DHCP Server and Relay
Agent (IPv4)
DHCPv6 Configures IPv6 DHCP functions.
DVMRP (Mcast) Configures DVMRP operations.
IGMP (Mcast) Configures IGMP operations.
IGMP Proxy (Mcast) Manages IGMP Proxy on the system.
IP Helper/DHCP Relay Configures relay of UDP packets.
IP Routing (IPv4) Configures IP routing and addressing.
IPv6 Multicast Manages IPv6 Multicasting on the system.
IPv6 Routing Configures IPv6 routing and addressing.
Configures IPv6 Snooping Querier and displays IPv6
Snooping Querier information.
ports to external ports easily.
security protocol.
Manages DHCP/BOOTP operations on the system.
(continued)
Command Groups 75
Table 1-1. System Command Groups
Command Group Description
Loopback Interface
(IPv6)
Multicast (Mcast) Manages Multicasting on the system.
OSPF (IPv4) Manages shortest path operations.
OSPFv3 (IPv6) Manages IPv6 shortest path operations.
Router Discovery
Protocol (IPv4)
Routing Information
Protocol (IPv4)
Tunnel Interface (IPv6) Managing tunneling operations.
Virtual Router
Redundancy (IPv4)
Virtual Router
Redundancy (IPv4)
Utility Commands
Auto-Install Automatically configures switch when a configuration file
Captive Portal Blocks clients from accessing network until user
Clock Configures the system clock.
Command Line
Configuration Scripting
Denial of Service Provides several Denial of Service options.
Line Configures the console, SSH, and remote Telnet
Management ACL Configures and displays management access-list
Password M a n a g e m e n t Prov id es password management.
PHY Diagnostics Diagnoses and displays the interface status.
Manages Loopback configurations.
Manages router discovery operations.
Configures RIP activities.
Controls virtual LAN routing.
Manages router redundancy on the system.
is not found.
verification is established.
Manages the switch configuration files.
connection.
information.
(continued)
76 Command Groups
Table 1-1. System Command Groups
Command Group Description
RMON Can be configured through the CLI and displays RMON
information.
Serviceability Tracing Controls display of debug output to serial port or telnet
console.
sFlow Configures sFlow monitoring.
SNMP Configures SNMP communities, traps and displays SNMP
information.
SSH Configures SSH authentication.
Syslog Manages and displays syslog messages.
System Management Configures the switch clock, name and authorized users.
Telnet Server Configures Telnet service on the switch and displays
Teln et i n for m at i on .
User Interface Describes user commands used for entering CLI
commands.
Web Server Configures web-based access to the switch.
(continued)
Mode Types
The tables on the following pages use these abbreviations for Command
Mode names.
• AAA — IAS User Configuration
• ARPA — ARP ACL Configuration
• CC — Crypto Configuration
• CP — Captive Portal Configuration
•C P I — C a p t i v e P o r t a l I n s t a n c e
• CMC — Class-Map Configuration
• DP — IP DHCP Pool Configuration
• GC — Global Configuration
• IC — Interface Configuration (reached via
• IP — IP Access List Configuration
interface vlan xxx
command)
Command Groups 77
•I R — I n t e r f a c e R a n g e
•K C — K e y C h a i n
•K E — K e y
• L — Logging
• LC — Line Configuration
• LD — Link Dependency
• MA — Management Access-level
• MC — MST Configuration
• MDC — Maintenance Domain Configuration
• ML — MAC-List Configuration
• MSC — Mail Server Configuration
•M T — M A C - a c l
• PA — Port Aggregator
• PE — Privileged EXEC
• PM — Policy Map Configuration
• PCGC — Policy Map Global Configuration
• PCMC — Policy Class Map Configuration
•R — R a d i u s
• RIP — Router RIP Configuration
• RC — Router Configuration
• ROSPF — Router Open Shortest Path First
• ROSV3 — Router Open Shortest Path First Version 3
• SG — Stack Global Configuration
• SP — SSH Public Key
•S K — S S H P u b l i c K e y - c h a i n
• TC — TACACS Configuration
• TRC — Time Range Configuration
• UE — User EXEC
• VLAN — VLAN Configuration (reached via
vlan database
command)
78 Command Groups
• v6ACL — IPv6 Access List Configuration
• v6CMC — IPv6 Class-Map Configuration
• v6DP — IPv6 DHCP Pool Configuration
Layer 2 Commands
AAA
Command Description Mode
aaa authentication dot1x
default
aaa authentication enable Defines authentication method lists for
aaa authentication login Defines login authentication. GC
aaa authorization network
default radius
aaa ias-user username Configures IAS users and their attributes. Also
clear aaa ias-users Deletes all IAS users. PE
enable authentication Specifies the authentication method list when
enable password Sets a local password to control access to the
ip http authentication Specifies authentication methods for http. GC
ip https authentication Specifies authentication methods for https. GC
login authentication Specifies the login authentication method list
password (IAS) Configures a password for a user. AAA
password Specifies a password on a line. LC
password Specifies a user password UE
show aaa ias-users Displays configured IAS users and their
Specifies an authentication method for 802.1x
clients.
accessing higher privilege levels.
Enables the switch to accept VLAN assignment
by the RADIUS server.
changes the mode to aa user config mode.
accessing a higher privilege level from a remote
telnet or console.
normal level.
for a remote telnet or console.
attributes.
GC
GC
GC
GC
LC
GC
LC
PE
a
Command Groups 79
Command Description Mode
show authentication
methods
show user accounts Displays information about the local user
Shows information about authentication
methods.
PE
PE
database.
show users login-history Displays information about login histories of
PE
users.
username Establishes a username-based authentication
GC
system.
username password
encrypted username unlock
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Transfers local user passwords between devices
without having to know the passwords.
GC
ACL
a
Command Description Mode
access-list Creates an Access Control List (ACL) that is
identified by the parameter
accesslistnumber.
deny | permit The deny command denies traffic if the
conditions defined in the deny statement are
matched. The permit command allows traffic if
the conditions defined in the permit statement
are matched.
ip access-group Attaches a specified access-control list to an
interface.
mac access-group Attaches a specific MAC Access Control List
(ACL) to an interface in the in-bound
direction.
mac access-list extended Creates the MAC Access Control List (ACL)
name
parameter.
mac access-list extended
rename
identified by the
Renames the existing MAC Access Control List
(ACL) name.
service-acl input Blocks Link Local Protocol Filtering (LLPF)
protocol(s) on a given port.
80 Command Groups
a
GC
ML
GC or
IC
GC or
IC
GC
GC
IC
Command Description Mode
show service-acl interface Displays the status of LLPF rules configured on
PE
a particular port or on all the ports.
show ip access-lists Displays an Access Control List (ACL) and all
PE
of the rules that are defined for the ACL.
show mac access-list Displays a MAC access list and all of the rules
PE
that are defined for the ACL.
a. For the meaning of each Mode abbreviation, see Mode Typeson page 77.
Address Table
a
Command Description Mode
clear mac address-table Removes any learned entries from the
PE
forwarding database.
mac address-table aging-
Sets the address table aging time. GC
time
mac address-table multicast
Enables filtering of Multicast addresses. GC
filtering
mac address-table multicast
forbidden address
mac address-table multicast
forbidden forward-
Forbids adding a specific Multicast address to
specific ports.
Forbids a port to be a forwarding-unregisteredmulticast-addresses port.
IC
IC
unregistered
mac address-table multicast
forward-all
mac address-table multicast
forward-unregistered
mac address-table multicast
static
mac address-table static Adds a static MAC-layer station source address
Enables forwarding of all Multicast packets on a
port.
Enables the forwarding of unregistered
multicast addresses.
Registers MAC-layer Multicast addresses to the
bridge table, and adds static ports to the group.
IC
IC
IC
IC
to the bridge table.
port security Disables new address learning on an interface. IC
a
Command Groups 81
Command Description Mode
port security max Configures the maximum addresses that can be
IC
learned on the port while the port is in port
security mode.
show mac address-table Displays dynamically created entries in the
PE
bridge-forwarding database.
show mac address-table
address
show mac address-table
count
show mac address-table
dynamic
show mac address-table
Displays all entries in the bridge-forwarding
database for the specified MAC address.
Displays the number of addresses present in the
UE or
PE
PE
Forward i ng Da t abase .
Displays all entries in the bridge-forwarding
database.
UE or
PE
Displays the Multicast filtering configuration. PE
filtering
show mac address-table
interface
show mac address-table
multicast
show mac address-table
static
show mac address-table
vlan
Displays the mac forwarding table entries for a
specific interface.
Displays Multicast MAC address table
information.
Displays statically created entries in the bridgeforwarding database.
Displays all entries in the bridge-forwarding
database for the specified VLAN.
UE or
PE
PE
PE
UE or
PE
show ports security Displays the port-lock status. PE
show ports security
addresses
a. For the meaning of each Mode abbreviation, see Mode Typeson page 77.
Displays current dynamic addresses in locked
ports.
PE
a
Auto-VoIP
Command Description Mode
switchport voice detect
auto
show switchport voice Displays the status of auto-voip on an interface
82 Command Groups
Enables the VoIP Profile on all the interfaces of
the switch.
or all interfaces.
a
GC or
IC
PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
CDP Interoperability
Command Description Mode
clear isdp counters Clears the ISDP counters. PE
clear isdp table Clears entries in the ISDP table. PE
isdp advertise-v2 Enables the sending of ISDP version 2 packets
GC
from the device.
isdp enable Enables ISDP on the switch. GC or
IC
isdp holdtime Configures the hold time for ISDP packets that
GC
the switch transmits.
isdp timer Sets period of time between sending new ISDP
GC
packets.
show isdp Displays global ISDP settings. PE
show isdp interface Displays ISDP settings for the specified
PE
interface.
show isdp entry Displays ISDP entries. PE
show isdp neighbors Displays the list of neighboring devices. PE
show isdp traffic Displays ISDP statistics. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
a
Command Groups 83
Data Center Bridging
Command Description Mode
clear priority-flow-control
statistics
Clears all or interface Priority-Flow-Control
statistics.
PE
datacenter-bridging Enters the Data Center Bridging mode. IC
priority-flow-control mode onEnables Priority-Flow-Control (PFC) on an
DCB
interface.
priority-flow-control
priority
show interfaces datacenterbridging
a. For the meaning of each Mode abbreviation, see Mode Types.
Enables the priority group for lossless behavior
(PFC enabled).
Displays the datacenter-bridging configuration,
status and counters for a given interface.
DCB
PE
DHCP l2 Relay
Command Description Mode
dhcp l2relay Enables the Layer 2 DHCP Relay agent for an
interface or globally.
dhcp l2relay circuit-id Enables user to set the DHCP Option 82
Circuit ID for a VLAN.
dhcp l2relay remote-id Enables user to set the DHCP Option 82
Remote ID for a VLAN.
dhcp l2relay vlan Enables the L2 DHCP Relay agent for a set of
VLANs.
dhcp l2relay trust Configures an interface to trust a received
DHCP Option 82.
GC or
IC
GC
GC
GC
IC
a
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
DHCP Management Interface
Command Description Mode
release dhcp Forces the DHCPv4 client to release a leased
address.
84 Command Groups
a
PE
Command Description Mode
renew dhcp Forces the DHCP client to immediately renew
PE
an IPv4 address lane.
debug dhcp packet Displays debug information about DHCPv4
PE
client activities and traces DHCP v4 packets to
and from the local DHCPv4 client.
show dhcp lease Displays IPv4 addresses leased from a DHCP
PE
server.
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
DHCP Snooping
a
Command Description Mode
clear ip dhcp snooping
Clears all DHCP Snooping entries. PE
binding
clear ip dhcp snooping
Clears all DHCP Snooping statistics. PE
statistics
ip dhcp snooping Enables DHCP snooping globally or on a
specific VLAN.
GC or
IC
ip dhcp snooping binding Configures a static DHCP Snooping binding. GC
ip dhcp snooping database Configures the persistent location of the DHCP
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 loginvalid
Enables logging of DHCP messages filtered by
the DHCP Snooping application.
IC
ip dhcp snooping trust Configure a port as trusted for DHCP snooping. IC
ip dhcp snooping verify
mac-address
Enables the verification of the source MAC
address with the client MAC address in the
GC
received DHCP message.
a
Command Groups 85
Command Description Mode
show ip dhcp snooping Displays the DHCP snooping global and per
PE
port configuration.
show ip dhcp snooping
Displays the DHCP snooping binding entries. PE
binding
show ip dhcp snooping
database
show ip dhcp snooping
interfaces
show ip dhcp snooping
statistics
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Displays the DHCP snooping configuration
related to the database persistence.
Displays the DHCP Snooping status of the
interfaces.
Displays the DHCP snooping filtration
statistics.
PE
PE
PE
Dynamic ARP Inspection
a
Command Description Mode
arp access-list Creates an ARP ACL. GC
clear ip arp inspection
statistics
Resets the statistics for Dynamic ARP
Inspection on all VLANs.
ip arp inspection filter Configures the ARP ACL to be used for a single
VLAN or a range of VLANs to filter invalid ARP
packets.
ip arp inspection limit Configures the rate limit and burst interval
values for an interface.
ip arp inspection trust Configures an interface as trusted for Dynamic
ARP Inspection.
ip arp inspection validate Enables additional validation checks like source
MAC address validation, destination MAC
address validation or IP address validation on
the received ARP packets.
ip arp inspection vlan Enables Dynamic ARP Inspection on a single
VLAN or a range of VLANs.
permit ip host mac host Configures a rule for a valid IP address and
MAC address combination used in ARP packet
validation.
86 Command Groups
a
PE
GC
IC
IC
GC
GC
ARPA
Command Description Mode
show arp access-list Displays the configured ARP ACLs with the
PE
rules.
show ip arp inspection
interfaces
show ip arp inspection
interfaces
show ip arp inspection vlan Displays the Dynamic ARP Inspection
Displays the Dynamic ARP Inspection
configuration.
Displays the Dynamic ARP Inspection
configuration on all the DAI enabled interfaces.
PE
PE
PE
configuration on all the VLANs in the given
VLAN range.
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Email Alerting
a
Command Description Mode
logging email Enables email alerting and sets the lowest
GC
severity level for which log messages are
emailed.
logging email urgent Sets the lowest severity level at which log
GC
messages are emailed in an urgent manner.
logging traps Sets the lowest severity level at which SNMP
GC
traps are logged.
logging email message-type
Configures the To address field of the email. GC
to-addr
logging email from-addr Configures the From address of the email. GC
logging email message-type
Configures the subject. GC
subject
logging email logtime Configures the value of how frequently the
GC
queued messages are sent.
logging email test messagetype
Tests whether or not an email is being sent to an
SMTP server.
GC
a
Command Groups 87
Command Description Mode
show logging email
statistics
Displays information on how many emails are
sent, how many emails failed, when the last
PE
email was sent, how long it has been since the
last email was sent, how long it has been since
the email changed to disabled mode.
clear logging email statistics Clears the email alerting statistics. GC
security Sets the email alerting security protocol. MSC
mail-server ipaddress|hostname
Configures the SMTP server IP address and
changes the mode to Mail Server Configuration
GC
Mode.
port (Mail Server
Configuration Mode)
username (Mail Server
Configuration Mode)
password (Mail Server
Configuration Mode)
show mail-server Displays the configuration of all the mail servers
Configures the TCP port to use for
communication with the SMTP servers.
Configures the username required by the
authentication.
Configures the password required to
authenticate to the email server.
MSC
MSC
MSC
PE
or a particular mail server.
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Ethernet Configuration
a
Command Description Mode
clear counters Clears statistics on an interface. PE
description Adds a description to an interface. IC
duplex Configures the full/half duplex operation of a
given Ethernet interface when not using autonegotiation.
flowcontrol Configures the flow control on a given interface. GC
interface Enters the interface configuration mode to
configure parameters for an interface.
88 Command Groups
a
IC
GC or
IC
Command Description Mode
interface range Enters the interface configuration mode to
execute a command on multiple ports at the
GC,
IC, IR
same time.
mtu Enables jumbo frames on an interface by
IC
adjusting the maximum size of a packet or
maximum transmission unit (MTU).
show interfaces advertise Displays information about auto negotiation
PE
advertisement.
show interfaces
configuration
Displays the configuration for all configured
interfaces.
UE
show interfaces counters Displays traffic seen by the physical interface. UE
show interfaces description Displays the description for all configured
UE
interfaces.
show interfaces detail Displays the detail for all configured interfaces. UE
show interfaces status Displays the status for all configured interfaces. UE
show statistics Displays statistics for one port or for the entire
PE
switch.
show statistics switchport Displays detailed statistics for a specific port or
PE
for the entire switch.
show storm-control Displays the storm control configuration. PE
shutdown Disables interfaces. IC
speed Configures the speed of a given Ethernet
IC
interface when not using auto-negotiation.
storm-control broadcast Enables Broadcast storm control. IC
storm-control multicast Enables the switch to count Multicast packets
IC
together with Broadcast packets.
storm-control unicast Enables Unicast storm control. IC
switchport protected Sets the port to Protected mode. IC
switchport protected name Configures a name for a protected group. GC
show switchport protected Displays protected group/port information. PE
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Command Groups 89
Ethernet CFM
Command Description Mode
ethernet cfm domain Enters into maintenance domain config mode
for an existing domain. Use the optional level
parameter to create a domain and enter into
maintenance domain config mode.
service Associates a VLAN with a maintenance domain. MDC
ethernet cfm cc level Initiates sending continuity checks (CCMs) at
the specified interval and level on a VLAN
monitored by an existing domain.
ethernet cfm mep level Creates a Maintenance End Point (MEP) on an
interface at the specified level and direction.
ethernet cfm mep enable Enables a MEP at the specified level and
direction.
ethernet cfm mep active Activates a MEP at the specified level and
direction.
ethernet cfm mep archivehold-time
ethernet cfm mip level Creates a Maintenance Intermediate Point
ping ethernet cfm Generates a loopback message (LBM) from
Maintains internal information on a missing
MEP.
(MIP) at the specified level.
GC
GC
IC
IC
IC
IC
IC
PE
the configured MEP.
traceroute ethernet cfm Generates a link trace message (LTM) from the
configured MEP.
show ethernet cfm errors Displays the cfm errors. PE
show ethernet cfm domain Displays the configured parameters in a
maintenance domain.
show ethernet cfm
maintenance-points local
show ethernet cfm
maintenance-points remote
show ethernet cfm statistics Displays the CFM statistics. PE
debug cfm Enables CFM debugging. PE
Displays the configured local maintenance
points.
Displays the configured remote maintenance
points.
PE
PE
PE
PE
a
90 Command Groups
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
GVRP
Command Description Mode
clear gvrp statistics Clears all the GVRP statistics information. PE
garp timer Adjusts the GARP application join, leave, and
leaveall GARP timer values.
gvrp enable (global) Enables GVRP globally. GC
gvrp enable (interface) Enables GVRP on an interface. IC
gvrp registration-forbid De-registers all VLANs, and prevents dynamic
VLAN registration on the port.
gvrp vlan-creation-forbid Enables or disables dynamic VLAN creation. IC
show gvrp configuration Displays GVRP configuration information,
IC
IC
PE
including timer values, whether GVRP and
dynamic VLAN creation is enabled, and
which ports are running GVRP.
show gvrp error-statistics Displays GVRP error statistics. UE
show gvrp statistics Displays GVRP statistics. UE
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
IGMP Snooping
Command Description Mode
ip igmp snooping (Global) In Global Config mode, Enables Internet
Group Management Protocol (IGMP)
snooping.
ip igmp snooping
(Interface)
ip igmp snooping hosttime-out
ip igmp snooping leavetime-out
Enables Internet Group Management Protocol
(IGMP) snooping on a specific VLAN.
Configures the host-time-out. IC
Configures the leave-time-out. IC
GC
IC
a
a
Command Groups 91
Command Description Mode
ip igmp snooping mrouter-
Configures the mrouter-time-out. IC
time-out
show ip igmp snooping
groups
show ip igmp snooping
Displays Multicast groups learned by IGMP
UE
snooping.
Displays IGMP snooping configuration. PE
interface
show ip igmp snooping
mrouter
ip igmp snooping (VLAN) In VLAN Config mode, enables IGMP snooping
Displays information on dynamically learned
Multicast router interfaces.
PE
VLAN
on a particular VLAN or on all interfaces
participating in a VLAN.
ip igmp snooping fast-leave Enables or disables IGMP Snooping fast-leave
VLAN
mode on a selected VLAN.
ip igmp snooping
groupmembership-interval
ip igmp snooping
maxresponse
ip igmp snooping
mcrtrexpiretime
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
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.
VLAN
VLAN
VLAN
a
IGMP Snooping Querier
Command Description Mode
ip igmp snooping querier Enables/disables IGMP Snooping Querier on
the system (Global Configuration mode) or on
a VLAN.
ip igmp snooping querier
election participate
ip igmp snooping querier
query-interval
ip igmp snooping querier
timer expiry
92 Command Groups
Enables the Snooping Querier to participate in
the Querier Election process when it discovers
the presence of another Querier in the VLAN.
Sets the IGMP Querier Query Interval time. GC
Sets the IGMP Querier timer expiration period. GC
a
GC,
VLAN
VLAN
Command Description Mode
ip igmp snooping querier
version
show igmp snooping
Sets the IGMP version of the query that the
GC
snooping switch is going to send periodically.
Displays IGMP Snooping Querier information. PE
querier
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
IP Addressing
a
Command Description Mode
clear host Deletes entries from the host name-to-address
PE
cache.
clear ip address-conflictdetect
Clears the address conflict detection status in
the switch.
PE
interface out-of-band Brings up the OOB port configuration menu. GC
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 Acquires an IP address on an interface from the
IC
DHCP server.
ip default-gateway Defines a default gateway (router). GC
ip domain-lookup 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 Configures available name servers. GC
ipv6 address Set the IPv6 address of the management
GC
interface.
ipv6 address dhcp Enables the DHCPv6 client on an IPv6
IC
interface.
ipv6 enable Enable IPv6 on the management interface. GC
a
Command Groups 93
Command Description Mode
show arp switch Displays
show hosts Displays the default domain name, a list of
the entries in the ARP table.
PE
UE
name server hosts, static and cached list of host
names and addresses.
show ip address-conflict Displays the status information corresponding
to the last detected address conflict.
UE or
PE
show ip helper-address Displays the ip helper addresses configuration. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
IPv6 ACL
a
Command Description Mode
{deny | permit } Creates a new rule for the current IPv6 access
v6ACL
list.
ipv6 access-list Creates an IPv6 Access Control List (ACL)
GC
consisting of classification fields defined for the
IP header of an IPv6 frame.
ipv6 access-list rename Changes the name of an IPv6 ACL. GC
ipv6 traffic-filter Attaches a specific IPv6 ACL to an interface or
associates it with a VLAN ID in a given
direction.
show ipv6 access-lists Displays an IPv6 access list (and the rules
GC
IC
PE
defined for it).
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
IPv6 MLD Snooping
Command Description Mode
ipv6 mld snooping
immediate-leave
ipv6 mld snooping
groupmembership-interval
Enables or disables MLD Snooping immediateleave admin mode on a selected interface or
VLAN.
Sets the MLD Group Membership Interval
time on a VLAN or interface.
IC
VLAN
IC
VLAN
a
a
94 Command Groups
Command Description Mode
ipv6 mld snooping
maxresponse
ipv6 mld snooping
mcrtexpiretime
ipv6 mld snooping (Global) Enables MLD Snooping on the system (Global
Sets the MLD Maximum Response time for an
interface or VLAN.
Sets the Multicast Router Present Expiration
time.
IC or
VLAN
IC
GC
Config Mode).
ipv6 mld snooping
Enables MLD Snooping on an interface. IC
(Interface)
ipv6 mld snooping (VLAN) Enables MLD Snooping on a particular VLAN
VLAN
and all interfaces participating in that VLAN.
show ipv6 mld snooping Displays MLD Snooping information. PE
show ipv6 mld snooping
groups
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Displays the MLD Snooping entries in the
MFDB table.
PE
IPv6 MLD Snooping Querier
a
Command Description Mode
ipv6 mld snooping querier Enables MLD Snooping Querier on the system
or on a VLAN.
ipv6 mld snooping querier
address
ipv6 mld snooping querier
election participate
Sets the global MLD Snooping Querier address
on the system or on a VLAN.
Enables the Snooping Querier to participate in
the Querier Election process when it discovers
GC or
VLAN
GC or
VLAN
VLAN
the presence of another Querier in the VLAN.
ipv6 mld snooping querier
Sets the MLD Querier Query Interval time. GC
query-interval
ipv6 mld snooping querier
Sets the MLD Querier timer expiration period. GC
timer expiry
show ipv6 mld snooping
Displays MLD Snooping Querier information. PE
querier
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Command Groups 95
a
IP Source Guard
Command Description Mode
ip verify source Enables filtering of IP packets matching the
source IP address.
ip verify source portsecurity
ip verify binding Configures static bindings. GC
show ip verify interface Displays the IPSG interface configuration. PE
show ip verify source
interface
show ip source binding Displays all bindings (static and dynamic). PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Enables filtering of IP packets matching the
source IP address and the source MAC address.
Displays the bindings configured on a particular
interface.
IC
IC
PE
a
96 Command Groups
iSCSI Optimization
Link Dependency
Command Description Mode
iscsi aging time Sets aging time for iSCSI sessions. GC
a
iscsi cos Sets the quality of service profile that will be
GC
applied to iSCSI flows.
iscsi enable Enables Global Configuration mode command
GC
globally enables iSCSI awareness.
iscsi target port Configures an iSCSI target port (optionally
GC
configures target port address and name).
show iscsi Displays the iSCSI settings. PE
show iscsi sessions Displays the iSCSI sessions. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Command Description Mode
action Indicates if the link-dependency group should
LD
mirror or invert the status of the depended on
interfaces.
link-dependency group Enters the link-dependency mode to configure
GC
a link-dependency group.
add gigabitethernet Adds member gigabit Ethernet port(s) to the
LD
dependency list.
add tengigabitethernet Adds member ten gigabit Ethernet port(s) to
LD
the dependency list.
add port-channel Adds member port-channels to the
LD
dependency list.
depends-on Adds the dependent Ethernet ports or port
LD
channels list.
show link-dependency Shows the link dependencies configured on a
PE
particular group.
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
a
Command Groups 97
LLDP
Command Description Mode
clear lldp remote-data Deletes all data from the remote data table. PE
clear lldp statistics Resets all LLDP statistics. PE
lldp notification Enables remote data change notifications. IC
lldp notification-interval Limits how frequently remote data change
notifications are sent.
lldp receive Enables the LLDP receive capability. IC
lldp timers Sets the timing parameters for local data
transmission on ports enabled for LLDP.
lldp transmit Enables the LLDP advertise capability. IC
lldp transmit-mgmt Specifies that transmission of the local system
management address information in the
LLDPDUs is included.
lldp transmit-tlv Specifies which optional TLVs in the 802.1AB
basic management set will be transmitted in the
LLDPDUs.
show lldp Displays the current LLDP configuration
summary.
show lldp interface Displays the current LLDP interface state. PE
show lldp local-device Displays the LLDP local data. PE
show lldp remote-device Displays the current LLDP remote data. PE
show lldp statistics Displays the current LLDP traffic statistics. PE
GC
GC
IC
IC
PE
a
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Multicast VLAN Registration
Command Description Mode
mvr Enables MVR. GC or
IC
mvr group Adds an MVR membership group. GC
mvr mode Changes the MVR mode type. GC
98 Command Groups
a
Command Description Mode
mvr querytime Sets the MVR query response time. GC
mvr vlan Sets the MVR multicast VLAN. GC
mvr immediate Enables MVR Immediate Leave mode. IC
mvr type Sets the MVR port type. IC
mvr vlan group Use to participate in the specific MVR group. IC
show mvr Displays global MVR settings. PE
show mvr members Displays the MVR membership groups
PE
allocated.
show mvr interface Displays the MVR enabled interface
PE
configuration.
show mvr traffic Displays global MVR statistics. PE
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Port Channel
a
Command Description Mode
a
channel-group Associates a port with a port-channel. IC
interface port-channel Enters the interface configuration mode of a
GC
specific port-channel.
interface range portchannel
Enters the interface configuration mode to
configure multiple port-channels.
GC
hashing-mode Sets the hashing algorithm on trunk ports. IC (port-
channel)
lacp auto Sets the LACP (Link Aggregation) mode to
PA
dynamic for that Aggregator Group.
lacp off Sets the LACP (Link Aggregation) mode to
PA
off for that Aggregator Group.
lacp port-priority Configures the priority value for physical
IC
ports.
lacp static Sets the LACP (Link Aggregation) mode to
PA
static for that Aggregator Group.
Command Groups 99
Command Description Mode
lacp system-priority Configures the system LACP priority. GC
lacp timeout Assigns an administrative LACP timeout. IC
no lacp Sets the LACP (Link Aggregation) mode to
PA
default for that Aggregator Group.
port-channel min-links Sets the minimum number of links that must
IC
be up in order for the port channel interface
to be declared up.
show interfaces port-
Displays port-channel information. PE
channel
show lacp Displays LACP information for ports. PE
show statistics port-
Displays port-channel statistics. PE
channel
a. For the meaning of each Mode abbreviation, see Mode Types on page 77.
Port Aggregator
a
Command Description Mode
add ethernet Adds member Ethernet port(s) to
the Aggregator Group.
duplex Configures the full/half duplex
operation of all member ports in the
aggregator group/zone.
minimum active uplinks Sets the minimum number of
uplinks to be active for the Group.
mtu disable Sets the mtu size to default (1518)
on all the member ports in the
aggregator group/zone.
negotiation Enables auto-negotiation of all
member ports in the aggregator
group/zone.
port-aggregator group Enters Port Aggregator mode to
configure aggregator group
attributes.
100 Command Groups
a
PA
PA
PA
PA
PA
GC