Cisco IOS LAN Switching Command Reference

[Pages:445]Cisco IOS LAN Switching Command Reference

November 2010

Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA Tel: 408 526-4000

800 553-NETS (6387) Fax: 408 527-0883

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright ? 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED "AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

Cisco IOS LAN Switching Command Reference ? 2010 Cisco Systems, Inc. All rights reserved.

CONTENTS

November 2010

Introduction LSW-1

LAN Switching Commands LSW-3 bridge-domain LSW-4 bridge-domain (subinterface) LSW-8 bridge-vlan LSW-10 clear gvrp statistics LSW-14 clear mac-address-table LSW-15 clear mvrp statistics LSW-19 clear pagp LSW-20 clear spanning-tree detected-protocol LSW-21 clear vlan LSW-23 clear vlan counters LSW-25 clear vlan mapping LSW-26 clear vlan statistics LSW-27 clear vtp counters LSW-28 collect top counters interface LSW-29 dot1q tunneling ethertype LSW-32 encapsulation dot1q LSW-34 encapsulation isl LSW-37 encapsulation sde LSW-39 flowcontrol LSW-41 gvrp global LSW-44 gvrp mac-learning auto LSW-46 gvrp registration LSW-47 gvrp timer LSW-49 gvrp vlan create LSW-51 hw-module slot (ASR 1000 Series) LSW-52 instance (VLAN) LSW-55 mac access-group LSW-57 mac access-list extended LSW-59

Cisco IOS LAN Switching Command Reference

iii

Contents

mac-address-table aging-time LSW-63 mac-address-table dynamic LSW-66 mac-address-table learning LSW-69 mac-address-table limit LSW-71 mac-address-table notification change LSW-74 mac-address-table notification mac-move LSW-75 mac-address-table notification threshold LSW-77 mac-address-table secure LSW-79 mac-address-table static LSW-82 mac-address-table synchronize LSW-86 mac-address-table unicast-flood LSW-88 match (VLAN access-map) LSW-90 mls rp ip LSW-93 mls rp ip (global) LSW-94 mls rp ip (interface) LSW-95 mls rp ip multicast LSW-96 mls rp ip multicast management-interface LSW-97 mls rp ipx (global) LSW-99 mls rp ipx (interface) LSW-101 mls rp locate ipx LSW-103 mls rp management-interface LSW-104 mls rp nde-address LSW-106 mls rp vlan-id LSW-108 mls rp vtp-domain LSW-109 mls switching LSW-111 mls switching unicast LSW-112 mode dot1q-in-dot1q access-gateway LSW-113 monitor session LSW-117 mvrp global LSW-126 mvrp mac-learning LSW-128 mvrp registration LSW-129 mvrp timer LSW-131 mvrp vlan creation LSW-133 name (MST) LSW-134 pagp learn-method LSW-136

Cisco IOS LAN Switching Command Reference

iv

November 2010

November 2010

Contents

pagp port-priority LSW-137 port-channel load-defer LSW-138 port-channel port load-defer LSW-140 private-vlan LSW-142 private-vlan association LSW-145 private-vlan mapping LSW-148 private-vlan synchronize LSW-150 rep admin vlan LSW-152 rep block port LSW-154 rep lsl-age-timer LSW-157 rep lsl-retries LSW-158 rep preempt delay LSW-159 rep preempt segment LSW-161 rep segment LSW-163 rep stcn LSW-166 revision LSW-168 set port flowcontrol LSW-169 set vlan LSW-171 set vlan mapping LSW-174 show LSW-176 show controllers fastethernet LSW-178 show cwan LSW-190 show cwan qinq LSW-192 show cwan qinq bridge-domain LSW-195 show cwan qinq interface LSW-198 show cwan qinq load-balance LSW-202 show cwan qinq port-channel LSW-205 show cwtlc qinq LSW-207 show dot1q-tunnel LSW-211 show errdisable flap-values LSW-213 show gvrp interface LSW-215 show gvrp summary LSW-217 show mac-address-table LSW-218 show mac-address-table aging-time LSW-227 show mac-address-table dynamic LSW-229

Cisco IOS LAN Switching Command Reference

v

Contents

show mac-address-table learning LSW-233 show mac-address-table static LSW-236 show mls df-table LSW-240 show mls masks LSW-242 show mls rp LSW-244 show mls rp interface LSW-246 show mls rp ip multicast LSW-247 show mls rp ipx LSW-250 show mls rp vtp-domain LSW-252 show mmls igmp explicit-tracking LSW-254 show mmls msc LSW-255 show mvrp interface LSW-260 show mvrp module LSW-261 show mvrp summary LSW-262 show platform software status control-processor show port flowcontrol LSW-267 show rep topology LSW-269 show spanning-tree LSW-271 show spanning-tree mst LSW-282 show spantree LSW-287 show ssl-proxy module state LSW-290 show udld LSW-291 show vlan LSW-293 show vlan access-log config LSW-297 show vlan access-log flow LSW-298 show vlan access-log statistics LSW-301 show vlan access-map LSW-303 show vlan all-ports LSW-304 show vlan counters LSW-306 show vlan dot1q tag native LSW-308 show vlan filter LSW-309 show vlan free LSW-311 show vlan free summary LSW-312 show vlan internal usage LSW-313 show vlan mapping LSW-315

LSW-263

Cisco IOS LAN Switching Command Reference

vi

November 2010

November 2010

Contents

show vlan port provisioning LSW-316 show vlan private-vlan LSW-317 show vlan remote-span LSW-319 show vlan virtual-port LSW-320 show vlan-range LSW-322 show vlans LSW-323 show vlans dot1q LSW-326 show vlans tokenring LSW-331 show vlan-switch LSW-332 show vtp LSW-335 shutdown vlan LSW-344 snmp trap mac-notification change LSW-346 spanning-tree backbonefast LSW-347 spanning-tree bpdufilter LSW-348 spanning-tree bpduguard LSW-350 spanning-tree bridge assurance LSW-352 spanning-tree cost LSW-353 spanning-tree etherchannel guard misconfig LSW-355 spanning-tree extend system-id LSW-357 spanning-tree guard LSW-358 spanning-tree link-type LSW-359 spanning-tree loopguard default LSW-360 spanning-tree mode LSW-361 spanning-tree mst LSW-363 spanning-tree mst configuration LSW-365 spanning-tree mst forward-time LSW-367 spanning-tree mst hello-time LSW-368 spanning-tree mst max-age LSW-369 spanning-tree mst max-hops LSW-370 spanning-tree mst pre-standard LSW-371 spanning-tree mst priority LSW-373 spanning-tree mst root LSW-374 spanning-tree mst simulate pvst (interface) LSW-376 spanning-tree mst simulate pvst global LSW-377 spanning-tree pathcost method LSW-378

Cisco IOS LAN Switching Command Reference

vii

Contents

spanning-tree portfast (interface) LSW-379 spanning-tree portfast bpdufilter default LSW-381 spanning-tree portfast bpduguard default LSW-383 spanning-tree portfast default LSW-384 spanning-tree port-priority LSW-386 spanning-tree transmit hold-count LSW-388 spanning-tree uplinkfast LSW-389 spanning-tree vlan LSW-391 udld LSW-394 udld port LSW-396 udld reset LSW-398 vlan (global) LSW-399 vlan (VLAN) LSW-401 vlan access-log LSW-404 vlan access-map LSW-406 vlan accounting LSW-408 vlan database LSW-409 vlan dot1q tag native LSW-411 vlan filter LSW-413 vlan ifdescr detail LSW-415 vlan internal allocation policy LSW-416 vlan mapping dot1q LSW-418 vlan port provisioning LSW-420 vtp (global) LSW-421 vtp (interface) LSW-426 vtp client LSW-427 vtp domain LSW-429 vtp password LSW-431 vtp server LSW-432 vtp transparent LSW-434 vtp v2-mode LSW-436

Cisco IOS LAN Switching Command Reference

viii

November 2010

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download