HP BladeSystem bc2200 Command Line Interface Reference Guide HP BladeSystem PC
HP BladeSystem bc2200 - Blade PC Manual
View all HP BladeSystem bc2200 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP BladeSystem bc2200 manual content summary:
- HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 1
Command Line Interface Reference Guide HP BladeSystem PC Blade Switch Document Part Number: 413354-003 May 2009 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 2
HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP or loss of information. CLI Reference Guide HP BladeSystem PC Blade Switch Third Edition (May 2009) Second - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 3
login 3-1 aaa authentication enable 3-3 login authentication 3-5 enable authentication 3-6 ip http authentication 3-7 ip https authentication 3-8 show authentication methods 3-9 password 3-10 enable password 3-11 username 3-12 HP PC Blade Switch CLI Reference Guide www.hp.com iii - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 4
IP 4-2 deny (IP 4-5 mac access-list 4-7 permit (MAC 4-8 deny (MAC 4-9 service-acl 4-11 show access-lists 4-12 Address Table Commands bridge address 5-1 bridge multicast filtering ports security 5-20 show ports security addresses 5-21 iv www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 5
sntp configuration 6-17 show sntp status 6-18 Configuration and Image File Commands copy 7-1 delete 7-4 boot system 7-5 show running-config 7-6 show startup-config 7-8 show bootvar 7-10 HP PC Blade Switch CLI Reference Guide www.hp.com v - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 6
snooping leave-time-out 10-6 show ip igmp snooping mrouter 10-7 show ip igmp snooping interface 10-8 show ip igmp snooping groups 10-9 vi www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 7
Commands management access-list 14-1 permit (Management 14-3 deny (Management 14-4 management access-class 14-5 show management access-list 14-6 show management access-class 14-7 HP PC Blade Switch CLI Reference Guide www.hp.com vii - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 8
-7 class 18-8 show policy-map 18-9 trust cos-dscp 18-10 set 18-11 police 18-12 service-policy 18-13 qos aggregate-policer 18-14 show qos aggregate-policer 18-15 police aggregate 18-16 wrr -mutation 18-29 qos map dscp-mutation 18-30 viii www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 9
show snmp engineid 21-20 show snmp views 21-21 show snmp groups 21-22 show snmp filters 21-23 show snmp users 21-24 HP PC Blade Switch CLI Reference Guide www.hp.com ix - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 10
rsa 23-4 ip ssh pubkey-auth 23-5 crypto key pubkey-chain ssh 23-6 user-key 23-7 key-string 23-8 show ip ssh 23-10 x www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 11
-12 show system 25-13 show version 25-14 service cpu-utilization 25-15 show cpu utilization 25-16 TACACS+ Commands tacacs-server host 26-1 tacacs-server key 26-3 tacacs-server timeout 26-4 tacacs-server source-ip 26-5 show tacacs 26-6 HP PC Blade Switch CLI Reference Guide www.hp.com xi - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 12
29-9 ip https certificate 29-11 show crypto certificate mycertificate 29-12 show ip http 29-13 show ip https 29-14 Index xii www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 13
login screen displays: User Access Verification Username: admin Password: CLI session with the PC Blade Switch is opened. To end the CLI session, enter [Exit]. Console# Telnet (1). . The IP address for this switch is unassigned by default. HP PC Blade Switch CLI Reference Guide www.hp.com 1-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 14
the session with the "quit" or "exit" command. After entering the Telnet command, the login screen displays: Username: admin Password: CLI session with the PC Blade Switch is opened. To end the CLI session, enter [Exit]. Console# . You can open up to four sessions to the device via Telnet. 1-2 www - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 15
Exec) or configuration class (Global, ACL, DHCP, Interface, Line, VLAN Database, or MSTP). You can also display a list of valid keywords for a specific command. For example, the command "show ?" displays a list of possible show commands. HP PC Blade Switch CLI Reference Guide www.hp.com 1-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 16
system messages to a host server. To disable logging, specify the no logging command. This guide describes the negation effect for all applicable commands. Using Command History The CLI maintains a history Privileged Exec command mode (or administrator mode). 1-4 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 17
names and passwords: Username: admin Password: [admin login password] CLI session with the PC Blade Switch is opened. To end the CLI session, enter [Exit]. Console# Username: configure settings for the selected multiple spanning tree instance. HP PC Blade Switch CLI Reference Guide www.hp.com 1-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 18
the command line. Moves the cursor to the end of the command line. Returns back to the Privileged EXEC mode from any configuration mode. 1-6 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 19
interface configuration mode to configure a specific, or a multiple port-channel. Service (QoS) on the device, create policy maps, and define traffic classifications Page 2-1 3-1 4-1 5-1 6-1 7-1 8-1 9-1 10-1 11-1 12-1 13-1 14-1 15-1 16-1 17-1 18-1 HP PC Blade Switch CLI Reference Guide www.hp - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 20
communication with Remote Authentication Dial-in User Service (RADIUS) servers, and display the RADIUS device, SSH server configuration, or which SSH public key is manually configured. Syslog Commands Log messages to a syslog server, or limit -1 27-1 28-1 29-1 1-8 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 21
in the command line. The RADIUS server must support MD-5 challenge and EAP type frames. Example The following command uses the aaa authentication dot1x default with no authentication. Console(config)# aaa authentication dot1x default none HP PC Blade Switch CLI Reference Guide www.hp.com 2-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 22
Command Usage There are no user guidelines for this command. Example The following command enables 802.1x globally. Console(config)# dot1x system-auth-control 2-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 23
dot1x port-control Interface Configuration mode command enables manually controlling the authorization state of the port. to authenticate. The device cannot provide authentication services to the client through the interface. Default HP PC Blade Switch CLI Reference Guide www.hp.com 2-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 24
this command. Example The following command enables periodic re-authentication of the client. Console(config)# interface ethernet e16 Console(config-if)# dot1x re-authentication 2-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 25
command sets the number of seconds between re-authentication attempts, to 300. Console(config)# interface ethernet e16 Console(config-if)# dot1x timeout re-authperiod 300 HP PC Blade Switch CLI Reference Guide www.hp.com 2-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 26
Mode Privileged EXEC mode Command Usage There are no user guidelines for this command. Example The following command manually initiates a re-authentication of 802.1x-enabled Ethernet port e16. Console# dot1x re-authenticate ethernet e16 2-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 27
be changed to adjust for unusual circumstances, such as unreliable links or specific behavioral problems with certain clients and authentication servers. To provide a faster response time Console(config-if)# dot1x timeout quiet-period 3600 HP PC Blade Switch CLI Reference Guide www.hp.com 2-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 28
changed only to adjust for unusual circumstances, such as unreliable links or specific behavioral problems with certain clients and authentication servers. Example The following command sets the Console(config-if)# dot1x timeout tx-period 3600 2-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 29
problems with certain clients and authentication servers. Example The following command sets the number of times that the device sends an EAP-request or identity frame, to 6. Console(config)# interface ethernet e16 Console(config-if)# dot1x max-req 6 HP PC Blade Switch CLI Reference Guide www.hp - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 30
problems with certain clients and authentication servers. Example The following command sets the timeout period before retransmitting an EAP-request frame to the client to 3600 seconds. Console(config-if)# dot1x timeout supp-timeout 3600 2-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 31
following command sets the time for the retransmission of packets to the authentication server to 3600 seconds. Console(config-if)# dot1x timeout server-timeout 3600 HP PC Blade Switch CLI Reference Guide www.hp.com 2-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 32
dot1x ethernet e3 802.1x is enabled. Port Admin Mode Oper Mode Reauth Control Reauth Period Username ---- ---------- --------- ------- ------ -------- e3 Auto Unauthorized Ena 3600 Clark 2-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 33
before restarting the authentication process. Time in seconds the switch waits for a response to an EAP-request frame from the client before resending the request. HP PC Blade Switch CLI Reference Guide www.hp.com 2-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 34
state machine received a Success message from the Authentication Server. The number of times the state machine received a Failure message from the Authentication Server. 2-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 35
period of time the Supplicant is connected to the system. Authentication method used by the Supplicant to open the session. MAC address of the Supplicant. HP PC Blade Switch CLI Reference Guide www.hp.com 2-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 36
type that have been received by this Authenticator. The number of EAPOL frames of any type that have been transmitted by this Authenticator. 2-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 37
invalid. The protocol version number carried in the most recently received EAPOL frame. The source MAC address carried in the most recently received EAPOL frame. HP PC Blade Switch CLI Reference Guide www.hp.com 2-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 38
in the unauthorized state.) Example The following command enables access to the VLAN to unauthorized devices. Console(config-if)# dot1x auth-not-req 2-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 39
port security on the port. Example The following command enables multiple hosts (clients) on an 802.1x-authorized port. Console(config-if)# dot1x multiple-hosts HP PC Blade Switch CLI Reference Guide www.hp.com 2-19 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 40
not the supplicant address and sends consecutive traps at intervals of 100 seconds. Console(config-if)# dot1x single-host-violation forward trap 100 2-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 41
. Console# Console# configure Console(config)# vlan database Console(config-vlan)# vlan 2 Console(config-vlan)# exit Console(config)# interface vlan 2 Console(config-if)# dot1x guest-vlan HP PC Blade Switch CLI Reference Guide www.hp.com 2-21 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 42
on Ethernet port e1 to access the guest VLAN. Console# configure Console(config)# interface ethernet e1 Console(config-if)# dot1x guest-vlan enable 2-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 43
Multiple Hosts Disabled Guest VLAN ---------Enabled Single host parameters Violation action: Discard Trap: Enabled Trap frequency: 100 Status: Single-host locked Violations since last trap: 9 HP PC Blade Switch CLI Reference Guide www.hp.com 2-23 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 44
802.1x Commands 2-24 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 45
Global Configuration mode Command Usage The default and optional list names created with the aaa authentication login command are used with the login authentication command. HP PC Blade Switch CLI Reference Guide www.hp.com 3-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 46
final method in the command line. Example The following command configures the authentication login. Console(config)# aaa authentication login default radius local enable none 3-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 47
. All aaa authentication enable default requests sent by the device to a RADIUS or TACACS+ server include the username $enabx$., where x is the requested privilege level. HP PC Blade Switch CLI Reference Guide www.hp.com 3-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 48
AAA Commands Example The following command sets the enable password for authentication when accessing higher privilege levels. Console(config)# aaa authentication enable default enable 3-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 49
disconnect the telnet session. Example The following command specifies the default authentication method for a console. Console(config)# line console Console(config-line)# login authentication default HP PC Blade Switch CLI Reference Guide www.hp.com 3-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 50
following command specifies the default authentication method when accessing a higher privilege level from a console. Console(config)# line console Console(config-line)# enable authentication default 3-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 51
, specify none as the final method in the command line. Example The following command configures the HTTP authentication. Console(config)# ip http authentication radius local HP PC Blade Switch CLI Reference Guide www.hp.com 3-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 52
, specify none as the final method in the command line. Example The following command configures HTTPS authentication. Console(config)# ip https authentication radius local 3-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 53
, None Line Console Telnet SSH Login Method List Console_Login Default Default Enable Method List Console_Enable Default Default http: RADIUS, Local https: RADIUS, Local dot1x: RADIUS HP PC Blade Switch CLI Reference Guide www.hp.com 3-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 54
password length is 32 characters. Example The following command specifies password secret on a console. Console(config)# line console Console(config-line)# password secret 3-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 55
. Example The following example sets local level 15 password secret to control access to user and privilege levels. Console(config)# enable password level 15 secret HP PC Blade Switch CLI Reference Guide www.hp.com 3-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 56
following example configures user bob with password lee and user level 15 to the system. Console(config)# username bob password lee level 15 3-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 57
on the type of rule defined. Example The following command creates an IP ACL. Console(config)# ip access-list ip-acl1 Console(config-ip-al)# HP PC Blade Switch CLI Reference Guide www.hp.com 4-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 58
Protocol Inter-Domain Policy Routing Protocol Abbreviated Name icmp igmp ipinip tcp egp igp udp hmp rdp idpr Protocol Number 1 2 4 6 8 9 17 20 27 35 4-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 59
request, router-advertisement, router-solicitation, time-exceeded, parameter-problem, timestamp, timestamp-reply, information-request, information-reply, -rst, -syn and -fin. The flags are concatenated into one string. For example: +fin-ack. HP PC Blade Switch CLI Reference Guide www.hp.com 4-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 60
define a permit statement for an IP ACL. Console(config)# ip access-list ip-acl1 Console(config-ip-al)# permit rsvp 192.1.1.1 0.0.0.0 any dscp 56 4-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 61
Name icmp igmp ipinip tcp egp igp udp hmp rdp idpr ipv6 ipv6-route ipv6-frag Protocol Number 1 2 4 6 8 9 17 20 27 35 41 43 44 HP PC Blade Switch CLI Reference Guide www.hp.com 4-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 62
commands define a permit statement for an IP ACL. Console(config)# ip access-list ip-acl1 Console(config-ip-al)# deny rsvp 192.1.1.1 0.0.0.255 any 4-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 63
are no user guidelines for this command. Example The following command creates a MAC ACL. Console(config)# mac access-list macl-acl1 Console(config-mac-al)# HP PC Blade Switch CLI Reference Guide www.hp.com 4-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 64
id - Specifies the ID of the packet VLAN. (Range: 0-4095) n cos - Specifies the Class of Service (CoS) for the packet. (Range: 0-7) n cos-wildcard - Specifies wildcard bits to be applied to the -al)# permit 6:6:6:6:6:6 0:0:0:0:0:0 any vlan 6 4-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 65
n vlan-id - Specifies the ID of the packet vlan. n cos - Specifies the packets's Class of Service (CoS). n cos-wildcard - Specifies wildcard bits to be applied to the CoS. n eth-type - Specifies map cannot be connected to the VLAN interface. HP PC Blade Switch CLI Reference Guide www.hp.com 4-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 66
ACL Commands Example The following commands create a MAC ACL with deny rules on a device. Console(config)# mac access-list macl1 Console (config-mac-acl)# deny 06:06:06:06:06:06:00:00:00:00:00:00 any 4-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 67
has no default configuration. Command Mode Interface (Ethernet, port-channel) Configuration mode. Example The following command binds (services) an ACL to VLAN 2. Console(config)# interface vlan 2 Console(config-if)# service-acl input macl1 HP PC Blade Switch CLI Reference Guide www.hp.com 4-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 68
on a device. Console# show access-lists IP access list ACL1 permit ip host 172.30.40.1 any permit rsvp host 172.30.8.8 any 4-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 69
this VLAN). On interfaces that have an IP address configured, use the command "port security routed secure address" to configure an address with "secure" option. HP PC Blade Switch CLI Reference Guide www.hp.com 5-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 70
.64b3.a245 on port e16 to the bridge table. Console(config)# interface vlan 2 Console(config-if)# bridge address 3aa2.64b3.a245 ethernet e16 permanent 5-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 71
be used to enable forwarding all multicast packets to the multicast switches. Example The following command enables bridge multicast filtering. Console(config)# bridge multicast filtering HP PC Blade Switch CLI Reference Guide www.hp.com 5-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 72
and adds ports statically. Console(config)# interface vlan 1 Console(config-if)# bridge multicast address 01:00:5e:02:02:03 add ethernet e1-e9 5-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 73
forbidden address Interface Configuration (VLAN) mode command forbids adding a specific multicast address to specific ports. Use the no form of this command to return to -if)# bridge multicast forbidden address 0100.5e02.0203 add ethernet e9 HP PC Blade Switch CLI Reference Guide www.hp.com 5-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 74
the device to forward all multicast packets on port e8. Console(config)# interface vlan 1 Console(config-if)# bridge multicast forward-all add ethernet e8 5-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 75
forbid all forwarding of Multicast packets to e1 with VLAN 1. Console(config)# interface vlan 1 Console(config-if)# bridge multicast forbidden forward-all add ethernet e1 HP PC Blade Switch CLI Reference Guide www.hp.com 5-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 76
no user guidelines for this command. Example The following command sets the bridge aging time to 250 seconds. Console(config)# bridge aging-time 250 5-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 77
Mode Privileged EXEC mode Command Usage There are no user guidelines for this command. Example The following command clears the bridge tables. Console# clear bridge HP PC Blade Switch CLI Reference Guide www.hp.com 5-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 78
seconds if a packet with an unknown source address is received. Console(config)# interface ethernet e1 Console(config-if)# port security forward trap 100 5-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 79
command, the port security mode is set to dynamic for Ethernet interface e7. Console(config)# interface ethernet e7 Console(config-if)# port security mode dynamic HP PC Blade Switch CLI Reference Guide www.hp.com 5-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 80
is locked to 20. Console(config)# interface ethernet e7 Console(config-if)# port security mode dynamic Console(config-if)# port security max 20 5-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 81
:66:66:66 to port e1. Console(config)# interface ethernet e1 Console(config-if)# port security routed secure-address 66:66:66:66:66:66 HP PC Blade Switch CLI Reference Guide www.hp.com 5-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 82
Port ---- 00:60:70:4C:73:F e8 F 00:60:70:8C:73:F e8 F 00:10:0D:48:37:F e9 F Type ------dynamic dynamic static 5-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 83
:73:FF e8 00:60.70.8C.73:FF e8 00:10:0D:48:37:FF e9 Type Permanent delete-on-timeout delete-on-reset HP PC Blade Switch CLI Reference Guide www.hp.com 5-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 84
all VLANs. Console# show bridge address-table count Capacity: 8192 Free: 8083 Used: 109 Secure addresses: 2 Static addresses: 1 Dynamic addresses: 97 Internal addresses: 9 5-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 85
-e11 Forbidden ports for multicast addresses: VLAN ---1 19 MAC Address 01:00:5e:02:02:03 01:00:5e:02:02:08 Ports ----e8 e8 HP PC Blade Switch CLI Reference Guide www.hp.com 5-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 86
-239.130|2.2.8 Ports -----e8 e8 Ports --------e1 e1-8 e9-11 . A multicast MAC address maps to multiple IP addresses as shown in the example. 5-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 87
Forward-Unregistered Forward-All Static Status Static Status ---- --------- --------- --------- ---------- e1 Forbidden Filter Forbidden Filter e2 Forward Forward(s) Forward Forward(s) e3 - Forward(d) - Forward(d) HP PC Blade Switch CLI Reference Guide www.hp.com 5-19 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 88
in Static Learning mode or in Dynamic Learning mode Indicates if traps are sent in case of a violation Minimum time between consecutive trap 5-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 89
command displays the dynamic addresses in currently locked port e1. Console# show ports security addresses ethernet e1 Port Status ---- -------- e1 Disabled Learning -------Lock Current ------- Maximum ------1 HP PC Blade Switch CLI Reference Guide www.hp.com 5-21 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 90
Address Table Commands 5-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 91
6 Clock Commands clock set The clock set Privileged EXEC mode command manually sets the system clock. Syntax clock set hh:mm:ss day month year or clock set hh:mm system time to 13:32:00 on March 7th, 2006. Console# clock set 13:32:00 7 Mar 2006 HP PC Blade Switch CLI Reference Guide www.hp.com 6-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 92
no user guidelines for this command. Example The following command configures an external time source for the system clock. Console(config)# clock source sntp 6-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 93
internally keeps time in UTC, so this command is used only for display purposes and when the time is manually set. Example The following command sets the time zone to 6 hours difference from UTC. Console(config)# clock timezone -6 zone CST HP PC Blade Switch CLI Reference Guide www.hp.com 6-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 94
year. n date - Indicates that summer time should start on the first specific date listed in the command and end on the second specific date in the command. n usa - The summer time rules are the is UTC. Command Mode Global Configuration mode 6-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 95
2 am and finishing on the last Sunday in October at 2 am. Console(config)# clock summer-time recurring first sun apr 2:00 last sun oct 2:00 HP PC Blade Switch CLI Reference Guide www.hp.com 6-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 96
Command Usage Multiple keys can be generated. Example The following command defines the authentication key for SNTP. Console(config)# sntp authentication-key 8 md5 ClkKey 6-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 97
defines the authentication key for SNTP and grants authentication. Console(config)# sntp authentication-key 8 md5 ClkKey Console(config)# sntp trusted-key 8 Console(config)# sntp authenticate HP PC Blade Switch CLI Reference Guide www.hp.com 6-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 98
ignored. Example The following command authenticates key number 8. Console(config)# sntp authentication-key 8 md5 ClkKey Console(config)# sntp trusted-key 8 Console(config)# sntp authenticate 6-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 99
The following command sets the polling time for the Simple Network Time Protocol (SNTP) client to 120 seconds. Console(config)# sntp client poll timer 120 HP PC Blade Switch CLI Reference Guide www.hp.com 6-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 100
Use the sntp client enable (Interface) Interface Configuration mode command to enable the SNTP client on a specific interface. Example The following command enables the SNTP broadcast clients. Console(config)# sntp broadcast client enable 6-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 101
. Use the sntp client enable (Interface) Interface Configuration mode command to enable the SNTP client on a specific interface. Example The following command enables the SNTP anycast clients. Console(config)# sntp anycast client enable HP PC Blade Switch CLI Reference Guide www.hp.com 6-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 102
. Example The following command enables the SNTP client on Ethernet port e3. Console(config)# interface ethernet e3 Console(config-if)# sntp client enable 6-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 103
enables the device to use the Simple Network Time Protocol (SNTP) to request and accept SNTP traffic from servers. Console(config)# sntp unicast client enable HP PC Blade Switch CLI Reference Guide www.hp.com 6-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 104
poll timer Global Configuration mode command. Example The following command enables polling for SNTP predefined unicast clients. Console(config)# sntp unicast client poll 6-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 105
Global Configuration mode command. Example The following command configures the device to accept SNTP traffic from the server on 192.1.1.1. Console(config)# sntp server 192.1.1.1 HP PC Blade Switch CLI Reference Guide www.hp.com 6-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 106
Recurring every year. Begins at first Sunday of April at 2:00. Ends at last Sunday of October at 2:00. Offset is 60 minutes. 6-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 107
Clients Polling: Enabled Server ----------176.1.1.8 176.1.8.179 Polling ------Enabled Disabled Encryption Key 9 Disabled Broadcast Clients: Enabled Anycast Clients: Enabled Broadcast and Anycast Interfaces: e1, e3 HP PC Blade Switch CLI Reference Guide www.hp.com 6-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 108
Offset [mSec] -----7.19 Delay [mSec] ----119.89 Broadcast: Interface --------176.9.1.1 Interface --------VLAN 119 Last Response 19:17:59.792 PDT Feb 19 2006 6-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 109
.This is a user-defined name for up to five backup configuration files. Default Setting This command has no default configuration. Command Mode Privileged EXEC mode HP PC Blade Switch CLI Reference Guide www.hp.com 7-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 110
Usage Up to five backup configuration files are supported on the device. The location of a Source and Destination Some invalid combinations of source and destination exist. Specifically, you cannot copy if one of the following conditions exist: 7-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 111
/file1 image Accessing file 'file1' on 172.16.101.101... Loading file1 from 172.16.101.101 OK] Copy took 0:01:11 [hh:mm:ss] HP PC Blade Switch CLI Reference Guide www.hp.com 7-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 112
-1 and image-2 files cannot be deleted. Example The following command deletes file test from flash memory. Console# delete flash:test Delete flash:test? [confirm] 7-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 113
bootvar command to find out which image is the active image. Example The following command loads system image 1 at device startup. Console# boot system image-1 HP PC Blade Switch CLI Reference Guide www.hp.com 7-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 114
mst 6 priority 61440 spanning-tree mst 7 priority 61440 spanning-tree mst 8 priority 61440 spanning-tree mst 9 priority 61440 spanning-tree mst 10 priority 61440 7-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 115
,43-44) switchport access vlan 2 exit interface vlan 1 ip address dhcp exit interface vlan 2 ip address dhcp exit snmp-server community public ro view Default HP PC Blade Switch CLI Reference Guide www.hp.com 7-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 116
mst 6 priority 61440 spanning-tree mst 7 priority 61440 spanning-tree mst 8 priority 61440 spanning-tree mst 9 priority 61440 spanning-tree mst 10 priority 61440 7-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 117
,43-44) switchport access vlan 2 exit interface vlan 1 ip address dhcp exit interface vlan 2 ip address dhcp exit snmp-server community public ro view Default HP PC Blade Switch CLI Reference Guide www.hp.com 7-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 118
by the device at startup. Console# show bootvar Images currently available on the flash image-1 active (selected for next boot) image-2 not active 7-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 119
mode Command Usage There are no user guidelines for this command. Example The following command enables configuring Ethernet port e18. Console(config)# interface ethernet e18 HP PC Blade Switch CLI Reference Guide www.hp.com 8-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 120
command. Console(config)# interface range ethernet e(1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39) Console(config-if)# 8-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 121
)# interface ethernet e45 Console(config-if)# shutdown The following command restarts the disabled Ethernet port. Console(config)# interface ethernet e45 Console(config-if)# no shutdown HP PC Blade Switch CLI Reference Guide www.hp.com 8-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 122
for this command. Example The following command adds a description to Ethernet port e45. Console(config)# interface ethernet e45 Console(config-if)# description "RD SW#3" 8-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 123
The following command configures the speed operation of Ethernet port e45 to 100 Mbps operation. Console(config)# interface ethernet e45 Console(config-if)# speed 100 HP PC Blade Switch CLI Reference Guide www.hp.com 8-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 124
following command configures the duplex operation of Ethernet port e42 to full duplex operation. Console(config)# interface ethernet e42 Console(config-if)# duplex full 8-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 125
configuration and enables all capabilities. Example The following command enables auto-negotiation on Ethernet port e42. Console(config)# interface ethernet e42 Console(config-if)# negotiation HP PC Blade Switch CLI Reference Guide www.hp.com 8-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 126
flowcontrol auto. Example In the following example, flow control is enabled on port e42. Console(config)# interface ethernet e42 Console(config-if)# flowcontrol on 8-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 127
on - Manual mdix n PC only with a cross cable and to connect to another device only with a normal cable. Example In the following example, automatic crossover is enabled on port e42. Console(config)# interface ethernet e42 Console(config-if)# mdix auto HP PC Blade Switch CLI Reference Guide www.hp - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 128
-duplex. Example In the following example, back pressure is enabled on port e42. Console(config)# interface ethernet e42 Console(config-if)# back-pressure 8-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 129
There are no user guidelines for this command. Example In the following example, the counters for interface e1 are cleared. Console> clear counters ethernet e1 HP PC Blade Switch CLI Reference Guide www.hp.com 8-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 130
by the system for some reason (for example, port security). Example The following command reactivates interface e45. Console# set interface active ethernet e45 8-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 131
-Copper Neg ------Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Operational Link Advertisement 100f, 100h, 10f, 10h HP PC Blade Switch CLI Reference Guide www.hp.com 8-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 132
Up Disabled Auto e15 100M-Copper Full 100 Enabled Off Up Disabled Auto e16 100M-Copper Full 100 Enabled Off Up Disabled Auto 8-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 133
Disabled Disabled Disabled Disabled Disabled Disabled Disabled Mdix Mode ---Auto Auto Auto Auto Auto Auto Auto Auto Auto Auto Auto Auto Auto Auto Auto Auto HP PC Blade Switch CLI Reference Guide www.hp.com 8-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 134
The following command displays descriptions of configured interfaces: Console# show interfaces description Port Description ---- ----------- e1 lab e2 e3 e4 e5 e6 ch1 ch2 8-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 135
0 0 Ch InOctets --- -------- 1 27889 InUcastPkts ---------0 InMcastPkts ----------0 InBcastPkts ----------0 Ch OutOctets --- --------- 1 23739 OutUcastPkts -----------0 OutMcastPkts -----------0 OutBcastPkts -----------0 HP PC Blade Switch CLI Reference Guide www.hp.com 8-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 136
frames received that exceed the maximum permitted frame size. Counted frames for which reception fails due to an internal MAC sublayer receive error. 8-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 137
Control frames received with an opcode indicating the PAUSE operation. Counted MAC Control frames transmitted on this interface with an opcode indicating the PAUSE operation. HP PC Blade Switch CLI Reference Guide www.hp.com 8-19 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 138
enables counting broadcast and multicast packets on Ethernet port e42. Console(config)# interface ethernet e42 Console(config-if)# port storm-control include-multicast 8-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 139
. Example The following command enables broadcast storm control on port e5 of a device. Console(config)# interface ethernet e5 Console(config)# port storm-control broadcast enable HP PC Blade Switch CLI Reference Guide www.hp.com 8-21 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 140
900 Kbits/Sec on Ethernet port e42 of a device. Console(config)# interface ethernet e42 Console(config-if)# port storm-control broadcast rate 900 8-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 141
# show ports storm-control Port State Rate [Kbits/Sec] ---- -------- e1 Enabled 70 e1 Enabled 100 e1 Disabled 100 Included Broadcast, Multicast, Unknown Unicast Broadcast Broadcast HP PC Blade Switch CLI Reference Guide www.hp.com 8-23 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 142
Ethernet Configuration Commands 8-24 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 143
to propagate VLAN information from device to device. With GVRP, a single device is manually configured with all desired VLANs for the network, and all other devices on the network GVRP globally on the device. Console(config)# gvrp enable HP PC Blade Switch CLI Reference Guide www.hp.com 9-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 144
member in only one VLAN. Membership in an untagged VLAN is propagated in the same way as in a tagged VLAN. That is, the PVID is manually defined as the untagged VLAN VID. Example The following command enables GVRP on Ethernet port e45. Console(config)# interface ethernet e45 Console(config-if)# gvrp - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 145
example, the leave timer for Ethernet port e45 is set to 900 milliseconds. Console(config)# interface ethernet e45 Console(config-if)# garp timer leave 900 HP PC Blade Switch CLI Reference Guide www.hp.com 9-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 146
. Example The following command disables dynamic VLAN creation on Ethernet port g45. Console(config)# interface ethernet g45 Console(config-if)# gvrp vlan-creation-forbid 9-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 147
command. Example The following command forbids dynamic registration of VLANs on Ethernet port g45. Console(config)# interface ethernet g45 Console(config-if)# gvrp registration-forbid HP PC Blade Switch CLI Reference Guide www.hp.com 9-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 148
user guidelines for this command. Example The following command clears all GVRP statistical information on Ethernet port e45. Console# clear gvrp statistics ethernet e45 9-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 149
(s) Status -----e45 e45 ------Enabled Enabled Registration -----------Normal Normal Dynamic VLAN Creation --------- Enabled Enabled Timers (milliseconds) Join Leave Leave All ---- ----- 200 600 200 600 --------10000 10000 HP PC Blade Switch CLI Reference Guide www.hp.com 9-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 150
sJE sJIn sEmp sLIn sLE sLA Join In Received Leave In Received Leave All Received Join In Sent Leave In Sent Leave All Sent 9-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 151
: INVPROT: Invalid Protocol Id INVALEN : INVATYP: Invalid Attribute Type INVEVENT: INVAVAL: Invalid Attribute Value Port INVPROT INVATYP INVAVAL INVALEN INVEVENT Invalid Attribute Length Invalid Event HP PC Blade Switch CLI Reference Guide www.hp.com 9-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 152
GVRP Commands 9-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 153
VLANs. It must not be enabled on Private VLANs or their community VLANs. Example The following command enables IGMP snooping. Console(config)# ip igmp snooping HP PC Blade Switch CLI Reference Guide www.hp.com 10-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 154
Interface Configuration (VLAN) mode command enables Internet Group Management Protocol (IGMP) snooping on a specific VLAN. To disable IGMP snooping on a VLAN interface, use the no form of this vlan 2 Console(config-if)# ip igmp snooping 10-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 155
an IGMP report for a multicast group was not received for a host-time-out period from a specific port, this port is deleted from the member list of that multicast group. To return to the default (config-if)# ip igmp snooping host-time-out 300 HP PC Blade Switch CLI Reference Guide www.hp.com 10-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 156
, the multicast device timeout is configured to 200 seconds. Console(config)# interface vlan 2 Console(config-if)# ip igmp snooping mrouter-time-out 200 10-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 157
VLAN) mode command enables automatic learning of multicast router ports in the context of a specific VLAN. To remove automatic learning of multi-cast router ports, use the no form of console(config-if)# ip igmp snooping mrouter learn-pim-dvmrp HP PC Blade Switch CLI Reference Guide www.hp.com 10-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 158
group was not received for a leave-time-out period after an IGMP Leave was received from a specific port, this port is deleted from the member list of that multicast group.To return to the default if)# ip igmp snooping leave-time-out 60 10-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 159
VLAN 1000. Console> show ip igmp snooping mrouter interface 1000 VLA N ---1000 Ports ----e45 Detected multicast routers that are forbidden statically: VLA N Ports ---- ----- 1000 e43 HP PC Blade Switch CLI Reference Guide www.hp.com 10-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 160
leave is disabled. IGMP leave timeout is 10 sec IGMP mrouter timeout is 200 sec Automatic learning of multicast router ports is enabled 10-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 161
groups VLA N ---1 IP Address 224-239.130|2.2.3 Querier ------Yes Ports ---------e45 IGMP Reporters that are forbidden statically: VLA N IP Address ---- 2 224-239.130|2.2.3 Ports ----e43 HP PC Blade Switch CLI Reference Guide www.hp.com 10-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 162
IGMP Snooping Commands 10-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 163
address 131.108.1.27 and subnet mask 255.255.255.0. Console(config)# interface vlan 1 Console(config-if)# ip address 131.108.1.27 255.255.255.0 HP PC Blade Switch CLI Reference Guide www.hp.com 11-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 164
by using the DHCP protocol. Some DHCP servers require that the DHCPDISCOVER message have a specific host name. The ip address dhcp hostname host-name command is most typically used when )# interface vlan 1 Console(config-if)# ip address dhcp 11-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 165
Usage There are no user guidelines for this command. Example The following command defines default gateway 192.168.1.1. Console(config)# ip default-gateway 192.168.1.1 HP PC Blade Switch CLI Reference Guide www.hp.com 11-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 166
Gateway IP Address 10.7.1.1 Type -----Static Activity Status Active IP address 10.7.1.192/24 10.7.2.192/24 Interface --------VLAN 1 VLAN 2 Type ------Static DHCP 11-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 167
cache entries to translate 32-bit IP addresses into 48-bit hardware addresses. Because most hosts support dynamic resolution, static ARP cache entries do not generally have to be specified. Example The 133.219.232 00:00:0c:40:0f:bc ethernet e1 HP PC Blade Switch CLI Reference Guide www.hp.com 11-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 168
the timeout value to less than 3600. Example The following command configures the ARP timeout to 12000 seconds. Console(config)# arp timeout 12000 11-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 169
Usage There are no user guidelines for this command. Example The following command deletes all dynamic entries from the ARP cache. Console# clear arp-cache HP PC Blade Switch CLI Reference Guide www.hp.com 11-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 170
IP address ---------10.7.1.102 10.7.1.135 HW address 00:10:B5:04:DB:4B 00:50:22:00:2A:A4 Status ------Dynamic Static 11-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 171
guidelines for this command. Example The following command enables IP Domain Naming System (DNS)-based host name-to-address translation. Console(config)# ip domain-lookup HP PC Blade Switch CLI Reference Guide www.hp.com 11-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 172
for this command. Example The following command defines default domain name www.Marvell.com. Console(config)# ip domain-name www.Marvell.com 11-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 173
defined using one command or using multiple commands. Example The following command sets the available name server. Console(config)# ip name-server 176.16.1.18 HP PC Blade Switch CLI Reference Guide www.hp.com 11-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 174
command defines a static host name-to-address mapping in the host cache. Console(config)# ip host accounting.Marvell.com 176.10.23.1 11-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 175
There are no user guidelines for this command. Example The following command deletes all entries from the host name-to-address cache. Console# clear host * HP PC Blade Switch CLI Reference Guide www.hp.com 11-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 176
of the IP address. Example The following command deletes all entries from the host name-to-address mapping. Console# clear host dhcp * 11-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 177
.gm.com Addresses --------176.16.8.8 176.16.8.9 (DHCP) Cache: Host ---www.stanford.edu TTL (Hours) Total Elapsed ----- ------- 72 3 Type -----IP Addresses --------171.64.14.203 HP PC Blade Switch CLI Reference Guide www.hp.com 11-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 178
IP Addressing Commands 11-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 179
Usage There are no user guidelines for this command. Example The following command configures the system priority to 120. Console(config)# lacp system-priority 120 HP PC Blade Switch CLI Reference Guide www.hp.com 12-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 180
following command defines the priority of Ethernet port e45 as 247. Console(config)# interface ethernet e45 Console(config-if)# lacp port-priority 247 12-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 181
command. Example The following command assigns a long administrative LACP timeout to Ethernet port e45. Console(config)# interface ethernet e45 Console(config-if)# lacp timeout long HP PC Blade Switch CLI Reference Guide www.hp.com 12-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 182
: port Oper timeout: LACP Activity: Aggregation: synchronization: collecting: 1 00:00:12:34:56:78 30 30 21 1 1 LONG LONG ACTIVE AGGREGATABLE FALSE FALSE 12-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 183
:00 0 0 0 0 0 LONG PASSIVE AGGREGATABLE FALSE FALSE FALSE FALSE 2 2 Port Disabled State Detached State No Periodic State FALSE TRUE FALSE UNSELECTED FALSE FALSE FALSE 0 0 0 LACP Commands HP PC Blade Switch CLI Reference Guide www.hp.com 12-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 184
Key: 1 00:02:85:0E:1C:00 29 29 Partner System Priority: MAC Address: Oper Key: 0 00:00:00:00:00:00 14 12-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 185
13 Line Commands line The line Global Configuration mode command identifies a specific line for configuration and enters the Line Configuration command mode. Syntax line {console | access. Console(config)# line telnet Console(config-line)# HP PC Blade Switch CLI Reference Guide www.hp.com 13-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 186
the current session. Example The following command configures the line baud rate to 115200. Console(config)# line console Console(config-line)# speed 115200 13-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 187
, press twice. This configuration applies only to the current session. Example The following command enables autobaud. Console(config)# line console Console(config-line)# autobaud HP PC Blade Switch CLI Reference Guide www.hp.com 13-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 188
interval that the system waits until user input is detected to 20 minutes. Console(config)# line console Console(config-line)# exec-timeout 20 13-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 189
terminal history User EXEC mode command. Example The following command enables the command history function for telnet. Console(config)# line telnet Console(config-line)# history HP PC Blade Switch CLI Reference Guide www.hp.com 13-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 190
256. Example The following command changes the command history buffer size to 100 entries for a particular line. Console(config-line)# history size 100 13-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 191
are no user guidelines for this command. Example The following command disables the command history function for the current terminal session. Console# no terminal history HP PC Blade Switch CLI Reference Guide www.hp.com 13-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 192
. Example The following command configures the command history buffer size to 20 commands for the current terminal session. Console# terminal history size 20 13-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 193
: 8 Parity: none Stopbits: 1 Telnet configuration: Interactive timeout: 10 minutes 10 seconds History: 10 SSH configuration: Interactive timeout: 10 minutes 10 seconds History: 10 Line Commands HP PC Blade Switch CLI Reference Guide www.hp.com 13-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 194
Line Commands 13-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 195
a port, VLAN, or port-channel with an IP address or console interface. Management ACL only restricts access to the device for management configuration or viewing. HP PC Blade Switch CLI Reference Guide www.hp.com 14-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 196
)# deny ethernet e45 Console(config-macl)# deny ethernet e46 Console(config-macl)# permit Console(config-macl)# exit Console(config)# management access-class mlist 14-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 197
Range: 0-32) n service - Service type. Possible values: supports up to 128 management access rules. Example The following command permits all ports in the mlist access list. Console(config)# management access-list mlist Console(config-macl)# permit HP PC Blade Switch CLI Reference Guide www.hp - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 198
0-32) n service - Service type. Possible supports up to 128 management access rules. Example The following command denies all ports in the access list called mlist. Console(config)# management access-list mlist Console(config-macl)# deny 14-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 199
guidelines for this command. Example The following command configures an access list called mlist as the management access list. Console(config)# management access-class mlist HP PC Blade Switch CLI Reference Guide www.hp.com 14-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 200
mlist management access list. Console# show management access-list mlist mlist ----- permit ethernet e45 permit ethernet e46 ! (Note: all other access implicitly denied) 14-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 201
The following command displays information about the active management access list. Console# show management access-class Management access-class is enabled, using access list mlist HP PC Blade Switch CLI Reference Guide www.hp.com 14-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 202
Management ACL Commands 14-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 203
. Console# test copper-port tdr e42 Cable is open at 64 meters Console# test copper-port tdr e45 Can't perform this test on fiber ports HP PC Blade Switch CLI Reference Guide www.hp.com 15-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 204
13:32:00 23 July 2005 e44 Test has not been performed e45 Open 64 13:32:00 23 July 2005 e46 Fiber - - 15-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 205
length attached to all ports. Console> show copper-ports cable-length Port Length [meters] ---- e43 < 50 e44 Copper not active e45 110-140 e46 Fiber HP PC Blade Switch CLI Reference Guide www.hp.com 15-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 206
bias current. Output Power - Measured TX output power. Input Power - Measured RX received power. Tx Fault - Transmitter fault LOS - Loss of signal N/A - Not Available, N/S - Not Supported, W - Warning, E - Error 15-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 207
. Current - Measured TX bias current. Output Power - Measured TX output power. Input Power - Measured RX received power. Tx Fault - Transmitter fault LOS - Loss of signal HP PC Blade Switch CLI Reference Guide www.hp.com 15-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 208
PHY Diagnostics Commands 15-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 209
Global Configuration mode command enters the interface configuration mode to configure a specific port-channel. Syntax interface port-channel port-channel-number Parameters n of port-channel number 1. Console(config)# interface port-channel 1 HP PC Blade Switch CLI Reference Guide www.hp.com 16-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 210
the range. Example In the following example, port-channels 1, 2 and 6 are grouped to receive the same command. Console(config)# interface range port-channel 1-2,6 16-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 211
following command forces port e45 to join port-channel 1 without an LACP operation. Console(config)# interface ethernet e45 Console(config-if)# channel-group 1 mode on HP PC Blade Switch CLI Reference Guide www.hp.com 16-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 212
The following command displays information on all port-channels. Console# show interfaces port-channel Channel ------1 2 Ports Active: e45, e46 Active: e43 Inactive: e44 16-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 213
removed from the default VLAN). n The following restrictions apply to ports configured to be source ports: n The port cannot be already configured as a destination port. HP PC Blade Switch CLI Reference Guide www.hp.com 17-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 214
Port Monitor Commands Example The following command copies traffic on port e45 (source port) to port e46 (destination port). Console(config)# interface ethernet e46 Console(config-if)# port monitor e45 17-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 215
Source Port Destination Port ----------- e45 e46 e43 e44 e1 e42 Type ----RX,TX RX,TX RX Status ------Active Active Active VLAN Tagging -----------No No No HP PC Blade Switch CLI Reference Guide www.hp.com 17-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 216
Port Monitor Commands 17-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 217
18 QoS Commands qos The qos Global Configuration mode command enables Quality of Service (QoS) on the device. To disable QoS on the device, use the no form of Example The following command enables QoS on the device. Console(config)# qos HP PC Blade Switch CLI Reference Guide www.hp.com 18-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 218
QoS Commands show qos The show qos User EXEC mode command displays the quality of service (QoS) mode for the device. Syntax show qos Parameters There are no parameters for this mode on the device. Console> show qos Qos: basic Basic trust: dscp 18-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 219
to define packet classification, marking and aggregate policing as part of a globally named service policy applied on a per-interface basis. The Class-Map Configuration mode enables entering Class map can be defined only in QoS Advanced mode. HP PC Blade Switch CLI Reference Guide www.hp.com 18-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 220
check that packets match all classification criteria in the class map match statement. Console(config)# class-map class1 match-all Console(config-cmap)# 18-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 221
The following command shows the class map for class1. Console> show class-map class1 Class Map match-any class1 (id4) Match Ip dscp 11 21 HP PC Blade Switch CLI Reference Guide www.hp.com 18-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 222
IP or MAC ACL. Default Setting No match criterion is supported. Command Mode Class-map Configuration mode. Command Usage There are HP in a class map called class1. Console(config)# class-map class1 Console(config-cmap)# match access-group hp 18-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 223
is supported. A policy map can be applied to multiple interfaces and directions. Example The following command creates a policy map called policy1 and enters the Policy-map Configuration mode. Console (config)# policy-map policy1 Console (config-pmap)# HP PC Blade Switch CLI Reference Guide www.hp - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 224
the Policy-map Configuration mode. Use the service-policy (Ethernet, Port-channel) Interface Configuration HP. The class is in a policy map called policy1. Console(config)# policy-map policy1 Console (config-pmap)# class class1 access-group HP 18-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 225
class1 set Ip dscp 7 Policy Map policy2 class class 2 police 96000 4800 exceed-action drop class class3 police 124000 96000 exceed-action policed-dscp-transmit HP PC Blade Switch CLI Reference Guide www.hp.com 18-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 226
value is derived from the ingress packet. Command Mode Policy-map Class Configuration mode Command Usage Action serviced to a class, so that if an IP packet arrives, the queue is assigned per DSCP. Console (config-pmap-c)# trust cos-dscp 18-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 227
or that have ACL classifications cannot be attached to an egress interface by using the service-policy (Ethernet, Port-channel) Interface Configuration mode command. To return to the pmap)# class class1 Console (config-pmap-c)# set dscp 56 HP PC Blade Switch CLI Reference Guide www.hp.com 18-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 228
that have ACL classifications cannot be attached to an egress interface by using the service-policy (Ethernet, Port-channel) Interface Configuration mode command. Example The following (config-pmap-c)# police 124000 9600 exceed-action drop 18-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 229
, port-Channel) mode Command Usage Only one policy map per interface per direction is supported. Example The following command attaches a policy map called policy1 to the input interface. Console(config-if)# service-policy input policy1 HP PC Blade Switch CLI Reference Guide www.hp.com 18-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 230
the normal burst size exceeds 96000 bytes, the packet is dropped. Console (config)# qos aggregate-policer policer1 124000 96000 exceed-action drop 18-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 231
the aggregate policer called policer1. Console> show qos aggregate-policer policer1 aggregate-policer policer1 96000 4800 exceed-action drop not used by any policy map HP PC Blade Switch CLI Reference Guide www.hp.com 18-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 232
class1 in policy map called policy1. Console(config)# policy-map policy1 Console(config-pmap)# class class1 Console(config-pmap-c)# police aggregate policer1 18-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 233
-map The wrr-queue cos-map Global Configuration mode command maps Class of Service (CoS) values to a specific egress queue. To return to the default configuration, use the no form maps CoS 7 to queue 2. Console(config)# wrr-queue cos-map 2 7 HP PC Blade Switch CLI Reference Guide www.hp.com 18-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 234
in the WRR. Example The following command configures the number of expedite queues as 0. Console(config)# priority-queue out num-of-queues 0 18-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 235
The CIR and the CBS will be applied to the specified port. To activate the shaper for specific queue, run this command with the queue-id parameter. Example The following command sets a shaper e4 Console(config-if) traffic-shape 124000 96000 HP PC Blade Switch CLI Reference Guide www.hp.com 18-19 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 236
Commands show qos interface The show qos interface User EXEC mode command displays Quality of Service (QoS) information on the interface. Syntax show qos interface [ethernet interface-number | information about all interfaces is displayed. 18-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 237
mismatching between var mib type and object type! 3 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A TMibScalarC_SetValue: var: rlIfProfileName mismatching between var mib type and object type! 4 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Console# HP PC Blade Switch CLI Reference Guide www.hp.com 18-21 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 238
is not exceeded. Example The following command assigns a threshold of 80 percent to WRR queue 1. Console (config)# qos wrr-queue threshold gigabitethernet 1 18-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 239
There are no user guidelines for this command. Example The following command maps DSCP to Drop Precedence. console (config) # qos map dscp-dp 0 to 63 HP PC Blade Switch CLI Reference Guide www.hp.com 18-23 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 240
DSCP value 43 on the policed-DSCP map. Console(config)# qos map policed-dscp 3 to 43 Reserved DSCP. DSCP 3 was not configured. 18-24 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 241
this command. Example The following command maps DSCP values 33, 40 and 41 to queue 1. Console(config)# qos map dscp-queue 33 40 41 to 1 HP PC Blade Switch CLI Reference Guide www.hp.com 18-25 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 242
used, trust VPT is set, and QoS trust is not disabled. Packets entering a Quality of Service (QoS) domain are classified at the edge of the QoS domain. When packets are classified at the . VPT Value 0 1 2 3 4 5 Queue Number 2 1 1 2 3 3 18-26 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 243
Example The following command configures the system to the DSCP trust state. Console(config)# qos trust dscp QoS Commands HP PC Blade Switch CLI Reference Guide www.hp.com 18-27 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 244
port. Example The following command configures port e45 default CoS value to 3. Console(config)# interface ethernet e45 Console(config-if) qos cos 3 18-28 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 245
of service (CoS) or IP-precedence trusted port, this command has no immediate effect until the port becomes DSCP-trusted. Example The following command applies the DSCP Mutation map to system DSCP trusted ports. Console(config)# qos dscp-mutation HP PC Blade Switch CLI Reference Guide www.hp.com - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 246
. Example The following command changes DSCP values 1, 2, 4, 5 and 6 to DSCP mutation map value 63. Console config)# qos map dscp-mutation 1 2 4 5 6 to 63 18-30 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 247
Setting No RADIUS server host is specified. The port number for authentication requests is 1812. The usage type is all. Command Mode Global Configuration mode HP PC Blade Switch CLI Reference Guide www.hp.com 19-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 248
To specify multiple hosts, multiple radius-server host commands can be used. If no host-specific timeout, retries, deadtime or key-string values are specified, global values apply to each -server host 192.168.10.1 auth-port 20 timeout 20 19-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 249
The following command defines the authentication and encryption key for all RADIUS communications between the device and the RADIUS daemon. Console(config)# radius-server key hp-server HP PC Blade Switch CLI Reference Guide www.hp.com 19-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 250
following command configures the number of times the software searches the list of RADIUS server hosts to 5 times. Console(config)# radius-server retransmit 5 19-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 251
command. Example The following command configures the source IP address used for communication with RADIUS servers to 10.1.1.1. Console(config)# radius-server source-ip 10.1.1.1 HP PC Blade Switch CLI Reference Guide www.hp.com 19-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 252
There are no user guidelines for this command. Example The following command configures the timeout interval to 5 seconds. Console(config)# radius-server timeout 5 19-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 253
Usage There are no user guidelines for this command. Example The following command sets the deadtime to 10 minutes. Console(config)# radius-server deadtime 10 HP PC Blade Switch CLI Reference Guide www.hp.com 19-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 254
DeadTime -------Global 8 -----Global Global Source in CLI -----Global Prio in CLI -----1 2 Usage ----All All Global values TimeOut: 3 Retransmit: 3 Deadtime: 0 Source IP: 172.16.8.1 19-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 255
: 0 512 to 1023 Octets: 491 Packets: 978 Multicast: 1 Collisions: 0 Oversize Pkts: 0 Jabbers: 0 65 to 127 Octets: 0 256 to 511 Octets: 0 1024 to 1518 Octets: 389 HP PC Blade Switch CLI Reference Guide www.hp.com 20-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 256
of packets (including bad packets) received that are between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets). 20-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 257
total number of packets (including bad packets) received that are between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets). HP PC Blade Switch CLI Reference Guide www.hp.com 20-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 258
with index number 1 and a polling interval period of 2400 seconds. Console(config)# interface ethernet e45 Console(config-if)# rmon collection history 1 interval 2400 20-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 259
. The requested number of samples to be saved. The granted number of samples to be saved. The entity that configured this entry. Owner ------CLI Manager HP PC Blade Switch CLI Reference Guide www.hp.com 20-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 260
% 275686 2789 5878 20% Console> show rmon history 1 errors Sample Set: 1 Interface: e45 Requested samples: 50 Owner: Me Interval: 1800 Granted samples: 50 20-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 261
of packets received during this sampling interval that were longer than 1518 octets (excluding framing bits but including FCS octets) but were otherwise well formed. HP PC Blade Switch CLI Reference Guide www.hp.com 20-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 262
times this condition has been detected. The best estimate of the total number of collisions on this Ethernet segment during this sampling interval. 20-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 263
The type is absolute. The startup direction is rising-falling. Command Mode Global Configuration mode Command Usage There are no user guidelines for this command. HP PC Blade Switch CLI Reference Guide www.hp.com 20-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 264
- HP n Sample interval - 360000 seconds n Rising threshold - 1000000 n Falling threshold - 1000000 n Rising threshold event index - 10 n Falling threshold event index - 20 Console(config)# rmon alarm 1000 HP 360000 1000000 1000000 10 20 20-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 265
shown in the example: Field Index OID Owner Description An index that uniquely identifies the entry. Monitored variable OID. The entity that configured this entry. HP PC Blade Switch CLI Reference Guide www.hp.com 20-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 266
: 1 Owner: CLI The following table describes the significant fields shown in the example: Field Alarm OID Description Alarm index. Monitored variable OID. 20-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 267
generated. The event index used when a rising threshold is crossed. The event index used when a falling threshold is crossed. The entity that configured this entry. HP PC Blade Switch CLI Reference Guide www.hp.com 20-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 268
event identified as index 10 and for which the device generates a notification in the log table. Console(config)# rmon event 10 log 20-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 269
entity that configured this event. The time this entry last generated an event. If this entry has not generated any events, this value is zero. HP PC Blade Switch CLI Reference Guide www.hp.com 20-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 270
: Field Event Description Time Description An index that uniquely identifies the event. A comment describing this event. The time this entry was created. 20-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 271
the device is rebooted. Example The following command configures the maximum RMON history table sizes to 100 entries. Console(config)# rmon table-size history 100 HP PC Blade Switch CLI Reference Guide www.hp.com 20-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 272
RMON Commands 20-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 273
is specified: An internal security name is generated. The internal security name for SNMPv1 and SNMPv2 security models is mapped to an internal group name. HP PC Blade Switch CLI Reference Guide www.hp.com 21-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 274
to SNMP protocol at an administrative station with IP address 192.168.1.20. Console(config)# snmp-server community public su 192.168.1.20 21-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 275
)# snmp-server view user-view system included Console(config)# snmp-server view user-view system.7 excluded Console(config)# snmp-server view user-view ifEntry.*.1 included HP PC Blade Switch CLI Reference Guide www.hp.com 21-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 276
security level and read access rights to a view called user-view. Console(config)# snmp-server group user-group v3 priv read user-view 21-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 277
exists. Command Mode Global Configuration mode Command Usage If auth-md5 or auth-sha is specified, both authentication and privacy are enabled for the user. HP PC Blade Switch CLI Reference Guide www.hp.com 21-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 278
receive informs. Example The following command configures an SNMPv3 user John in group user-group. Console(config)# snmp-server user John user-group 21-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 279
ID change, and the users will have to be reconfigured. You cannot specify an engine ID that consists of all 0x0, all 0xF or 0x000000001. HP PC Blade Switch CLI Reference Guide www.hp.com 21-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 280
on the device and sets the local engine ID of the device to the default value. Console(config)# snmp-server engineid local default 21-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 281
Configuration mode Command Usage There are no user guidelines for this command. Example The following command enables SNMP traps. Console(config)# snmp-server enable traps HP PC Blade Switch CLI Reference Guide www.hp.com 21-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 282
filter-name system included Console(config)# snmp-server filter filter-name system.7 excluded Console(config)# snmp-server filter filter-name ifEntry.*.1 included 21-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 283
Informs option cannot be selected. If a trap and inform are defined on the same target, and an inform was sent, the trap is not sent. HP PC Blade Switch CLI Reference Guide www.hp.com 21-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 284
SNMP Commands Example The following command enables SNMP traps for host 10.1.1.1 with community string "management" using SNMPv2. Console(config)# snmp-server host 10.1.1.1 management 2 21-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 285
a user, group and notify group, respectively. Example The following command configures an SNMPv3 host. Console(config)# snmp-server v3-host 192.168.0.20 john noauth HP PC Blade Switch CLI Reference Guide www.hp.com 21-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 286
are no user guidelines for this command. Example The following command enables SNMP failed authentication traps. Console(config)# snmp-server trap authentication 21-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 287
place text that includes spaces inside quotation marks. Example The following command configures the system contact point called HP_Technical_Support. Console(config)# snmp-server contact HP_Technical_Support HP PC Blade Switch CLI Reference Guide www.hp.com 21-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 288
that includes spaces inside quotation marks. Example The following command defines the device location as New_York. Console(config)# snmp-server location New_York 21-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 289
files that support those situations, the snmp-server set command is used. This command is case-sensitive. Example The following command configures the scalar MIB sysName with the value HP. Console(config)# snmp-server set sysName sysname HP HP PC Blade Switch CLI Reference Guide www.hp.com 21 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 290
192.122.173.42 Type ----Trap Inform Community Version --------public public ------2 2 UDP Port ---162 162 Filter To Name Sec ------ --- 15 15 Retries ----3 3 21-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 291
access to the SNMP protocol. Type of access - read-only, read-write, super access. Management station IP address. SNMP version for the sent trap 1 or 2. HP PC Blade Switch CLI Reference Guide www.hp.com 21-19 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 292
user guidelines for this command. Example The following command displays the SNMP engine ID. Console# show snmp engineid Local SNMP engineid: 08009009020C0B099C075878 21-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 293
The following command displays the configuration of views. Console# show snmp views Name ----------user-view user-view user-view OID Tree 1.3.6.1.2.1.1 1.3.6.1.2.1.1.7 1.3.6.1.2.1.2.2.1.*.1 Type --------Included Excluded Included HP PC Blade Switch CLI Reference Guide www.hp.com 21-21 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 294
that enables entering data and managing the contents of the agent. Name of the view that enables specifying an inform or a trap. 21-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 295
following command displays the configuration of filters. Console# show snmp filters Name ----------user-filter user-filter user-filter OID Tree 1.3.6.1.2.1.1 1.3.6.1.2.1.1.7 1.3.6.1.2.1.2.2.1.*.1 Type --------Included Excluded Included HP PC Blade Switch CLI Reference Guide www.hp.com 21-23 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 296
configuration of users. Console# show snmp users Name -----John John Group Name -----------user-group user-group Auth Method --------md5 md5 Remote 08009009020C0B099C075879 21-24 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 297
Global Configuration mode Command Usage There are no user guidelines for this command. Example The following command enables spanning-tree functionality. Console(config)# spanning-tree HP PC Blade Switch CLI Reference Guide www.hp.com 22-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 298
when the neighbor device uses STP. Example The following command configures the spanning-tree protocol to RSTP. Console(config)# spanning-tree mode rstp 22-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 299
: 2*(Forward-Time - 1) >= Max-Age Example The following command configures the spanning tree bridge forwarding time to 25 seconds. Console(config)# spanning-tree forward-time 25 HP PC Blade Switch CLI Reference Guide www.hp.com 22-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 300
kept: Max-Age >= 2*(Hello-Time + 1) Example The following command configures spanning tree bridge hello time to 5 seconds. Console(config)# spanning-tree hello-time 5 22-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 301
Max-Age >= 2*(Hello-Time + 1) Example The following command configures the spanning tree bridge maximum-age to 10 seconds. Console(config)# spanning-tree max-age 10 HP PC Blade Switch CLI Reference Guide www.hp.com 22-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 302
priority is elected as the root bridge. Example The following command configures spanning tree priority to 12288. Console(config)# spanning-tree priority 12288 22-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 303
disable The spanning-tree disable Interface Configuration mode command disables spanning tree on a specific port. To enable spanning tree on a port, use the no form of this )# interface ethernet e42 Console(config-if)# spanning-tree disable HP PC Blade Switch CLI Reference Guide www.hp.com 22-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 304
configures the spanning-tree cost on Ethernet port e42 to 35000. Console(config)# interface ethernet e42 Console(config-if)# spanning-tree cost 35000 22-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 305
following command configures the spanning priority on Ethernet port e42 to 96. Console(config)# interface ethernet e42 Console(config-if)# spanning-tree port-priority 96 HP PC Blade Switch CLI Reference Guide www.hp.com 22-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 306
delay. Example The following command enables PortFast on Ethernet port e42. Console(config)# interface ethernet e42 Console(config-if)# spanning-tree portfast 22-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 307
. Example The following command enables shared spanning-tree on Ethernet port e42. Console(config)# interface ethernet e42 Console(config-if)# spanning-tree link-type shared HP PC Blade Switch CLI Reference Guide www.hp.com 22-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 308
-tree cost command. Example The following command sets the default path cost method to long. Console(config)# spanning-tree pathcost method long 22-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 309
this command. Example The following command defines BPDU packet flooding when the spanning-tree is disabled on an interface. Console(config)# spanning-tree bpdu flooding HP PC Blade Switch CLI Reference Guide www.hp.com 22-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 310
mode. Example The following command restarts the protocol migration process on Ethernet port e45. Console# clear spanning-tree detected-protocols ethernet e45 22-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 311
root of the spanning tree. Example The following command configures the spanning tree priority of instance 1 to 4096. console (config) # spanning-tree mst 1 priority 4096 HP PC Blade Switch CLI Reference Guide www.hp.com 22-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 312
hops that a packet travels in an MST region before it is discarded to 10. console (config) # spanning-tree mst max-hops 10 22-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 313
following command configures the port priority of port e1 to 142. Console(config)# interface ethernet e1 Console(config-if)# spanning-tree mst 1 port-priority 142 HP PC Blade Switch CLI Reference Guide www.hp.com 22-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 314
the MSTP instance 1 path cost for Ethernet port e42 to 4. console(config) # interface ethernet e42 console(config-if) # spanning-tree mst 1 cost 4 22-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 315
MST region. Console(config)# spanning-tree mst configuration console(config-mst) # instance 1 add vlan 10-20 console(config-mst) # name region1 console(config-mst) # revision 1 HP PC Blade Switch CLI Reference Guide www.hp.com 22-19 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 316
command maps VLANs 10-20 to MST instance 1. Console(config)# spanning-tree mst configuration console(config-mst)# instance 1 add vlan 10-20 22-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 317
guidelines for this command. Example The following command defines the configuration name as region1. console(config) # spanning-tree mst configuration console(config-mst) # name region 1 HP PC Blade Switch CLI Reference Guide www.hp.com 22-21 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 318
for this command. Example The following command sets the configuration revision to 1. console(config) # spanning-tree mst configuration console(config-mst) # revision 1 22-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 319
a pending MST region configuration. console(config-mst)# show pending Pending MST configuration Name: Region1 Revision: 1 Instance VLANs Mapped -------- ------------ 0 1-9,21-4094 1 10-20 State ------Enabled Enabled HP PC Blade Switch CLI Reference Guide www.hp.com 22-23 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 320
. Example The following command exits the MST configuration mode and saves changes. console(config) # spanning-tree mst configuration console(config-mst) # exit 22-24 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 321
for this command. Example The following command exits the MST configuration mode without saving changes. console(config) # spanning-tree mst configuration console(config-mst) # abort HP PC Blade Switch CLI Reference Guide www.hp.com 22-25 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 322
port e1 from being the root port of the device. console(config) # interface ethernet e1 console(config-mst) # spanning-tree guard root 22-26 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 323
Instrumentation is only valid for switch port members of a VLAN that is a member of that specific MST instance. n If out-of-band management is desired, follow these steps: 1.Add a instance to preserve limited PVST/RPVST interoperability. HP PC Blade Switch CLI Reference Guide www.hp.com 22-27 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 324
somewhat different in your specific environment. Just keep in mind that the purpose of the mstp-rstp feature is to isolate PVST Instances. When connecting the HP PC Blade Switch to any standards 80 Path Cost 4 Root Port e45 Rem hops 19 22-28 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 325
No 4 Frw Desg No 4 Frw Desg No Type ---------P2p Inter P2p Inter P2p Inter P2p Inter Type ---------P2p Inter P2p Inter P2p Inter P2p Inter HP PC Blade Switch CLI Reference Guide www.hp.com 22-29 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 326
---------- ###### MST 1 Vlans Mapped: 1 Root Priority 24676 ID Address 00:17:59:9f:9f:80 Path Cost 4 Root Port e45 Rem hops 19 22-30 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 327
Type ---------P2p Inter Type ---------- Console# show spanning-tree detail active Spanning tree enabled mode MSTP Default port cost method: short MSTP to RSTP conversion: Enabled HP PC Blade Switch CLI Reference Guide www.hp.com 22-31 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 328
: auto) Internal Designated bridge Priority: 32768 Role: designated Port cost: 4 Port Fast: No (configured:no) Address: 00:15:60:a0:e9:b0 22-32 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 329
state: 0 BPDU: sent 1637, received 1255 Role: designated Port cost: 4 Port Fast: No (configured:no) Address: 00:15:60:a0:e9:b0 Designated path cost: 4 HP PC Blade Switch CLI Reference Guide www.hp.com 22-33 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 330
: 0 ###### MST 2 Vlans Mapped: 2 Root ID Priority Address Path Cost Root Port Rem hops 24776 00:17:59:9f:9f:80 4 e43 19 22-34 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 331
state: 1 BPDU: sent 3838, received 3769 Role: designated Port cost: 4 Port Fast: No (configured:no) Address: 00:15:60:a0:e9:b0 Designated path cost: 4 HP PC Blade Switch CLI Reference Guide www.hp.com 22-35 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 332
1575, received 1187 Role: designated Port cost: 4 Port Fast: No (configured:no) Address: 00:15:60:a0:e9:b0 Designated path cost: 0 22-36 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 333
:a0:e9:b0 Designated path cost: 0 Role: alternate Port cost: 4 Port Fast: No (configured:no) Address: 00:15:60:a0:e9:b0 Designated path cost: 0 HP PC Blade Switch CLI Reference Guide www.hp.com 22-37 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 334
the command itself. Example The following command executes a script that configures the device for PVST/PVST+ interoperability. Console# spanning-tree pvst-interop 22-38 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 335
that do not support or are not configured for Per VLAN Spanning-Tree (PVST/PVST+) disable this feature and configure the HP PC Blade switch to use HP PC Blade Switch can be changed so that its ID matches the VLAN ID of the upstream switch. HP PC Blade Switch CLI Reference Guide www.hp.com 22-39 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 336
all even ports e2 - e40, e43 & e44. This reference design illustrates how four uplinks can connect the HP PC Blade Switch to two separate aggregation switches forming a fully redundant network. If either link A & C or D of four uplinks. 22-40 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 337
for this command. Example The following command specifies the port to be used by the SSH server as 8080. Console(config)# ip ssh port 8080 HP PC Blade Switch CLI Reference Guide www.hp.com 23-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 338
key generate rsa Global Configuration mode commands. Example The following command enables configuring the device from a SSH server. Console(config)# ip ssh server 23-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 339
master. This command may take a considerable period of time to execute. Example The following command generates DSA key pairs. Console(config)# crypto key generate dsa HP PC Blade Switch CLI Reference Guide www.hp.com 23-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 340
command may take a considerable period of time to execute. Example The following command generates RSA key pairs. Console(config)# crypto key generate rsa 23-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 341
mode Command Usage AAA authentication is independent Example The following command enables public key authentication for incoming SSH sessions. Console(config)# ip ssh pubkey-auth HP PC Blade Switch CLI Reference Guide www.hp.com 23-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 342
Global Configuration mode command enters the SSH Public Key-chain Configuration mode. The mode is used to manually specify other device public keys such as SSH client public keys. Syntax crypto key pubkey-chain ssh :b5:37:59:eb:44:13:b9:33:e9 23-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 343
enable manually configuring an SSH public key for SSH public key-chain bob. Console(config)# crypto key pubkey-chain ssh console(config-pubkey-chain)# user-key bob rsa console(config-pubkey-key)# key-string row AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl HP PC Blade Switch CLI Reference Guide www.hp - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 344
SSH Commands key-string The key-string SSH Public Key-string Configuration mode command manually specifies an SSH public key. Syntax key-string key-string row key-string Parameters row command. This command is useful for configuration files. 23-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 345
ssh Console(config-pubkey-chain)# user-key bob rsa Console(config-pubkey-key)# key-string row AAAAB3Nza Console(config-pubkey-key)# key-string row C1yc2 HP PC Blade Switch CLI Reference Guide www.hp.com 23-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 346
Cipher Auth Code Description Client address User name SSH version number Encryption type (3DES, Blowfish, RC4) Authentication Code (HMAC-MD5, HMAC-SHA1) 23-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 347
disabled, no messages are sent to these destinations. Only the console receives messages. Example The following command enables logging error messages. Console(config)# logging on HP PC Blade Switch CLI Reference Guide www.hp.com 24-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 348
command limits logged messages sent to the syslog server with IP address 10.1.1.1 to severity level critical. Console(config)# logging 10.1.1.1 severity critical 24-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 349
user guidelines for this command. Example The following command limits logging messages displayed on the console to severity level errors. Console(config)# logging console errors HP PC Blade Switch CLI Reference Guide www.hp.com 24-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 350
user. Example The following command limits syslog messages displayed from an internal buffer based on severity level debugging. Console(config)# logging buffered debugging 24-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 351
after Reset. Example The following command changes the number of syslog messages stored in the internal buffer to 300. Console(config)# logging buffered size 300 HP PC Blade Switch CLI Reference Guide www.hp.com 24-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 352
user guidelines for this command. Example The following command clears messages from the internal logging buffer. Console# clear logging Clear logging buffer [confirm] 24-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 353
for this command. Example The following command limits syslog messages sent to the logging file based on severity level alerts. Console(config)# logging file alerts HP PC Blade Switch CLI Reference Guide www.hp.com 24-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 354
user guidelines for this command. Example The following command clears messages from the logging file. Console# clear logging file Clear Logging File [confirm] 24-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 355
AAA events are not subject to this command. Example The following command enables logging messages related to AAA login events. Console(config)# aaa logging login HP PC Blade Switch CLI Reference Guide www.hp.com 24-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 356
guidelines for this command. Example The following command enables logging messages related to file copy operations. Console(config)# file-system logging copy 24-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 357
are not subject to this command. Example The following command enables logging messages related to deny actions of management ACLs. Console(config)# management logging deny HP PC Blade Switch CLI Reference Guide www.hp.com 24-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 358
:42 :%LINK-I-Up: Vlan 2 19-Nov-2004 20:03:42 :%LINK-I-Up: e45 19-Nov-2004 20:03:42 :%LINK-I-Up: e42 24-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 359
-2004 20:03:39 :%LINK-W-Down: e14 19-Nov-2004 20:03:39 :%LINK-W-Down: e13 19-Nov-2004 20:03:39 :%LINK-W-Down: e12 HP PC Blade Switch CLI Reference Guide www.hp.com Syslog Commands 24-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 360
:33 :%Box-I-SFP-PRESENT-CHNG: SFP# 1 status is - not present. 19-Nov-2004 20:03:33 :%INIT-I-InitCompleted: Initialization task is completed 24-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 361
were not logged Application filtering control Application Event Status AAA Login Enabled File system Copy Enabled File system Delete-Rename Enabled Management ACL Deny Enabled HP PC Blade Switch CLI Reference Guide www.hp.com 24-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 362
Syslog Commands 24-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 363
- The gateway for this destination indicates that the destination is unreachable. n Network or host unreachable - The device found no corresponding entry in the route table. HP PC Blade Switch CLI Reference Guide www.hp.com 25-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 364
64 bytes from 10.1.1.1: icmp_seq=3. time=7 ms ----10.1.1.1 PING Statistics---4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max = 7/8/11 25-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 365
device normally selects what it feels is the best source address to use. n tos - The Type-Of-Service byte in the IP Header of the packet. (Range: 0-255) Default Setting The default number of bytes the user interrupts the trace by pressing Esc. HP PC Blade Switch CLI Reference Guide www.hp.com 25-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 366
is required and DF is set. Host unreachable. Network unreachable. Protocol unreachable. Source quench. Fragment reassembly time exceeded. Source route failed. Port unreachable. 25-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 367
Command Usage Telnet software supports special Telnet commands in the form of Telnet sequences that map generic terminal control functions to operating system-specific functions. To enter Abort Output (AO) Are You There? (AYT) Erase Line (EL) HP PC Blade Switch CLI Reference Guide www.hp.com 25-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 368
system command prompt. Ports Table Keyword BGP chargen cmd daytime discard domain echo Description Border Gateway Protocol Character generator Remote commands Daytime Discard Domain Name Service Echo Port Number 179 19 514 13 9 53 7 25-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 369
NIC hostname server Ident Protocol Internet Relay Chat Kerberos login Kerberos shell Login Printer service Network News Transport Protocol PIM Auto-RP Post Office Protocol v2 Post Office . Console> telnet 176.213.10.50 Esc U sends telnet EL HP PC Blade Switch CLI Reference Guide www.hp.com 25-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 370
mode Command Usage There are no user guidelines for this command. Example The following command switches to open Telnet session number 1. Console> resume 1 25-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 371
following command reloads the operating system. Console# reload This command will reset the whole system and disconnect your current session. Do you want to continue (y/n) [n]? HP PC Blade Switch CLI Reference Guide www.hp.com 25-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 372
Global Configuration mode Command Usage There are no user guidelines for this command. Example The following command specifies the device host name. Console(config)# hostname HP HP(config)# 25-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 373
information about the active users. Console# show users Username ---------Bob John Robert Betty Protocol ----------Serial SSH HTTP Telnet Location 172.16.0.1 172.16.0.8 172.16.1.7 HP PC Blade Switch CLI Reference Guide www.hp.com 25-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 374
. IP address of the remote host. Telnet TCP port number Number of unread bytes for the user to see on the connection. 25-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 375
displays the system information. Console# show system Unit Type ---- 1 HP 6300 Unit Main Power Supply ---- 1 OPERATI ONAL Redundant Power Supply NOT OPERATIONAL Fan1 ---OK Fan2 ---OK Fan3 ---OK Fan4 ---OK Fan5 ---OK HP PC Blade Switch CLI Reference Guide www.hp.com 25-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 376
-Jul-2005 time 17:34:19) (date 11-Jan-2005 time 11:48:21) SW version ---------1.0.0.0 1.0.0.0 Boot version -----------2.178 2.178 HW version ---------1.0.0 1.0.0 25-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 377
configuration, use the no form of this command. Syntax service cpu-utilization no service cpu-utilization Parameters There are no parameters for this command. enables measuring CPU utilization. Console(config)# service cpu-utilization HP PC Blade Switch CLI Reference Guide www.hp.com 25-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 378
command to enable measuring CPU utilization. Example The following command displays CPU utilization information. Console# show cpu utilization CPU utilization service is on. CPU utilization five seconds: 5%; one minute: 3%; five minutes: 3% 25-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 379
. (Range: 0-65535) Default Setting No TACACS+ host is specified. If no port number is specified, default port number 49 is used. If no host-specific timeout, key-string or source value is specified, the global value is used. If no TACACS+ server priority is specified, default priority 0 is used - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 380
TACACS+ Commands Command Usage Multiple tacacs-server host commands can be used to specify multiple hosts. Example The following command specifies a TACACS+ host. Console(config)# tacacs-server host 172.16.1.1 26-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 381
mode Command Usage There are no user guidelines for this command. Example The following command sets the authentication encryption key. Console(config)# tacacs-server key hp-s HP PC Blade Switch CLI Reference Guide www.hp.com 26-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 382
are no user guidelines for this command. Example The following command sets the timeout value to 30. Console(config)# tacacs-server timeout 30 26-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 383
There are no user guidelines for this command. Example The following command specifies the source IP address. Console(config)# tacacs-server source-ip 172.16.8.1 HP PC Blade Switch CLI Reference Guide www.hp.com 26-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 384
Port ---------- ------ ---- 172.16.1.1 Connected 49 Single Connection No TimeOut ------Global Source IP --------Global Priority -------1 Global values TimeOut: 3 Device Configuration Source IP: 172.16.8.1 26-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 385
, 39,41-42,45-46) 2 2 e(2,4,6,8,10,12,14,16,18, permanent Required 20,22,24,26,28,30,32,34,36, 38,40,43-44) HP PC Blade Switch CLI Reference Guide www.hp.com 27-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 386
Usage There are no user guidelines for this command. Example The following command enters the Privileged EXEC mode. Console> enable enter password: Console# 27-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 387
Privileged EXEC mode Command Usage There are no user guidelines for this command. Example The following command returns to Users EXEC mode. Console# disable Console> HP PC Blade Switch CLI Reference Guide www.hp.com 27-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 388
this command. Example The following command enters Privileged EXEC mode and logs in with username admin. Console> login User Name:admin Password:***** Console# 27-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 389
EXEC mode Command Usage There are no user guidelines for this command. Example The following command enters the Global Configuration mode. Console# configure Console(config)# HP PC Blade Switch CLI Reference Guide www.hp.com 27-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 390
command changes the configuration mode from Interface Configuration mode to Privileged EXEC mode. Console(config)#Console(config-if)# exit Console(config)# exit Console# 27-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 391
and User EXEC modes Command Usage There are no user guidelines for this command. Example The following command closes an active terminal session. Console> exit HP PC Blade Switch CLI Reference Guide www.hp.com 27-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 392
no user guidelines for this command. Example The following command changes from Global Configuration mode to Privileged EXEC mode. Console(config)# end Console# 27-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 393
or arguments for the entered command are displayed. 2. An abbreviated argument is entered and a help request is made for arguments matching the input (e.g. 'show pr?'). HP PC Blade Switch CLI Reference Guide www.hp.com 27-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 394
relevant only for the current session. Example The following command dumps all output immediately after entering a show command. Console> terminal data-dump 27-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 395
1.0.0 Console# show clock 15:29:03 Jun 17 2004 Console# show history show version show clock show history 3 commands were logged (buffer size is 10) HP PC Blade Switch CLI Reference Guide www.hp.com 27-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 396
. Example The following command displays the current privilege level for the Privileged EXEC mode. Console# show privilege Current privilege level is 15 27-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 397
Usage There are no user guidelines for this command. Example The following command enters the VLAN database mode. Console(config)# vlan database console(config-vlan)# HP PC Blade Switch CLI Reference Guide www.hp.com 28-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 398
user guidelines for this command. Example The following command VLAN number 1972 is created. Console(config)# vlan database console(config-vlan)# vlan 1972 28-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 399
address 131.108.1.27 and subnet mask 255.255.255.0. Console(config)# interface vlan 1 Console(config-if)# ip address 131.108.1.27 255.255.255.0 HP PC Blade Switch CLI Reference Guide www.hp.com 28-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 400
groups VLANs 221 to 228 and 889 to receive the same command. Console(config)# interface range vlan 221-228,889 Console(config-if)# 28-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 401
guidelines for this command. Example The following command gives VLAN number 19 the name Marketing. Console(config)# interface vlan 19 Console(config-if)# name Marketing HP PC Blade Switch CLI Reference Guide www.hp.com 28-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 402
port. n trunk - Indicates a trunking layer 2 VLAN port. n general - Indicates a full 802-1q supported VLAN port. Default Setting All ports are in access mode. All ports do not all belong to the e42 Console(config-if)# switchport mode access 28-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 403
Number>, extension separated-bridge exist. This feature must be disabled before the switch can support these modes. Please see spanning-tree mst mstp-rstp for more information. Example e42 Console(config-if)# switchport access vlan 23 HP PC Blade Switch CLI Reference Guide www.hp.com 28-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 404
Number>, extension separated-bridge exist. This feature must be disabled before the switch can support these modes. Please see spanning-tree mst mstp-rstp for more information. Example The (config-if)# switchport trunk allowed vlan add 1-2,5-6 28-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 405
, extension separated-bridge exist. This feature must be disabled before the switch can support these modes. Please see spanning-tree mst mstp-rstp for more information. Example The Console(config-if)# switchport trunk native vlan 123 HP PC Blade Switch CLI Reference Guide www.hp.com 28-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 406
, extension separated-bridge exist. This feature must be disabled before the switch can support these modes. Please see spanning-tree mst mstp-rstp for more information. Example The switchport general allowed vlan add 2,5-6 tagged 28-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 407
Number>, extension separated-bridge exist. This feature must be disabled before the switch can support these modes. Please see spanning-tree mst mstp-rstp for more information. Example The e42 Console(config-if)# switchport general pvid 234 HP PC Blade Switch CLI Reference Guide www.hp.com 28-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 408
commands disable port ingress filtering on Ethernet port e42. Console(config)# interface ethernet e42 Console(config-if)# switchport general ingress-filtering disable 28-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 409
configure Ethernet port e42 to discard untagged frames at ingress. Console(config)# interface ethernet e42 Console(config-if)# switchport general acceptable-frame-type tagged-only HP PC Blade Switch CLI Reference Guide www.hp.com 28-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 410
Commands switchport forbidden vlan The switchport forbidden vlan Interface Configuration mode command forbids adding specific VLANs to a port. To return to the default configuration, use the remove -if)# switchport forbidden vlan add 234-256 28-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 411
unused VLAN 1236 as the internal usage VLAN of ethernet port e41. Console(config)# interface ethernet e41 Console(config-if)# ip internal-usage-vlan 1236 HP PC Blade Switch CLI Reference Guide www.hp.com 28-15 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 412
-e2 e17 Type ---other dynamic static static static static static static guest Authorization Required Required Required Required Required Required Required Not Required - 28-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 413
. Console# show vlan internal usage VLAN ---1007 1008 1009 Usage --------Eth e21 Eth e22 Eth e23 IP Address ---------Active Inactive Active Reserved -------No Yes Yes HP PC Blade Switch CLI Reference Guide www.hp.com 28-17 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 414
---- ------- 1 default 8 VLAN008 11 VLAN011 19 IPv6 VLAN 72 VLAN0072 Egress Rule ----------untagged tagged tagged untagged untagged Type ------System Dynamic Static Static Static 28-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 415
is member in: VLAN Name ---- ------------ 91 IP Telephony Static configuration: PVID: 8 Ingress Filtering: Disabled Acceptable Frame Type: All Egress Rule ----------tagged VLAN Commands Type -----Static HP PC Blade Switch CLI Reference Guide www.hp.com 28-19 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 416
---- ---- 73 out Port e19 Static configuration: PVID: 2922 Ingress Filtering: Enabled Acceptable Frame Type: Untagged GVRP status: Disabled Egress rule ----------untagged tagged 28-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 417
access level 15 can use the Web server. Example The following command enables configuring the device from a browser. Console(config)#Console(config)# ip http server HP PC Blade Switch CLI Reference Guide www.hp.com 29-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 418
disables HTTP access to the device. Example The following command configures the http port number to 100. Console(config)# ip http port 100 29-2 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 419
Global Configuration mode command to generate an HTTPS certificate. Example The following command enables configuring the device from a secured browser. Console(config)# ip https server HP PC Blade Switch CLI Reference Guide www.hp.com 29-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 420
access to the device. Example The following command configures the https port number to 100. Console(config)#Console(config)# ip https port 100 29-4 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 421
device). Use this command to generate a self-signed certificate for the device. If the RSA keys do not exist, parameter key-generate must be used. HP PC Blade Switch CLI Reference Guide www.hp.com 29-5 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 422
Web Server Commands Example The following command regenerates an HTTPS certificate. Console(config)#Console(config)# crypto certificate 1 generate key-generate 29-6 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 423
Certification Authority, use the crypto certificate import Global Configuration mode command to import the certificate into the device. This certificate replaces the self-signed certificate. HP PC Blade Switch CLI Reference Guide www.hp.com 29-7 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 424
MRDjEyMwgICCAgICAICAgIMA0GCSqGSIb3DQEBBAUAA4GBAGb8UgIx7rB05m+2 m5ZZPhIwl8ARSPXwhVdJexFjbnmvcacqjPG8pIiRV6LkxryGF2bVU3jKEipcZa g+uNpyTkDt3ZVU72pjz/fa8TF0n3 -----END CERTIFICATE REQUEST----CN= router.gm.com 0= General Motors C= US 29-8 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 425
, the certificate imported by this command is saved in the private configuration (which is never displayed to the user or backed up to another device). HP PC Blade Switch CLI Reference Guide www.hp.com 29-9 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 426
: www.verisign.com Valid from: 8/9/2006 to 8/9/2007 Subject: CN= router.gm.com, 0= General Motors, C= US Finger print: DC789788 DC88A988 127897BC BB789788 29-10 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 427
command should be used to generate HTTPS certificates. Example The following command configures the active certificate for HTTPS. Console(config)#Console(config)# ip https certificate 1 HP PC Blade Switch CLI Reference Guide www.hp.com 29-11 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 428
: www.verisign.com Valid from: 8/9/2006 to 8/9/2007 Subject: CN= router.gm.com, 0= General Motors, C= US Finger print: DC789788 DC88A988 127897BC BB789788 29-12 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 429
are no user guidelines for this command. Example The following command displays the HTTP server configuration. Console# show ip http HTTP server enabled. Port: 80 HP PC Blade Switch CLI Reference Guide www.hp.com 29-13 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 430
by: self-signed Valid from: 8/9/2006 to 8/9/2007 Subject: CN= router.gm.com, 0= General Motors, C= US Finger print: 1873B936 88DC3411 BC8932EF 782134BA 29-14 www.hp.com CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 431
1-1 connections, Telnet 1-1 console connection 1-1 copper ports 15-2, 15-3 copy 7-1 CoS 18-28 counters 8-11, 8-17 cpu utilization 25-15, 25-16 CRC align errors 20-2 HP PC Blade Switch CLI Reference Guide www.hp.com Index-1 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 432
1-7 line commands 13-1 to 13-9 defined 1-7 line configuration 1-5 listing current valid commands 1-4 login authentication 3-5 login User EXEC mode 27-4 looking up partial keywords 1-4 Index-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 433
11 port routed secure-address 5-13 show ports 5-20 show ports addresses 5-21 service acl 4-11 service cpu utilization 25-15 service policy 18-13 sessions, show 25-12 set 18-11 interface value 8-12 lacp ethernet 12-4 line 13-9 logging 24-12 HP PC Blade Switch CLI Reference Guide www.hp.com Index-3 - HP BladeSystem bc2200 | Command Line Interface Reference Guide HP BladeSystem PC - Page 434
, show 25-14 VLAN commands 28-1 to 28-18 defined 1-8 VLAN configuration 1-5 W Web server commands 29-1 to 29-14 defined 1-8 wrr 18-22 Index-4 www.hp.com HP PC Blade Switch CLI Reference Guide
Command Line Interface Reference Guide
HP BladeSystem PC Blade Switch
Document Part Number: 413354-003
May 2009