HP Bc1500 Command Line Interface Reference Guide HP BladeSystem PC Blade Switc
HP Bc1500 - BladeSystem - Blade PC Manual
View all HP Bc1500 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Bc1500 manual content summary:
- HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 1
Command Line Interface Reference Guide HP BladeSystem PC Blade Switch Document Part Number: 413354-002 June 2006 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 of information. CLI Reference Guide HP BladeSystem PC Blade Switch Second Edition (June 2006) First Edition - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 3
tx-period 2-8 dot1x max-req 2-9 dot1x timeout supp-timeout 2-10 dot1x timeout server-timeout 2-11 show dot1x 2-12 show dot1x users 2-15 show dot1x statistics 2- 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 4
deny (MAC 4-9 service-acl 4-11 show access-lists 4-12 Address Table Commands bridge address 5-1 bridge multicast filtering 5-3 bridge multicast address multicast filtering 5-19 show ports security 5-20 show ports security addresses 5-21 iv www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 5
poll 6-14 sntp server 6-15 show clock 6-16 show 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-7 show bootvar 7-8 HP PC Blade Switch CLI Reference Guide www.hp.com v - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 6
control broadcast enable 8-21 port storm-control broadcast rate 8-22 show ports storm-control 8-23 GVRP Commands gvrp enable (Global 9-1 gvrp enable (Interface 9-2 garp timer 9-3 gvrp vlan interface 10-8 show ip igmp snooping groups 10-9 vi www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 7
arp-cache 11-7 show arp 11-8 ip domain-lookup 11-9 ip domain-name 11-10 ip name-server 11-11 ip host 11-12 clear host 11-13 clear host dhcp 11-14 show hosts 11 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 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 qos interface 18-20 wrr-queue threshold 18-22 qos map dscp-dp 18-23 qos map policed-dscp 18-24 qos map dscp-queue 18-25 qos trust - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 9
-server trap authentication 21-14 snmp-server contact 21-15 snmp-server location 21-16 snmp-server set 21-17 show snmp 21-18 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 10
-21 revision (mst 22-22 show (mst 22-23 exit (mst 22-24 abort (mst 22-25 23-1 ip ssh server 23-2 crypto key generate dsa 23-3 crypto key generate 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 11
logging 24-2 logging console 24-3 logging buffered 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 12
ingress-filtering server 29-3 ip https port 29-4 crypto certificate generate 29-5 crypto certificate request 29-7 crypto certificate import 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 13
a direct connection to the server's console port, or via a console port, the 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 HP PC Blade Switch CLI Reference Guide www.hp.com 1-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 14
Console(config)#interface vlan 1 Console(config-if)#ip address 10.1.0.1 255.255.255.0 Console(config-if)#exit Console password. The CLI will display the "Console#" prompt Exec), or "Console" for the Password: CLI session with the PC Blade Switch is opened. To end the CLI session, enter [Exit]. Console - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 15
command keyword. For example, to set a password for the administrator, enter: Console(config)#username admin password smith Minimum Abbreviation The CLI will accept a 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 16
server. To disable logging, specify the no logging command. This guide Console>" command prompt. Only a limited number of the commands are available in this mode. You can access all commands only from the Privileged Exec command mode (or administrator mode). 1-4 www.hp.com CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 17
, enter the following user 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: guest Password: [guest login password] CLI session with the PC Blade Switch is opened. To end the - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 18
configuration mode, and then return to Privileged Exec mode. Console(config)#interface ethernet 1/e5 Console(config-if)#exit Console(config)# Command Line Processing Commands are not case sensitive. back to the Privileged EXEC mode from any configuration mode. 1-6 www.hp.com CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 19
the authentication method lists for servers. ACL Commands Display Access Control 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 20
with Remote Authentication Dial-in User Service (RADIUS) servers, and display the RADIUS server settings. RMON Commands Display the SSH server configuration, or which SSH public key is manually configured. Syslog Commands Log messages to a syslog server, or limit log messages to a syslog server. - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 22
disabled globally. Command Modes Global Configuration mode 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 23
Interface Configuration mode command enables manually controlling the authorization state The device cannot provide authentication services to the client through the Console(config)# interface ethernet 1/e16 Console(config-if)# dot1x port-control auto HP PC Blade Switch CLI Reference Guide www.hp - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 24
(Ethernet) Command Usage There are no user guidelines for this command. Example The following command enables periodic re-authentication of the client. Console(config)# interface ethernet 1/e16 Console(config-if)# dot1x re-authentication 2-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 25
There are no user guidelines for this command. Example The following command sets the number of seconds between re-authentication attempts, to 300. Console(config)# interface ethernet 1/e16 Console(config-if)# dot1x timeout re-authperiod 300 HP PC Blade Switch CLI Reference Guide www.hp.com 2-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 1/e16. Console# dot1x re-authenticate ethernet 1/e16 2-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 27
the client provided an invalid password). To return to the default or specific behavioral problems with certain clients and authentication servers. To provide Console(config)# interface ethernet 1/e16 Console(config-if)# dot1x timeout quiet-period 3600 HP PC Blade Switch CLI Reference Guide www.hp - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 28
and authentication servers. Example The following command sets the number of seconds that the device waits for a response to an EAP-request/identity frame, to 3600 seconds. Console(config)# interface ethernet 1/e16 Console(config-if)# dot1x timeout tx-period 3600 2-8 www.hp.com HP PC Blade Switch - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 1/e16 Console(config-if)# dot1x max-req 6 HP PC Blade Switch CLI Reference Guide www.hp - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 31
radius-server timeout value and selecting the lower of the two values. Example The 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 32
or not present. Console# show dot1x ethernet 1/e3 802.1x is enabled. Port Admin Mode Oper Mode Reauth Control Reauth Period Username ---- ---------- --------- ------- ------ -------- 1/e3 Auto Unauthorized Ena 3600 Clark 2-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 33
:30 Seconds Max req: 2 Supplicant timeout: 30 Seconds Server timeout: 30 Seconds Session Time (HH:MM:SS): 08 authentication exchange (for example, the client provided an invalid password). The number of seconds that the device waits for a . HP PC Blade Switch CLI Reference Guide www.hp.com 2-13 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 34
state machine and of the Backend state machine. The number of times the 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 35
1/e1 Bob 1d:03:08.58 Remote 0008:3b79:8787 1/e2 John 08:19:17 None 0008:3b89:3127 Console# show dot1x users username Bob Username: Bob Port ----1/e1 Username ------- Supplicant to open the session. MAC address of the Supplicant. HP PC Blade Switch CLI Reference Guide www.hp.com 2-15 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 36
The following command displays 802.1x statistics for the specified interface. Console# show dot1x statistics ethernet 1/e1 EapolFramesRx: 11 EapolFramesTx: 12 EapolStartFramesRx of any type that have been transmitted by this Authenticator. 2-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 38
unauthenticated VLAN (although only tagged packets would be accepted 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 39
-hosts must be enabled to enable 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 40
authenticated. Example The following command forwards frames with source addresses that are 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 41
The following command defines VLAN 2 as a guest VLAN. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 42
Configuration mode command. Example The following command enables unauthorized users on Ethernet port 1/e1 to access the guest VLAN. Console# configure Console(config)# interface ethernet 1/e1 Console(config-if)# dot1x guest-vlan enable 2-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 43
. Example The following command displays 802.1x advanced features for the device. Console# show dot1x advanced Guest VLAN: 2 Unauthenticated VLANs: 91,92 Interface --------1/e1 : 100 Status: Single-host locked Violations since last trap: 9 HP PC Blade Switch CLI Reference Guide www.hp.com 2-23 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 44
802.1x Commands 2-24 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 45
password for authentication. Uses the line password for authentication. Uses no authentication. Uses the list of all RADIUS servers for authentication. Uses the list of all TACACS+ servers command are used with the login authentication command. HP PC Blade Switch CLI Reference Guide www.hp.com 3-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 46
even if all methods return an error, specify none as the 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 47
aaa authentication enable default enable. On the console, the enable password is used if it exists. If no password is set, the process still succeeds. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 49
specifies the login authentication method list for a remote telnet or console. To return to the default configuration specified by the aaa authentication a console. Console(config)# line console Console(config-line)# login authentication default HP PC Blade Switch CLI Reference Guide www.hp.com - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 50
guidelines for this command. Example The 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 51
authentication. Uses the list of all RADIUS servers for authentication. Uses the list of all TACACS+ servers for authentication. Default Setting The local the HTTP authentication. Console(config)# ip http authentication radius local HP PC Blade Switch CLI Reference Guide www.hp.com 3-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 52
authentication. Uses the list of all RADIUS servers for authentication. Uses the list of all TACACS+ servers for authentication. Default Setting The local configures HTTPS authentication. Console(config)# ip https authentication radius local 3-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 53
Lists Default: RADIUS, Enable Console_Enable: Enable, 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 54
mode Command Usage If a password is defined as encrypted, the required 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 55
Configuration mode Command Usage There are no user guidelines for this command. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 56
Global Configuration mode Command Usage User account can be created without a password. Example The 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 57
Up to 1018 rules can be defined on the device, depending 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 59
■ icmp-type - Specifies an ICMP message type for filtering ICMP packets. Enter a value or one of the following solicitation, time-exceeded, parameter-problem, timestamp, timestamp-reply, information into one string. For example: +fin-ack. HP PC Blade Switch CLI Reference Guide www.hp.com 4-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 60
match the conditions defined in the permit statement are denied. Example The following command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 62
and those packets that do not match the defined conditions are denied. Example The following 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 63
is deny all. Command Mode Global Configuration mode Command Usage There 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 64
packet VLAN. (Range: 0-4095) ■ cos - Specifies the Class of Service (CoS) for the packet. (Range: 0-7) ■ cos-wildcard - Specifies Console(config)# mac access-list macl-acl1 Console(config-mac-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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 65
■ vlan-id - Specifies the ID of the packet vlan. ■ cos - Specifies the packets's Class of Service (CoS). ■ cos-wildcard - Specifies wildcard bits to be applied to the CoS. ■ eth-type - Specifies map cannot be connected to the VLAN interface. HP PC Blade Switch CLI Reference Guide www.hp.com 4-9 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 68
mode Command Usage There are no user guidelines for this command. Example The following command displays access lists 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 70
The following command adds a permanent static MAC-layer station source address 3aa2.64b3.a245 on port 1/e16 to the bridge table. Console(config)# interface vlan 2 Console(config-if)# bridge address 3aa2.64b3.a245 ethernet 1/e16 permanent 5-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 71
bridge multicast forward-all command should 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 72
)# bridge multicast address 01:00:5e:02:02:03 The following command registers the MAC address and adds ports statically. Console(config)# interface vlan 8 Console(config-if)# bridge multicast address 01:00:5e:02:02:03 add ethernet 1/e1-e9,2/e2 5-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 73
MAC address 0100.5e02.0203 on port 2/e9 within VLAN 8. Console(config)# interface vlan 8 Console(config-if)# bridge multicast address 0100.5e02.0203 Console(config-if)# bridge multicast forbidden address 0100.5e02.0203 add ethernet 2/e9 HP PC Blade Switch CLI Reference Guide www.hp.com 5-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 74
are no user guidelines for this command. Example The following command configures the device to forward all multicast packets on port 1/e8. Console(config)# interface vlan 2 Console(config-if)# bridge multicast forward-all add ethernet 1/e8 5-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 75
device port. Example The following command configures the device to forbid all forwarding of Multicast packets to 1/e1 with VLAN 2. Console(config)# interface vlan 2 Console(config-if)# bridge multicast forbidden forward-all add ethernet 1/e1 HP PC Blade Switch CLI Reference Guide www.hp.com 5-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 76
Global Configuration mode Command Usage There are 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 77
default configuration. Command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 78
without learning addresses of packets from unknown sources and sends traps every 100 seconds if a packet with an unknown source address is received. Console(config)# interface ethernet 1/e1 Console(config-if)# port security forward trap 100 5-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 79
There are no user guidelines for this command. Example In the following command, the port security mode is set to dynamic for Ethernet interface 1/e7. Console(config)# interface ethernet 1/e7 Console(config-if)# port security mode dynamic HP PC Blade Switch CLI Reference Guide www.hp.com 5-11 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 80
following command sets the maximum number of addresses that are learned on port 1/e7 before it is locked to 20. Console(config)# interface ethernet 1/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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 81
channel port-channel-number} [secure]. Example The following command adds the MAC-layer address 66:66:66:66:66:66 to port 1/e1. Console(config)# interface ethernet 1/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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 82
database. Console# show bridge address-table Aging time is 300 sec Interface --------1 1 200 MAC Address Port ---- 00:60:70:4C:73:FF 5/e8 00:60:70:8C:73:FF 5/e8 00:10:0D:48:37:FF 5/e9 Type ------dynamic dynamic static 5-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 83
. Console# show bridge address-table static Aging time is 300 sec VLAN MAC Address Port Type ---- ---- 1 00:60:70:4C:73:FF 1/e8 Permanent 1 00:60.70.8C.73:FF 1/e8 delete-on-timeout 200 00:10:0D:48:37:FF 1/e9 delete-on-reset HP PC Blade Switch CLI Reference Guide www.hp - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 84
The following command displays the number of addresses present in 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 85
ffff. Example The following command displays Multicast MAC address and IP address table information. Console# show bridge multicast address-table VLAN MAC Address Type Ports ---- ------- ---------- 1 19 01:00:5e:02:02:08 2/e8 HP PC Blade Switch CLI Reference Guide www.hp.com 5-17 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 86
Address Table Commands Console# show bridge multicast address-table format ip VLAN IP/MAC Address Type ---- ------ 1 224-239.130|2.2.3 1/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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 87
displays the Multicast configuration for VLAN 1. Console# show bridge multicast filtering 1 Filtering: Enabled VLAN: 1 Port Forward- Filter Forbidden Filter 1/e2 Forward Forward(s) Forward Forward(s) 1/e3 - Forward(d) - Forward(d) HP PC Blade Switch CLI Reference Guide www.hp - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 88
command. Example The following command displays all classes of port-lock status entries. Console# show ports security Port Status ---- ------- 1/e1 Locked 1/e2 Unlocked 1/e3 case of a violation Minimum time between consecutive trap 5-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 89
The following command displays the dynamic addresses in currently locked port 1/e1. Console# show ports security addresses ethernet 1/e1 Port Status ---- -------- 1/e1 Disabled Learning -------Lock Current ------- Maximum ------1 HP PC Blade Switch CLI Reference Guide www.hp.com 5-21 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 90
Address Table Commands 5-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 91
manually sets the system clock. Syntax clock set hh:mm:ss day month year or clock set hh:mm:ss month day year Parameters ■ hh:mm:ss - Current time in hours (military format), minutes, and seconds (hh: 0-23 Console# clock set 13:32:00 7 Mar 2006 HP PC Blade Switch CLI Reference Guide www.hp.com 6-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 92
source. Syntax clock source {sntp} no clock source Parameters ■ sntp - SNTP servers Default Setting No external clock source. Command Mode Global Configuration mode Command Usage There for the system clock. Console(config)# clock source sntp 6-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 94
abbreviation (Range: 2000-2097) ■ hh:mm - Time in military format, in hours and minutes. (Range: hh: 0-23, mm: 0-59) ■ offset - Number of minutes to add during summer time. (Range: 1-1440) ■ acronym - . Command Mode Global Configuration mode 6-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 95
following command sets the summer time, starting on the first Sunday in April at 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 96
key is defined. Command Mode Global Configuration mode 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 97
for received Simple Network Time Protocol (SNTP) traffic from servers. To disable the feature, use the no form of this 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 98
trusted key, then unauthenticated messages will be 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 99
no user guidelines for this command. Example 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 100
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 101
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 102
client enable Global Configuration mode command to enable anycast clients globally. Example The following command enables the SNTP client on Ethernet port 1/e3. Console(config)# interface ethernet 1/e3 Console(config-if)# sntp client enable 6-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 103
Configuration mode command to define SNTP servers. Example The following command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 104
mode command enables polling for the Simple Network Time Protocol (SNTP) predefined unicast servers. To disable the polling for SNTP client, use the no form of this for SNTP predefined unicast clients. Console(config)# sntp unicast client poll 6-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 105
is determined by the sntp client poll timer 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 106
following command displays the time and date from the system clock. Console> show clock 15:29:03 PDT(UTC-7) Jun 17 2006 Time source is SNTP Console> show clock detail 15:29:03 PDT(UTC-7) Jun 17 of October at 2:00. Offset is 60 minutes. 6-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 107
of the device. Console# show sntp configuration 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: 1/e1, 1/e3 HP PC Blade Switch CLI Reference Guide www.hp - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 108
The following command shows the status of the SNTP. Console# show sntp status Clock is synchronized, stratum 4, reference (00:10:22.438 PDT Jul 5 2006) Unicast servers: Server ----------176.1.1.8 176.1.8.179 Status ------Up Unknown Last Response 19 hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 109
backup-config Description Source or destination URL for flash memory. This is the default in case a URL is file. Boot file. Source or destination URL for a TFTP network server. The syntax for this alias is tftp://host/[directory]/filename. The HP PC Blade Switch CLI Reference Guide www.hp.com 7-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 110
copy the startup configuration file to a network server. Saving the Running Configuration to the Startup Configuration To copy the running configuration to the startup configuration file, enter the copy running-config startup-config command. 7-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 111
image file1 from the TFTP server 172.16.101.101 to a non-active image file. Console# copy tftp://172.16.101.101/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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 112
Keyword flash startup-config Description Source or destination URL for flash memory. This is the default when a URL is specified without a 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 113
Usage Use the show 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 114
. Console# show running-config software version 1.1 hostname device interface ethernet 1/e1 ip address 176.242.100.100 255.255.255.0 duplex full speed 100 interface ethernet 1/e2 ip address 176.243.100.100 255.255.255.0 duplex full speed 100 7-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 115
file. Console# show startup-config software version 1.1 hostname device interface ethernet 1/e1 ip address 176.242.100.100 255.255.255.0 duplex full speed 100 interface ethernet 1/e2 ip address 176.243.100.100 255.255.255.0 duplex full speed 100 HP PC Blade Switch CLI Reference Guide www.hp.com - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 116
device at startup. Console# show bootvar Images currently available on the flash image-1 active image-2 not active (selected for next boot) Active Image Selected for Next Boot ---- ------------ image-1 image-2 image-1 image-1 7-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 117
configuration. Command Mode Global Configuration mode Command Usage There are no user guidelines for this command. Example The following command enables configuring Ethernet port 5/e18. Console(config)# interface ethernet 5/e18 HP PC Blade Switch CLI Reference Guide www.hp.com 8-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 118
on other active interfaces. Example The following example shows how ports 5/e18 to 5/e20 and 3/e1 to 3/24 are grouped to receive the same command. Console(config)# interface range ethernet 5/e18-5/e20/e1-3/e24 Console(config-if)# 8-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 119
disables Ethernet port 1/e5 operations. Console(config)# interface ethernet 1/e5 Console(config-if)# shutdown The following command restarts the disabled Ethernet port. Console(config)# interface ethernet 1/e5 Console(config-if)# no shutdown HP PC Blade Switch CLI Reference Guide www.hp.com 8-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 120
, port-channel) mode Command Usage There are no user guidelines for this command. Example The following command adds a description to Ethernet port 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# description "RD SW#3" 8-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 121
port in the port-channel to its maximum capability. Example The following command configures the speed operation of Ethernet port 1/e5 to 100 Mbps operation. Console(config)# interface ethernet 1/e5 Console(config-if)# speed 100 HP PC Blade Switch CLI Reference Guide www.hp.com 8-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 122
for ports operating at 10 Mbps or 100 Mbps. Example The following command configures the duplex operation of Ethernet port 1/e5 to full duplex operation. Console(config)# interface ethernet 1/e5 Console(config-if)# duplex full 8-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 123
entering auto-negotiation overrides the previous configuration and enables all capabilities. Example The following command enables auto-negotiation on Ethernet port 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# negotiation HP PC Blade Switch CLI Reference Guide www.hp.com 8-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 124
(Ethernet, port-channel) mode Command Usage Negotiation should be enabled for flowcontrol auto. Example In the following example, flow control is enabled on port 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# flowcontrol on 8-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 125
on - Manual mdix 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 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# mdix auto HP PC Blade Switch CLI Reference Guide www.hp - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 126
, port-channel) mode Command Usage There are no user guidelines for this command. Example In the following example, back pressure is enabled on port 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# back-pressure 8-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 127
User EXEC mode Command Usage There are no user guidelines for this command. Example In the following example, the counters for interface 1/e1 are cleared. Console> clear counters ethernet 1/e1 HP PC Blade Switch CLI Reference Guide www.hp.com 8-11 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 128
configured to be active, but were shut down by the system for some reason (for example, port security). Example The following command reactivates interface 1/e5. Console# set interface active ethernet 1/e5 8-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 129
for this command. Example The following command displays auto negotiation information. Console# show interfaces advertise Port Type ---- ----------- e1 100M-Copper e2 100M Operational Link Advertisement 100f, 100h, 10f, 10h HP PC Blade Switch CLI Reference Guide www.hp.com 8-13 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 130
user guidelines for this command. Example The following command displays the configuration of all configured interfaces: Console# show interfaces configuration Port Type ---1/e1 1/e2 1/e3 1/e4 1/e5 1/e6 1/e7 1/e8 Auto Auto Auto Auto Auto 8-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 131
The following command displays the status of all configured interfaces: Console# show interfaces status Port Type ---1/e1 1/e2 1/e3 1/ -- -- Down -- -- -- -- Down -- -- -- -- Down -- -- -- -- Down -- Mdix Mode -------Auto HP PC Blade Switch CLI Reference Guide www.hp.com 8-15 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 132
no user guidelines for this command. Example The following command displays descriptions of configured interfaces: Console# show interfaces description Port Description ---- ----------- 1/e1 lab 1/e2 1/e3 1/e4 1/e5 1/e6 ch1 ch2 8-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 133
Example The following command displays traffic seen by the physical interface: Console# show interfaces counters Port InOctets ---- -------- 1/e1 183892 2/ OutUcastPkts -----------0 OutMcastPkts -----------0 OutBcastPkts -----------0 HP PC Blade Switch CLI Reference Guide www.hp.com 8-17 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 134
Commands The following command displays counters for Ethernet port 1/e1: Console# show interfaces counters ethernet 1/e1 Port -----1/e1 InOctets ----------183892 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 135
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 136
storm-control broadcast rate commands. Example The following command enables counting broadcast and multicast packets on Ethernet port 2/e3. Console(config)# interface ethernet 2/e3 Console(config-if)# port storm-control include-multicast 8-20 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 137
) mode command, to set the maximum allowable broadcast rate. Example The following command enables broadcast storm control on port 1/g5 of a device. Console(config)# interface ethernet 1/g5 Console(config)# port storm-control broadcast enable HP PC Blade Switch CLI Reference Guide www.hp.com 8-21 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 138
control. Example The following command configures the maximum storm control broadcast rate at 900 Kbits/Sec on Ethernet port 1/e5 of a device. Console(config)# interface ethernet 1/e5 Console(config-if)# port storm-control broadcast rate 900 8-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 139
the storm control configuration. Console# show ports storm-control Port State ---- -------- 1/e1 Enabled 2/e1 Enabled 3/e1 Disabled Rate [Kbits/Sec 70 100 100 Included Broadcast, Multicast, Unknown Unicast Broadcast Broadcast HP PC Blade Switch CLI Reference Guide www.hp.com 8-23 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 140
Ethernet Configuration Commands 8-24 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 141
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 command enables GVRP globally on the device. Console(config)# gvrp enable HP PC Blade Switch CLI Reference Guide www.hp.com 9-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 142
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 1/e6. Console(config)# interface ethernet 1/e6 Console(config-if)# gvrp enable 9-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 143
devices, the GARP application will not operate successfully. Example In the following example, the leave timer for Ethernet port 1/e6 is set to 900 milliseconds. Console(config)# interface ethernet 1/e6 Console(config-if)# garp timer leave 900 HP PC Blade Switch CLI Reference Guide www.hp.com 9-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 144
only to those VLANs for which static VLAN registration exists. Example The following command disables dynamic VLAN creation on Ethernet port 1/e6. Console(config)# interface ethernet 1/e6 Console(config-if)# gvrp vlan-creation-forbid 9-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 145
mode Command Usage There are no user guidelines for this command. Example The following command forbids dynamic registration of VLANs on Ethernet port 1/e6. Console(config)# interface ethernet 1/e6 Console(config-if)# gvrp registration-forbid HP PC Blade Switch CLI Reference Guide www.hp.com 9-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 146
EXEC mode Command Usage There are no user guidelines for this command. Example The following command clears all GVRP statistical information on Ethernet port 1/e6. Console# clear gvrp statistics ethernet 1/e6 9-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 147
for this command. Example The following command displays GVRP configuration information: Console> show gvrp configuration GVRP Feature is currently enabled on the device Leave Leave All ---- ----- 200 600 200 600 --------10000 10000 HP PC Blade Switch CLI Reference Guide www.hp.com 9-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 148
are no user guidelines for this command. Example The following command shows GVRP statistical information: Console> show gvrp statistics GVRP Statistics: Legend: rJE : Join Empty Received rJIn: rEmp : In Sent Leave In Sent Leave All Sent 9-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 149
for this command. Example The following command displays GVRP statistical information. Console> show gvrp error-statistics GVRP Error Statistics: Legend: INVPROT: INVEVENT INVALEN : INVEVENT: Invalid Attribute Length Invalid Event HP PC Blade Switch CLI Reference Guide www.hp.com 9-9 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 150
GVRP Commands 9-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 151
only be enabled on static 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 152
enabled on static VLANs. It must not be enabled on Private VLANs or their community VLANs. Example The following command enables IGMP snooping on VLAN 2. Console(config)# interface vlan 2 Console(config-if)# ip igmp snooping 10-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 153
greater than 2*query_interval+max_response_time of the IGMP router. Example In the following example, the host timeout is configured to 300 seconds. Console(config)# interface vlan 2 Console(config-if)# ip igmp snooping host-time-out 300 HP PC Blade Switch CLI Reference Guide www.hp.com 10-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 154
Usage There are no user guidelines for this command. Example In the following example, 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 155
user guidelines for this command. Example The following command enables automatic learning of multicast router ports on VLAN 2. Console(config)# interface vlan 2 Console(config-if)#console(config-if)# ip igmp snooping mrouter learn-pim-dvmrp HP PC Blade Switch CLI Reference Guide www.hp.com 10-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 156
immediate leave only where there is just one host connected to a port. Example The following command configures the host leave-time-out to 60 seconds. Console(config)# interface vlan 2 Console(config-if)# ip igmp snooping leave-time-out 60 10-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 157
displays multicast device interfaces in VLAN 1000. Console> show ip igmp snooping mrouter interface 1000 VLAN Ports ---- ----- 1000 1/e1 Detected multicast routers that are forbidden statically: VLAN Ports ---- ----- 1000 1/e19 HP PC Blade Switch CLI Reference Guide www.hp.com 10-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 158
for this command. Example The following command displays IGMP snooping information on VLAN 1000. Console> show ip igmp snooping interface 1000 IGMP Snooping is globally enabled IGMP Snooping is enabled of multicast router ports is enabled 10-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 159
command. Example The following command shows IGMP snooping information on multicast groups. Console> show ip igmp snooping groups VLAN IP Address ---- 1 224-239. : VLAN IP Address ---- 1 224-239.130|2.2.3 Ports ----1/e19 HP PC Blade Switch CLI Reference Guide www.hp.com 10-9 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 160
IGMP Snooping Commands 10-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 161
for a range of interfaces (range context). Example The following command configures VLAN 1 with IP 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 162
dynamically learn its IP address by using the DHCP protocol. Some DHCP servers require that the DHCPDISCOVER message have a specific host name. The ip from DHCP. Console(config)# interface ethernet 1/e16 Console(config-if)# ip address dhcp 11-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 163
defined. Command Mode Global Configuration mode Command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 164
configured IP interfaces and their types. Console# show ip interface 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 165
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 to the ARP table. Console(config)# arp 198.133.219.232 00:00:0c:40:0f:bc ethernet 1/e6 HP PC Blade Switch CLI Reference Guide www.hp.com 11-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 166
Usage It is recommended not to set 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 167
Privileged EXEC mode Command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 168
command displays entries in the ARP table. Console# show arp ARP timeout: 80000 Seconds Interface --------1/e1 2/e2 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 169
Usage There are no user 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 170
Mode Global Configuration mode Command Usage There are no user guidelines 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 171
is determined by the order in which they were entered. Up to 8 servers can be 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 172
mode Command Usage Up to 8 host names can be configured. Example The following 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 173
mode Command Usage 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 174
-address mapping temporarily until the next renewal 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 175
information. Console# show hosts System name: Device Default domain is gm.com, sales.gm.com, usa.sales.gm.com(DHCP) Name/address lookup is enabled Name servers (Preference 72 Elapsed ------3 Type -----IP Addresses --------171.64.14.203 HP PC Blade Switch CLI Reference Guide www.hp.com 11-15 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 176
IP Addressing Commands 11-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 177
1. Command Mode Global Configuration mode Command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 178
(Ethernet) mode Command Usage There are no user guidelines for this command. Example The following command defines the priority of Ethernet port 1/e6 as 247. Console(config)# interface ethernet 1/e6 Console(config-if)# lacp port-priority 247 12-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 179
) mode Command Usage There are no user guidelines for this command. Example The following command assigns a long administrative LACP timeout to Ethernet port 1/e6. Console(config)# interface ethernet 1/e6 Console(config-if)# lacp timeout long HP PC Blade Switch CLI Reference Guide www.hp.com 12-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 180
Ethernet port. Example The following command displays LACP information for Ethernet port 1/e1. Console# show lacp ethernet 1/e1 Port 1/e1 LACP parameters: Actor system priority: system mac 1 1 LONG LONG ACTIVE AGGREGATABLE FALSE FALSE 12-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 181
: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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 182
1. Console# show lacp port-channel 1 Port-Channel 1: Port Type 1000 Ethernet Actor System Priority: MAC Address: Admin Key: Oper 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 183
Global Configuration mode Command Usage There are no user guidelines for this command. Example The following command configures the device as a virtual terminal for remote console access. Console(config)# line telnet Console(config-line)# HP PC Blade Switch CLI Reference Guide www.hp.com 13-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 184
is applied when Autobaud is disabled. This configuration applies only to 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 185
the line console. To start communication using Autobaud, 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 186
timeout, enter the exec-timeout 0 command. Example The following command configures the 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 187
function for the current terminal session, use the 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 188
maximum number of commands in all buffers is 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 189
mode Command Usage There 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 190
of commands in all buffers is 256. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 191
given. Example The following command displays the line configuration. Console> show line Console configuration: Interactive timeout: Disabled History: 10 Baudrate: 9600 : Interactive timeout: 10 minutes 10 seconds History: 10 Line Commands HP PC Blade Switch CLI Reference Guide www.hp.com 13-9 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 192
Line Commands 13-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 193
or removed. Management ACL requires a valid management interface, which is 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 194
list. Console(config)# management access-list mlist Console(config-macl)# deny ethernet 1/e1 Console(config-macl)# deny ethernet 2/e9 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 195
Range: 0-32) ■ 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 196
0-32) ■ 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 197
Command Usage There are no user 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 198
for this command. Example The following command displays the mlist management access list. Console# show management access-list mlist mlist ----- permit ethernet 1/e1 permit ethernet 2/e2 ! (Note: all other access implicitly denied) 14-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 199
Usage There are no user guidelines for this command. Example 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 200
Management ACL Commands 14-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 201
test is 120 meters. Example The following command results in a report on the cable attached to port 1/e3. Console# test copper-port tdr 1/e3 Cable is open at 64 meters Console# test copper-port tdr 2/g1 Can't perform this test on fiber ports HP PC Blade Switch CLI Reference Guide www.hp.com 15-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 202
copper ports. Console> show copper-ports tdr Port Result Length [meters] Date ---- ------ ---- 1/e1 OK 1/e2 Short 50 13:32:00 23 July 2005 1/e3 Test has not been performed 1/e4 Open 64 13:32:00 23 July 2005 1/g1 Fiber - - 15-2 www.hp.com HP PC Blade Switch CLI Reference - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 203
mode. Example The following command displays the estimated copper cable length attached to all ports. Console> show copper-ports cable-length Port Length [meters] ---- 1/e1 < 50 1/e2 Copper not active 1/e3 110-140 1/g1 Fiber HP PC Blade Switch CLI Reference Guide www.hp.com 15-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 204
Examples The following commands display the optical transceiver diagnostics. Console# show fiber-ports optical-transceiver Power Port Temp Voltage 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 205
PHY Diagnostics Commands Console# show fiber-ports optical-transceiver detailed Power Port Temp Voltage Current Output Input TX Fault LOS [C] [Volt] [mA] [ RX received power. Tx Fault - Transmitter fault LOS - Loss of signal HP PC Blade Switch CLI Reference Guide www.hp.com 15-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 206
PHY Diagnostics Commands 15-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 207
up to eight member ports per port-channel. The aggregated links' valid IDs are 1-8. Example The following command enters the context of port-channel number 1. Console(config)# interface port-channel 1 HP PC Blade Switch CLI Reference Guide www.hp.com 16-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 208
context are executed independently on each interface in 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 209
Command Usage There are no user guidelines for this command. Example The following command forces port 1/e1 to join port-channel 1 without an LACP operation. Console(config)# interface ethernet 1/e1 Console(config-if)# channel-group 1 mode on HP PC Blade Switch CLI Reference Guide www.hp.com 16-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 210
guidelines for this command. Example The following command displays information on all port-channels. Console# show interfaces port-channel Channel ------1 2 3 Ports Active: 1/e1, 2/e2 Active: 2/e2, 2/e7 Inactive: 3/e1 Active: 3/e3, 3/e8 16-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 211
removed from the default VLAN). ■ The following restrictions apply to ports configured to be source ports: ■ The port cannot be already configured as a destination port. HP PC Blade Switch CLI Reference Guide www.hp.com 17-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 212
Port Monitor Commands Example The following command copies traffic on port 1/e8 (source port) to port 1/e1 (destination port). Console(config)# interface ethernet 1/e1 Console(config-if)# port monitor 1/e8 17-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 213
the port monitoring status. Console> show ports monitor Source Port Destination Port ----------- 1/e1 1/e8 1/e2 1/e8 1/e18 1/e8 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 214
Port Monitor Commands 17-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 215
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 command. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 216
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 when QoS is enabled in basic 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 217
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 218
The following command creates a class map called class1 and configures it to 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 219
. Command Mode User EXEC mode Command Usage There are no user guidelines for this command. Example 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 220
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 221
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 222
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 223
displays all policy maps. Console> show policy-map Policy Map policy1 class 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 224
. Command Mode Policy-map Class Configuration mode Command Usage Action serviced to a class, so that if an IP packet arrives, Console (config)# policy-map policy1 Console (config-pmap)# class class1 Console (config-pmap-c)# trust cos-dscp 18-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 225
cannot be attached to an egress interface by using the service-policy (Ethernet, Port-channel) Interface Configuration mode command. Console (config)# policy-map policy1 Console (config-pmap)# class class1 Console (config-pmap-c)# set dscp 56 HP PC Blade Switch CLI Reference Guide www.hp. - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 226
to an egress interface by using the service-policy (Ethernet, Port-channel) Interface Configuration Console (config)# policy-map policy1 Console (config-pmap)# class class1 Console (config-pmap-c)# police 124000 9600 exceed-action drop 18-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 227
, 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 228
the same policy map. When the average traffic rate exceeds 124,000 bps or 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 229
user guidelines. Example The following command displays the parameters of 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 230
following command applies the aggregate policer called policer1 to a class called 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 231
-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 Example The following command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 232
the Weighted Round Robin (WRR) weight ratio because fewer queues participate 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 233
The following command sets a shaper on Ethernet port 1/g4 when the average traffic rate exceeds 124000 bps or the normal burst size exceeds 96000 bps. Console(config)# interface ethernet 1/g4 Console(config-if) traffic-shape 124000 96000 HP PC Blade Switch CLI Reference Guide www.hp.com 18-19 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 234
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 235
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 236
and sent as long as the second or third threshold 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 237
Precedence 0. Command Mode Global Configuration mode. Command Usage 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 238
to the best effort queue. Example The following command fails to mark down incoming DSCP value 3 as 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 239
Configuration mode Command Usage There are no user guidelines for 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 240
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 241
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 242
port is used to assign a CoS value to all untagged packets entering the port. Example The following command configures port 1/e15 default CoS value to 3. Console(config)# interface ethernet 1/e15 Console(config-if) qos cos 3 18-28 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 243
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 244
mode. Command Usage There are no user guidelines for this command. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 245
following values: login, dot.1x or all. If unspecified, defaults to all. Default 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 246
. Example The following command specifies a RADIUS server host with IP address 192.168.10.1, authentication request port number 20 and a 20-second timeout period. Console(config)# radius-server host 192.168.10.1 auth-port 20 timeout 20 19-2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 247
guidelines for this command. Example 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 248
Range: 1-10) Default Setting The software searches the list of RADIUS server hosts 3 times. Command Mode Global Configuration mode Command Usage There are 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 249
mode Command Usage There are no user guidelines for this 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 250
. Command Mode Global Configuration mode Command Usage 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 251
0. Command Mode Global Configuration mode Command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 252
for this command. Example The following command displays RADIUS server settings. Console# show radius-servers IP address ------172.16.1.1 172.16.1.2 Authin CLI 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 253
command. Example The following command displays RMON Ethernet statistics for Ethernet port 1/e1. Console> show rmon statistics ethernet 1/e1 Port: 1/e1 Octets: 878128 Broadcast: 7 CRC 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 254
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 255
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 256
Monitoring (RMON) MIB history statistics group on Ethernet port 1/e1 with index number 1 and a polling interval period of 2400 seconds. Console(config)# interface ethernet 1/e1 Console(config-if)# rmon collection history 1 interval 2400 20-4 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 257
command. Example The following command displays all RMON history group statistics. Console> show rmon collection history Index Interface Interval Requested Granted Samples Samples that configured this entry. Owner ------CLI Manager HP PC Blade Switch CLI Reference Guide www.hp.com 20-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 258
---------- --------- ----- 303595962 357568 3289 7287 19% 287696304 275686 2789 5878 20% Console> show rmon history 1 errors Sample Set: 1 Interface: 1/e1 Requested samples: 50 Owner: Me Interval: 1800 Granted samples: 50 20-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 259
CRC Align --------1 1 Undersize --------1 1 Oversize -------0 0 Fragments --------49 27 Jabbers ------0 0 Console> show rmon history 1 other Sample Set: 1 Interface: 1/e1 Requested samples: 50 Owner: ) but were otherwise well formed. HP PC Blade Switch CLI Reference Guide www.hp.com 20-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 260
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 261
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 262
- HP ■ Sample interval - 360000 seconds ■ Rising threshold - 1000000 ■ Falling threshold - 1000000 ■ Rising threshold event index - 10 ■ 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 263
for this command. Example The following command displays the alarms table. Console> show rmon alarm-table Index OID ----- 1 1.3.6.1.2.1.2.2.1.10.1 2 1.3.6.1.2.1.2.2.1. Monitored variable OID. The entity that configured this entry. HP PC Blade Switch CLI Reference Guide www.hp.com 20-11 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 264
no user guidelines for this command. Example The following command displays RMON 1 alarms. Console> show rmon alarm 1 Alarm 1 ------OID: 1.3.6.1.2.1.2.2.1.10.1 Last sample Value: 878128 OID Description Alarm index. Monitored variable OID. 20-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 265
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 266
more management stations. Example The following command configures an 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 267
events table. Console> show rmon events Index Description Type Community Owner Last Time Sent --- -------- --------- ------ -- 1 Errors Log CLI Jan 18 2005 23:58:17 has not generated any events, this value is zero. HP PC Blade Switch CLI Reference Guide www.hp.com 20-15 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 268
23:58:17 The following table describes the significant fields shown in the display: 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 269
The configured table size takes effect after 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 270
RMON Commands 20-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 271
view-name] snmp-server community-group community group-name [ip-address] no snmp-server community community [ip-address] Parameters ■ community - Community string that acts like a password and permits access mapped to an internal group name. HP PC Blade Switch CLI Reference Guide www.hp.com 21-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 272
The following command defines community access string public to permit administrative access 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 273
objects for interface 1 in the MIB-II interface group. Console(config)# 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 274
attaches a group called user-group to SNMPv3 and assigns to the group the privacy 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 275
a user, use the no form of this command. Syntax snmp-server user username groupname [remote engineid-string] [auth-md5 password | auth-sha password | auth-md5-key md5-des-keys | auth-sha-key sha and privacy are enabled for the user. HP PC Blade Switch CLI Reference Guide www.hp.com 21-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 276
designates the remote management station and should be defined to enable the device to 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 277
engine ID of 123400000000000000000000, you can specify snmp-server engineID local 1234. Since the engine ID should digest is based on both the password and the local engine ID. The user's command line password is then destroyed, as required by HP PC Blade Switch CLI Reference Guide www.hp.com 21-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 278
Configuration mode command. Example The following command enables SNMPv3 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 279
traps are enabled. Command Mode Global 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 280
1 in the MIB-II interfaces group. Console(config)# snmp-server filter 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 281
command. Syntax snmp-server host {ip-address | hostname} community-string [traps | informs] [1 | 2] [udp-port port] [filter filtername] [timeout seconds] [retries retries] no snmp-server host {ip-address was sent, the trap is not sent. HP PC Blade Switch CLI Reference Guide www.hp.com 21-11 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 282
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 283
group and snmp-server view Global Configuration mode commands to generate 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 284
enabled. Command Mode Global Configuration mode Command Usage There 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 285
spaces in the text string or 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 286
include spaces in the text string or place text 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 287
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 288
Example The following command displays the SNMP communications status. Console# show snmp Community-String -------public private private Community-Access public ------2 2 UDP Filter To Retries Port Name Sec 162 15 3 162 15 3 21-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 289
.122.173.42 Type ----Inform Username --------Bob Security Level ------Priv UDP Filter To Retries Port Name Sec 162 15 3 System Contact: Robert System Location 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 290
. Command Mode Privileged EXEC mode Command Usage There are no 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 291
Example 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 292
guidelines for this command. Example The following command displays the configuration of views. Console# show snmp groups Name user-group managers-group managers-group Security Model Level ----- enables specifying an inform or a trap. 21-22 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 293
The 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 294
for this command. Example The following command displays the 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 295
STP BPDUs. Command Modes 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 296
the neighbor device uses RSTP and uses STP 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 297
time, the following relationship should be kept: 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 298
the hello time, the following relationship should be 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 299
should be kept: 2*(Forward-Time - 1) >= Max-Age 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 300
mode Command Usage The bridge with the lowest 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 301
, port-channel) mode Command Usage There are no user guidelines for this command. Example The following command disables spanning-tree on Ethernet port 1/e5. Console(config)# interface ethernet 1/e5 Console(config-if)# spanning-tree disable HP PC Blade Switch CLI Reference Guide www.hp.com 22-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 302
-tree pathcost method Global Configuration mode command. Example The following command configures the spanning-tree cost on Ethernet port 1/e15 to 35000. Console(config)# interface ethernet 1/e15 Console(config-if)# spanning-tree cost 35000 22-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 303
Usage There are no user guidelines for this command. Example The following command configures the spanning priority on Ethernet port 1/e15 to 96. Console(config)# interface ethernet 1/e15 Console(config-if)# spanning-tree port-priority 96 HP PC Blade Switch CLI Reference Guide www.hp.com 22-9 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 304
forwarding state when linkup occurs without waiting the standard forward-time delay. Example The following command enables PortFast on Ethernet port 1/e15. Console(config)# interface ethernet 1/e15 Console(config-if)# spanning-tree portfast 22-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 305
mode Command Usage There are no user guidelines for this command. Example The following command enables shared spanning-tree on Ethernet port 1/e5. Console(config)# interface ethernet 1/e15 Console(config-if)# spanning-tree link-type shared HP PC Blade Switch CLI Reference Guide www.hp.com 22-11 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 306
on the device. The cost is set using the spanning-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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 307
use the no form of this command. Syntax spanning-tree bpdu {filtering | flooding} Parameters ■ filtering - Filter BPDU packets when the spanning tree is disabled on an interface. on an interface. Console(config)# spanning-tree bpdu flooding HP PC Blade Switch CLI Reference Guide www.hp.com 22-13 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 308
feature should be used only when working in RSTP or MSTP mode. Example The following command restarts the protocol migration process on Ethernet port 1/e11. Console# clear spanning-tree detected-protocols ethernet 1/e11 22-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 309
the lowest priority is selected as the 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 310
this command. Example The following command configures the maximum number of 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 311
Command Usage There are no user guidelines for this command. Example The following command configures the port priority of port 1/g1 to 142. Console(config)# interface ethernet 1/g1 Console(config-if)# spanning-tree mst 1 port-priority 142 HP PC Blade Switch CLI Reference Guide www.hp.com 22-17 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 312
There are no user guidelines for this command. Example The following command configures the MSTP instance 1 path cost for Ethernet port 1/e9 to 4. console(config) # interface ethernet 1/e9 console(config-if) # spanning-tree mst 1 cost 4 22-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 313
number and name. Example The following command configures an 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 314
same VLAN mapping, the same configuration revision number, and the same name. Example The following 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 315
Configuration mode Command Usage There are no user 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 316
Mode MST Configuration mode Command Usage There are no user guidelines 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 317
command displays 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 318
Configuration mode Command Usage There are no user guidelines for this command. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 319
mode Command Usage There are no user guidelines 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 320
-tree calculations selects the port as the root port. Example The following command prevents Ethernet port 1/g1 from being the root port of the device. console(config) # interface ethernet 1/g1 console(config-mst) # spanning-tree guard root 22-26 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 321
information. Console# show spanning-tree Spanning tree enabled mode RSTP Default port cost method: long Root ID Priority Address Path Cost Root Port Hello Time 2 sec 32768 00:01:42:97:e0:00 20000 1 (1/e1) Max Age 20 sec Forward Delay 15 sec HP PC Blade Switch CLI Reference Guide www.hp.com - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 322
1/e4 Enabled 1/e5 Enabled Prio.Nbr -------128.1 128.2 128.3 128.4 128.5 Console# show spanning-tree Spanning tree enabled mode RSTP Default port cost method: long Root ID No No - Type ---------P2p (RSTP) Shared (STP) Shared (STP) - 22-28 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 323
Spanning-Tree Commands Console# show spanning-tree Spanning tree disabled (BPDU filtering) mode RSTP Default port cost method: long Root ID Priority Address Path Cost Root Port Age 20 sec Forward Delay 15 sec Bridge Priority ID 36864 HP PC Blade Switch CLI Reference Guide www.hp.com 22-29 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 324
Sts Role --- ---- FWD Root FWD Desg BLK ALTN PortFast -------No No No Console# show spanning-tree blockedports Spanning tree enabled mode RSTP Default port cost method: long ) Shared (STP) Shared (STP) Type ---------Shared (STP) 22-30 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 325
Spanning-Tree Commands Console# show spanning-tree detail Spanning tree enabled mode RSTP Default port cost method: long Root ID Port cost: 20000 Port Fast: No (configured:no) Address: 00:02:4b:29:7a:00 Designated path cost: 20000 HP PC Blade Switch CLI Reference Guide www.hp.com 22-31 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 326
Designated port id: N/A Number of transitions to forwarding state: N/A BPDU: sent N/A, received N/A Console# show spanning-tree ethernet 1/e1 Port 1 (1/e1) enabled State: Forwarding Port id: 128.1 Type :01:42:97:e0:00 Designated path cost: 0 22-32 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 327
-------0 1 VLANs Mapped -----------1-9, 21-4094 10-20 State ------- Enable d Enable d Console# show spanning-tree Spanning tree enabled mode MSTP Default port cost method: long ###### ---------P2p Bound (RSTP) Shared Bound (STP) P2p P2p HP PC Blade Switch CLI Reference Guide www.hp.com 22-33 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 328
PortFast -------No No No No Type ---------P2p Bound (RSTP) Shared Bound (STP) P2p P2p Console# show spanning-tree detail Spanning tree enabled mode MSTP Default port cost method: long ###### MST hello 2, max age 20, forward delay 15 22-34 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 329
Designated path cost: 20000 Role: Designated Port cost: 20000 Port Fast: No (configured:no) Address: 00:02:4b:29:7a:00 Designated path cost: 20000 HP PC Blade Switch CLI Reference Guide www.hp.com 22-35 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 330
170638 Role: Alternate Port cost: 20000 Port Fast: No (configured:no) Address: 00:02:4b:29:1a:19 Designated path cost: 20000 22-36 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 331
no) Address: 00:02:4b:29:7a:00 Designated path cost: 20000 Console# show spanning-tree Spanning tree enabled mode MSTP Default port cost method: Console# show spanning-tree Spanning tree enabled mode MSTP Default port cost method: long HP PC Blade Switch CLI Reference Guide www.hp.com 22-37 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 332
for CST and IST master. Root Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Max hops 20 Forward Delay 15 sec 22-38 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 333
configuration commands executed by the script and not the command itself. Example The following command executes a script that configures the device for PVST/PVST+ interoperability. Console# spanning-tree pvst-interop HP PC Blade Switch CLI Reference Guide www.hp.com 22-39 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 334
, the conversion process will communicate with STP. Example The following command configures the port 1/e5 to convert RSTP packets to MSTP instances. Console(config)# interface ethernet 1/e5 Console(config-if)# spanning-tree mst mstp-rstp 22-40 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 335
Configuration mode Command Usage There are no user guidelines 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 336
generated. To generate SSH server keys, use the crypto key generate dsa, and crypto 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 337
keys are saved to the backup 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 338
keys are saved to the backup master. This 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 339
is disabled. Command Mode Global Configuration 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 340
mode and manually configure the RSA key pair for SSH public key-chain bob. Console(config)# crypto key pubkey-chain ssh console(config-pubkey-chain)# user-key bob console(config-pubkey- Fingerprint: a4:16:46:23:5a:8d:1d:b5:37:59:eb:44:13:b9:33:e9 23-6 www.hp.com HP PC Blade Switch CLI Reference - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 341
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.com 23 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 342
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 key-string row command. This command is useful for configuration files. 23-8 www.hp.com HP PC Blade Switch CLI Reference - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 343
a4:16:46:23:5a:8d:1d:b5:37:59:eb:44:13:b9:33:e9 Console(config)# crypto key pubkey-chain 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 344
Console# show ip ssh SSH server enabled. Port: 22 RSA key was generated. DSA (DSS) key was generated. SSH Public Key Authentication is enabled. Active incoming sessions: IP Address SSH username --------- ---------- 172.16.0.1 John -SHA1) 23-10 www.hp.com HP PC Blade Switch CLI Reference - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 345
destinations, such as the logging buffer, logging file or syslog server. Logging on and off at these destinations can be individually console receives messages. Example The following command enables logging error messages. Console(config)# logging on HP PC Blade Switch CLI Reference Guide www.hp. - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 346
is specified, the global values apply to each server. Example The following 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 347
Mode Global Configuration mode Command Usage There are no 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 348
command limits the messages displayed to the 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 349
Usage This command takes effect only 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 350
Mode Privileged EXEC mode Command Usage There are no 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 351
There are no user guidelines 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 352
. Command Mode Privileged EXEC mode Command Usage There are no 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 353
Command Usage Other types of 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 354
Global Configuration mode Command Usage There are no user 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 355
types of management ACL events 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 356
messages were not logged (resources) Application filtering control Application Event Status ----------- ----- ------ AAA Login Enabled File system Copy Enabled File system Delete-Rename Enabled Management Deny ACL Enabled 24-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 357
Ethernet1/3, changed state to up 11-Aug-2004 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2004 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state Ethernet1/3, changed state to down HP PC Blade Switch CLI Reference Guide www.hp.com 24-13 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 358
the logging file. Console# show logging file Logging is enabled. Console logging: level debugging. Console Messages: 0 server 192.180.2.28 logging: errors. Messages: 6 Dropped (severity). 2 messages were not logged (resources) Application filtering .hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 359
Ethernet1/3, changed state to up 11-Aug-2004 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2004 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state Ethernet1/3, changed state to down HP PC Blade Switch CLI Reference Guide www.hp.com 24-15 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 360
Syslog Commands 24-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 361
- The gateway for this destination indicates that the destination is unreachable. ■ 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 362
---4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max = 7/8/11 Console> ping yahoo.com Pinging yahoo.com 66.218.71.198 with 64 bytes of data: 64 bytes from 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 363
device normally selects what it feels is the best source address to use. ■ 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 364
to abort. 1 192.168.2.5 (192.168.2.5) - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 365
(decimal23) on the host. Command Mode User EXEC mode Command Usage Telnet software supports special Telnet commands in the form of Telnet sequences that map generic terminal control ) Abort Output (AO) Are You There? (AYT) Erase Line (EL) HP PC Blade Switch CLI Reference Guide www.hp.com 25-5 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 366
in the following example. Note that the Ctrl-shift-6 sequence appears as ^^ on the screen. Console> 'Ctrl-shift-6' ? [Special telnet escape help] ^^ B sends telnet BREAK ^^ C sends 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 367
data connections Gopher NIC hostname server Ident Protocol Internet Relay Chat Kerberos login Kerberos shell Login Printer service Network News Transport Protocol PIM .213.10.50 via Telnet. Console> telnet 176.213.10.50 Esc U sends telnet EL HP PC Blade Switch CLI Reference Guide www.hp.com 25-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 368
. Command Mode User EXEC 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 369
files are being downloaded at the time of reset. Example The 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 370
configuration. Command Mode 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 371
for this command. Example The following command displays 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 372
Telnet sessions. Console> show sessions Connection Host Address Port Byte ---------- ---------- ----- ---- 1 Remote device 172.16.1.1 23 89 2 172.16.1.2 172.16.1.2 23 8 The bytes for the user to see on the connection. 25-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 373
information. Console# show system Unit Type ---- 1 HP 6300 Unit Main Power Supply ---- 1 OPERATION AL Redundant Power Supply NOT OPERATIONAL Fan1 Fan2 Fan3 Fan4 Fan5 ---- ---- ---- ---- ---- OK OK OK OK OK HP PC Blade Switch CLI Reference Guide www.hp.com 25 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 374
). Console> show version SW version 1.0.0.0 Boot version 1.0.0.0 HW version 1.0.0 (date 23-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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 375
mode Command Usage Use the show cpu utilization Privileged EXEC command to view information on CPU utilization. Example The following command enables measuring CPU utilization. Console(config)# service cpu-utilization HP PC Blade Switch CLI Reference Guide www.hp.com 25-15 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 376
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 377
command. Syntax tacacs-server host {ip-address server. ■ hostname - Host name of the TACACS+ server. - Specifies a server port number. ( and the TACACS+ server. This key must match in which the TACACS+ servers are used, where 0 server priority is specified, default priority 0 is used. Command - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 378
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 379
string. Command Mode Global Configuration 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 380
Command Mode Global Configuration mode Command Usage There 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 381
interface. Command Mode Global Configuration mode Command Usage 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 382
command displays configuration and statistical information about a TACACS+ server. Console# show tacacs Device Configuration IP address Status Port ---------- 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 383
command executes an EXEC-level command show vlan from the Global Configuration mode. Console(Config)# do show vlan VLAN Name Port 1 default 2/1-4 1/1-2 10 VLAN0010 Required Required Required Required Required Not required Guest HP PC Blade Switch CLI Reference Guide www.hp.com 27-1 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 384
15. Command Mode User EXEC mode Command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 385
is 1. Command Mode 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 386
mode Command Usage There are no user guidelines for 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 387
configuration. Command Mode Privileged 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 388
There are no user guidelines for this command. Example The following 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 389
Mode Privileged 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 390
configuration modes. Command Usage There are 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 391
no user guidelines for this command. Example The following command describes the help system. Console# help Help may be requested at any point in a command by entering a question is made for arguments matching the input (e.g. 'show pr?'). HP PC Blade Switch CLI Reference Guide www.hp.com 27-9 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 392
entering the show command. This command is 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 393
EXEC mode. Console# show history SW version 3.131 (date 23-Jul-2004 time 17:34:19) HW version 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 394
modes Command Usage There are no user guidelines for this command. 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 395
1 ■ VLAN 2 Command Mode Global Configuration mode Command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 396
configuration. Command Mode VLAN Configuration mode Command Usage There are no 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 397
are no user guidelines for this command. Example The following command configures VLAN 1 with IP 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 398
execution of the command continues on the other interfaces. Example The following command 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 399
of interfaces (range context). Command Usage There are no user 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 400
a trunking layer 2 VLAN port. ■ general - Indicates a full 802-1q supported VLAN port. Default Setting All ports are in access mode. All ports do not Console(config)# interface ethernet 1/e16 Console(config-if)# switchport mode access 28-6 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 401
previous VLAN and adds it to the new VLAN. Example The following command configures Ethernet port 1/e16 in access mode to be member of VLAN 23. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport access vlan 23 HP PC Blade Switch CLI Reference Guide www.hp.com 28-7 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 402
are no user guidelines for this command. Example The following command adds VLANs 1, 2, 5 to 6 to the allowed list of Ethernet port 1/e16. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport trunk allowed vlan add 1-2,5-6 28-8 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 403
first removed from the VLAN. Example The following command configures VLAN number 123 as the native VLAN when Ethernet port 1/e16 is in trunk mode. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport trunk native vlan 123 HP PC Blade Switch CLI Reference Guide www.hp.com 28-9 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 404
removing the VLAN from the list. Example The following commands add VLANs 2, 5, and 6 to the allowed list of Ethernet port 1/e16 . Console(config)# interface ethernet 1/e16 Console(config-if)# switchport general allowed vlan add 2,5-6 tagged 28-10 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 405
no user guidelines for this command. Example The following commands configure the PVID for Ethernet port 1/e16, when the interface is in general mode. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport general pvid 234 HP PC Blade Switch CLI Reference Guide www.hp.com 28-11 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 406
There are no user guidelines for this command. Example The following commands disable port ingress filtering on Ethernet port 1/e16. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport general ingress-filtering disable 28-12 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 407
for this command. Example The following commands configure Ethernet port 1/e16 to discard untagged frames at ingress. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport general acceptable-frame-type tagged-only HP PC Blade Switch CLI Reference Guide www.hp.com 28-13 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 408
the specified VLANs active on the selected ports. Example The following command forbids adding VLAN IDs 234 to 256 to Ethernet port 1/e16. Console(config)# interface ethernet 1/e16 Console(config-if)# switchport forbidden vlan add 234-256 28-14 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 409
the VLAN and recreate the IP interface. Example The following command reserves an unused VLAN 1236 as the internal usage VLAN of ethernet port 1/e8. Console(config)# interface ethernet 1/e8 Console(config-if)# ip internal-usage-vlan 1236 HP PC Blade Switch CLI Reference Guide www.hp.com 28-15 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 410
user guidelines for this command. Example The following command displays all VLAN information. Console# show vlan VLAN Name Ports Type Authorization ---- ------- -------- ---- 1 default 1/ 3978 Guest VLAN 1/e17 guest - 28-16 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 411
command displays VLANs used internally by the device. Console# show vlan internal usage VLAN Usage ---- --------- 1007 Eth 1/e21 1008 Eth 1/e22 1009 Eth 1/e23 IP Address ---------Active Inactive Active Reserved -------No Yes Yes HP PC Blade Switch CLI Reference Guide www.hp.com 28-17 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 412
1/e1. Console# show interface switchport ethernet 1/e1 Port 1/e1: VLAN Membership mode: General Operating parameters: PVID: 1 (default) Ingress Filtering: Enabled tagged untagged untagged Type ------System Dynamic Static Static Static 28-18 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 413
Frame Type: All Port 1/e1 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 414
8 VLAN0072 91 IP Telephony Forbidden VLANS: VLAN ---73 Name ---out Port 2/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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 415
server is enabled. Command Mode Global Configuration Command Usage Only a user with 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 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 416
no ip http port Parameters ■ port-number - Port number for use by the HTTP server. (Range: 0-65535) Default Setting The default port number is 80. Command Mode Global Configuration configures the http port number to 100. Console(config)# ip http port 100 29-2 www.hp.com CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 417
Use the crypto certificate generate 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 418
ip https port Parameters ■ port-number - Port number to be used by the HTTP server. (Range: 0-65535) Default Setting The default port number is 443. Command Mode Global the https port number to 100. Console(config)#Console(config)# ip https port 100 29-4 www.hp.com CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 419
Web Server Commands crypto certificate generate The crypto certificate generate Global Configuration mode command generates a self-signed HTTPS 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 420
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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 421
Web Server Commands crypto certificate request The crypto certificate request Privileged EXEC mode command generates and displays 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 422
Web Server Commands Example The following command generates and displays a certificate request for HTTPS. Console# crypto certificate 1 request -----BEGIN g+uNpyTkDt3ZVU72pjz/fa8TF0n3 -----END CERTIFICATE REQUEST----CN= router.gm.com 0= General Motors C= US 29-8 www.hp.com CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 423
Web Server Commands crypto certificate import The crypto certificate import Global Configuration mode command imports a certificate signed by 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 424
Web Server Commands Example The following command imports a certificate signed by Certification Authority for HTTPS. Console(config)#Console(config)# 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 425
Web Server Commands ip https certificate The ip https certificate Global Configuration mode 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 426
Web Server Commands show crypto certificate mycertificate The show crypto certificate following command displays the certificate. Console# show crypto certificate mycertificate , 0= General Motors, C= US Finger print: DC789788 DC88A988 127897BC BB789788 29-12 www.hp.com CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 427
default configuration. Command Mode Privileged EXEC mode Command Usage There 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 428
user guidelines for this command. Example The following command displays the HTTP server configuration. Console# show ip https HTTPS server enabled. Port: 443 Certificate 1 is active Issued by: www. , C= US Finger print: 1873B936 88DC3411 BC8932EF 782134BA 29-14 www.hp.com CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 429
, storing 1-5 configure, Privileged EXEC mode 27-5 connecting to switch 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 Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 430
2-1 to 2-23 duplex 8-6 E enable GVRP 9-1, 9-2 Privileged EXEC mode 27-2 enable password 3-10, 3- 29-4 HTTPS server 29-3 IP address, switch 1-1 IP addressing commands 11-1 to 11-15 defined 1-7 J jabbers 20-2 K key string 23-8 keystroke commands -2 www.hp.com HP PC Blade Switch CLI Reference Guide - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 431
Telnet session 1-2 P packets 20-2 parameters 1-3 password 3-10 enable 3-10, 3-11 permit 14-3 ports addresses 5-21 service acl 4-11 service cpu utilization 25-15 service policy 18-13 sessions 23-10 lacp ethernet 12-4 line 13-9 logging 24-12 HP PC Blade Switch CLI Reference Guide www.hp.com Index-3 - HP Bc1500 | Command Line Interface Reference Guide HP BladeSystem PC Blade Switc - Page 432
-19 U user interface commands 27-1 to 27-12 defined 1-8 user key 23-7 username 3-12 users, show 25-11 V version, 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
Command Line Interface Reference Guide
HP BladeSystem PC Blade Switch
Document Part Number: 413354-002
June 2006