Dell M8024-K Command Line Interface Guide

Dell PowerConnect
PCM6220, PCM6348, PCM8024,
PCM8024-k
CLI Reference Guide
Regulatory Model: PCM6220, PCM6348, PCM8024, PCM8024-k
Regulatory Type: XXXXX
NOTE: A NOTE indicates important information that helps you make better use of
your computer.
____________________
Information in this publication is subject to change without notice. © 2011 Dell Inc. All rights reserved.
Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Trademarks used in this text: Dellâ„¢, the DELL logo, and PowerConnectâ„¢ are trademarks of Dell Inc. StrataXGS
InMon Corporation. Cisco United States and ce rtain other countries. Microsoft
Microsoft Corporation in the United States and/or other countries.
Other trademarks and trade names may be used in this publication to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
®
is a registered trademark of Broadcom Corp. sFlow® is a registered trad emark of
®
is a regist ered trad emark of Cisco Systems, I nc. and/ or its affi liates i n the
®
and Windows®are registered trademarks of
Regulatory Model PCM6220, PCM6348, PCM8024, PCM8024-k
Regulatory Type: XXXXX
2011 - October P/N XXXXX Rev. A03
Contents
1 Command Groups . . . . . . . . . . . . . . . . . . 75
Introduction . . . . . . . . . . . . . . . . . . . . . . . 75
Command Groups
Mode Types . . . . . . . . . . . . . . . . . . . . . . . 79
Layer 2 Commands
Data Center Technology Commands. . . . . . . . . . . 116
Layer 3 Commands . . . . . . . . . . . . . . . . . . . . 118
Utility Commands
. . . . . . . . . . . . . . . . . . . . 76
. . . . . . . . . . . . . . . . . . . . 81
. . . . . . . . . . . . . . . . . . . . 144
2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 167
Introduction . . . . . . . . . . . . . . . . . . . . . . . 167
Entering and Editing CLI Commands. . . . . . . . . . . 167
CLI Command Modes
Starting the CLI. . . . . . . . . . . . . . . . . . . . . . 189
Using CLI Functions and Tools. . . . . . . . . . . . . . 197
. . . . . . . . . . . . . . . . . . 176
Contents 3
3 Layer 2 Switching Commands . . . . . . . . 239
4 AAA Commands . . . . . . . . . . . . . . . . . . . 241
Commands in this Chapter . . . . . . . . . . . . . . . 242
aaa authentication dot1x default . . . . . . . . . . . 242
aaa authentication enable . . . . . . . . . . . . . . . 244
aaa authentication login
. . . . . . . . . . . . . . . . 245
aaa authorization network default radius. . . . . . . 247
aaa ias-user username. . . . . . . . . . . . . . . . . 248
aaa new-model
. . . . . . . . . . . . . . . . . . . . . 249
clear (IAS) . . . . . . . . . . . . . . . . . . . . . . . 249
enable authentication . . . . . . . . . . . . . . . . . 250
enable password
. . . . . . . . . . . . . . . . . . . . 251
ip http authentication . . . . . . . . . . . . . . . . . 252
ip https authentication . . . . . . . . . . . . . . . . . 253
login authentication
. . . . . . . . . . . . . . . . . . 254
password (aaa IAS User Configuration) . . . . . . . . 255
password (Line Configuration)
password (User EXEC)
. . . . . . . . . . . . . 256
. . . . . . . . . . . . . . . . . 257
show aaa ias-users . . . . . . . . . . . . . . . . . . 258
4 Contents
show authentication methods
. . . . . . . . . . . . . 259
show users accounts . . . . . . . . . . . . . . . . . . 260
show users login-history
. . . . . . . . . . . . . . . . 262
username. . . . . . . . . . . . . . . . . . . . . . . . . 263
username password encrypted . . . . . . . . . . . . . 264
username unlock
. . . . . . . . . . . . . . . . . . . . 266
5 ACL Commands . . . . . . . . . . . . . . . . . . . 269
ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 269
Commands in this Chapter. . . . . . . . . . . . . . . . 272
access-list
deny | permit (IP ACL) . . . . . . . . . . . . . . . . . . 274
deny | permit (Mac-Access-List-Configuration) . . . . 276
ip access-group
mac access-group . . . . . . . . . . . . . . . . . . . . 279
mac access-list extended . . . . . . . . . . . . . . . . 280
. . . . . . . . . . . . . . . . . . . . . . . . 272
. . . . . . . . . . . . . . . . . . . . . 278
mac access-list extended rename
. . . . . . . . . . . 281
service-acl input. . . . . . . . . . . . . . . . . . . . . 282
show service-acl interface
show ip access-lists
. . . . . . . . . . . . . . . 283
. . . . . . . . . . . . . . . . . . . 284
show mac access-list . . . . . . . . . . . . . . . . . . 285
Contents 5
6 Address Table Commands . . . . . . . . . . . 287
Commands in this Chapter . . . . . . . . . . . . . . . 287
clear mac address-table . . . . . . . . . . . . . . . . 288
mac address-table aging-time. . . . . . . . . . . . . 289
mac address-table multicast filtering
. . . . . . . . . 290
mac address-table multicast forbidden address . . . 291
mac address-table multicast forbidden
forward-unregistered
. . . . . . . . . . . . . . . . . 292
mac address-table multicast forward-all . . . . . . . 293
mac address-table multicast
forward-unregistered
. . . . . . . . . . . . . . . . . 294
mac address-table multicast static . . . . . . . . . . 295
mac address-table static . . . . . . . . . . . . . . . 297
port security
. . . . . . . . . . . . . . . . . . . . . . 298
port security max. . . . . . . . . . . . . . . . . . . . 299
show mac address-table multicast . . . . . . . . . . 299
show mac address-table filtering
. . . . . . . . . . . 301
show mac address-table. . . . . . . . . . . . . . . . 302
6 Contents
show mac address-table address
show mac address-table count
. . . . . . . . . . . 303
. . . . . . . . . . . . 304
show mac address-table dynamic. . . . . . . . . . . 305
show mac address-table interface . . . . . . . . . . . 307
show mac address-table static
. . . . . . . . . . . . . 308
show mac address-table vlan . . . . . . . . . . . . . . 309
show ports security . . . . . . . . . . . . . . . . . . . 310
show ports security addresses
. . . . . . . . . . . . . 311
7 Auto-VoIP Commands . . . . . . . . . . . . . . 313
Commands in this Chapter. . . . . . . . . . . . . . . . 313
show switchport voice . . . . . . . . . . . . . . . . . 314
switchport voice detect auto
. . . . . . . . . . . . . . 316
8 CDP Interoperability Commands . . . . . . 319
Commands in this Chapter. . . . . . . . . . . . . . . . 319
clear isdp counters . . . . . . . . . . . . . . . . . . . 319
clear isdp table
. . . . . . . . . . . . . . . . . . . . . 320
isdp advertise-v2. . . . . . . . . . . . . . . . . . . . . 320
isdp enable . . . . . . . . . . . . . . . . . . . . . . . . 321
isdp holdtime
. . . . . . . . . . . . . . . . . . . . . . . 322
isdp timer . . . . . . . . . . . . . . . . . . . . . . . . 323
show isdp
show isdp entry
. . . . . . . . . . . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . . . . . . 324
show isdp interface . . . . . . . . . . . . . . . . . . . 326
Contents 7
show isdp neighbors . . . . . . . . . . . . . . . . . . 327
show isdp traffic
. . . . . . . . . . . . . . . . . . . . 329
9 DHCP Layer 2 Relay Commands. . . . . . . 331
Commands in this Chapter . . . . . . . . . . . . . . . 331
dhcp l2relay (Global Configuration) . . . . . . . . . . 331
dhcp l2relay (Interface Configuration)
dhcp l2relay circuit-id . . . . . . . . . . . . . . . . . 333
dhcp l2relay remote-id. . . . . . . . . . . . . . . . . 334
dhcp l2relay trust
. . . . . . . . . . . . . . . . . . . . 334
dhcp l2relay vlan . . . . . . . . . . . . . . . . . . . . 335
show dhcp l2relay all . . . . . . . . . . . . . . . . . 336
show dhcp l2relay interface
. . . . . . . . . . . . . . 337
show dhcp l2relay stats interface . . . . . . . . . . . 338
show dhcp l2relay subscription interface. . . . . . . 339
. . . . . . . . . 332
8 Contents
show dhcp l2relay agent-option vlan
. . . . . . . . . 340
show dhcp l2relay vlan . . . . . . . . . . . . . . . . 341
show dhcp l2relay circuit-id vlan
show dhcp l2relay remote-id vlan
. . . . . . . . . . . 342
. . . . . . . . . . . 343
clear dhcp l2relay statistics interface. . . . . . . . . 344
10 DHCP Management Interface
Commands . . . . . . . . . . . . . . . . . . . . . . . 347
Commands in this Chapter. . . . . . . . . . . . . . . . 347
release dhcp
. . . . . . . . . . . . . . . . . . . . . . . 348
renew dhcp . . . . . . . . . . . . . . . . . . . . . . . 349
debug dhcp packet . . . . . . . . . . . . . . . . . . . 350
show dhcp lease
. . . . . . . . . . . . . . . . . . . . . 351
11 DHCP Snooping Commands . . . . . . . . . . 355
Commands in this Chapter. . . . . . . . . . . . . . . . 355
clear ip dhcp snooping binding . . . . . . . . . . . . . 356
clear ip dhcp snooping statistics
ip dhcp snooping. . . . . . . . . . . . . . . . . . . . . 357
ip dhcp snooping binding . . . . . . . . . . . . . . . . 358
ip dhcp snooping database
ip dhcp snooping database write-delay . . . . . . . . 360
ip dhcp snooping limit . . . . . . . . . . . . . . . . . . 361
. . . . . . . . . . . . 357
. . . . . . . . . . . . . . . 359
ip dhcp snooping log-invalid
. . . . . . . . . . . . . . 362
ip dhcp snooping trust . . . . . . . . . . . . . . . . . . 362
ip dhcp snooping verify mac-address
show ip dhcp snooping
. . . . . . . . . . . . . . . . . 364
. . . . . . . . . . 363
show ip dhcp snooping binding . . . . . . . . . . . . . 365
Contents 9
show ip dhcp snooping database . . . . . . . . . . . 366
show ip dhcp snooping interfaces
. . . . . . . . . . 367
show ip dhcp snooping statistics . . . . . . . . . . . 368
12 Dynamic ARP Inspection Commands. . . 371
Commands in this Chapter . . . . . . . . . . . . . . . 371
arp access-list
clear ip arp inspection statistics . . . . . . . . . . . 372
ip arp inspection filter . . . . . . . . . . . . . . . . . 373
ip arp inspection limit
ip arp inspection trust . . . . . . . . . . . . . . . . . 374
ip arp inspection validate . . . . . . . . . . . . . . . 375
ip arp inspection vlan
permit ip host mac host . . . . . . . . . . . . . . . . 377
show arp access-list. . . . . . . . . . . . . . . . . . 378
. . . . . . . . . . . . . . . . . . . . . 371
. . . . . . . . . . . . . . . . . 373
. . . . . . . . . . . . . . . . . 376
13 Email Alerting Commands . . . . . . . . . . . 385
10 Contents
show ip arp inspection
. . . . . . . . . . . . . . . . . 378
show ip arp inspection vlan . . . . . . . . . . . . . . 381
Commands in this Chapter . . . . . . . . . . . . . . . 385
logging email
. . . . . . . . . . . . . . . . . . . . . . 386
logging email urgent . . . . . . . . . . . . . . . . . . 388
logging traps . . . . . . . . . . . . . . . . . . . . . . . 389
logging email message-type to-addr
. . . . . . . . . . 390
logging email from-addr . . . . . . . . . . . . . . . . . 391
logging email message-type subject . . . . . . . . . . 391
logging email logtime
logging email test message-type
. . . . . . . . . . . . . . . . . . 392
. . . . . . . . . . . . 393
show logging email statistics . . . . . . . . . . . . . . 394
clear logging email statistics
. . . . . . . . . . . . . . 394
security. . . . . . . . . . . . . . . . . . . . . . . . . . 395
mail-server ip-address | hostname . . . . . . . . . . . 396
port (Mail Server Configuration Mode)
. . . . . . . . . 397
username (Mail Server Configuration Mode). . . . . . 397
password (Mail Server Configuration Mode). . . . . . 398
show mail-server
. . . . . . . . . . . . . . . . . . . . 399
14 Ethernet Configuration Commands . . . . 401
Commands in this Chapter. . . . . . . . . . . . . . . . 402
clear counters
description
duplex . . . . . . . . . . . . . . . . . . . . . . . . . . 404
flowcontrol
interface
. . . . . . . . . . . . . . . . . . . . . . 402
. . . . . . . . . . . . . . . . . . . . . . . . 403
. . . . . . . . . . . . . . . . . . . . . . . . 405
. . . . . . . . . . . . . . . . . . . . . . . . . 405
Contents 11
interface range. . . . . . . . . . . . . . . . . . . . . 406
mtu
. . . . . . . . . . . . . . . . . . . . . . . . . . . 408
show interfaces advertise . . . . . . . . . . . . . . . 409
show interfaces configuration. . . . . . . . . . . . . 410
show interfaces counters
show interfaces description
. . . . . . . . . . . . . . . 412
. . . . . . . . . . . . . . 415
show interfaces detail. . . . . . . . . . . . . . . . . 416
show interfaces status
. . . . . . . . . . . . . . . . . 419
show statistics . . . . . . . . . . . . . . . . . . . . . 420
show statistics switchport . . . . . . . . . . . . . . 425
show storm-control
. . . . . . . . . . . . . . . . . . 427
shutdown . . . . . . . . . . . . . . . . . . . . . . . . 428
speed . . . . . . . . . . . . . . . . . . . . . . . . . . 429
storm-control broadcast
. . . . . . . . . . . . . . . . 430
storm-control multicast . . . . . . . . . . . . . . . . 431
storm-control unicast . . . . . . . . . . . . . . . . . 432
switchport protected
. . . . . . . . . . . . . . . . . . 433
switchport protected name . . . . . . . . . . . . . . 434
15 Ethernet CFM Commands. . . . . . . . . . . . 437
12 Contents
show switchport protected . . . . . . . . . . . . . . 434
Commands in this Chapter . . . . . . . . . . . . . . . 437
ethernet cfm domain . . . . . . . . . . . . . . . . . . . 438
service
. . . . . . . . . . . . . . . . . . . . . . . . . . 439
ethernet cfm cc level . . . . . . . . . . . . . . . . . . 440
ethernet cfm mep level . . . . . . . . . . . . . . . . . 441
ethernet cfm mep enable
ethernet cfm mep active
. . . . . . . . . . . . . . . . 442
. . . . . . . . . . . . . . . . . 443
ethernet cfm mep archive-hold-time . . . . . . . . . . 444
ethernet cfm mip level
. . . . . . . . . . . . . . . . . . 444
ping ethernet cfm . . . . . . . . . . . . . . . . . . . . 445
traceroute ethernet cfm . . . . . . . . . . . . . . . . . 446
show ethernet cfm errors
. . . . . . . . . . . . . . . . 448
show ethernet cfm domain . . . . . . . . . . . . . . . 448
show ethernet cfm maintenance-points local . . . . . 449
show ethernet cfm maintenance-points remote
. . . . 450
show ethernet cfm statistics . . . . . . . . . . . . . . 452
debug cfm . . . . . . . . . . . . . . . . . . . . . . . . 453
16 GVRP Commands . . . . . . . . . . . . . . . . . . 457
Commands in this Chapter. . . . . . . . . . . . . . . . 457
clear gvrp statistics . . . . . . . . . . . . . . . . . . . 457
garp timer
gvrp enable (global)
. . . . . . . . . . . . . . . . . . . . . . . . 458
. . . . . . . . . . . . . . . . . . . 459
Contents 13
gvrp enable (interface). . . . . . . . . . . . . . . . . 460
gvrp registration-forbid
. . . . . . . . . . . . . . . . 461
gvrp vlan-creation-forbid . . . . . . . . . . . . . . . 462
show gvrp configuration . . . . . . . . . . . . . . . . 462
show gvrp error-statistics
show gvrp statistics
. . . . . . . . . . . . . . . 464
. . . . . . . . . . . . . . . . . . 465
17 IGMP Snooping Commands . . . . . . . . . . 467
Commands in this Chapter . . . . . . . . . . . . . . . 468
ip igmp snooping (global)
ip igmp snooping (interface). . . . . . . . . . . . . . 469
ip igmp snooping host-time-out . . . . . . . . . . . . 470
ip igmp snooping leave-time-out
ip igmp snooping mrouter-time-out . . . . . . . . . . 471
show ip igmp snooping . . . . . . . . . . . . . . . . 472
. . . . . . . . . . . . . . . 468
. . . . . . . . . . . 470
14 Contents
show ip igmp snooping groups
. . . . . . . . . . . . 473
show ip igmp snooping interface . . . . . . . . . . . 474
show ip igmp snooping mrouter
ip igmp snooping (VLAN)
. . . . . . . . . . . . 475
. . . . . . . . . . . . . . . . 475
ip igmp snooping fast-leave . . . . . . . . . . . . . . 476
ip igmp snooping groupmembership-interval
. . . . . 477
ip igmp snooping maxresponse . . . . . . . . . . . . . 478
ip igmp snooping mcrtrexpiretime
. . . . . . . . . . . 479
18 IGMP Snooping Querier Commands . . . 481
Commands in this Chapter. . . . . . . . . . . . . . . . 481
ip igmp snooping querier . . . . . . . . . . . . . . . . 481
ip igmp snooping querier election participate
. . . . . 483
ip igmp snooping querier query-interval . . . . . . . . 484
ip igmp snooping querier timer expiry . . . . . . . . . 485
ip igmp snooping querier version
. . . . . . . . . . . . 485
show ip igmp snooping querier . . . . . . . . . . . . . 486
19 IP Addressing Commands . . . . . . . . . . . 489
Commands in this Chapter. . . . . . . . . . . . . . . . 489
clear host
. . . . . . . . . . . . . . . . . . . . . . . . 490
clear ip address-conflict-detect . . . . . . . . . . . . 490
interface out-of-band . . . . . . . . . . . . . . . . . . 491
ip address (Out-of-Band)
. . . . . . . . . . . . . . . . 492
ip address-conflict-detect run. . . . . . . . . . . . . . 493
ip address dhcp (Interface Config)
ip default-gateway
. . . . . . . . . . . . . . . . . . . . 495
. . . . . . . . . . . 494
ip domain-lookup . . . . . . . . . . . . . . . . . . . . 496
Contents 15
ip domain-name . . . . . . . . . . . . . . . . . . . . 497
ip host
. . . . . . . . . . . . . . . . . . . . . . . . . 498
ip name-server . . . . . . . . . . . . . . . . . . . . . 499
ipv6 address (Interface Config) . . . . . . . . . . . . 499
ipv6 address (OOB Port)
ipv6 address dhcp
. . . . . . . . . . . . . . . . 501
. . . . . . . . . . . . . . . . . . . 502
ipv6 enable (Interface Config) . . . . . . . . . . . . . 503
ipv6 enable (OOB Config)
. . . . . . . . . . . . . . . 504
ipv6 gateway (OOB Config) . . . . . . . . . . . . . . 505
show hosts . . . . . . . . . . . . . . . . . . . . . . . 505
show ip address-conflict
. . . . . . . . . . . . . . . 506
show ip helper-address . . . . . . . . . . . . . . . . 508
show ipv6 dhcp interface out-of-band statistics . . . 509
show ipv6 interface out-of-band
. . . . . . . . . . . . 510
20 IPv6 Access List Commands . . . . . . . . . 513
Commands in this Chapter . . . . . . . . . . . . . . . 513
{deny | permit} (IPv6 ACL)
. . . . . . . . . . . . . . . 514
16 Contents
ipv6 access-list
. . . . . . . . . . . . . . . . . . . . 516
ipv6 access-list rename . . . . . . . . . . . . . . . . 517
ipv6 traffic-filter
show ipv6 access-lists
. . . . . . . . . . . . . . . . . . . . 518
. . . . . . . . . . . . . . . . . 519
21 IPv6 MLD Snooping Commands. . . . . . . 523
Commands in this Chapter. . . . . . . . . . . . . . . . 523
ipv6 mld snooping immediate-leave . . . . . . . . . . 524
ipv6 mld snooping groupmembership-interval . . . . . 525
ipv6 mld snooping maxresponse
. . . . . . . . . . . . 525
ipv6 mld snooping mcrtexpiretime . . . . . . . . . . . 526
ipv6 mld snooping (Global) . . . . . . . . . . . . . . . 527
ipv6 mld snooping (Interface)
. . . . . . . . . . . . . . 528
ipv6 mld snooping (VLAN) . . . . . . . . . . . . . . . . 529
show ipv6 mld snooping . . . . . . . . . . . . . . . . . 530
show ipv6 mld snooping groups
. . . . . . . . . . . . . 531
22 IPv6 MLD Snooping Querier
Commands . . . . . . . . . . . . . . . . . . . . . . . 535
Commands in this Chapter. . . . . . . . . . . . . . . . 535
ipv6 mld snooping querier. . . . . . . . . . . . . . . . 536
ipv6 mld snooping querier (VLAN mode) . . . . . . . . 536
ipv6 mld snooping querier address
. . . . . . . . . . . 537
ipv6 mld snooping querier election participate. . . . . 538
ipv6 mld snooping querier query-interval
ipv6 mld snooping querier timer expiry
. . . . . . . . 538
. . . . . . . . . 539
show ipv6 mld snooping querier . . . . . . . . . . . . 540
Contents 17
23 IP Source Guard Commands . . . . . . . . . 543
Commands in this Chapter . . . . . . . . . . . . . . . 543
ip verify source. . . . . . . . . . . . . . . . . . . . . 543
ip verify source port-security . . . . . . . . . . . . . 544
ip verify binding
. . . . . . . . . . . . . . . . . . . . 545
show ip verify interface . . . . . . . . . . . . . . . . 545
show ip verify source interface . . . . . . . . . . . . 546
show ip source binding
. . . . . . . . . . . . . . . . 546
24 iSCSI Optimization Commands. . . . . . . . 549
Commands in this Chapter . . . . . . . . . . . . . . . 550
iscsi aging time . . . . . . . . . . . . . . . . . . . . 550
iscsi cos
iscsi enable . . . . . . . . . . . . . . . . . . . . . . 553
iscsi target port . . . . . . . . . . . . . . . . . . . . 554
show iscsi
show iscsi sessions . . . . . . . . . . . . . . . . . . 557
. . . . . . . . . . . . . . . . . . . . . . . . 551
. . . . . . . . . . . . . . . . . . . . . . . 556
25 Link Dependency Commands . . . . . . . . . 561
18 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 561
action
. . . . . . . . . . . . . . . . . . . . . . . . . . 561
link-dependency group . . . . . . . . . . . . . . . . 562
add gigabitethernet . . . . . . . . . . . . . . . . . . . 563
add tengigabitethernet
. . . . . . . . . . . . . . . . . 563
add port-channel. . . . . . . . . . . . . . . . . . . . . 564
depends-on. . . . . . . . . . . . . . . . . . . . . . . . 565
show link-dependency
. . . . . . . . . . . . . . . . . 566
26 LLDP Commands . . . . . . . . . . . . . . . . . . 569
Commands in this Chapter. . . . . . . . . . . . . . . . 570
clear lldp remote-data . . . . . . . . . . . . . . . . . . 570
clear lldp statistics
lldp notification . . . . . . . . . . . . . . . . . . . . . 572
lldp notification-interval. . . . . . . . . . . . . . . . . 572
lldp receive
lldp timers . . . . . . . . . . . . . . . . . . . . . . . . 574
lldp transmit . . . . . . . . . . . . . . . . . . . . . . . 575
. . . . . . . . . . . . . . . . . . . 571
. . . . . . . . . . . . . . . . . . . . . . . 573
lldp transmit-mgmt
. . . . . . . . . . . . . . . . . . . . 576
lldp transmit-tlv . . . . . . . . . . . . . . . . . . . . . 576
show lldp
show lldp interface
. . . . . . . . . . . . . . . . . . . . . . . . . 577
. . . . . . . . . . . . . . . . . . . 578
show lldp local-device . . . . . . . . . . . . . . . . . 579
show lldp remote-device
show lldp statistics
. . . . . . . . . . . . . . . . 581
. . . . . . . . . . . . . . . . . . . 582
Contents 19
27 Multicast VLAN Registration
Commands . . . . . . . . . . . . . . . . . . . . . . . 585
Commands in this Chapter . . . . . . . . . . . . . . . 586
mvr
. . . . . . . . . . . . . . . . . . . . . . . . . . . 586
mvr group. . . . . . . . . . . . . . . . . . . . . . . . 587
mvr mode . . . . . . . . . . . . . . . . . . . . . . . . 588
mvr querytime
. . . . . . . . . . . . . . . . . . . . . 588
mvr vlan . . . . . . . . . . . . . . . . . . . . . . . . 590
mvr immediate . . . . . . . . . . . . . . . . . . . . . 590
mvr type
. . . . . . . . . . . . . . . . . . . . . . . . 591
mvr vlan group . . . . . . . . . . . . . . . . . . . . . 593
show mvr . . . . . . . . . . . . . . . . . . . . . . . . 594
show mvr members
. . . . . . . . . . . . . . . . . . 596
show mvr interface . . . . . . . . . . . . . . . . . . 597
show mvr traffic . . . . . . . . . . . . . . . . . . . . 599
28 Port Aggregator Commands . . . . . . . . . 601
add ethernet . . . . . . . . . . . . . . . . . . . . . . 601
duplex . . . . . . . . . . . . . . . . . . . . . . . . . 602
minimum active uplinks
. . . . . . . . . . . . . . . . 603
20 Contents
mtu disable
. . . . . . . . . . . . . . . . . . . . . . . 603
negotiation . . . . . . . . . . . . . . . . . . . . . . . 604
port-aggregator group . . . . . . . . . . . . . . . . . . 605
show bridge address-table
. . . . . . . . . . . . . . . 606
speed . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
29 Port Channel Commands . . . . . . . . . . . . 609
Static LAGS . . . . . . . . . . . . . . . . . . . . . . . 609
VLANs and LAGs
LAG Thresholds . . . . . . . . . . . . . . . . . . . . . 610
Port Channels . . . . . . . . . . . . . . . . . . . . . . 610
LAG Hashing
Enhanced LAG Hashing . . . . . . . . . . . . . . . . . 612
Manual Aggregation of LAGs . . . . . . . . . . . . . . 613
Manual Aggregation of LAGs
Flexible Assignment of Ports to LAGs. . . . . . . . . . 613
Commands in this Chapter. . . . . . . . . . . . . . . . 613
. . . . . . . . . . . . . . . . . . . . . 610
. . . . . . . . . . . . . . . . . . . . . . . 611
. . . . . . . . . . . . . . 613
channel-group
. . . . . . . . . . . . . . . . . . . . . . 614
interface port-channel . . . . . . . . . . . . . . . . . . 615
interface range port-channel
hashing-mode
. . . . . . . . . . . . . . . . . . . . . . 616
. . . . . . . . . . . . . . 615
lacp auto . . . . . . . . . . . . . . . . . . . . . . . . . 617
lacp off
. . . . . . . . . . . . . . . . . . . . . . . . . . 618
lacp port-priority
. . . . . . . . . . . . . . . . . . . . . 619
Contents 21
lacp static . . . . . . . . . . . . . . . . . . . . . . . 619
lacp system-priority
. . . . . . . . . . . . . . . . . . 620
lacp timeout . . . . . . . . . . . . . . . . . . . . . . 621
no lacp . . . . . . . . . . . . . . . . . . . . . . . . . 622
port-channel min-links
show interfaces port-channel
. . . . . . . . . . . . . . . . . 622
. . . . . . . . . . . . . 623
show lacp . . . . . . . . . . . . . . . . . . . . . . . 624
show statistics port-channel
. . . . . . . . . . . . . 626
30 Port Monitor Commands . . . . . . . . . . . . 631
Commands in this Chapter . . . . . . . . . . . . . . . 631
monitor session . . . . . . . . . . . . . . . . . . . . 632
show monitor session
. . . . . . . . . . . . . . . . . 633
31 QoS Commands . . . . . . . . . . . . . . . . . . . 635
22 Contents
Access Control Lists . . . . . . . . . . . . . . . . . . 635
Layer 2 ACLs . . . . . . . . . . . . . . . . . . . . . . 636
Layer 3/4 IPv4 ACLs
. . . . . . . . . . . . . . . . . . 636
Class of Service (CoS) . . . . . . . . . . . . . . . . . 636
Queue Mapping
PCM6220 Limitations
. . . . . . . . . . . . . . . . . . . . 637
. . . . . . . . . . . . . . . . . . 638
Commands in this Chapter . . . . . . . . . . . . . . . 638
assign-queue. . . . . . . . . . . . . . . . . . . . . . . 639
class
. . . . . . . . . . . . . . . . . . . . . . . . . . . 640
class-map . . . . . . . . . . . . . . . . . . . . . . . . 641
class-map rename . . . . . . . . . . . . . . . . . . . . 641
classofservice dot1p-mapping
classofservice ip-dscp-mapping
. . . . . . . . . . . . . 642
. . . . . . . . . . . . 643
classofservice trust . . . . . . . . . . . . . . . . . . . 644
conform-color
. . . . . . . . . . . . . . . . . . . . . . 645
cos-queue min-bandwidth . . . . . . . . . . . . . . . 646
cos-queue random-detect . . . . . . . . . . . . . . . . 646
cos-queue strict
. . . . . . . . . . . . . . . . . . . . . 648
diffserv . . . . . . . . . . . . . . . . . . . . . . . . . . 649
drop. . . . . . . . . . . . . . . . . . . . . . . . . . . . 649
mark cos
. . . . . . . . . . . . . . . . . . . . . . . . . 650
mark ip-dscp . . . . . . . . . . . . . . . . . . . . . . . 651
mark ip-precedence . . . . . . . . . . . . . . . . . . . 652
match class-map
. . . . . . . . . . . . . . . . . . . . . 652
match cos . . . . . . . . . . . . . . . . . . . . . . . . 654
match destination-address mac. . . . . . . . . . . . . 654
match dstip
. . . . . . . . . . . . . . . . . . . . . . . . 655
match dstip6 . . . . . . . . . . . . . . . . . . . . . . . 656
Contents 23
match dstl4port . . . . . . . . . . . . . . . . . . . . . 657
match ethertype
. . . . . . . . . . . . . . . . . . . . 658
match ip6flowlbl . . . . . . . . . . . . . . . . . . . . 658
match ip dscp . . . . . . . . . . . . . . . . . . . . . 659
match ip precedence
match ip tos
. . . . . . . . . . . . . . . . . . 660
. . . . . . . . . . . . . . . . . . . . . . 661
match protocol . . . . . . . . . . . . . . . . . . . . . 662
match source-address mac
. . . . . . . . . . . . . . 663
match srcip . . . . . . . . . . . . . . . . . . . . . . . 664
match srcip6 . . . . . . . . . . . . . . . . . . . . . . 664
match srcl4port
. . . . . . . . . . . . . . . . . . . . . 665
match vlan . . . . . . . . . . . . . . . . . . . . . . . 666
mirror . . . . . . . . . . . . . . . . . . . . . . . . . . 667
police-simple
. . . . . . . . . . . . . . . . . . . . . . 667
policy-map . . . . . . . . . . . . . . . . . . . . . . . 668
24 Contents
redirect . . . . . . . . . . . . . . . . . . . . . . . . . 670
service-policy
. . . . . . . . . . . . . . . . . . . . . 670
show class-map . . . . . . . . . . . . . . . . . . . . 672
show classofservice dot1p-mapping . . . . . . . . . 673
show classofservice ip-dscp-mapping
. . . . . . . . 675
show classofservice trust . . . . . . . . . . . . . . . 678
show diffserv. . . . . . . . . . . . . . . . . . . . . . . 679
show diffserv service interface
. . . . . . . . . . . . . 680
show diffserv service interface port-channel . . . . . 681
show diffserv service brief . . . . . . . . . . . . . . . 682
show interfaces cos-queue
show interfaces random-detect
. . . . . . . . . . . . . . . 682
. . . . . . . . . . . . . 685
show policy-map . . . . . . . . . . . . . . . . . . . . 686
show policy-map interface
. . . . . . . . . . . . . . . 686
show service-policy . . . . . . . . . . . . . . . . . . . 688
traffic-shape . . . . . . . . . . . . . . . . . . . . . . . 689
32 RADIUS Commands . . . . . . . . . . . . . . . . 691
Commands in this Chapter. . . . . . . . . . . . . . . . 694
aaa accounting network default start-stop group
radius. . . . . . . . . . . . . . . . . . . . . . . . . . . 695
acct-port
. . . . . . . . . . . . . . . . . . . . . . . . . 695
auth-port . . . . . . . . . . . . . . . . . . . . . . . . . 696
deadtime
key
. . . . . . . . . . . . . . . . . . . . . . . . . 697
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
msgauth . . . . . . . . . . . . . . . . . . . . . . . . . 698
name (RADIUS server)
primary
. . . . . . . . . . . . . . . . . . . . . . . . . . 700
. . . . . . . . . . . . . . . . . . 699
Contents 25
priority . . . . . . . . . . . . . . . . . . . . . . . . . 701
radius-server deadtime
. . . . . . . . . . . . . . . . 702
radius-server host . . . . . . . . . . . . . . . . . . . 703
radius-server key . . . . . . . . . . . . . . . . . . . 704
radius-server retransmit
radius-server source-ip
. . . . . . . . . . . . . . . . 705
. . . . . . . . . . . . . . . . 705
radius-server timeout . . . . . . . . . . . . . . . . . 706
retransmit
. . . . . . . . . . . . . . . . . . . . . . . 707
show aaa servers . . . . . . . . . . . . . . . . . . . 708
show radius statistics . . . . . . . . . . . . . . . . . 711
source-ip
. . . . . . . . . . . . . . . . . . . . . . . . 715
timeout . . . . . . . . . . . . . . . . . . . . . . . . . 716
usage . . . . . . . . . . . . . . . . . . . . . . . . . . 717
33 Spanning Tree Commands . . . . . . . . . . . 719
26 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 720
clear spanning-tree detected-protocols . . . . . . . 721
exit (mst)
instance (mst)
. . . . . . . . . . . . . . . . . . . . . . . . 721
. . . . . . . . . . . . . . . . . . . . . 722
name (mst) . . . . . . . . . . . . . . . . . . . . . . . 724
revision (mst)
show spanning-tree
. . . . . . . . . . . . . . . . . . . . . . 725
. . . . . . . . . . . . . . . . . . 725
show spanning-tree summary . . . . . . . . . . . . . . 729
spanning-tree
. . . . . . . . . . . . . . . . . . . . . . 731
spanning-tree auto-portfast . . . . . . . . . . . . . . . 732
spanning-tree bpdu flooding . . . . . . . . . . . . . . 732
spanning-tree bpdu-protection
spanning-tree cost
. . . . . . . . . . . . . . . . . . . . 734
. . . . . . . . . . . . . 733
spanning-tree disable . . . . . . . . . . . . . . . . . . 735
spanning-tree forward-time
. . . . . . . . . . . . . . . 736
spanning-tree guard . . . . . . . . . . . . . . . . . . . 737
spanning-tree loopguard . . . . . . . . . . . . . . . . 737
spanning-tree max-age
. . . . . . . . . . . . . . . . . 738
spanning-tree max-hops. . . . . . . . . . . . . . . . . 739
spanning-tree mode . . . . . . . . . . . . . . . . . . . 740
spanning-tree mst configuration
. . . . . . . . . . . . 740
spanning-tree mst cost . . . . . . . . . . . . . . . . . 741
spanning-tree mst port-priority . . . . . . . . . . . . . 742
spanning-tree mst priority
. . . . . . . . . . . . . . . . 743
spanning-tree portfast . . . . . . . . . . . . . . . . . . 744
spanning-tree portfast bpdufilter default . . . . . . . . 745
spanning-tree portfast default
. . . . . . . . . . . . . . 746
spanning-tree port-priority . . . . . . . . . . . . . . . 747
Contents 27
spanning-tree priority . . . . . . . . . . . . . . . . . 748
spanning-tree tcnguard
. . . . . . . . . . . . . . . . 748
spanning-tree transmit hold-count . . . . . . . . . . 749
34 TACACS+ Commands . . . . . . . . . . . . . . . 751
Commands in this Chapter . . . . . . . . . . . . . . . 752
key
. . . . . . . . . . . . . . . . . . . . . . . . . . . 752
port . . . . . . . . . . . . . . . . . . . . . . . . . . . 753
priority . . . . . . . . . . . . . . . . . . . . . . . . . 753
show tacacs
tacacs-server host . . . . . . . . . . . . . . . . . . . 755
tacacs-server key . . . . . . . . . . . . . . . . . . . 756
tacacs-server timeout
timeout . . . . . . . . . . . . . . . . . . . . . . . . . 757
. . . . . . . . . . . . . . . . . . . . . . 754
. . . . . . . . . . . . . . . . . 757
35 VLAN Commands . . . . . . . . . . . . . . . . . . 759
28 Contents
Double VLAN Mode . . . . . . . . . . . . . . . . . . 759
Independent VLAN Learning
. . . . . . . . . . . . . . 760
Protocol Based VLANs . . . . . . . . . . . . . . . . . 760
IP Subnet Based VLANs
MAC-Based VLANs
. . . . . . . . . . . . . . . . 761
. . . . . . . . . . . . . . . . . . 761
Commands in this Chapter . . . . . . . . . . . . . . . 761
dvlan-tunnel ethertype. . . . . . . . . . . . . . . . . . 762
interface vlan
. . . . . . . . . . . . . . . . . . . . . . 763
interface range vlan . . . . . . . . . . . . . . . . . . . 764
mode dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 765
name (VLAN Configuration)
protocol group
. . . . . . . . . . . . . . . . . . . . . . 767
. . . . . . . . . . . . . . . 766
protocol vlan group . . . . . . . . . . . . . . . . . . . 768
protocol vlan group all
. . . . . . . . . . . . . . . . . . 769
show dvlan-tunnel . . . . . . . . . . . . . . . . . . . . 770
show dvlan-tunnel interface . . . . . . . . . . . . . . 771
show interfaces switchport
. . . . . . . . . . . . . . . 772
show port protocol. . . . . . . . . . . . . . . . . . . . 776
show vlan . . . . . . . . . . . . . . . . . . . . . . . . 777
show vlan association mac
. . . . . . . . . . . . . . . 778
show vlan association subnet . . . . . . . . . . . . . . 779
switchport access vlan . . . . . . . . . . . . . . . . . 780
switchport forbidden vlan
. . . . . . . . . . . . . . . . 781
switchport general acceptable-frame-type
tagged-only . . . . . . . . . . . . . . . . . . . . . . . 782
switchport general allowed vlan
. . . . . . . . . . . . 782
switchport general ingress-filtering disable . . . . . . 783
Contents 29
switchport general pvid . . . . . . . . . . . . . . . . 784
switchport mode
. . . . . . . . . . . . . . . . . . . . 785
switchport trunk . . . . . . . . . . . . . . . . . . . . 786
vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . 788
vlan (Global Config)
vlan association mac
. . . . . . . . . . . . . . . . . . 789
. . . . . . . . . . . . . . . . . 790
vlan association subnet . . . . . . . . . . . . . . . . 790
vlan database
. . . . . . . . . . . . . . . . . . . . . 791
vlan makestatic . . . . . . . . . . . . . . . . . . . . 792
vlan protocol group . . . . . . . . . . . . . . . . . . 793
vlan protocol group add protocol
. . . . . . . . . . . 794
vlan protocol group name . . . . . . . . . . . . . . . 795
vlan protocol group remove . . . . . . . . . . . . . . 795
vlan routing
. . . . . . . . . . . . . . . . . . . . . . . 796
36 Voice VLAN Commands . . . . . . . . . . . . . 799
30 Contents
Commands in this Chapter . . . . . . . . . . . . . . . 800
voice vlan
voice vlan (Interface)
. . . . . . . . . . . . . . . . . . . . . . . 800
. . . . . . . . . . . . . . . . . 800
voice vlan data priority . . . . . . . . . . . . . . . . 802
show voice vlan
. . . . . . . . . . . . . . . . . . . . 802
Loading...
+ 1750 hidden pages