Dell EMC Networking N-Series N1100-ON, N1500, N2000, N2100-ON, N3000, N3000-ON, N3100-ON, and N4000 Switches CLI Reference Guide
Version 6.5.2.x—N1500/N2000/ N2100-ON/N3000/N3000-ON/ N3100-ON/N4000 Series Switches
Version 6.4.x.x—N1100-ON Series Switches
Regulatory Model: E17W/E18W/E15W/E16W/E05W/E04W/ E06W/E07W/PowerConnect 8132/PowerConnect 8132F/ PowerConnect 8164/PowerConnect 8164F
Notes
NOTE: A NOTE indicates important information that helps you make better use of your computer.
CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed.
____________________
Information in this publication is subject to change without notice.
Copyright © 2018 Dell EMC Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. Dell EMC® and the Dell EMC logo are trademarksofDellEMCInc.intheUnitedStatesand/orotherjurisdictions.Allothermarksandnames mentioned herein may be trademarks of their respective companies.
Regulatory Model E17W/E18W/E15W/E16W/E05W/E04W/E06W/E07W/PowerConnect 8132/ PowerConnect 8132F/PowerConnect 8164/PowerConnect 8164F
2018 - June Rev. A04
Contents
1 Dell EMC Networking CLI . . . . . . . . . . . . 97
Introduction . . . . . . . . . . . . . . . . . . . . . 97
Command Groups. . . . . . . . . . . . . . . . . . 98
Mode Types. . . . . . . . . . . . . . . . . . . . . 103
2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 223
Introduction . . . . . . . . . . . . . . . . . . . . . 223
Entering and Editing CLI Commands . . . . . . . . 223
CLI Command Modes . . . . . . . . . . . . . . . . 237
Starting the CLI . . . . . . . . . . . . . . . . . . . 251
Using CLI Functions and Tools . . . . . . . . . . . 252
3 Layer 2 Switching Commands . . . . . . . . 265
ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266
ACL Logging . . . . . . . . . . . . . . . . . . . . |
266 |
Commands in this Section . . . . . . . . . . . . . |
269 |
ip access-list . . . . . . . . . . . . . . . . . . . . |
269 |
deny | permit (IP ACL). . . . . . . . . . . . . . . . |
270 |
Contents 5
deny | permit (Mac-Access-List-Configuration) . . |
276 |
ip access-group . . . . . . . . . . . . . . . . . . |
279 |
mac access-group . . . . . . . . . . . . . . . . . |
281 |
mac access-list extended . . . . . . . . . . . . . |
283 |
mac access-list extended rename . . . . . . . . . |
283 |
remark . . . . . . . . . . . . . . . . . . . . . . . |
284 |
service-acl input . . . . . . . . . . . . . . . . . . |
286 |
show service-acl interface . . . . . . . . . . . . . |
287 |
show access-lists interface . . . . . . . . . . . . |
288 |
show ip access-lists . . . . . . . . . . . . . . . . |
288 |
show mac access-lists . . . . . . . . . . . . . . . |
292 |
MAC Address Table Commands . . . . . . . . . . . . . . . .294
Commands in this Section . . . . . . . . . . . . . |
295 |
clear mac address-table . . . . . . . . . . . . . . |
295 |
mac address-table aging-time . . . . . . . . . . . |
296 |
mac address-table multicast forbidden |
|
address . . . . . . . . . . . . . . . . . . . . . . . |
297 |
mac address-table static . . . . . . . . . . . . . . |
298 |
switchport port-security (Global Configuration) . . 299 switchport port-security (Interface
Configuration). . . . . . . . . . . . . . . . . . . . 302
Contents 6
show mac address-table multicast. . . . . . . . . |
307 |
show mac address-table . . . . . . . . . . . . . . |
308 |
show mac address-table address . . . . . . . . . |
309 |
show mac address-table count . . . . . . . . . . |
310 |
show mac address-table dynamic . . . . . . . . . |
311 |
show mac address-table interface. . . . . . . . . |
312 |
show mac address-table static. . . . . . . . . . . |
313 |
show mac address-table vlan . . . . . . . . . . . |
314 |
show port-security . . . . . . . . . . . . . . . . . |
315 |
Auto-VoIP Commands . . . . . . . . . . . . . . . . . . . . . . . . .318
Commands in this Section . . . . . . . . . . . . . 318
show switchport voice . . . . . . . . . . . . . . . 319 switchport voice detect auto . . . . . . . . . . . . 321
CDP Interoperability Commands . . . . . . . . . . . . . . . .322
Commands in this Section . . . . . . . . . . . . . |
322 |
clear isdp counters . . . . . . . . . . . . . . . . . |
322 |
clear isdp table . . . . . . . . . . . . . . . . . . . |
323 |
isdp advertise-v2 . . . . . . . . . . . . . . . . . . |
323 |
isdp enable . . . . . . . . . . . . . . . . . . . . . |
324 |
isdp holdtime . . . . . . . . . . . . . . . . . . . . |
325 |
isdp timer . . . . . . . . . . . . . . . . . . . . . . |
326 |
show isdp . . . . . . . . . . . . . . . . . . . . . . |
326 |
Contents 7
show isdp entry . . . . . . . . . . . . . . . . . . . 327
show isdp interface. . . . . . . . . . . . . . . . . 328
show isdp neighbors . . . . . . . . . . . . . . . . 329 show isdp traffic . . . . . . . . . . . . . . . . . . 330
DHCP Layer 2 Relay Commands . . . . . . . . . . . . . . . . .332
Commands in this Section . . . . . . . . . . . . . |
332 |
dhcp l2relay (Global Configuration) . . . . . . . . |
333 |
dhcp l2relay (Interface Configuration) . . . . . . . |
333 |
dhcp l2relay circuit-id . . . . . . . . . . . . . . . |
334 |
dhcp l2relay remote-id . . . . . . . . . . . . . . . |
335 |
dhcp l2relay trust . . . . . . . . . . . . . . . . . . |
335 |
dhcp l2relay vlan . . . . . . . . . . . . . . . . . . |
336 |
show dhcp l2relay all . . . . . . . . . . . . . . . . |
337 |
show dhcp l2relay interface . . . . . . . . . . . . |
338 |
show dhcp l2relay stats interface . . . . . . . . . |
338 |
show dhcp l2relay agent-option vlan. . . . . . . . |
339 |
show dhcp l2relay vlan . . . . . . . . . . . . . . . |
340 |
show dhcp l2relay circuit-id vlan. . . . . . . . . . |
341 |
show dhcp l2relay remote-id vlan . . . . . . . . . |
342 |
clear dhcp l2relay statistics interface . . . . . . . |
342 |
DHCP Snooping Commands . . . . . . . . . . . . . . . . . . . .344
Commands in this Section . . . . . . . . . . . . . 345
Contents 8
clear ip dhcp snooping binding. . . . . . . . . . . |
345 |
clear ip dhcp snooping statistics . . . . . . . . . . |
346 |
ip dhcp snooping . . . . . . . . . . . . . . . . . . |
346 |
ip dhcp snooping binding . . . . . . . . . . . . . . |
347 |
ip dhcp snooping database. . . . . . . . . . . . . |
348 |
ip dhcp snooping database write-delay . . . . . . |
349 |
ip dhcp snooping limit . . . . . . . . . . . . . . . |
350 |
ip dhcp snooping log-invalid . . . . . . . . . . . . |
351 |
ip dhcp snooping trust . . . . . . . . . . . . . . . |
352 |
ip dhcp snooping verify mac-address . . . . . . . |
353 |
show ip dhcp snooping . . . . . . . . . . . . . . . |
353 |
show ip dhcp snooping binding . . . . . . . . . . |
354 |
show ip dhcp snooping database . . . . . . . . . |
355 |
show ip dhcp snooping interfaces . . . . . . . . . |
356 |
show ip dhcp snooping statistics. . . . . . . . . . |
357 |
DHCPv6 Snooping Commands . . . . . . . . . . . . . . . . . .359
clear ipv6 dhcp snooping binding . . . . . . . . . |
359 |
clear ipv6 dhcp snooping statistics . . . . . . . . |
360 |
ipv6 dhcp snooping . . . . . . . . . . . . . . . . . |
360 |
ipv6 dhcp snooping vlan . . . . . . . . . . . . . . |
361 |
ipv6 dhcp snooping binding . . . . . . . . . . . . |
362 |
Contents 9
ipv6 dhcp snooping database . . . . . . . . . . . |
363 |
ipv6 dhcp snooping database write-delay . . . . . |
364 |
ipv6 dhcp snooping limit . . . . . . . . . . . . . . |
365 |
ipv6 dhcp snooping log-invalid . . . . . . . . . . . |
366 |
ipv6 dhcp snooping trust . . . . . . . . . . . . . . |
367 |
ipv6 dhcp snooping verify mac-address . . . . . . |
367 |
ipv6 verify binding . . . . . . . . . . . . . . . . . |
368 |
ipv6 verify source . . . . . . . . . . . . . . . . . . |
369 |
show ipv6 dhcp snooping. . . . . . . . . . . . . . |
370 |
show ipv6 dhcp snooping binding . . . . . . . . . |
371 |
show ipv6 dhcp snooping database . . . . . . . . |
372 |
show ipv6 dhcp snooping interfaces . . . . . . . . |
373 |
show ipv6 dhcp snooping statistics . . . . . . . . |
373 |
show ipv6 source binding . . . . . . . . . . . . . |
375 |
show ipv6 verify. . . . . . . . . . . . . . . . . . . |
375 |
show ipv6 verify source . . . . . . . . . . . . . . |
376 |
Dynamic ARP Inspection Commands . . . . . . . . . . . .378
Commands in this Section . . . . . . . . . . . . . 378
arp ip access-list . . . . . . . . . . . . . . . . . . 378
clear ip arp inspection statistics . . . . . . . . . . 379
ip arp inspection filter . . . . . . . . . . . . . . . 380
Contents 10
ip arp inspection limit . . . . . . . . . . . . . . . . |
380 |
ip arp inspection trust . . . . . . . . . . . . . . . |
381 |
ip arp inspection validate. . . . . . . . . . . . . . |
382 |
ip arp inspection vlan . . . . . . . . . . . . . . . . |
383 |
permit ip host mac host. . . . . . . . . . . . . . . |
384 |
show arp access-list . . . . . . . . . . . . . . . . |
385 |
show ip arp inspection . . . . . . . . . . . . . . . |
385 |
Ethernet Configuration Commands . . . . . . . . . . . . . .389
Commands in this Section . . . . . . . . . . . . . |
390 |
clear counters . . . . . . . . . . . . . . . . . . . |
390 |
description . . . . . . . . . . . . . . . . . . . . . |
391 |
default (interface). . . . . . . . . . . . . . . . . . |
392 |
duplex . . . . . . . . . . . . . . . . . . . . . . . . |
393 |
flowcontrol . . . . . . . . . . . . . . . . . . . . . |
394 |
interface . . . . . . . . . . . . . . . . . . . . . . |
395 |
interface range . . . . . . . . . . . . . . . . . . . |
396 |
link debounce time . . . . . . . . . . . . . . . . . |
398 |
rate-limit cpu . . . . . . . . . . . . . . . . . . . . |
400 |
show interfaces. . . . . . . . . . . . . . . . . . . |
402 |
show interfaces advertise . . . . . . . . . . . . . |
405 |
show interfaces configuration . . . . . . . . . . . |
406 |
Contents 11
show interfaces counters . . . . . . . . . . . . . |
407 |
show interfaces debounce . . . . . . . . . . . . . |
411 |
show interfaces description . . . . . . . . . . . . |
412 |
show interfaces detail . . . . . . . . . . . . . . . |
413 |
show interfaces status . . . . . . . . . . . . . . . |
414 |
show interfaces transceiver . . . . . . . . . . . . |
417 |
show interfaces trunk . . . . . . . . . . . . . . . |
418 |
show statistics . . . . . . . . . . . . . . . . . . . |
419 |
show statistics switchport . . . . . . . . . . . . . |
422 |
show storm-control. . . . . . . . . . . . . . . . . |
424 |
show storm-control action . . . . . . . . . . . . . |
425 |
shutdown . . . . . . . . . . . . . . . . . . . . . . |
426 |
speed . . . . . . . . . . . . . . . . . . . . . . . . |
426 |
switchport protected . . . . . . . . . . . . . . . . |
429 |
switchport protected name. . . . . . . . . . . . . |
430 |
show switchport protected. . . . . . . . . . . . . |
431 |
show system mtu . . . . . . . . . . . . . . . . . . |
431 |
system jumbo mtu . . . . . . . . . . . . . . . . . |
432 |
Ethernet CFM Commands . . . . . . . . . . . . . . . . . . . . . .434
Commands in this Section . . . . . . . . . . . . . 434
ethernet cfm domain . . . . . . . . . . . . . . . . 435
Contents 12
service . . . . . . . . . . . . . . . . . . . . . . . |
436 |
ethernet cfm cc level . . . . . . . . . . . . . . . . |
436 |
ethernet cfm mep level . . . . . . . . . . . . . . . |
437 |
ethernet cfm mep enable . . . . . . . . . . . . . . |
438 |
ethernet cfm mep active . . . . . . . . . . . . . . |
439 |
ethernet cfm mep archive-hold-time . . . . . . . . |
439 |
ethernet cfm mip level . . . . . . . . . . . . . . . |
440 |
ping ethernet cfm . . . . . . . . . . . . . . . . . . |
441 |
traceroute ethernet cfm . . . . . . . . . . . . . . |
442 |
show ethernet cfm errors . . . . . . . . . . . . . |
443 |
show ethernet cfm domain . . . . . . . . . . . . . |
444 |
show ethernet cfm maintenance-points local . . . 445 show ethernet cfm maintenance-points
remote . . . . . . . . . . . . . . . . . . . . . . . 446 show ethernet cfm statistics . . . . . . . . . . . . 447
Green Ethernet Commands . . . . . . . . . . . . . . . . . . . . .450
Energy-Detect Mode . . . . . . . . . . . . . . . . |
450 |
Energy Efficient Ethernet . . . . . . . . . . . . . . |
450 |
Commands in this Section . . . . . . . . . . . . . |
450 |
green-mode energy-detect. . . . . . . . . . . . . |
451 |
green-mode eee . . . . . . . . . . . . . . . . . . |
452 |
Contents 13
green-mode eee { tx-idle-time | tx-wake-time}. . . |
453 |
clear green-mode statistics . . . . . . . . . . . . |
454 |
green-mode eee-lpi-history . . . . . . . . . . . . |
454 |
show green-mode interface-id . . . . . . . . . . . |
456 |
show green-mode . . . . . . . . . . . . . . . . . |
459 |
show green-mode eee-lpi-history interface . . . . |
461 |
GMRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
Commands in this Section . . . . . . . . |
. . . . . |
464 |
|
|
gmrp enable . . . . . . . . . . . . . . . |
. . . . . |
464 |
|
|
clear gmrp statistics . . . . . . . . . . . |
. . . . . |
465 |
|
|
show gmrp configuration . . . . . . . . . |
. . . . . |
465 |
|
|
GVRP Commands . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . .467 |
|
|
|
Commands in this Section . . . . . . . . |
. . . . . |
467 |
|
|
clear gvrp statistics. . . . . . . . . . . . |
. . . . . |
467 |
|
|
garp timer . . . . . . . . . . . . . . . . . |
. . . . . |
468 |
|
|
gvrp enable (Global Configuration) . . . . |
. . . . . |
469 |
|
|
gvrp enable (Interface Configuration) . . |
. . . . . |
470 |
|
|
gvrp registration-forbid . . . . . . . . . . |
. . . . . |
471 |
|
|
gvrp vlan-creation-forbid . . . . . . . . . |
. . . . . |
472 |
|
|
show gvrp configuration . . . . . . . . . |
. . . . . |
473 |
|
|
show gvrp error-statistics . . . . . . . . |
. . . . . |
474 |
|
|
show gvrp statistics . . . . . . . . . . . |
. . . . . |
475 |
|
|
|
Contents |
|
|
14 |
|
|
IGMP Snooping Commands . . . . . . . . . . . . . |
. . . . . . .477 |
|
|
|
Commands in this Section . . . . . . . . . |
. . . . |
478 |
|
|
ip igmp snooping . . . . . . . . . . . . . . |
. . . . |
478 |
|
|
show ip igmp snooping . . . . . . . . . . . |
. . . . |
480 |
|
|
show ip igmp snooping groups . . . . . . . |
. . . . |
481 |
|
|
show ip igmp snooping mrouter . . . . . . |
. . . . |
482 |
|
|
ip igmp snooping vlan immediate-leave . . |
. . . . |
483 |
|
|
ip igmp snooping vlan |
|
|
|
|
groupmembership-interval . . . . . . . . . |
. . . . |
484 |
|
|
ip igmp snooping vlan |
|
|
|
|
last-member-query-interval . . . . . . . . |
. . . . |
485 |
|
|
ip igmp snooping vlan mcrtrexpiretime . . |
. . . . |
486 |
|
|
ip igmp snooping report-suppression . . . |
. . . . |
487 |
|
|
ip igmp snooping unregistered floodall . . |
. . . . |
487 |
|
|
ip igmp snooping vlan mrouter . . . . . . . |
. . . . |
488 |
|
|
IGMP Snooping Querier Commands . . . . . . . . . . . . .490 |
||||
Commands in this Section . . . . . . . . . |
. . . . |
490 |
|
|
ip igmp snooping querier . . . . . . . . . . |
. . . . |
490 |
|
|
ip igmp snooping querier election participate . . . 492 |
||||
ip igmp snooping querier query-interval . . |
. . . . |
493 |
|
|
ip igmp snooping querier timer expiry . . . |
. . . . |
494 |
|
|
ip igmp snooping querier version. . . . . . |
. . . . |
495 |
|
|
|
Contents |
|
|
15 |
|
|
show ip igmp snooping querier. . . . . . . |
. . . . |
495 |
|
|
Interface Error Disable and Auto Recovery |
. . . . . . .499 |
|
|
|
Commands in this Section . . . . . . . . . |
. . . . |
499 |
|
|
errdisable recovery cause . . . . . . . . . |
. . . . |
499 |
|
|
errdisable recovery interval . . . . . . . . |
. . . . |
501 |
|
|
show errdisable recovery . . . . . . . . . |
. . . . |
502 |
|
|
show interfaces status err-disabled . . . . |
. . . . |
504 |
|
|
IPv6 Access List Commands . . . . . . . . . . . . . . . . . . . .507 |
||||
Commands in this Section . . . . . . . . . |
. . . . |
507 |
|
|
deny | permit (IPv6 ACL) . . . . . . . . . . |
. . . . |
508 |
|
|
ipv6 access-list . . . . . . . . . . . . . . . |
. . . . |
514 |
|
|
ipv6 access-list rename . . . . . . . . . . |
. . . . |
515 |
|
|
ipv6 traffic-filter. . . . . . . . . . . . . . . |
. . . . |
516 |
|
|
show ipv6 access-lists . . . . . . . . . . . |
. . . . |
517 |
|
|
IPv6 MLD Snooping Commands . . . . . . . . . . . . . . . . .520 |
||||
Commands in this Section . . . . . . . . . |
. . . . |
520 |
|
|
ipv6 mld snooping vlan |
|
|
|
|
groupmembership-interval . . . . . . . . . |
. . . . |
521 |
|
|
ipv6 mld snooping vlan immediate-leave. . |
. . . . |
521 |
|
|
ipv6 mld snooping |
|
|
|
|
listener-message-suppression . . . . . . . |
. . . . |
522 |
|
|
ipv6 mld snooping vlan |
|
|
|
|
|
Contents |
|
|
16 |
|
|
last-listener-query-interval . . . . . . . . . . . . . |
523 |
|
|
ipv6 mld snooping vlan mcrtrexpiretime . . . . . . |
524 |
|
|
ipv6 mld snooping vlan mrouter . . . . . . . . . . |
525 |
|
|
ipv6 mld snooping (Global) . . . . . . . . . . . . . |
525 |
|
|
show ipv6 mld snooping . . . . . . . . . . . . . . |
526 |
|
|
show ipv6 mld snooping groups . . . . . . . . . . |
528 |
|
|
show ipv6 mld snooping mrouter . . . . . . . . . . |
529 |
|
|
IPv6 MLD Snooping Querier Commands . . . . . . . . .531 |
|||
Commands in this Section . . . . . . . . . . . . . |
531 |
|
|
ipv6 mld snooping querier . . . . . . . . . . . . . |
531 |
|
|
ipv6 mld snooping querier (VLAN mode) . . . . . . |
532 |
|
|
ipv6 mld snooping querier address. . . . . . . . . |
533 |
|
|
ipv6 mld snooping querier election participate . . |
534 |
|
|
ipv6 mld snooping querier query-interval . . . . . |
534 |
|
|
ipv6 mld snooping querier timer expiry. . . . . . . |
535 |
|
|
show ipv6 mld snooping querier . . . . . . . . . . |
536 |
|
|
IP Source Guard Commands . . . . . . . . . . . . . . . . . . . .539 |
|||
Commands in this Section . . . . . . . . . . . . . |
539 |
|
|
ip verify source . . . . . . . . . . . . . . . . . . . |
539 |
|
|
ip verify binding . . . . . . . . . . . . . . . . . . . |
541 |
|
|
show ip verify . . . . . . . . . . . . . . . . . . . . |
541 |
|
|
show ip verify source . . . . . . . . . . . . . . . . |
542 |
|
|
Contents |
|
|
17 |
|
show ip source binding . . . . . . . . . . . . . . . 543
iSCSI Optimization Commands . . . . . . . . . . . . . . . . .545
Commands in this Section . . . . . . . . . . . . . 546
iscsi cos. . . . . . . . . . . . . . . . . . . . . . . 546
iscsi enable . . . . . . . . . . . . . . . . . . . . . 548
show iscsi. . . . . . . . . . . . . . . . . . . . . . 549
Link Dependency Commands . . . . . . . . . . . . . . . . . . .551
Commands in this Section . . . . . . |
. . . . . . . |
551 |
|
|
action . . . . . . . . . . . . . . . . . |
. . . . . . . |
551 |
|
|
link-dependency group . . . . . . . . |
. . . . . . . |
552 |
|
|
add . . . . . . . . . . . . . . . . . . |
. . . . . . . |
553 |
|
|
depends-on . . . . . . . . . . . . . . |
. . . . . . . |
553 |
|
|
show link-dependency . . . . . . . . |
. . . . . . . |
554 |
|
|
LLDP Commands . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . . .556 |
|
|
|
Commands in this Section . . . . . . |
. . . . . . . |
557 |
|
|
clear lldp remote-data . . . . . . . . |
. . . . . . . |
557 |
|
|
clear lldp statistics . . . . . . . . . . |
. . . . . . . |
558 |
|
|
dcb enable . . . . . . . . . . . . . . |
. . . . . . . |
559 |
|
|
debug lldp. . . . . . . . . . . . . . . |
. . . . . . . |
559 |
|
|
lldp med . . . . . . . . . . . . . . . . |
. . . . . . . |
560 |
|
|
lldp med confignotification . . . . . . |
. . . . . . . |
561 |
|
|
lldp med faststartrepeatcount . . . . |
. . . . . . . |
561 |
|
|
|
Contents |
|
|
18 |
|
|
lldp med transmit-tlv . . . . . . . . . . . . . . . . |
562 |
lldp notification . . . . . . . . . . . . . . . . . . . |
563 |
lldp notification-interval . . . . . . . . . . . . . . |
563 |
lldp receive . . . . . . . . . . . . . . . . . . . . . |
564 |
lldp timers. . . . . . . . . . . . . . . . . . . . . . |
565 |
lldp transmit. . . . . . . . . . . . . . . . . . . . . |
566 |
lldp tlv-select . . . . . . . . . . . . . . . . . . . . |
567 |
show lldp . . . . . . . . . . . . . . . . . . . . . . |
569 |
show lldp interface . . . . . . . . . . . . . . . . . |
569 |
show lldp local-device . . . . . . . . . . . . . . . |
571 |
show lldp med . . . . . . . . . . . . . . . . . . . |
572 |
show lldp med interface . . . . . . . . . . . . . . |
573 |
show lldp med local-device detail . . . . . . . . . |
574 |
show lldp med remote-device . . . . . . . . . . . |
575 |
show lldp remote-device . . . . . . . . . . . . . . |
577 |
show lldp statistics . . . . . . . . . . . . . . . . . |
579 |
Loop Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .582
Commands in this Section . . . . . . . . . . . . . 582
keepalive (Interface Config) . . . . . . . . . . . . 582
keepalive (Global Config) . . . . . . . . . . . . . . 584
keepalive action . . . . . . . . . . . . . . . . . . 585
Contents 19
show keepalive . . . . . . . . . . . . . . . . . . . 586
show keepalive statistics. . . . . . . . . . . . . . 587
MLAG Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .589
Commands in this Section . . . . . . . . . . . . . |
589 |
clear vpc statistics . . . . . . . . . . . . . . . . . |
589 |
feature vpc . . . . . . . . . . . . . . . . . . . . . |
590 |
peer detection enable . . . . . . . . . . . . . . . |
591 |
peer detection interval . . . . . . . . . . . . . . . |
591 |
peer-keepalive destination . . . . . . . . . . . . . |
592 |
peer-keepalive enable . . . . . . . . . . . . . . . |
594 |
peer-keepalive timeout . . . . . . . . . . . . . . . |
595 |
role priority . . . . . . . . . . . . . . . . . . . . . |
596 |
show vpc . . . . . . . . . . . . . . . . . . . . . . |
597 |
show vpc brief . . . . . . . . . . . . . . . . . . . |
598 |
show vpc consistency-parameters . . . . . . . . |
600 |
show vpc consistency-features . . . . . . . . . . |
602 |
show vpc peer-keepalive. . . . . . . . . . . . . . |
603 |
show vpc role . . . . . . . . . . . . . . . . . . . . |
604 |
show vpc statistics . . . . . . . . . . . . . . . . . |
605 |
system-mac . . . . . . . . . . . . . . . . . . . . . |
607 |
system-priority . . . . . . . . . . . . . . . . . . . |
608 |
Contents 20
vpc . . . . . . . . . . . . . . . . . . . . . . . . . |
609 |
vpc domain . . . . . . . . . . . . . . . . . . . . . |
610 |
vpc peer-link . . . . . . . . . . . . . . . . . . . . |
611 |
Multicast VLAN Registration Commands . . . . . . . .613
Commands in this Section . . . . . . . . . . . . . |
613 |
mvr . . . . . . . . . . . . . . . . . . . . . . . . . |
614 |
mvr group . . . . . . . . . . . . . . . . . . . . . . |
614 |
mvr mode . . . . . . . . . . . . . . . . . . . . . . |
615 |
mvr querytime. . . . . . . . . . . . . . . . . . . . |
616 |
mvr vlan . . . . . . . . . . . . . . . . . . . . . . . |
617 |
mvr immediate . . . . . . . . . . . . . . . . . . . |
618 |
mvr type. . . . . . . . . . . . . . . . . . . . . . . |
619 |
mvr vlan group . . . . . . . . . . . . . . . . . . . |
620 |
show mvr . . . . . . . . . . . . . . . . . . . . . . |
621 |
show mvr members. . . . . . . . . . . . . . . . . |
622 |
show mvr interface . . . . . . . . . . . . . . . . . |
623 |
show mvr traffic . . . . . . . . . . . . . . . . . . |
625 |
Port Channel Commands . . . . . . . . . . . . . . . . . . . . . . .627
Static LAGS . . . . . . . . . . . . . . . . . . . . . |
628 |
VLANs and LAGs . . . . . . . . . . . . . . . . . . |
629 |
LAG Thresholds . . . . . . . . . . . . . . . . . . . |
629 |
LAG Hashing . . . . . . . . . . . . . . . . . . . . |
629 |
Contents 21
Enhanced LAG Hashing. . . . . . . . . . . . . . . |
630 |
Manual Aggregation of LAGs. . . . . . . . . . . . |
630 |
Flexible Assignment of Ports to LAGs . . . . . . . |
631 |
Commands in this Section . . . . . . . . . . . . . |
631 |
channel-group . . . . . . . . . . . . . . . . . . . |
631 |
interface port-channel . . . . . . . . . . . . . . . |
632 |
interface range port-channel. . . . . . . . . . . . |
633 |
hashing-mode. . . . . . . . . . . . . . . . . . . . |
634 |
lacp port-priority . . . . . . . . . . . . . . . . . . |
635 |
lacp system-priority . . . . . . . . . . . . . . . . |
636 |
lacp timeout. . . . . . . . . . . . . . . . . . . . . |
637 |
port-channel local-preference . . . . . . . . . . . |
638 |
port-channel min-links . . . . . . . . . . . . . . . |
639 |
show interfaces port-channel . . . . . . . . . . . |
640 |
show lacp . . . . . . . . . . . . . . . . . . . . . . |
641 |
show statistics port-channel . . . . . . . . . . . . |
643 |
Port Monitor Commands . . . . . . . . . . . . . . . . . . . . . . .646
Commands in this Section . . . . . . . . . . . . . |
647 |
monitor capture (Global Configuration) . . . . . . |
647 |
monitor capture (Privileged Exec) . . . . . . . . . |
649 |
monitor capture mode . . . . . . . . . . . . . . . |
649 |
Contents 22
monitor session . . . . . . . . . . . . . . . . . . . |
654 |
remote-span . . . . . . . . . . . . . . . . . . . . |
659 |
show monitor capture . . . . . . . . . . . . . . . |
660 |
show monitor session . . . . . . . . . . . . . . . |
662 |
show vlan remote-span. . . . . . . . . . . . . . . |
664 |
QoS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .666
Access Control Lists . . . . . . . . . . . . . . . . |
666 |
Layer 2 ACLs . . . . . . . . . . . . . . . . . . . . |
667 |
Layer 3/4 IPv4 ACLs. . . . . . . . . . . . . . . . . |
667 |
Class of Service (CoS) . . . . . . . . . . . . . . . |
667 |
Queue Mapping. . . . . . . . . . . . . . . . . . . |
668 |
DiffServ . . . . . . . . . . . . . . . . . . . . . . . |
669 |
Commands in this Section . . . . . . . . . . . . . |
669 |
assign-queue . . . . . . . . . . . . . . . . . . . . |
670 |
class . . . . . . . . . . . . . . . . . . . . . . . . |
671 |
class-map. . . . . . . . . . . . . . . . . . . . . . |
672 |
class-map rename . . . . . . . . . . . . . . . . . |
674 |
classofservice dot1p-mapping . . . . . . . . . . . |
675 |
classofservice ip-dscp-mapping . . . . . . . . . . |
676 |
classofservice trust. . . . . . . . . . . . . . . . . |
679 |
conform-color. . . . . . . . . . . . . . . . . . . . |
680 |
Contents 23
cos-queue min-bandwidth . . . . . . . . . . . . . |
682 |
cos-queue random-detect . . . . . . . . . . . . . |
684 |
cos-queue strict . . . . . . . . . . . . . . . . . . |
686 |
diffserv . . . . . . . . . . . . . . . . . . . . . . . |
687 |
drop . . . . . . . . . . . . . . . . . . . . . . . . . |
688 |
mark cos . . . . . . . . . . . . . . . . . . . . . . |
689 |
mark ip-dscp . . . . . . . . . . . . . . . . . . . . |
690 |
mark ip-precedence . . . . . . . . . . . . . . . . |
691 |
match access-group . . . . . . . . . . . . . . . . |
692 |
match class-map . . . . . . . . . . . . . . . . . . |
694 |
match cos. . . . . . . . . . . . . . . . . . . . . . |
695 |
match destination-address mac . . . . . . . . . . |
696 |
match any. . . . . . . . . . . . . . . . . . . . . . |
697 |
match dstip . . . . . . . . . . . . . . . . . . . . . |
698 |
match dstip6 . . . . . . . . . . . . . . . . . . . . |
699 |
match dstl4port . . . . . . . . . . . . . . . . . . . |
700 |
match ethertype . . . . . . . . . . . . . . . . . . |
700 |
match ip6flowlbl . . . . . . . . . . . . . . . . . . |
701 |
match ip dscp . . . . . . . . . . . . . . . . . . . . |
702 |
match ip precedence . . . . . . . . . . . . . . . . |
703 |
match ip tos . . . . . . . . . . . . . . . . . . . . . |
704 |
Contents 24
match protocol . . . . . . . . . . . . . . . . . . . |
705 |
match source-address mac . . . . . . . . . . . . |
707 |
match srcip . . . . . . . . . . . . . . . . . . . . . |
708 |
match srcip6 . . . . . . . . . . . . . . . . . . . . |
708 |
match srcl4port . . . . . . . . . . . . . . . . . . . |
709 |
match vlan . . . . . . . . . . . . . . . . . . . . . |
710 |
mirror . . . . . . . . . . . . . . . . . . . . . . . . |
711 |
police-simple . . . . . . . . . . . . . . . . . . . . |
711 |
police-single-rate. . . . . . . . . . . . . . . . . . |
713 |
police-two-rate . . . . . . . . . . . . . . . . . . . |
714 |
policy-map . . . . . . . . . . . . . . . . . . . . . |
716 |
random-detect queue-parms. . . . . . . . . . . . |
717 |
random-detect |
|
exponential-weighting-constant . . . . . . . . . . |
722 |
redirect . . . . . . . . . . . . . . . . . . . . . . . |
723 |
service-policy. . . . . . . . . . . . . . . . . . . . |
724 |
show class-map . . . . . . . . . . . . . . . . . . |
725 |
show classofservice dot1p-mapping. . . . . . . . |
726 |
show classofservice ip-dscp-mapping. . . . . . . |
727 |
show classofservice trust . . . . . . . . . . . . . |
729 |
show diffserv . . . . . . . . . . . . . . . . . . . . |
730 |
Contents 25
show diffserv service interface . . . . . . . . . . |
731 |
show diffserv service brief . . . . . . . . . . . . . |
732 |
show interfaces cos-queue . . . . . . . . . . . . |
733 |
show interfaces random-detect . . . . . . . . . . |
735 |
show policy-map . . . . . . . . . . . . . . . . . . |
737 |
show policy-map interface . . . . . . . . . . . . . |
737 |
show service-policy . . . . . . . . . . . . . . . . |
738 |
traffic-shape . . . . . . . . . . . . . . . . . . . . |
739 |
vlan priority . . . . . . . . . . . . . . . . . . . . . |
740 |
Spanning Tree Commands . . . . . . . . . . . . . . . . . . . . .742
Commands in this Section . . . . . . . . . . . . . |
743 |
clear spanning-tree detected-protocols . . . . . . |
744 |
exit (mst) . . . . . . . . . . . . . . . . . . . . . . |
745 |
instance (mst). . . . . . . . . . . . . . . . . . . . |
745 |
name (MST) . . . . . . . . . . . . . . . . . . . . . |
747 |
revision (mst) . . . . . . . . . . . . . . . . . . . . |
748 |
show spanning-tree . . . . . . . . . . . . . . . . |
749 |
show spanning-tree summary . . . . . . . . . . . |
757 |
show spanning-tree vlan . . . . . . . . . . . . . . |
758 |
spanning-tree . . . . . . . . . . . . . . . . . . . . |
759 |
spanning-tree auto-portfast . . . . . . . . . . . . |
760 |
Contents 26
spanning-tree backbonefast . . . . . . . . . . . . |
761 |
spanning-tree bpdu flooding . . . . . . . . . . . . |
762 |
spanning-tree bpdu-protection. . . . . . . . . . . |
762 |
spanning-tree cost . . . . . . . . . . . . . . . . . |
763 |
spanning-tree disable . . . . . . . . . . . . . . . |
765 |
spanning-tree forward-time . . . . . . . . . . . . |
766 |
spanning-tree guard . . . . . . . . . . . . . . . . |
767 |
spanning-tree loopguard . . . . . . . . . . . . . . |
767 |
spanning-tree max-age. . . . . . . . . . . . . . . |
768 |
spanning-tree max-hops . . . . . . . . . . . . . . |
769 |
spanning-tree mode . . . . . . . . . . . . . . . . |
770 |
spanning-tree mst configuration . . . . . . . . . . |
771 |
spanning-tree mst cost . . . . . . . . . . . . . . . |
772 |
spanning-tree mst port-priority. . . . . . . . . . . |
773 |
spanning-tree mst priority . . . . . . . . . . . . . |
774 |
spanning-tree portfast . . . . . . . . . . . . . . . |
775 |
spanning-tree portfast bpdufilter default. . . . . . |
776 |
spanning-tree portfast default . . . . . . . . . . . |
777 |
spanning-tree port-priority (Interface |
|
Configuration). . . . . . . . . . . . . . . . . . . . |
778 |
spanning-tree priority. . . . . . . . . . . . . . . . |
779 |
Contents 27
spanning-tree tcnguard . . . . . . . . . . . . . . |
780 |
spanning-tree transmit hold-count . . . . . . . . . |
781 |
spanning-tree uplinkfast . . . . . . . . . . . . . . |
782 |
spanning-tree vlan . . . . . . . . . . . . . . . . . |
783 |
spanning-tree vlan forward-time . . . . . . . . . . |
784 |
spanning-tree vlan hello-time . . . . . . . . . . . |
785 |
spanning-tree vlan max-age . . . . . . . . . . . . |
786 |
spanning-tree vlan root. . . . . . . . . . . . . . . |
787 |
spanning-tree vlan priority . . . . . . . . . . . . . |
788 |
UDLD Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .790
Detecting Unidirectional Links on a Device
Port . . . . . . . . . . . . . . . . . . . . . . . . . |
790 |
Processing UDLD Traffic from Neighbors . . . . . |
791 |
UDLD in Normal-mode . . . . . . . . . . . . . . . |
791 |
UDLD in Aggressive-mode . . . . . . . . . . . . . |
791 |
Commands in this Section . . . . . . . . . . . . . |
792 |
udld enable (Global Configuration) . . . . . . . . . |
792 |
udld reset . . . . . . . . . . . . . . . . . . . . . . |
793 |
udld message time . . . . . . . . . . . . . . . . . |
794 |
udld timeout interval . . . . . . . . . . . . . . . . |
795 |
udld enable (Interface Configuration) . . . . . . . |
795 |
Contents 28
udld port . . . . . . . . . . . . . . . . . . . . . . 796 show udld . . . . . . . . . . . . . . . . . . . . . . 797
VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .800
Double VLAN Mode. . . . . . . . . . . . . . . . . |
801 |
Independent VLAN Learning . . . . . . . . . . . . |
801 |
Protocol Based VLANs . . . . . . . . . . . . . . . |
802 |
IP Subnet Based VLANs . . . . . . . . . . . . . . |
802 |
MAC-Based VLANs. . . . . . . . . . . . . . . . . |
802 |
Private VLAN Commands . . . . . . . . . . . . . . |
803 |
Commands in this Section . . . . . . . . . . . . . |
805 |
interface vlan . . . . . . . . . . . . . . . . . . . . |
806 |
interface range vlan . . . . . . . . . . . . . . . . |
807 |
name (VLAN Configuration) . . . . . . . . . . . . |
808 |
private-vlan . . . . . . . . . . . . . . . . . . . . . |
809 |
protocol group . . . . . . . . . . . . . . . . . . . |
811 |
protocol vlan group . . . . . . . . . . . . . . . . . |
812 |
protocol vlan group all . . . . . . . . . . . . . . . |
813 |
show dot1q-tunnel . . . . . . . . . . . . . . . . . |
814 |
show interfaces switchport . . . . . . . . . . . . |
815 |
show port protocol . . . . . . . . . . . . . . . . . |
816 |
show switchport ethertype . . . . . . . . . . . . . |
817 |
Contents 29
show vlan . . . . . . . . . . . . . . . . . . . . . . |
818 |
show vlan association mac. . . . . . . . . . . . . |
820 |
show vlan association subnet . . . . . . . . . . . |
821 |
show vlan private-vlan . . . . . . . . . . . . . . . |
822 |
switchport access vlan . . . . . . . . . . . . . . . |
823 |
switchport dot1q ethertype (Global |
|
Configuration). . . . . . . . . . . . . . . . . . . . |
824 |
switchport dot1q ethertype (Interface |
|
Configuration). . . . . . . . . . . . . . . . . . . . |
826 |
switchport general forbidden vlan . . . . . . . . . |
828 |
switchport general acceptable-frame-type |
|
tagged-only . . . . . . . . . . . . . . . . . . . . . |
829 |
switchport general allowed vlan . . . . . . . . . . |
830 |
switchport general ingress-filtering disable . . . . |
831 |
switchport general pvid . . . . . . . . . . . . . . |
832 |
switchport mode . . . . . . . . . . . . . . . . . . |
833 |
switchport mode dot1q-tunnel . . . . . . . . . . . |
834 |
switchport mode private-vlan . . . . . . . . . . . |
836 |
switchport private-vlan . . . . . . . . . . . . . . . |
837 |
switchport trunk . . . . . . . . . . . . . . . . . . |
838 |
switchport trunk encapsulation dot1q . . . . . . . |
839 |
Contents 30