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

0 (0)

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

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

Text Part Number: OL-12248-01

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.

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, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick 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. (0711R)

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 purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.

Cisco Catalyst Blade Switch 3120 for HP Command Reference

©2007 Cisco Systems, Inc. All rights reserved.

 

 

 

 

 

 

 

C O N T E N T S

 

Preface

xix

 

 

 

 

 

 

Audience

xix

 

 

 

 

 

Purpose xix

 

 

 

 

 

Conventions

xix

 

 

 

 

Related Publications

xx

 

 

 

Obtaining Documentation and Submitting a Service Request xxi

 

Using the Command-Line Interface

 

C H A P T E R 1

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

 

Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands 2-1

C H A P T E R 2

 

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

 

 

 

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

 

 

 

 

 

 

 

OL-12248-01

 

 

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

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

iv

 

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

 

 

 

 

Contents

 

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

 

 

 

 

 

 

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

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

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

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

vi

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

 

 

 

Contents

 

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

 

 

 

 

 

 

 

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

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

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

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

viii

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

 

 

 

Contents

 

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

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

Cisco Catalyst Blade Switch 3120 for HP Command Reference
2-555
2-554
2-552
2-545
2-543
2-542
2-537
2-539
2-535
2-533
2-529

Contents

show mac address-table dynamic

show mac address-table interface 2-531 show mac address-table move update show mac address-table notification show mac address-table static

show mac address-table vlan show mls qos 2-541

show mls qos aggregate-policer show mls qos input-queue show mls qos interface

show mls qos maps 2-549 show mls qos queue-set show mls qos vlan

show monitor

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

 

show vlan access-map 2-600 show vlan filter 2-601

show vmps

2-602

 

show vtp

2-605

 

shutdown

2-609

 

 

 

 

 

 

 

OL-12248-01

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

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

xii

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

 

 

Contents

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

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

 

 

 

Cisco Catalyst Blade Switch 3120 for HP Boot Loader Commands A-1

A P P E N D I X

A

 

 

 

 

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

 

 

 

 

 

 

 

 

 

type

A-23

 

 

 

 

 

 

 

 

 

unset

 

A-24

 

 

 

 

 

 

 

 

 

version

A-26

 

 

 

 

 

 

Cisco Catalyst Blade Switch 3120 for HP Debug Commands B-1

A P P E N D I X

B

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

xiv

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

 

 

 

Contents

 

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

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

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

 

 

 

 

 

Cisco Catalyst Blade Switch 3120 for HP Show Platform Commands C-1

A P P E N D I X C

 

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

 

 

 

 

xvi

 

 

OL-12248-01

 

 

 

 

 

C-43
C-46
C-41
C-38 C-39

Contents

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

 

 

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 show platform stack-manager show platform tb

show platform tcam show platform vlan

I N D E X

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

OL-12248-01

xvii

 

Contents

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

xviii

OL-12248-01

 

 

 

Preface

Audience

This guide is for the networking professional using the Cisco IOS command-line interface (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 terminology of Ethernet and local area networking.

You install the switch in the HP BladeSystem server chassis, referred to as the enclosure.

Purpose

This guide provides the information that you need about the Layer 2 and Layer 3 commands 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 procedures for configuring your switch. For detailed configuration procedures, see the software configuration guide for this release.

This guide does not describe system messages you might encounter. For more information, see the system message guide for this release.

For documentation updates, see the release notes for this release.

Conventions

This publication uses these conventions to convey instructions and information:

Command descriptions use these conventions:

Commands and keywords are in boldface text.

Arguments for which you supply values are in italic.

Square brackets ([ ]) means optional elements.

Braces ({}) group required choices, and vertical bars ( | ) separate the alternative elements.

Braces and vertical bars within square brackets ([{ | }]) mean a required choice within an optional element.

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

OL-12248-01

xix

 

Preface

Related Publications

Interactive examples use these conventions:

Terminal sessions and system displays are in screen font.

Information you enter is in boldface screen font.

Nonprinting characters, such as passwords or tabs, are in angle brackets (< >). Notes, cautions, and warnings use these conventions and symbols:

Note Means reader take note. Notes contain helpful suggestions or references to materials not contained in this manual.

Caution Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data.

Related Publications

These documents provide complete information about the switch and are available from this Cisco.com site:

http://www.cisco.com/en/US/products/ps6748/tsd_products_support_series_home.html

Note Before installing, configuring, or upgrading the switch, see these documents:

For initial configuration information, see the “Configuring the Switch Module” section in the getting started guide or the “Configuring the Switch with the CLI-Based Setup Program” appendix in the hardware installation guide.

For device manager requirements, see the “System Requirements” section in the release notes (not orderable but available on Cisco.com).

For Network Assistant requirements, see the Getting Started with Cisco Network Assistant (not orderable but available on Cisco.com).

For upgrade information, 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 Blade Switch 3120 for HP Command Reference (not orderable but available on Cisco.com)

Cisco Catalyst Blade Switch 3120 for HP System Message Guide (not orderable but available on Cisco.com)

Cisco Software Activation Document for HP

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

xx

OL-12248-01

 

 

 

Preface

Obtaining Documentation and Submitting a Service Request

Device manager online help (available on the switch)

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 Modules Installation Notes (order number DOC-7815160=)

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 orderable but available on Cisco.com)

Cisco 100-Megabit Ethernet SFP Modules Compatibility Matrix (not orderable but available on Cisco.com)

Cisco Small Form-Factor Pluggable Modules Compatibility Matrix (not orderable but available on Cisco.com)

Compatibility Matrix for 1000BASE-T Small Form-Factor Pluggable Modules (not orderable 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.com)

Obtaining Documentation and Submitting a Service Request

For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, 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.

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

OL-12248-01

xxi

 

Preface

Obtaining Documentation and Submitting a Service Request

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

xxii

OL-12248-01

 

 

 

C H A P T E R 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) to configure software features.

For a complete description of the commands that support these features, see Chapter 2, “Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands.”

For information on the boot loader commands, see Appendix A, “Cisco Catalyst Blade Switch 3120 for HP Boot Loader Commands.”

For information on the debug commands, see Appendix B, “Cisco Catalyst Blade Switch 3120 for HP Debug Commands.”

For information on the show platform commands, see Appendix C, “Cisco Catalyst Blade Switch 3120 for HP Show Platform Commands.”

For more information on Cisco IOS Release 12.2, see the Cisco IOS Release 12.2 Command Summary.

For task-oriented configuration steps, see the software configuration guide for this release.

In this document, IP refers to IP version 4 (IPv4) unless there is a specific reference 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 members on an individual switch basis. You can connect to the stack master through the console port of one or more stack members. You can connect to the stack master through the console port of one or more stack members. You can also connect to the stack master through the Onboard Administator to the internal Ethernet management port. Be careful with using multiple CLI sessions to the stack master. Commands you enter in one session are not displayed in the other sessions. Therefore, it is possible to lose track of the session from which you entered commands.

Note We recommend using one CLI session when managing the switch stack.

If you want to configure a specific stack member port, you must include the stack member number in the CLI command interface notation. For more information about interface notations, see the “Configuring Interfaces” chapter in the software configuration guide for this release.

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

OL-12248-01

1-1

 

 

 

Chapter 1 Using the Command-Line Interface

CLI Command Modes

To debug a specific stack member, you can access it from the stack master by using the session stack-member-number privileged EXEC command. The stack member number is appended to the system prompt. For example, Switch-2# is the prompt in privileged EXEC mode for stack member 2, and the system prompt for the stack master is Switch. Only the show and debug commands are available in a CLI session to a specific stack member.

CLI Command Modes

This section describes the CLI command mode structure. Command modes support specific Cisco IOS commands. For example, the interface interface-id command only works when entered in global configuration mode.

These are the main command modes for the switch:

User EXEC

Privileged EXEC

Global configuration

Interface configuration

Config-vlan

VLAN configuration

Line configuration

Table 1-1 lists the main command modes, how to access each mode, the prompt you see in that mode, and how to exit that mode. The prompts listed use the default 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.

Switch>

Enter the logout command.

 

 

 

 

 

(For the switch) Change terminal

 

To enter privileged EXEC mode, enter

 

 

 

 

 

settings, perform basic tasks, and

 

the enable command.

 

 

 

 

 

list system information.

 

 

 

 

 

 

 

 

 

Privileged EXEC

From user EXEC mode, enter the

Switch#

To exit to user EXEC mode, enter the

 

 

 

 

 

enable command.

 

disable command.

 

 

 

 

 

 

 

To enter global configuration mode,

 

 

 

 

 

 

 

enter the configure command.

 

 

 

 

 

 

 

Global

 

From privileged EXEC mode,

Switch(config)#

To exit to privileged EXEC mode,

 

configuration

 

enter the configure command.

 

enter the exit or end command, or

 

 

 

 

 

 

 

press Ctrl-Z.

 

 

 

 

 

 

 

To enter interface configuration mode,

 

 

 

 

 

 

 

enter the interface configuration

 

 

 

 

 

 

 

command.

 

 

 

 

 

 

 

Interface

 

From global configuration mode,

Switch(config-if)#

To exit to privileged EXEC mode,

 

configuration

 

specify an interface by entering

 

enter the end command, or press

 

 

 

 

 

the interface command followed

 

Ctrl-Z.

 

 

 

 

 

by an interface identification.

 

To exit to global configuration mode,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

enter the exit command.

 

 

 

 

 

 

 

 

 

 

 

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

 

 

 

 

 

 

 

1-2

 

 

 

 

 

OL-12248-01

 

 

 

 

 

 

 

 

Chapter 1 Using the Command-Line 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,

Switch(config-vlan)#

To exit to global configuration mode,

 

 

enter the vlan vlan-id command.

 

enter the exit command.

 

 

 

 

To return to privileged EXEC mode,

 

 

 

 

enter the end command, or press

 

 

 

 

Ctrl-Z.

 

 

 

 

 

VLAN

 

From privileged EXEC mode,

Switch(vlan)#

To exit to privileged EXEC mode,

configuration

 

enter the vlan database

 

enter the exit command.

 

 

command.

 

 

 

 

 

 

Line configuration

From global configuration mode,

Switch(config-line)#

To exit to global configuration mode,

 

 

specify a line by entering the line

 

enter the exit command.

 

 

command.

 

To return to privileged EXEC mode,

 

 

 

 

 

 

 

 

enter the end command, or press

 

 

 

 

Ctrl-Z.

 

 

 

 

 

User EXEC Mode

After you access the device, you are automatically in user EXEC command mode. The EXEC commands 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 commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question 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. The password does not appear on the screen and is case sensitive.

The privileged EXEC mode prompt is the device name followed by the pound sign (#).

Switch#

Enter the enable command to access privileged EXEC mode:

Switch> enable

Switch#

The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question mark (?) at the prompt.

Switch# ?

To return to user EXEC mode, enter the disable privileged EXEC command.

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

OL-12248-01

1-3

 

 

 

Chapter 1 Using the Command-Line Interface

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 configuration mode. The default is to enter commands from the management console.

When you enter the configure command, a message prompts you for the source of the configuration commands:

Switch# configure

Configuring from terminal, memory, or network [terminal]?

You can specify either the terminal or NVRAM as the source of configuration commands.

This example shows you how to access global configuration mode:

Switch# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question mark (?) at the prompt.

Switch(config)# ?

To exit global configuration command mode and to return to privileged EXEC mode, enter the end or exit command, or press Ctrl-Z.

Interface Configuration Mode

Interface configuration commands modify the operation of the interface. Interface configuration commands always follow a global configuration command, which defines the interface type.

Use the interface interface-id command to access interface configuration mode. The new prompt means interface configuration mode.

Switch(config-if)#

The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question 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 press Ctrl-Z.

config-vlan Mode

Use this mode to configure normal-range VLANs (VLAN IDs 1 to 1005) or, when VTP mode is transparent, to configure extended-range VLANs (VLAN IDs 1006 to 4094). When VTP mode is transparent, the VLAN and VTP configuration is saved in the running configuration file, and you can 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.

Cisco Catalyst Blade Switch 3120 for HP Command Reference

1-4

OL-12248-01

 

 

Chapter 1 Using the Command-Line Interface

CLI Command Modes

Enter the vlan vlan-id global configuration command to access config-vlan mode:

Switch(config)# vlan 2000

Switch(config-vlan)#

The supported keywords can vary but are similar to the commands available in VLAN configuration 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 return to global configuration mode, enter 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 the VLAN configuration commands to create or modify VLAN parameters for VLAN IDs 1 to 1005.

Enter the vlan database privileged EXEC command to access VLAN configuration mode:

Switch# vlan database

Switch(vlan)#

The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question mark (?) at the prompt.

Switch(vlan)# ?

To return to privileged EXEC mode, enter the abort VLAN configuration command to abandon the proposed database. Otherwise, enter exit to implement the proposed new VLAN database and to return to privileged EXEC mode. When you enter exit or apply, the configuration is saved in the VLAN database; configuration from VLAN configuration mode cannot be saved in the switch configuration file.

Line Configuration Mode

Line configuration commands modify the operation of a terminal line. Line configuration commands always follow a line command, which defines a line number. Use these commands to change terminal parameter settings line-by-line or for a range of lines.

Use the line vty line_number [ending_line_number] command to enter line configuration mode. The new prompt means line configuration mode. The following example shows how to enter line configuration mode for virtual terminal line 7:

Switch(config)# line vty 0 7

The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question mark (?) at the prompt.

Switch(config-line)# ?

To exit line configuration mode and to return to global configuration mode, use the exit command. To exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press

Ctrl-Z.

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

OL-12248-01

1-5

 

 

 

Chapter 1 Using the Command-Line Interface

CLI Command Modes

Cisco Catalyst Blade Switch 3120 for HP Command Reference

1-6

OL-12248-01

 

 

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

C H A P T E R 2

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) accounting and to create method lists defining specific accounting methods on a per-line or per-interface basis for IEEE 802.1x sessions. Use the no form of this command to disable IEEE 802.1x accounting.

aaaaccounting 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}

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 accounting methods that follow as the default list for accounting

 

 

services.

 

 

 

 

start-stop

Send a start accounting notice at the beginning of a process and a stop

 

 

accounting notice at the end of a process. The start accounting record is sent

 

 

in the background. The requested-user process begins regardless of whether

 

 

or not the start accounting notice was received by the accounting server.

 

 

 

 

broadcast

Enable accounting records to be sent to multiple AAA servers and send

 

 

accounting records to the first server in each group. If the first server is

 

 

unavailable, 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 optional when you enter it after the broadcast group

 

 

and group keywords. You can enter more than optional group keyword.

 

 

 

Cisco Catalyst Blade Switch 3120 for HP Command Reference

 

OL-12248-01

2-1

 

 

 

Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands

aaa accounting dot1x

Defaults

Command Modes

Command History

radius

(Optional) Enable RADIUS authorization.

 

 

tacacs+

(Optional) Enable TACACS+ accounting.

 

 

AAA accounting is disabled.

Global configuration

Release

Modification

12.2(40)EX

This command was introduced.

 

 

Usage Guidelines

 

This command requires access to a RADIUS server.

 

 

 

 

We recommend that you enter the dot1x reauthentication interface configuration command before

 

 

 

 

configuring IEEE 802.1x RADIUS accounting on an interface.

 

 

 

 

 

 

Examples

 

This example shows how to configure IEEE 802.1x accounting:

 

 

 

 

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 Commands

 

Command

Description

 

 

 

 

 

 

 

 

 

 

 

 

aaa authentication

Specifies one or more AAA methods for use on interfaces running

 

 

 

 

dot1x

IEEE 802.1x.

 

 

 

 

 

 

 

 

 

 

 

aaa new-model

Enables the AAA access control model. For syntax information, see the

 

 

 

 

 

Cisco IOS Security Command Reference, Release 12.2 > Authentication,

 

 

 

 

 

Authorization, and Accounting > Authentication Commands.

 

 

 

 

 

 

 

 

 

 

 

dot1x reauthentication

Enables or disables periodic reauthentication.

 

 

 

 

 

 

 

 

 

 

 

dot1x timeout

Sets the number of seconds between re-authentication attempts.

 

 

 

 

reauth-period

 

 

 

 

 

 

 

 

 

Cisco Catalyst Blade Switch 3120 for HP Command Reference

2-2

OL-12248-01

 

 

Loading...
+ 952 hidden pages