HP CISCO CATALYST BLADE SWITCH 3120G, CISCO CATALYST BLADE SWITCH 3120X User Manual

Cisco Catalyst Blade Switch 3120 for HP Command Reference

Cisco IOS Release 12.2(40)EX November 2007
Americas Headquarters
Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000
Fax: 408 527-0883
Text Part Number: OL-12248-01
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS M ANUAL ARE SUBJECT TO CHA NGE WITHOUT NO TICE. 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 RESPONSI BILITY FOR THEIR APPLICA TION OF ANY PRODUCT S.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORT H IN THE INFORMATION PACKET T HAT 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 head er compressi on is an adap tation of a program developed by the Universi ty of Ca lifornia, Berk eley (UCB) as part of UCB ’s public domain version of the UNIX operatin g system. All rights reserved . Copyri ght © 1981 , Rege nts of the Uni versity of Calif ornia.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THE SE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAI M ALL WARRANTIE S, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NO NINFRINGEM ENT OR ARISING FROM A COURS E 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 DAMAGE S.
CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterpri se/Solver, EtherChann el, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, For mShare, GigaDrive, HomeLink , Internet Quotient, IOS, iPhone, IP/TV, iQ Expertise , the iQ logo, iQ Net Readiness Scorecard, i Quick Study, LightStream, Linksys, MeetingPlace, MGX, Networkers, Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website 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. (0711 R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative pur poses onl y. Any use of act ual IP addr ess es in ill ustr ativ e conten t is uninten tio nal and coincident al.
Cisco Catalyst Blade Switch 3120 for HP C ommand Re ference
©2007 Cisco Systems, Inc. All rights reserved.

CONTENTS

Preface xix
Audience xix Purpose xix Conventions xix Related Publications xx Obtaining Documentation and Submitting a Service Request xxi
CHAPTER
CHAPTER
1 Using the Command-Line Interface 1-1
Accessing the Switch 1-1 CLI Command Modes 1-2
User EXEC Mode 1-3 Privileged EXEC Mode 1-3 Global Configuration Mode 1-4 Interface Configuration Mode 1-4 config-vlan Mode 1-4 VLAN Configuration Mode 1-5 Line Configuration Mode 1-5
2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands 2-1
aaa accounting dot1x 2-1 aaa authentication dot1x 2-3 aaa authorization network 2-5 action 2-6 archive copy-sw 2-8 archive download-sw 2-11
OL-12248-01
archive tar 2-15 archive upload-sw 2-18 arp access-list 2-20 auto qos voip 2-22 boot auto-copy-sw 2-26 boot auto-download-sw 2-27
Cisco Catalyst Blade Switch 3120 for HP Command Reference
iii
Contents
boot boothlpr 2-29 boot config-file 2-30 boot enable-break 2-31 boot helper 2-32 boot helper-config-file 2-33 boot manual 2-34 boot private-config-file 2-35 boot system 2-36 channel-group 2-38 channel-protocol 2-42 class 2-44 class-map 2-46 clear dot1x 2-48 clear eap 2-49 clear errdisable interface 2-50 clear ip arp inspection log 2-51 clear ip arp inspection statistics 2-52 clear ip dhcp snooping 2-53 clear ipc 2-55 clear l2protocol-tunnel counters 2-56 clear lacp 2-57 clear logging 2-58 clear mac address-table 2-59 clear mac address-table move update 2-60 clear pagp 2-61 clear port-security 2-62 clear spanning-tree counters 2-64 clear spanning-tree detected-protocols 2-65 clear vmps statistics 2-66 clear vtp counters 2-67
iv
copy logging onboard 2-68 define interface-range 2-70 delete 2-72 deny (ARP access-list configuration) 2-73 deny (IPv6 access-list configuration) 2-75
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
deny (MAC access-list configuration) 2-80 diagnostic monitor 2-83 diagnostic schedule 2-85 diagnostic start 2-87 dot1x 2-90 dot1x auth-fail max-attempts 2-92 dot1x auth-fail vlan 2-94 dot1x control-direction 2-96 dot1x critical (global configuration) 2-98 dot1x critical (interface configuration) 2-100 dot1x default 2-102 dot1x fallback 2-103 dot1x guest-vlan 2-104
Contents
dot1x host-mode 2-106 dot1x initialize 2-107 dot1x mac-auth-bypass 2-108 dot1x max-reauth-req 2-110 dot1x max-req 2-111 dot1x pae 2-112 dot1x port-control 2-113 dot1x re-authenticate 2-115 dot1x reauthentication 2-116 dot1x timeout 2-117 duplex 2-120 errdisable detect cause 2-122 errdisable recovery 2-124 exception crashinfo 2-127 fallback profile 2-128 flowcontrol 2-130 hw-module 2-132
OL-12248-01
interface port-channel 2-134 interface range 2-136 interface vlan 2-139 ip access-group 2-141 ip address 2-144
Cisco Catalyst Blade Switch 3120 for HP Command Reference
v
Contents
ip admission 2-146 ip admission name proxy http 2-147 ip arp inspection filter vlan 2-149 ip arp inspection limit 2-151 ip arp inspection log-buffer 2-153 ip arp inspection trust 2-155 ip arp inspection validate 2-157 ip arp inspection vlan 2-159 ip arp inspection vlan logging 2-160 ip dhcp snooping 2-162 ip dhcp snooping binding 2-163 ip dhcp snooping database 2-165 ip dhcp snooping information option 2-167 ip dhcp snooping information option allow-untrusted 2-169 ip dhcp snooping information option format remote-id 2-171 ip dhcp snooping limit rate 2-172 ip dhcp snooping trust 2-173 ip dhcp snooping verify 2-174 ip dhcp snooping vlan 2-175 ip dhcp snooping vlan information option format-type circuit-id string 2-176 ip igmp filter 2-178 ip igmp max-groups 2-180 ip igmp profile 2-182 ip igmp snooping 2-184 ip igmp snooping last-member-query-interval 2-186 ip igmp snooping querier 2-188 ip igmp snooping report-suppression 2-190 ip igmp snooping tcn 2-192 ip igmp snooping tcn flood 2-194 ip igmp snooping vlan immediate-leave 2-195
vi
ip igmp snooping vlan mrouter 2-196 ip igmp snooping vlan static 2-198 ip snap forwarding 2-200 ip source binding 2-201 ip ssh 2-203
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
ip verify source 2-205 ipv6 access-list 2-206 ipv6 mld snooping 2-208 ipv6 mld snooping last-listener-query-count 2-210 ipv6 mld snooping last-listener-query-interval 2-212 ipv6 mld snooping listener-message-suppression 2-214 ipv6 mld snooping robustness-variable 2-216 ipv6 mld snooping tcn 2-218 ipv6 mld snooping vlan 2-220 ipv6 traffic-filter 2-222 l2protocol-tunnel 2-224 l2protocol-tunnel cos 2-227 lacp port-priority 2-228
Contents
lacp system-priority 2-230 link state group 2-232 link state track 2-234 location (global configuration) 2-235 location (interface configuration) 2-237 logging file 2-239 mac access-group 2-241 mac access-list extended 2-243 mac address-table aging-time 2-245 mac address-table move update 2-246 mac address-table notification 2-248 mac address-table static 2-250 mac address-table static drop 2-251 macro apply 2-253 macro description 2-256 macro global 2-257 macro global description 2-260
OL-12248-01
macro name 2-261 match (access-map configuration) 2-264 match (class-map configuration) 2-266 mdix auto 2-269 mls qos 2-271
Cisco Catalyst Blade Switch 3120 for HP Command Reference
vii
Contents
mls qos aggregate-policer 2-273 mls qos cos 2-275 mls qos dscp-mutation 2-277 mls qos map 2-279 mls qos queue-set output buffers 2-283 mls qos queue-set output threshold 2-285 mls qos rewrite ip dscp 2-287 mls qos srr-queue input bandwidth 2-289 mls qos srr-queue input buffers 2-291 mls qos srr-queue input cos-map 2-293 mls qos srr-queue input dscp-map 2-295 mls qos srr-queue input priority-queue 2-297 mls qos srr-queue input threshold 2-299 mls qos srr-queue output cos-map 2-301 mls qos srr-queue output dscp-map 2-303 mls qos trust 2-305 mls qos vlan-based 2-307 monitor session 2-308 mvr (global configuration) 2-313 mvr (interface configuration) 2-316 nsf 2-319 pagp learn-method 2-321 pagp port-priority 2-323 permit (ARP access-list configuration) 2-325 permit (IPv6 access-list configuration) 2-327 permit (MAC access-list configuration) 2-333 police 2-336 police aggregate 2-338 policy-map 2-340 port-channel load-balance 2-343
viii
priority-queue 2-345 private-vlan 2-347 private-vlan mapping 2-350 queue-set 2-352 radius-server dead-criteria 2-353
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
radius-server host 2-355 reload 2-357 remote command 2-359 remote-span 2-361 renew ip dhcp snooping database 2-363 rmon collection stats 2-365 sdm prefer 2-366 service password-recovery 2-369 service-policy 2-371 session 2-374 set 2-375 setup 2-377 setup express 2-380
Contents
show access-lists 2-382 show archive status 2-385 show arp access-list 2-387 show auto qos 2-388 show boot 2-392 show cable-diagnostics tdr 2-395 show class-map 2-397 show controllers cpu-interface 2-398 show controllers ethernet-controller 2-400 show controllers ethernet-controller fastethernet 2-408 show controllers tcam 2-411 show controllers utilization 2-413 show diagnostic 2-415 show dot1q-tunnel 2-420 show dot1x 2-421 show dtp 2-425 show eap 2-427
OL-12248-01
show env 2-430 show errdisable detect 2-432 show errdisable flap-values 2-434 show errdisable recovery 2-435 show etherchannel 2-437
Cisco Catalyst Blade Switch 3120 for HP Command Reference
ix
Contents
show fallback profile 2-440 show flowcontrol 2-442 show idprom 2-444 show interfaces 2-446 show interfaces counters 2-456 show inventory 2-459 show ip arp inspection 2-461 show ip dhcp snooping 2-465 show ip dhcp snooping binding 2-466 show ip dhcp snooping database 2-468 show ip dhcp snooping statistics 2-470 show ip igmp profile 2-473 show ip igmp snooping 2-474 show ip igmp snooping groups 2-477 show ip igmp snooping mrouter 2-479 show ip igmp snooping querier 2-481 show ip source binding 2-483 show ip verify source 2-485 show ipc 2-487 show ipv6 access-list 2-491 show ipv6 mld snooping 2-493 show ipv6 mld snooping address 2-495 show ipv6 mld snooping mrouter 2-497 show ipv6 mld snooping querier 2-499 show ipv6 route updated 2-501 show l2protocol-tunnel 2-503 show lacp 2-506 show link state group 2-510 show location 2-512 show logging 2-514 show mac access-group 2-519 show mac address-table 2-521 show mac address-table address 2-523 show mac address-table aging-time 2-525 show mac address-table count 2-527
Cisco Catalyst Blade Switch 3120 for HP Command Reference
x
OL-12248-01
show mac address-table dynamic 2-529 show mac address-table interface 2-531 show mac address-table move update 2-533 show mac address-table notification 2-535 show mac address-table static 2-537 show mac address-table vlan 2-539 show mls qos 2-541 show mls qos aggregate-policer 2-542 show mls qos input-queue 2-543 show mls qos interface 2-545 show mls qos maps 2-549 show mls qos queue-set 2-552 show mls qos vlan 2-554
Contents
show monitor 2-555 show mvr 2-558 show mvr interface 2-560 show mvr members 2-562 show pagp 2-564 show parser macro 2-566 show policy-map 2-569 show port-security 2-571 show sdm prefer 2-574 show setup express 2-577 show spanning-tree 2-578 show storm-control 2-584 show switch 2-586 show system mtu 2-588 show udld 2-590 show version 2-593 show vlan 2-595
OL-12248-01
show vlan access-map 2-600 show vlan filter 2-601 show vmps 2-602 show vtp 2-605 shutdown 2-609
Cisco Catalyst Blade Switch 3120 for HP Command Reference
xi
Contents
shutdown vlan 2-610 snmp-server enable traps 2-611 snmp-server host 2-615 snmp trap mac-notification 2-619 spanning-tree backbonefast 2-621 spanning-tree bpdufilter 2-622 spanning-tree bpduguard 2-624 spanning-tree cost 2-626 spanning-tree etherchannel guard misconfig 2-628 spanning-tree extend system-id 2-630 spanning-tree guard 2-632 spanning-tree link-type 2-634 spanning-tree loopguard default 2-636 spanning-tree mode 2-638 spanning-tree mst configuration 2-640 spanning-tree mst cost 2-642 spanning-tree mst forward-time 2-644 spanning-tree mst hello-time 2-645 spanning-tree mst max-age 2-646 spanning-tree mst max-hops 2-647 spanning-tree mst port-priority 2-649 spanning-tree mst pre-standard 2-651 spanning-tree mst priority 2-652 spanning-tree mst root 2-653 spanning-tree port-priority 2-655 spanning-tree portfast (global configuration) 2-657 spanning-tree portfast (interface configuration) 2-660 spanning-tree transmit hold-count 2-662 spanning-tree uplinkfast 2-663 spanning-tree vlan 2-665
xii
speed 2-668 srr-queue bandwidth limit 2-670 srr-queue bandwidth shape 2-672 srr-queue bandwidth share 2-674 stack-mac persistent timer 2-676
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
storm-control 2-678 switch priority 2-681 switch provision 2-682 switch renumber 2-684 switchport 2-686 switchport access 2-688 switchport backup interface 2-690 switchport block 2-693 switchport host 2-694 switchport mode 2-695 switchport mode private-vlan 2-698 switchport nonegotiate 2-700 switchport port-security 2-702
Contents
switchport port-security aging 2-707 switchport priority extend 2-709 switchport private-vlan 2-711 switchport protected 2-713 switchport trunk 2-715 switchport voice detect 2-718 switchport voice vlan 2-719 system env temperature threshold yellow 2-721 system mtu 2-722 test cable-diagnostics tdr 2-724 traceroute mac 2-725 traceroute mac ip 2-728 trust 2-730 udld 2-732 udld port 2-734 udld reset 2-736 vlan (global configuration) 2-737
OL-12248-01
vlan (VLAN configuration) 2-743 vlan access-map 2-749 vlan database 2-751 vlan dot1q tag native 2-754 vlan filter 2-756
Cisco Catalyst Blade Switch 3120 for HP Command Reference
xiii
Contents
vmps reconfirm (privileged EXEC) 2-758 vmps reconfirm (global configuration) 2-759 vmps retry 2-760 vmps server 2-761 vtp (global configuration) 2-763 vtp (VLAN configuration) 2-767
APPENDIX
A Cisco Catalyst Blade Switch 3120 for HP Boot Loader Commands A-1
boot A-2 cat A-4 copy A-5 delete A-6 dir A-7 flash_init A-9 format A-10 fsck A-11 help A-12 memory A-13 mkdir A-15 more A-16 rename A-17 reset A-18 rmdir A-19 set A-20
APPENDIX
xiv
type A-23 unset A-24 version A-26
B Cisco Catalyst Blade Switch 3120 for HP Debug Commands B-1
debug auto qos B-2 debug backup B-4 debug dot1x B-5 debug dtp B-6 debug eap B-7 debug etherchannel B-8 debug fastethernet B-9
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
debug ip dhcp snooping B-10 debug ip verify source packet B-11 debug interface B-12 debug ip igmp filter B-13 debug ip igmp max-groups B-14 debug ip igmp snooping B-15 debug lacp B-16 debug mac-notification B-17 debug matm B-18 debug matm move update B-19 debug monitor B-20 debug mvrdbg B-21 debug nvram B-22
Contents
debug pagp B-23 debug platform acl B-24 debug platform backup interface B-25 debug platform cli-redirection main B-26 debug platform configuration B-27 debug platform cpu-queues B-28 debug platform device-manager B-30 debug platform dot1x B-31 debug platform etherchannel B-32 debug platform fallback-bridging B-33 debug platform ip arp inspection B-34 debug platform ip dhcp B-35 debug platform ip igmp snooping B-36 debug platform ip multicast B-38 debug platform ip unicast B-40 debug platform ip wccp B-42 debug platform ipc B-43
OL-12248-01
debug platform led B-44 debug platform matm B-45 debug platform messaging application B-46 debug platform phy B-47 debug platform pm B-49
Cisco Catalyst Blade Switch 3120 for HP Command Reference
xv
Contents
debug platform port-asic B-51 debug platform port-security B-52 debug platform qos-acl-tcam B-53 debug platform remote-commands B-54 debug platform resource-manager B-55 debug platform snmp B-56 debug platform span B-57 debug platform stack-manager B-58 debug platform supervisor-asic B-59 debug platform sw-bridge B-60 debug platform tcam B-61 debug platform udld B-64 debug platform vlan B-65 debug pm B-66 debug port-security B-68 debug qos-manager B-69 debug spanning-tree B-70 debug spanning-tree backbonefast B-72 debug spanning-tree bpdu B-73 debug spanning-tree bpdu-opt B-74 debug spanning-tree mstp B-75 debug spanning-tree switch B-77 debug spanning-tree uplinkfast B-79 debug sw-vlan B-80 debug sw-vlan ifs B-82 debug sw-vlan notification B-83 debug sw-vlan vtp B-85 debug udld B-87 debug vqpc B-89
APPENDIX
xvi
C Cisco Catalyst Blade Switch 3120 for HP Show Platform Commands C-1
show platform acl C-2 show platform backup interface C-3 show platform configuration C-4 show platform dl C-5 show platform etherchannel C-6
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
show platform forward C-7 show platform frontend-controller C-9 show platform ip igmp snooping C-10 show platform ip multicast C-12 show platform ip unicast C-13 show platform ip unicast vrf compaction C-15 show platform ip unicast vrf tcam-label C-16 show platform ip wccp C-17 show platform ipc trace C-18 show platform ipv6 unicast C-19 show platform layer4op C-21 show platform mac-address-table C-22 show platform messaging C-23
Contents
I
NDEX
show platform monitor C-24 show platform mvr table C-25 show platform pm C-26 show platform port-asic C-27 show platform port-security C-32 show platform qos C-33 show platform resource-manager C-34 show platform snmp counters C-36 show platform spanning-tree C-37 show platform stp-instance C-38 show platform stack-manager C-39 show platform tb C-41 show platform tcam C-43 show platform vlan C-46
OL-12248-01
Cisco Catalyst Blade Switch 3120 for HP Command Reference
xvii
Contents
xviii
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01

Audience

Preface

This guide is for the networking pr ofession al using t he Cisco IOS com mand-l ine interfac e (CLI) to manage the standalone Cisco Catalyst Blade Switch 3120 for HP or blade switch stack, referred to as the switch. Before using this guide, you should have experience working with the Cisco IOS commands and the switch software features. Before using this guide , you should have experience working with the concepts and ter mino lo gy o f Ethe rn et an d lo ca l a rea ne twork ing.
You install the switch in the HP BladeSystem server chassis, re ferred to as the enclosure.

Purpose

This guide provides the in format ion that you need about the Laye r 2 and Laye r 3 comma nds that have been created or changed for use with the switches. For information about the standard Cisco IOS Release 12.2 commands, see the Cisco IOS documentation set available from the Cisco.com home page by selecting Technical Support & Documentation > Documentation > Cisco IOS Software.
This guide does not provide proc edure s for configuring yo ur switch. For detailed co nfiguration procedures, see the sof tware co nfiguration gu ide fo r this rel ease.
This guide does not descri be system messa ges you migh t encounte r. For more information, see the system message guide fo r this rele ase.
For documentation upda tes, see the release note s for thi s releas e.

Conventions

This publication use s the se conventions to co nvey instructions a nd info rmat ion: Command descriptions use these conventions:
Commands and keywords are in boldface text.
Arguments for which you supply values are in italic.
Square brackets ([ ] ) mean s o pti onal el em en ts.
Braces ({}) group requir ed choices, and vertical bars ( | ) separa te the alte rnative elements.
Braces and vertical bars within square brackets ([{ | }]) mean a required choice within an optional
element.
OL-12248-01
Cisco Catalyst Blade Switch 3120 for HP Command Reference
xix

Related Publications

Interactive examples use these conventions:
Ter minal sessions and system displays are in screen font.
Information you ent er is in boldface screen font.
Nonprinting charac ters, such as passwords or t abs, ar e in angl e brackets (< >) .
Notes, cautions, an d wa rnin gs u se the se conventions and s ymb ols:
Note Means reader take note. Notes contain helpful suggestions or references to materials not contained in
this manual.
Caution Means rea der be c are ful. In this situation, you might do something that could result in equipment
damage or loss of data.
Related Publications
Preface
These documents provide complete in for ma tion abo ut the switc h and are a vailable from this Cisco.com site:
http://www.cisco.com/en/US/products/ps6748/tsd_products_sup port_se ries_hom e.html
Note Before installing, configurin g, or upgrad ing the swit ch, see the se docum ents:
For initial conf iguration information, see the “Configuring t he Switch Module” se ction in the getting
started guide or the “Configuring the Switch with the CLI-Based Setup Program” appendix in the hardware installation g uide.
For device manager requirements, see the “System Requirements” section in the release notes (not
orderable but available on Ci sco .com ).
For Network Assistant requirements, see the Getting Started with Cisco Network Assistant (not
orderable but available on Ci sco .com ).
For upgrade inform ation, see the “Downloading Software” section in the release notes.
You can order printed copies of documents with a DOC-xxxxxx= number from the Cisco.com sites and from the telephone numbers listed in the URL referenced in the Obtaining Documentation and
Submitting a Service Request section.
Release Notes for the Cisco Catalyst Blade Switch 3120 for HP (not orderable but available on
Cisco.com)
Cisco Catalyst Blade Switch 3120 for HP Software Configuration Guide (not orderable but available
on Cisco.com)
Cisco Catalyst Bla de Sw itch 3 120 for HP Comm and Refe rence (not or derable but available on
Cisco.com)
xx
Cisco Catalyst Bla de Sw itch 3 120 f or HP System Message Gui de (not orderabl e but available on
Cisco.com)
Cisco Software Activation Document for HP
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
Preface

Obtaining Documentation and Submitting a Service Request

Device manager online help ( available on the s witc h)
Cisco Catalyst Blade Switch 3120 for HP Hardware Installation Guide (not orderable but available
on Cisco.com)
Cisco Catalyst Blade Switch 3000 Series for HP Getting Started Guide (not orderable but available
on Cisco.com)
Regulatory Compliance and Safety Information for the Cisco Catalyst Blade Switch 3000 Series for
HP (not orderable but available on Cisco.com)
Installation Note for the Cisco TwinGig Converter Module (order number DOC-7817572=)
Cisco Small Form-Factor Pluggable Module s I nstallat ion Notes (or de r n um ber D OC -781 5160 =)
These compatibility matrix documents are available from this Cisco.com site:
http://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list. html
Cisco Gigabit Ethernet Transceiver Modules Compatibility Matrix (not ord erable but av ail a ble on Cisco.com)
Cisco 100-Megabit Ethernet S FP Modules Compatibility Matri x (not orderable but available on Cisco.com)
Cisco Small F orm-Factor Pluggable Modules Compatibility Matrix (not orderable but available on Cisco.com)
Compatibility Matrix for 1000BASE-T Small Form-Factor Pluggable Modules (not ordera ble but available on Cisco.com)
For information about the Network Admission Control (NAC) features, see the Network Admission
Control Software Configuration Guide (Not orderable but available on Cisco.c om)
Obtaining Documentation and Su bmitting a Service Reque st
For information on obtaining docume ntatio n, submittin g a service request, an d gatherin g additiona l information, see the monthly What’s New in Cisco Product Documentation, wh ich also lists all new and revised Cisco techn ica l do cu me nta tio n, at :
http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html
Subscribe to the What’s New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free service and Cisco currently supports RSS version 2.0.
OL-12248-01
Cisco Catalyst Blade Switch 3120 for HP Command Reference
xxi
Obtaining Documentati on and Submitting a Service Request
Preface
xxii
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
CHA PTER
1

Using the Command-Line Interface

The switches are supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) t o configure soft ware fea tures.
For a complete description of the commands that support these features, see Chapter 2, “Cisco
Catalyst Blade Switch 3120 for HP Cisco IO S Commands. ”
For information on the boot loader commands, see Appendix A, “Cisco Catalyst Blade Switch 3120
for HP Boot Loader Comm ands.”
For information on the debug commands, see Appendix B, “Cisco Cata lyst Bl ade Switc h 312 0 for
HP Debug Commands.”
For information on the show platform commands, see Appendix C, “Cisco Catalyst Blade Switch
3120 for HP Show Platform Comma nds.”
For more informati on on Ci sco IO S R eleas e 12.2, see the Cisc o IOS Relea se 12.2 Com mand
Summary.
For task-oriented configuration steps, see the software configuration guide for this release.
In this document, IP refers to IP vers ion 4 (IPv4 ) unless th ere is a spec ific refere nce to IP version 6 (IPv6).

Accessing the Switch

You manage the switch stack and the stack member interfaces through the stack master. You cannot manage stack membe rs on a n ind ividual swit ch b asis. You can connect to the stack ma ste r th rou gh t he console port of one or more stack members. Y ou can connect to the stack master through the console port of one or more sta ck m em bers. You can also connect to the s ta ck m a ster t hr ough t he On board Administator to the internal Ethernet management port. Be careful with using multiple CLI sessions to the stack master. Commands you enter in on e s e s si on ar e no t d is play ed in th e o th er s ess io ns. Therefore, it is possible to lose track of the session from which you entered commands.
Note We re comm end using one CLI session whe n managi ng the switch st ack.
If you want to con figure a s pe cific stac k memb er po rt, yo u m ust i ncl ud e t he st ack m em ber num ber i n the CLI command interface notation. For more information about interface notations, see the “Configuring Interfaces” chapter in the software configuration guide for this release.
OL-12248-01
Cisco Catalyst Blade Switch 3120 for HP Command Reference
1-1

CLI Command Modes

To debug a specific stack member, you can access it from the stack master by using the session stack-member-nu mber privileged EXEC command. The stack member number is appended to the system prompt. For example, system prompt for the stack master is CLI session to a specific stack member.
CLI Command Modes
This section descr ibes t he CL I com ma nd mo de struc tur e. Co mm and mode s su pport spec ific Cisco IOS commands. For exampl e, th e interface interface-id comman d only works when e ntered in global configuration mode .
These are the mai n comm and mode s for the switc h:
User EXEC
Privileged EXEC
Global configuration
Interface configura tion
Config-vlan
Chapter 1 Us ing the Command-Line Interface
Switch-2# is the prompt in privileged EXEC mode fo r stack me mber 2, and the
Switch. Only the show and debug commands are available in a
VLAN configuration
Line configuration
Table 1-1 l ist s the m ain com ma nd mo de s, how to acc ess e ach mo de, t he pr omp t yo u see i n tha t m ode,
and how to exit that mode. The prompts lis ted use the de fault name Switch.
Table 1-1 Command Modes Summary
Command Mode Access Method Prompt Exit or Access Next Mode
User EXEC This is the first level of access.
(For the switch) Change terminal settings, perform basic tasks, and
Switch>
Enter the logout command. To enter privileged EXEC mode, enter
the enabl e co mman d.
list system information.
Privileged EXEC From user EXEC mode, enter the
enable command.
Switch#
To exit to user EXEC mode, enter the disable command.
To e nte r globa l co nfigurat ion mod e, enter the configure command.
Global configuration
From privileged EXEC mode, enter the configure comm and.
Switch(config)#
To exit to privileged EXEC mode, enter the exit or end command, or press Ctrl-Z.
To enter interface configuration mode, enter the interface configuration command.
Interface configuration
From global configuration mode, specify an interface by entering the interface command followed by an interface identification.
Switch(config-if)#
To exit to privileged EXEC mode, enter the end command, o r press Ctrl-Z.
To exit to global configuration mode, enter the exit comman d.
1-2
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
Chapter 1 Using the Command-Lin e Interface
CLI Command Modes
Table 1-1 Command Modes Summary (continued)
Command Mode Access Method Prompt Exit or Access Next Mode
Config-vlan In global configuration mode,
enter the vlan vlan-id command.
VLAN configuration
From privileged EXEC mode, enter the vlan database command.
Line configuration From global configuration mode,
specify a line by enterin g the line command.
Switch(config-vlan)#
Switch(vlan)#
Switch(config-line)#
To exit to global configuration mode, enter the exit comman d.
To return to privileged EXEC mode, enter the end command, o r press Ctrl-Z.
To exit to privileged EXEC mode, enter the exit comman d.
To exit to global configuration mode, enter the exit comman d.
To return to privileged EXEC mode, enter the end command, o r press Ctrl-Z.

User EXEC Mode

After you access t he de vice, you ar e automatically in user EXEC c ommand mode. The EXEC comma nds available at the user level are a subset of those available at the privileged level. In general, use the user EXEC commands to temporarily change terminal settings, perform basic tests, and list system information.
The supported comman ds can vary dependi ng on the versi on of software in use. To display a comprehensive list of commands, ent er a quest ion mark (?) at the prompt.
Switch> ?

Privileged EXEC Mode

Because many of the privileged commands configure operating parameters, privileged access should be password-protected to prevent unauthorized use. The privileged command set includes those commands contained in user EXEC mode, as well as the configure privileged EXEC command through which you access the remaining command modes.
If your system administrator has set a password, you are prompted to enter it before being granted access to privileged EXEC mode. T he p assword does not ap pe ar on t he s cr een an d is ca se se nsit ive.
The privileged EXEC mo de prom pt is th e device name f oll owed by the poun d si g n (
Switch#
Enter the enable command to access privileged EXEC mode:
Switch> enable Switch#
#).
OL-12248-01
The supported comman ds can vary dependi ng on the versi on of software in use. To display a comprehensive list of commands, ent er a quest ion mark (?) at the prompt.
Switch# ?
To re tu rn to u se r EX EC mo de , en ter th e disa ble privileged EXEC command.
Cisco Catalyst Blade Switch 3120 for HP Command Reference
1-3
CLI Command Modes

Global Configuration Mode

Global configuration commands apply to features that affect the device as a whole. Use the configure privileged EXEC command to enter global c onfiguration mode. The default is to enter commands from the management co nsol e.
When you enter the configure command, a message prom pts you for the sour ce of the c onfiguration commands:
Switch# configure Configuring from terminal, memory, or network [terminal]?
You can specif y either th e termin al or NVRA M as the sour ce of co nfiguration c ommands. This example shows you how to a ccess gl oba l c onfigurati on m ode :
Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z.
The supported comman ds can vary dependi ng on the versi on of software in use. To display a comprehensive list of commands, ent er a quest ion mark (?) at the prompt.
Switch(config)# ?
Chapter 1 Us ing the Command-Line Interface
To exi t g lob al configura tion c omma nd mo de a nd to retu rn to privileged E XEC mo de, ent er t he end or exit command, or press Ctrl-Z.

Interface Configuration Mode

Interface config uration commands modify the operation of the interface. Interface configuration commands always fol low a gl oba l c on figuratio n comma nd , whi ch de fines t he i n terfa ce t ype.
Use the interface interface-id command to access interface configuration mode. The new prompt means interface configuration mode.
Switch(config-if)#
The supported comman ds can vary dependi ng on the versi on of software in use. To display a comprehensive list of commands, ent er a quest ion mark (?) at the prompt.
Switch(config-if)# ?
To exit interface configuration mode and to return to global configuration mode, enter the exit command. To exit interface configuration mode and to return to privileged EXEC mode, enter the end command, or pres s Ctrl-Z.

config-vlan Mode

Use this mode to configure normal -range VLANs (VL AN IDs 1 to 1005) or, when VTP mode is transparent, to configure extend ed-ra nge VLA Ns (VLAN IDs 1006 to 4094) . When VTP mod e is transparent, the VL AN and VT P con figurati on i s saved in the runni ng configurat ion file, a nd you c an save it to the switch startup configuration file by using the copy running-config startup-config privileged EXEC command. The configurations of VLAN IDs 1 to 1005 are saved in the VLAN database if VTP is in transparent or server mode. The extended-range VLAN configurations are not saved in the VLAN database.
1-4
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
Chapter 1 Using the Command-Lin e Interface
Enter the vlan vlan-id global configur ation com mand to ac cess config-v lan mode :
Switch(config)# vlan 2000 Switch(config-vlan)#
The supported keywords can vary but are similar to the co mmands available in VLAN configurat ion mode. To display a comprehensive list of commands, enter a question mark (?) at the prompt.
Switch(config-vlan)# ?
For extended-range VLANs, all characteristics except the MTU size must remain at the default setting. To r e turn to g l obal c onfigura tio n m od e, e nte r exit; to return to privileged EXEC mode, enter end. All
the commands except shutdown take effect when you exit config-vlan mode.

VLAN Configuration Mode

You can use th e VL AN c onfigu ratio n co mm an ds to c reate or m odif y V LAN para met ers fo r VLA N ID s 1 to 1005.
Enter the vlan database privileged EXEC command to access VLAN configuration mode:
Switch# vlan database Switch(vlan)#
CLI Command Modes
The supported comman ds can vary dependi ng on the versi on of software in use. To display a comprehensive list of commands, ent er a quest ion mark (?) at the prompt.
Switch(vlan)# ?
To return to privileged EXEC mode, enter the abort VLAN co nfigurati on co mman d t o ab ando n th e proposed database. Oth erw is e, ent er exit to implement the proposed new VLAN database and to return to privileged EXEC mode. W hen y ou en ter exit or a pply, the configurati on is saved in the V LA N database; configuration f ro m VLAN configur ation m ode ca nno t be saved i n th e swi tch co nfigur ation file.

Line Configuration Mode

Line configuration comm ands mod ify the op erati on of a term inal l ine. Line configuratio n comma nds always follow a line command, whic h defines a line num ber. Use these commands to change terminal parameter settings line-by-line or for a range of lines.
Use the line vty line_number [ en ding_ line_ numbe r] c omman d to enter line configurat ion mode . The new prompt means line configuration mode. Th e following example shows how to enter line configuration mode for virtual term inal line 7:
Switch(config)# line vty 0 7
The supported comman ds can vary dependi ng on the versi on of software in use. To display a comprehensive list of commands, ent er a quest ion mark (?) at the prompt.
Switch(config-line)# ?
OL-12248-01
To exi t l ine con figurat ion mod e a nd to r etur n to g lo bal configur ation m ode , use th e exit command. To exit line configuration mode and to re turn to privileged EXE C mode , enter the end command, or press Ctrl-Z.
Cisco Catalyst Blade Switch 3120 for HP Command Reference
1-5
CLI Command Modes
Chapter 1 Us ing the Command-Line Interface
1-6
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01

Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands

aaa accounting dot1x

Use the aaa accounting dot1x global configuration command to enable authentication, authorization , and accounting (AAA) a ccounting and to create method lists defining specific accounting methods on a per-line or per-interface basis for IEEE 802.1x sessions. Use th e no form of this command to disable IEEE 802.1x accoun ting.
aaa accounting dot1x {name | default} start- stop {broadcast group {name | radius | tacacs+}
[group {name | radius | tacacs+} ... ] | group {name | radius | tacacs+} [group {name | radius | tacacs+} ... ]}
no aaa accounting dot1x {name | default}
CHA PTER
2
Syntax Description name Name of a server group. This is optional when you enter it after the
broadcast group and group keywords.
default Use the acc oun tin g me thod s th at fo llow as t he defau lt l ist fo r ac cou nti ng
services.
start-stop Send a start accounting notice at the beginning of a process and a stop
accounting notice at th e end of a proce ss . The star t accou nting r ecord is sent in the background. The reque sted-user process begins regardless of whe ther or not the start accounti ng notic e was received by the accoun ting server.
broadcast Enable accounting rec ord s to be se nt to mul tip le AAA ser vers and se nd
accounting records to the first server in each group. If the first server is unavailab le, the switch uses the list of backup servers to identify the first server.
group Specify the server group to be used for accounting services. These are valid
server group names:
name—Name of a server group.
radius—List of all RADIUS hosts.
tacacs+—List of all TACACS+ hosts.
The group keyword is option al whe n you e nter it a ft er th e broadcast group and group keywords. You can enter more than optional group keyword.
OL-12248-01
Cisco Catalyst Blade Switch 3120 for HP Command Reference
2-1
aaa accounting dot1x
radius (Optional) En able RADIUS authorization. tacacs+ (Optional) Enable TACACS+ accoun ting.
Defaults AAA accounting is disa bled.
Command Modes Global configurat ion
Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands
Command History
Release Modification
12.2(40)EX This co mman d was introd uced.
Usage Guidelines This command requires access to a RADIUS server.
We recommend that you enter the dot1x reauthentication interface co n figurati on co mm and b ef ore configuring IEEE 802.1x RADI US accou nting on a n interface .
Examples This example shows how to con figure IEEE 80 2.1x ac count ing :
Switch(config)# aaa new-model Switch(config)# aaa accounting dot1x default start-stop group radius
Note The RADIUS authentication server must be properly configured to accept and log update or watchdog
packets from the AAA client.
Related Comma nds
Command Description
aaa authentication dot1x
Specifies one or more AAA methods for use on interfaces run ning IEEE 802.1x.
aaa new-model Enables the AA A ac cess co ntro l mode l. For sy ntax inf orm atio n, see t he
Cisco IOS Security Command Reference, Release 12.2 > Authe ntication,
Authorization, and Accounting > Authentication Commands.
dot1x reauthentication Enables or disables peri odic reaut hen tication . dot1x timeout
Sets the number of seconds be tween re- authent ication at tempts.
reauth-period
2-2
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
Loading...
+ 952 hidden pages