background image

12-6

www.hp.com

HP PC Blade Switch CLI Reference Guide

LACP Commands

show lacp port-channel

The 

show lacp port-channe

Privileged EXEC mode command displays LACP information for 

a port-channel.

Syntax

show lacp port-channel

 [

port_channel_number

]

Parameters

n

port_channel_number

 — Valid

 

port-channel number.

Default Setting

This command has no default configuration.

Command Mode

Privileged EXEC mode

Command Usage

There are no user guidelines for this command.

Example

The following command displays LACP information about port-channel 1.

Console# 

show lacp port-channel 

1

Port-Channel 1: Port Type 1000 Ethernet

Actor

System Priority:

1

MAC Address:

 00:02:85:0E:1C:00

Admin Key:

 29

Oper Key:

 29

 

 Partner

System Priority:

0

MAC Address:

 00:00:00:00:00:00

Oper Key:

 14

Содержание BladeSystem bc2000 - Blade PC

Страница 1: ...Command Line Interface Reference Guide HP BladeSystem PC Blade Switch Document Part Number 413354 003 May 2009 ...

Страница 2: ...al errors or omissions contained herein This document contains proprietary information that is protected by copyright No part of this document may be photocopied reproduced or translated to another language without the prior written consent of Hewlett Packard Company Å WARNING Text set off in this manner indicates that failure to follow directions could result in bodily harm or loss of life Ä CAUT...

Страница 3: ... 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 16 Advanced Features 2 18 dot1x auth not req 2 18 dot1x multiple hosts 2 19 dot1x single host violation 2 20 dot1x guest vlan 2 21 dot1x guest vlan enable 2 22 show dot1x advanced 2 23 AAA Commands aaa authentication login 3 1 aaa authenticat...

Страница 4: ...5 4 bridge multicast forbidden address 5 5 bridge multicast forward all 5 6 bridge multicast forbidden forward all 5 7 bridge aging time 5 8 clear bridge 5 9 port security 5 10 port security mode 5 11 port security max 5 12 port security routed secure address 5 13 show bridge address table 5 14 show bridge address table static 5 15 show bridge address table count 5 16 show bridge multicast address...

Страница 5: ...6 8 sntp client poll timer 6 9 sntp broadcast client enable 6 10 sntp anycast client enable 6 11 sntp client enable Interface 6 12 sntp unicast client enable 6 13 sntp unicast client 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 8 s...

Страница 6: ...port storm 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 creation forbid 9 4 gvrp registration forbid 9 5 clear gvrp statistics 9 6 show gvrp configuration 9 7 show gvrp statistics 9 8 show gvrp error statistics 9 9 IGMP Snooping Commands ip igmp snooping Glo...

Страница 7: ... clear host dhcp 11 14 show hosts 11 15 LACP Commands lacp system priority 12 1 lacp port priority 12 2 lacp timeout 12 3 show lacp ethernet 12 4 show lacp port channel 12 6 Line Commands line 13 1 speed 13 2 autobaud 13 3 exec timeout 13 4 history 13 5 history size 13 6 terminal history 13 7 terminal history size 13 8 show line 13 9 Management ACL Commands management access list 14 1 permit Manag...

Страница 8: ...show ports monitor 17 3 QoS Commands qos 18 1 show qos 18 2 class map 18 3 show class map 18 5 match 18 6 policy map 18 7 class 18 8 show policy map 18 9 trust cos dscp 18 10 set 18 11 police 18 12 service policy 18 13 qos aggregate policer 18 14 show qos aggregate policer 18 15 police aggregate 18 16 wrr queue cos map 18 17 priority queue out num of queues 18 18 traffic shape 18 19 show qos inter...

Страница 9: ...mon alarm table 20 11 show rmon alarm 20 12 rmon event 20 14 show rmon events 20 15 show rmon log 20 16 rmon table size 20 17 SNMP Commands snmp server community 21 1 snmp server view 21 3 snmp server group 21 4 snmp server user 21 5 snmp server engineid local 21 7 snmp server enable traps 21 9 snmp server filter 21 10 snmp server host 21 11 snmp server v3 host 21 13 snmp server trap authenticatio...

Страница 10: ...clear spanning tree detected protocols 22 14 spanning tree mst priority 22 15 spanning tree mst max hops 22 16 spanning tree mst port priority 22 17 spanning tree mst cost 22 18 spanning tree mst configuration 22 19 instance mst 22 20 name mst 22 21 revision mst 22 22 show mst 22 23 exit mst 22 24 abort mst 22 25 spanning tree guard root 22 26 show spanning tree 22 27 spanning tree pvst interop 22...

Страница 11: ... system logging 24 10 management logging 24 11 show logging 24 12 show logging file 24 14 System Management Commands ping 25 1 traceroute 25 3 telnet 25 5 resume 25 8 reload 25 9 hostname 25 10 show users 25 11 show sessions 25 12 show system 25 13 show version 25 14 service cpu utilization 25 15 show cpu utilization 25 16 TACACS Commands tacacs server host 26 1 tacacs server key 26 3 tacacs serve...

Страница 12: ...ort trunk native vlan 28 9 switchport general allowed vlan 28 10 switchport general pvid 28 11 switchport general ingress filtering disable 28 12 switchport general acceptable frame type tagged only 28 13 switchport forbidden vlan 28 14 ip internal usage vlan 28 15 show vlan 28 16 show vlan internal usage 28 17 show interfaces switchport 28 18 Web Server Commands ip http server 29 1 ip http port 2...

Страница 13: ...user name and password is entered the CLI displays the Console prompt and enters normal access mode i e Normal Exec 2 Enter the necessary commands to complete your desired tasks 3 When finished exit the session with the quit or exit command After connecting to the system through the console port the login screen displays Telnet Connection Telnet operates over the IP transport protocol In this envi...

Страница 14: ...ost enter the Telnet command and the IP address of the device you want to access 2 At the prompt enter the user name and system password The CLI will display the Console prompt for the administrator to show that you are using privileged access mode i e Privileged Exec or Console for the guest to show that you are using normal access mode i e Normal Exec 3 Enter the necessary commands to complete y...

Страница 15: ...ll accept a minimum number of characters that uniquely identify a command For example the command configure can be entered as con If an entry is ambiguous the system will prompt for further input Command Completion If you terminate input with a Tab key the CLI will print the remaining characters of a partial keyword up to the point of ambiguity In the logging history example typing log followed by...

Страница 16: ...ing the show history command displays a longer list of recently executed commands Understanding Command Modes The command set is divided into Exec and Configuration classes Exec commands generally display information on system status or clear statistical counters Configuration commands on the other hand modify interface parameters or enable certain switching functions These classes are further div...

Страница 17: ...ands such as hostname and snmp server community n Access Control List Configuration These commands are used for packet filtering n DHCP Configuration These commands are used to configure the DHCP server n Interface Configuration These commands modify the port configuration such as speed duplex and negotiation n Line Configuration These commands modify the console port and Telnet configuration and ...

Страница 18: ...ailable commands or parameters You can use the Tab key to complete partial commands or enter a partial command followed by the character to display a list of possible matches You can also use the following editing keystrokes for command line processing Keystroke Commands Console configure Console config Console config interface ethernet e5 Console config if exit Console config Keystroke Function U...

Страница 19: ...ltiple Ethernet type interfaces 8 1 GVRP Commands Display the GARP VLAN Registration Protocol GVRP configuration information enable GVRP globally or on an interface 9 1 IGMP Snooping Commands Enable the Internet Group Management Protocol IGMP snooping 10 1 IP Addressing Commands Define a default gateway set an IP address for interface delete entries from the host 1 1 1 LACP Commands Configure syst...

Страница 20: ...t Shell SSH public keys on the device SSH server configuration or which SSH public key is manually configured 23 1 Syslog Commands Log messages to a syslog server or limit log messages to a syslog server 24 1 System Management Commands Display and list system version or Telnet session information 25 1 TACACS Commands Display configuration and statistical information about a Terminal Access Control...

Страница 21: ... following table Default Setting No authentication method is defined Command Mode Global Configuration Command Usage Additional methods of authentication are used only if the previous method returns an error and not if the request for authentication is denied To ensure that authentication succeeds even if all methods return an error specify none as the final method in the command line The RADIUS s...

Страница 22: ...lt configuration use the no form of this command Syntax dot1x system auth control no dot1x system auth control Parameters There are no parameters for this command Default Configuration 802 1x is 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 ...

Страница 23: ...t any authentication exchange required The port resends and receives normal traffic without 802 1x based authentication of the client n force unauthorized Denies all access through this interface by forcing the port to transition to the unauthorized state and ignoring all attempts by the client to authenticate The device cannot provide authentication services to the client through the interface De...

Страница 24: ...e no form of this command Syntax dot1x re authentication no dot1x re authentication Parameters There are no parameters for this command Default Setting Periodic re authentication is disabled Command Mode Interface Configuration 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...

Страница 25: ...x timeout re authperiod seconds no dot1x timeout re authperiod Parameters n seconds Number of seconds between re authentication attempts Range 300 4294967295 Default Setting Re authentication period is 3600 seconds Command Mode Interface Configuration Ethernet mode Command Usage There are no user guidelines for this command Example The following command sets the number of seconds between re authen...

Страница 26: ...ed 802 1x enabled port Syntax dot1x re authenticate ethernet interface Parameters n interface Valid Ethernet port Full syntax port Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command manually initiates a re authentication of 802 1x enabled Ethernet port e16 Console dot1...

Страница 27: ...n exchange with the client Range 0 65535 seconds Default Setting The default quiet period is 60 seconds Command Mode Interface Configuration Ethernet mode Command Usage During the quiet period the device does not accept or initiate authentication requests The default value of this command should only be changed to adjust for unusual circumstances such as unreliable links or specific behavioral pro...

Страница 28: ...ies the time in seconds that the device waits for a response to an EAP request identity frame from the client before resending the request Range 1 65535 seconds Default Configuration Timeout period is 30 seconds Command Mode Interface Configuration Ethernet mode Command Usage The default value of this command should be changed only to adjust for unusual circumstances such as unreliable links or sp...

Страница 29: ...ot1x max req Parameters n count Number of times that the device sends an EAP request identity frame before restarting the authentication process Range 1 10 Default Configuration The default number of times is 2 Command Mode Interface Configuration Ethernet mode Command Usage The default value of this command should be changed only to adjust for unusual circumstances such as unreliable links or spe...

Страница 30: ...Time in seconds that the device waits for a response to an EAP request frame from the client before resending the request Range 1 65535 seconds Default Configuration Default timeout period is 30 seconds Command Mode Interface configuration Ethernet mode Command Usage The default value of this command should be changed only to adjust for unusual circumstances such as unreliable links or specific be...

Страница 31: ...in seconds that the device waits for a response from the authentication server Range 1 65535 seconds Default Configuration The timeout period is 30 seconds Command Mode Interface configuration Ethernet mode Command Usage The actual timeout can be determined by comparing the dot1x timeout server timeout value and the result of multiplying the radius server retransmit value with the radius server ti...

Страница 32: ...d Usage There are no user guidelines for this command Example The following command displays the status of 802 1x enabled Ethernet ports Console show dot1x 802 1x is enabled Port Admin Mode Oper Mode Reauth Control Reauth Period Username e1 Auto Authorized Ena 3600 Bob e2 Auto Authorized Ena 3600 John e3 Auto Unauthorized Ena 3600 Clark e4 Force auth Authorized Dis 3600 n a e5 Force auth Unauthori...

Страница 33: ...e The username representing the identity of the Supplicant This field shows the username in case the port control is auto If the port is Authorized it shows the username of the current user If the port is unauthorized it shows the last user that was authenticated successfully Quiet period The number of seconds that the device remains in the quiet state following a failed authentication exchange fo...

Страница 34: ...s Authentication Method The authentication method used to establish the session Termination Cause The reason for the session termination State The current value of the Authenticator PAE state machine and of the Backend state machine Authentication success The number of times the state machine received a Success message from the Authentication Server Authentication fails The number of times the sta...

Страница 35: ...lay 802 1x users The following table describes the significant fields shown in the example Console show dot1x users Port Username Session Time Auth Method MAC Address e1 Bob 1d 03 08 58 Remote 0008 3b79 8787 e2 John 08 19 17 None 0008 3b89 3127 Console show dot1x users username Bob Username Bob Port Username Session Time Auth Method MAC Address e1 Bob 1d 03 08 58 Remote 0008 3b79 8787 Keyword Desc...

Страница 36: ...llowing command displays 802 1x statistics for the specified interface The following table describes the significant fields shown in the example Console show dot1x statistics ethernet e1 EapolFramesRx 11 EapolFramesTx 12 EapolStartFramesRx 12 EapolLogoffFramesRx 1 EapolRespIdFramesRx 3 EapolRespFramesRx 6 EapolReqIdFramesTx 3 EapolReqFramesTx 6 InvalidEapolFramesRx 0 EapLengthErrorFramesRx 0 LastE...

Страница 37: ...dFramesTx The number of EAP Req Id frames that have been transmitted by this Authenticator EapolReqFramesTx The number of EAP Request frames other than Rq Id frames that have been transmitted by this Authenticator InvalidEapolFramesRx The number of EAPOL frames that have been received by this Authenticator in which the frame type is not recognized EapLengthErrorFramesRx The number of EAPOL frames ...

Страница 38: ...arameters There are no parameters for this command Default Configuration Access is enabled Command Mode Interface Configuration VLAN mode Command Usage An access port cannot be a member in an unauthenticated VLAN The native VLAN of a trunk port cannot be an unauthenticated VLAN For a general port the PVID can be an unauthenticated VLAN although only tagged packets would be accepted in the unauthor...

Страница 39: ...Configuration Multiple hosts are disabled Command Mode Interface Configuration Ethernet mode Command Usage This command enables the attachment of multiple clients to a single 802 1x enabled port In this mode only one of the attached hosts must be successfully authorized for all hosts to be granted network access If the port becomes unauthorized all attached clients are denied access to the network...

Страница 40: ...ames with source addresses that are not the supplicant address n discard shutdown Discards frames with source addresses that are not the supplicant address The port is also shut down n trap Indicates that SNMP traps are sent n seconds Specifies the minimum amount of time in seconds between consecutive traps Range 1 1000000 Default Setting Frames with source addresses that are not the supplicant ad...

Страница 41: ...Usage Use the dot1x guest vlan enable Interface Configuration mode command to enable unauthorized users on an interface to access the guest VLAN If the guest VLAN is defined and enabled the port automatically joins the guest VLAN when the port is unauthorized and leaves it when the port becomes authorized To be able to join or leave the guest VLAN the port should not be a static member of the gues...

Страница 42: ... enable no dot1x guest vlan enable Parameters There are no parameters for this command Default Setting Disabled Command Mode Interface Configuration Ethernet mode Command Usage A device can have only one global guest VLAN The guest VLAN is defined using the dot1x guest vlan Interface Configuration mode command Example The following command enables unauthorized users on Ethernet port e1 to access t...

Страница 43: ...lt configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays 802 1x advanced features for the device Console show dot1x advanced Guest VLAN 2 Unauthenticated VLANs 91 92 Interface Multiple Hosts Guest VLAN e1 Disabled Enabled e2 Enabled Disabled Console show dot1x advanced ethernet e1 Interface Multiple Hosts ...

Страница 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...

Страница 45: ...en a user logs in Range 1 12 characters n method1 method2 Specify at least one from the following table Default Setting The local user database is checked This has the same effect as the command aaa authentication login list name local On the console login succeeds without any authentication check if the authentication method is not defined Command Mode Global Configuration mode Command Usage The ...

Страница 46: ...es the list of methods that the authentication algorithm tries in the given sequence The additional methods of authentication are used only if the previous method returns an error not if it fails To ensure that the authentication succeeds 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 Consol...

Страница 47: ...the console the enable password is used if it exists If no password is set the process still succeeds This has the same effect as using the command aaa authentication enable default enable none Command Mode Global Configuration mode Command Usage The default and optional list names created with the aaa authentication enable command are used with the enable authentication command The additional met...

Страница 48: ... PC Blade Switch CLI Reference Guide AAA Commands Example The following command sets the enable password for authentication when accessing higher privilege levels Console config aaa authentication enable default enable ...

Страница 49: ...no login authentication Parameters n default Uses the default list created with the aaa authentication login command n list name Uses the indicated list created with the aaa authentication login command Default Setting Uses the default set with the command aaa authentication login Command Mode Line Configuration mode Command Usage Changing login authentication from default to another value may dis...

Страница 50: ...on default list name no enable authentication Parameters n default Uses the default list created with the aaa authentication enable command n list name Uses the indicated list created with the aaa authentication enable command Default Setting Uses the default set with the aaa authentication enable command Command Mode Line Configuration mode Command Usage There are no user guidelines for this comm...

Страница 51: ... effect as the command ip http authentication local Command Mode Global Configuration mode Command Usage The additional methods of authentication are used only if the previous method returns an error not if it fails To ensure that the authentication succeeds even if all methods return an error specify none as the final method in the command line Example The following command configures the HTTP au...

Страница 52: ...ffect as the command ip https authentication local Command Mode Global Configuration mode Command Usage The additional methods of authentication are used only if the previous method returns an error not if it fails To ensure that the authentication succeeds even if all methods return an error specify none as the final method in the command line Example The following command configures HTTPS authen...

Страница 53: ...no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the authentication configuration Console show authentication methods Default RADIUS Local Line Console_Login Line None Enable Authentication Method Lists Default RADIUS Enable Console_Enable Enable None Line Login Method List Enable Method Li...

Страница 54: ...rameters n password Password for this level Range 1 160 characters n encrypted Encrypted password to be entered copied from another device configuration Default Setting No password is defined Command Mode Line Configuration 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 Cons...

Страница 55: ...sword for this level Range 1 159 characters n level The user privilege level with the following options o 1 Allows access but not configuration rights o 15 Enables access and configuration rights n encrypted Encrypted password entered copied from another device configuration Default Configuration No enable password is defined Command Mode Global Configuration mode Command Usage There are no user g...

Страница 56: ...thentication password for the user Range 1 159 characters n level The user privilege level with the following options o 1 Allows access but not configuration rights o 15 Enables access and configuration rights n encrypted Encrypted password entered copied from another device configuration Default Configuration No user is defined Command Mode Global Configuration mode Command Usage User account can...

Страница 57: ...he no form of this command Syntax ip access list name no ip access list name Parameters n name Specifies the name of the ACL Default Setting The default for all ACLs is deny all Command Mode Global Configuration mode Command Usage 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...

Страница 58: ...ce IP address of the packet Specify any to indicate IP address 0 0 0 0 and mask 255 255 255 255 n source wildcard Specifies wildcard to be applied to the source IP address Use 1s in bit positions to be ignored Specify any to indicate IP address 0 0 0 0 and mask 255 255 255 255 n destination Specifies the destination IP address of the packet Specify any to indicate IP address 0 0 0 0 and mask 255 2...

Страница 59: ...code Range 0 255 n igmp type IGMP packets can be filtered by IGMP message type Enter a number or one of the following values dvmrp host query host report pim or trace host report v2 host leave v2 host report v3 Range 0 255 n destination port Specifies the UDP TCP destination port Range 0 65535 n source port Specifies the UDP TCP source port Range 0 65535 n list of flags Specifies a list of TCP fla...

Страница 60: ...t Configuration mode Before an Access Control Element ACE is added to an ACL all packets are permitted After an ACE is added an implied deny any any condition exists at the end of the list and those packets that do not 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 c...

Страница 61: ...ess 0 0 0 0 and mask 255 255 255 255 n source wildcard Specifies wildcard bits by placing 1s in bit positions to be ignored Specify any to indicate IP address 0 0 0 0 and mask 255 255 255 255 n destination Specifies the IP address or host name to which the packet is being sent Specify any to indicate IP address 0 0 0 0 and mask 255 255 255 255 n destination wildcard Specifies wildcard bits by plac...

Страница 62: ...added an implied deny any any condition exists at the end of the list and those packets that do not match the defined conditions are denied Example The following commands define a permit statement for an IP ACL Inter Domain Routing Protocol idrp 45 Reservation Protocol rsvp 46 General Routing Encapsulation gre 47 Encapsulating Security Payload 50 esp 50 Authentication Header ah 51 ICMP for IPv6 ip...

Страница 63: ...To delete an ACL use the no form of this command Syntax mac access list name no mac access list name Parameters n name Specifies the name of the ACL Default Setting The default for all ACLs 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 co...

Страница 64: ...ions to be ignored n vlan id Specifies the ID of the packet VLAN Range 0 4095 n cos Specifies the Class of Service CoS for the packet Range 0 7 n cos wildcard Specifies wildcard bits to be applied to the CoS n eth type Specifies the Ethernet type of the packet Range 0 65535 Default Setting No MAC ACL is defined Command Mode MAC Access List Configuration mode Command Usage Before an Access Control ...

Страница 65: ...bit positions to be ignored n vlan id Specifies the ID of the packet vlan n cos Specifies the packets s Class of Service CoS n cos wildcard Specifies wildcard bits to be applied to the CoS n eth type Specifies the packet s Ethernet type Default Setting This command has no default configuration Command Mode MAC Access List Configuration mode Command Usage MAC BPDU packets cannot be denied This comm...

Страница 66: ...lade Switch CLI Reference Guide 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 ...

Страница 67: ... the no form of this command Syntax service acl input acl name no service acl input Parameters n acl name Specifies the ACL to be applied to the input interface Default Setting This command 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 servi...

Страница 68: ...ice Syntax show access lists name Parameters n name Name of the ACL Default Setting This command has no default configuration Command Mode Privileged EXEC 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 ...

Страница 69: ...ess can only be deleted by the no bridge address command n delete on reset The address is deleted after reset n delete on timeout The address is deleted after age out time has expired n secure The address is deleted after the port changes mode to unlock learning no port security command This parameter is only available when the port is in the learning locked mode Default Setting No static addresse...

Страница 70: ...dress Table Commands Example The following command adds a permanent static MAC layer station source address 3aa2 64b3 a245 on port e16 to the bridge table Console config interface vlan 2 Console config if bridge address 3aa2 64b3 a245 ethernet e16 permanent ...

Страница 71: ...mand Default Setting Filtering multicast addresses is disabled All multicast addresses are flooded to all ports Command Mode Global Configuration mode Command Usage If multicast devices exist on the VLAN do not change the unregistered multicast addresses state to drop on the switch ports If multicast devices exist on the VLAN and IGMP snooping is not enabled the bridge multicast forward all comman...

Страница 72: ...ess A valid MAC multicast address n ip multicast address A valid IP multicast address n interface list Separate nonconsecutive Ethernet ports with a comma and no spaces a hyphen is used to designate a range of ports n port channel number list Separate nonconsecutive port channels with a comma and no spaces a hyphen is used to designate a range of ports Default Setting No multicast addresses are de...

Страница 73: ...join a Multicast group n remove Removes ports from the Forbidden Port list n mac multicast address A valid MAC multicast address n ip multicast address A valid IP multicast address n interface list Separate nonconsecutive Ethernet ports with a comma and no spaces hyphen is used to designate a range of ports n port channel number list Separate nonconsecutive valid port channels with a comma and no ...

Страница 74: ...ticast packets n remove Do not force forwarding all multicast packets n interface list Separate nonconsecutive Ethernet ports with a comma and no spaces a hyphen is used to designate a range of ports n port channel number list Separate nonconsecutive port channels with a comma and no spaces a hyphen is used to designate a range of port channels Default Setting This setting is disabled Command Mode...

Страница 75: ...Separates nonconsecutive Ethernet ports with a comma and no spaces a hyphen is used to designate a range of ports n port channel number list Separates nonconsecutive port channels with a comma and no spaces a hyphen is used to designate a range of port channels Default Setting This setting is disabled Command Mode Interface Configuration VLAN mode Command Usage IGMP snooping dynamically discovers ...

Страница 76: ... configuration use the no form of this command Syntax bridge aging time seconds no bridge aging time Parameters n seconds Time in seconds Range 10 630 seconds Default Setting The default is 300 seconds Command Mode 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...

Страница 77: ...ny learned entries from the forwarding database Syntax clear bridge Parameters There are no parameters for this command Default Setting This command has no 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 ...

Страница 78: ...rned source addresses This is the default if no option is indicated n discard shutdown Discards packets with unlearned source addresses The port is also shut down n seconds Sends SNMP traps and defines the minimum amount of time in seconds between consecutive traps Range 1 1000000 Default Setting This setting is disabled Command Mode Interface Configuration Ethernet port channel mode Command Usage...

Страница 79: ...ociated with the port and disables learning relearning and aging n dynamic Deletes the current dynamic MAC addresses associated with the port and learns up to the maximum number addresses allowed on the port Relearning and aging are enabled Default Setting This setting is disabled Command Mode Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this co...

Страница 80: ...Syntax port security max max addr no port security max Parameters n max addr Maximum number of addresses that can be learned by the port Range 1 128 Default Setting The default is 1 address Command Mode Interface Configuration Ethernet port channel mode Command Usage This command is only relevant in dynamic learning modes Example The following command sets the maximum number of addresses that are ...

Страница 81: ...onfiguration Ethernet port channel mode Cannot be configured for a range of interfaces range context Command Usage The command enables adding secure MAC addresses to a routed port in port security mode The command is available when the port is a routed port and in port security mode The address is deleted if the port exits the security mode or is not a routed port Use this command on interfaces th...

Страница 82: ...ault configuration Command Mode Privileged EXEC mode Command Usage Internal usage VLANs VLANs that are automatically allocated on ports with a defined Layer 3 interface are presented in the VLAN column by a port number and not by a VLAN ID Special MAC addresses that were not statically defined or dynamically learned are displayed in the MAC address table This includes for example MAC addresses def...

Страница 83: ...pecifies a valid VLAN such as VLAN 1 n interface A valid Ethernet port n port channel number A valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays all static entries in the bridge forwarding database Console show bridge address table s...

Страница 84: ...nnel number Parameters n vlan Specifies a valid VLAN such as VLAN 1 n interface A valid Ethernet port n port channel number A valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the number of addresses present in all VLANs Console show...

Страница 85: ...icast address n format ip mac Multicast address format Can be ip or mac If the format is unspecified the default is mac Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage A MAC address can be displayed in IP format only if it is in the range of 0100 5e00 0000 0100 5e7f ffff Example The following command displays Multicast MAC address and IP ad...

Страница 86: ...resses as shown in the example Console show bridge multicast address table format ip VLAN IP MAC Address Type Ports 1 224 239 130 2 2 3 static e1 19 224 239 130 2 2 8 static e1 8 19 224 239 130 2 2 8 dynamic e9 11 Forbidden ports for multicast addresses VLAN IP MAC Address Ports 1 224 239 130 2 2 3 e8 19 224 239 130 2 2 8 e8 ...

Страница 87: ...vlan id VLAN ID value Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the Multicast configuration for VLAN 1 Console show bridge multicast filtering 1 Filtering Enabled VLAN 1 Port Forward Unregistered Forward All Static Status Static Status e1 Forbidden Filter F...

Страница 88: ...guidelines for this command Example The following command displays all classes of port lock status entries The following table describes the fields shown in the example Console show ports security Port Status Learning Action Maximum Trap Frequency e1 Locked Dynamic Discard 3 Enable 100 e2 Unlocked Dynamic 28 e3 Locked Disabled Discard Shutdown 8 Disable Field Description Port Port number Status Lo...

Страница 89: ...ion Command Mode Privileged EXEC Mode Command Usage There are no user guidelines for this command Example The following command displays the dynamic addresses in currently locked ports The following command displays the dynamic addresses in currently locked port e1 Console show ports security addresses Port Status Learning Current Maximum e1 Disabled Lock 1 e2 Disabled Lock 1 e3 Enabled Max addres...

Страница 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...

Страница 91: ...rs military format minutes and seconds hh 0 23 mm 0 59 ss 0 59 n day Current day by date in the month 1 31 n month Current month using the first three letters by name Jan Dec n year Current year 2000 2097 Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command sets the syst...

Страница 92: ...Use no form of this command to disable external time source Syntax clock source sntp no clock source Parameters n sntp SNTP servers Default Setting No external clock source Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command configures an external time source for the system clock Console config clock source sntp ...

Страница 93: ... clock timezone Parameters n hours offset Hours difference from UTC Range 12 13 n minutes offset Minutes difference from UTC Range 0 59 minutes n acronym The acronym of the time zone Range Up to 4 characters Default Setting Clock set to UTC Command Mode Global Configuration mode Command Usage The system internally keeps time in UTC so this command is used only for display purposes and when the tim...

Страница 94: ... that summer time should start on the first specific date listed in the command and end on the second specific date in the command n usa The summer time rules are the United States rules n eu The summer time rules are the European Union rules n week Week of the month Range 1 5 first last n day Day of the week Range first three letters by name like sun n date Date of the month Range 1 31 n month Mo...

Страница 95: ... starting month is chronologically after the ending month the system assumes that the user is in the southern hemisphere USA rule for daylight savings time n Start First Sunday in April n End Last Sunday in October n Time 2 am local time EU rule for daylight savings time n Start Last Sunday in March n End Last Sunday in October n Time 1 00 am 01 00 Example The following command sets the summer tim...

Страница 96: ...SNTP use the no form of this command Syntax sntp authentication key number md5 value no sntp authentication key number Parameters n number Key number Range 1 4294967295 n value Key value Range 1 8 characters Default Setting No authentication key is defined Command Mode Global Configuration mode Command Usage Multiple keys can be generated Example The following command defines the authentication ke...

Страница 97: ...m of this command Syntax sntp authenticate no sntp authenticate Parameters There are no parameters for this command Default Setting No authentication Command Mode Global Configuration mode Command Usage The command is relevant for both unicast and broadcast Example The following command defines the authentication key for SNTP and grants authentication Console config sntp authentication key 8 md5 C...

Страница 98: ...d key key number no sntp trusted key key number Parameters n key number Key number of authentication key to be trusted Range 1 4294967295 Default Setting No keys are trusted Command Mode Global Configuration mode Command Usage The command is relevant for both received unicast and broadcast If there is at least 1 trusted key then unauthenticated messages will be ignored Example The following comman...

Страница 99: ...e the no form of this command Syntax sntp client poll timer seconds no sntp client poll timer Parameters n seconds Polling interval in seconds Range 60 86400 Default Setting Polling interval is 1024 seconds Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command sets the polling time for the Simple Network Time Protocol SNTP ...

Страница 100: ... of this command Syntax sntp broadcast client enable no sntp broadcast client enable Parameters There are no parameters for this command Default Setting The SNTP broadcast client is disabled Command Mode Global Configuration mode Command Usage Use the sntp client enable Interface Interface Configuration mode command to enable the SNTP client on a specific interface Example The following command en...

Страница 101: ...p anycast client enable Parameters There are no parameters for this command Default Setting The SNTP anycast client is disabled Command Mode Global Configuration mode Command Usage Polling time is determined by the sntp client poll timer Global Configuration mode command Use the sntp client enable Interface Interface Configuration mode command to enable the SNTP client on a specific interface Exam...

Страница 102: ...ient enable no sntp client enable Parameters There are no parameters for this command Default Setting The SNTP client is disabled on an interface Command Mode Interface configuration Ethernet port channel VLAN mode Command Usage Use the sntp broadcast client enable Global Configuration mode command to enable broadcast clients globally Use the sntp anycast client enable Global Configuration mode co...

Страница 103: ...rom servers use the no form of this command Syntax sntp unicast client enable no sntp unicast client enable Parameters There are no parameters for this command Default Setting The SNTP unicast client is disabled Command Mode Global Configuration mode Command Usage Use the sntp server Global Configuration mode command to define SNTP servers Example The following command enables the device to use th...

Страница 104: ...ng for SNTP client use the no form of this command Syntax sntp unicast client poll no sntp unicast client poll Parameters There are no parameters for this command Default Setting Polling is disabled Command Mode Global Configuration mode Command Usage Polling time is determined by the sntp client poll timer Global Configuration mode command Example The following command enables polling for SNTP pr...

Страница 105: ...racters n poll Enable polling n keyid Authentication key to use when sending packets to this peer Range 1 4294967295 Default Setting No servers are defined Command Mode Global Configuration mode Command Usage Up to 8 SNTP servers can be defined Use the sntp unicast client enable Global Configuration mode command to enable predefined unicast clients globally To enable polling you should also use th...

Страница 106: ...ow clock display indicates the following information Example The following command displays the time and date from the system clock Symbol Description Time is not authoritative blank Time is authoritative Time is authoritative but SNTP is not synchronized 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 2006 Time source is SN...

Страница 107: ... Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the current SNTP configuration of the device Console show sntp configuration Polling interval 7200 seconds MD5 Authentication keys 8 9 Authentication is required for synchronization Trusted Keys 8 9 Unicast Clients Enabled Unicast Clients Polling Enabled Server Poll...

Страница 108: ...ample The following command shows the status of the SNTP Console show sntp status Clock is synchronized stratum 4 reference is 176 1 1 8 unicast Reference time is AFE2525E 70597B34 00 10 22 438 PDT Jul 5 2006 Unicast servers Server Status Last Response Offset mSec Delay mSec 176 1 1 8 Up 19 58 22 289 PDT Feb 19 2006 7 33 117 79 176 1 8 179 Unknown 12 17 17 987 PDT Feb 19 2006 8 98 189 19 Anycast S...

Страница 109: ...EXEC mode Keyword Description flash Source or destination URL for flash memory This is the default in case a URL is specified without a prefix running config Represents the current running configuration file startup config Represents the startup configuration file image If the source file represents the active image file If the destination file represents the non active image file boot Boot file t...

Страница 110: ...rce url running config command The commands in the loaded configuration file are added to those in the running configuration file as if the commands were typed in the command line interface CLI Thus the resulting configuration file is a combination of the previous running configuration and the loaded configuration files with the loaded configuration file taking precedence Copying a Configuration F...

Страница 111: ...figuration file to a backup configuration file enter the copy startup config file command Before copying from the backup configuration file to the running configuration file make sure that the backup configuration file has not been corrupted Example The following command copies system image file1 from the TFTP server 172 16 101 101 to a non active image file Console copy tftp 172 16 101 101 file1 ...

Страница 112: ...lowing table displays keywords and URL prefixes Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage sys prv image 1 and image 2 files cannot be deleted Example The following command deletes file test from flash memory Keyword Description flash Source or destination URL for flash memory This is the default when a URL is specified without a prefi...

Страница 113: ... system image 1 image 2 Parameters n image 1 Specifies image 1 as the system startup image n image 2 Specifies image 2 as the system startup image Default Setting The command has no default configuration Command Mode Privileged EXEC mode Command 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 Consol...

Страница 114: ...e following command displays the contents of the running configuration file Console show running config spanning tree mode mstp spanning tree mst mstp rstp interface range ethernet e 1 41 spanning tree disable exit spanning tree mst configuration instance 1 add vlan 1 instance 2 add vlan 2 instance 15 add vlan 3 4093 exit spanning tree mst 1 priority 61440 spanning tree mst 2 priority 61440 spanni...

Страница 115: ...1440 spanning tree mst 15 priority 61440 vlan database vlan 1 2 exit interface range ethernet e 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 42 45 46 switchport access vlan 1 exit interface range ethernet e 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 43 44 switchport access vlan 2 exit interface vlan 1 ip address dhcp exit interface vlan 2 ip address dhcp exit snmp server ...

Страница 116: ...lowing command displays the contents of the running configuration file Console show startup config spanning tree mode mstp spanning tree mst mstp rstp interface range ethernet e 1 41 spanning tree disable exit spanning tree mst configuration instance 1 add vlan 1 instance 2 add vlan 2 instance 15 add vlan 3 4093 exit spanning tree mst 1 priority 61440 spanning tree mst 2 priority 61440 spanning tr...

Страница 117: ...1440 spanning tree mst 15 priority 61440 vlan database vlan 1 2 exit interface range ethernet e 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 42 45 46 switchport access vlan 1 exit interface range ethernet e 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 43 44 switchport access vlan 2 exit interface vlan 1 ip address dhcp exit interface vlan 2 ip address dhcp exit snmp server ...

Страница 118: ...ow bootvar Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the active system image file that is loaded by the device at startup Console show bootvar Images currently available on the flash image 1 active s...

Страница 119: ...ode to configure an Ethernet type interface Syntax interface ethernet interface Parameters n interface Valid Ethernet port Full syntax port Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command enables configuring Ethernet port e18 Console config interface ethernet e...

Страница 120: ...of ports and group a list separated by commas in brackets n all All Ethernet ports Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage Commands under the interface range context are executed independently on each active interface in the range If the command returns an error on one of the active interfaces it does not stop executing command...

Страница 121: ...wn Parameters There are no parameters for this command Default Setting The interface is disabled Command Mode Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following command disables Ethernet port e45 operations The following command restarts the disabled Ethernet port Console config interface ethernet e45 Console config ...

Страница 122: ...tring no description Parameters n string Comment or a description of the port to enable the user to remember what is attached to the port Range 1 64 characters Default Setting The interface does not have a description Command Mode Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following command adds a description to Ethern...

Страница 123: ... 10 100 1000 no speed Parameters n 10 Forces10 Mbps operation n 100 Forces 100 Mbps operation n 1000 Forces 1000 Mbps operation Default Setting Maximum port capability Command Mode Interface Configuration Ethernet port channel mode Command Usage The no speed command in a port channel context returns each port in the port channel to its maximum capability Example The following command configures th...

Страница 124: ...ers n half Forces half duplex operation n full Forces full duplex operation Default Setting The interface is set to full duplex Command Mode Interface Configuration Ethernet mode Command Usage When configuring a particular duplex mode on the port operating at 10 100 Mbps disable the auto negotiation on that port Half duplex mode can be set only for ports operating at 10 Mbps or 100 Mbps Example Th...

Страница 125: ...ies the capabilities to advertise Possible values 10h 10f 100h 100f 1000f Default Setting Auto negotiation is enabled If unspecified the default setting is to enable all capabilities of the port Command Mode Interface Configuration Ethernet port channel mode Command Usage If capabilities were specified when auto negotiation was previously entered not specifying capabilities when currently entering...

Страница 126: ...this command Syntax flowcontrol auto on off no flowcontrol Parameters n auto Indicates auto negotiation n on Enables flow control n off Disables flow control Default Setting Flow control is off Command Mode Interface Configuration Ethernet port channel mode Command Usage Negotiation should be enabled for flowcontrol auto Example In the following example flow control is enabled on port e42 Console ...

Страница 127: ...rt 41 n off for ports 1 40 Command Mode Interface Configuration Ethernet mode Command Usage Auto All possibilities to connect a PC with cross or normal cables are supported and are automatically detected On It is possible to connect to a PC only with a normal cable and to connect to another device only with a cross cable No It is possible to connect to a PC only with a cross cable and to connect t...

Страница 128: ... use the no form of this command Syntax back pressure no back pressure Parameters There are no parameters for this command Default Setting Back pressure is disabled Command Mode Interface Configuration Ethernet port channel mode Command Usage This feature is only available on ports operating in half duplex Example In the following example back pressure is enabled on port e42 Console config interfa...

Страница 129: ...et interface port channel port channel number Parameters n interface Valid Ethernet port Full syntax port n port channel number Valid port channel number Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example In the following example the counters for interface e1 are cleared Console clear counters et...

Страница 130: ...nel number Parameters n interface Valid Ethernet port Full syntax port n port channel number Valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage This command is used to activate interfaces that were configured to be active but were shut down by the system for some reason for example port security Example The following ...

Страница 131: ...figuration Command Modes Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays auto negotiation information Console show interfaces advertise Port Type Neg Operational Link Advertisement e1 100M Copper Enabled e2 100M Copper Enabled e3 100M Copper Enabled e4 100M Copper Enabled e5 100M Copper Enabled 100f 100h 10f 10h e6 100M Copper...

Страница 132: ...pe Duplex Speed Neg Flow Ctrl Link State Back Pressure Mdix Mode e1 100M Copper Full 100 Enabled Off Up Disabled Auto e2 100M Copper Full 100 Enabled Off Up Disabled Auto e3 100M Copper Full 100 Enabled Off Up Disabled Auto e4 100M Copper Full 100 Enabled Off Up Disabled Auto e5 100M Copper Full 100 Enabled Off Up Disabled Auto e6 100M Copper Full 100 Enabled Off Up Disabled Auto e7 100M Copper Fu...

Страница 133: ...Flow Ctrl Link State Back Pressure Mdix Mode e1 100M Copper Full 100 Enabled Off Up Disabled Auto e2 100M Copper Full 100 Enabled Off Up Disabled Auto e3 100M Copper Full 100 Enabled Off Up Disabled Auto e4 100M Copper Full 100 Enabled Off Up Disabled Auto e5 100M Copper Full 100 Enabled Off Up Disabled Auto e6 100M Copper Full 100 Enabled Off Up Disabled Auto e7 100M Copper Full 100 Enabled Off U...

Страница 134: ...ernet interface port channel port channel number Parameters n interface Valid Ethernet port Full syntax port n port channel number A valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays descriptions of configured interfaces Console show...

Страница 135: ...port channel number Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays traffic seen by the physical interface Console show interfaces counters Port InOctets InUcastPkts InMcastPkts InBcastPkts e1 183892 0 0 0 e1 0 0 0 0 e1 123899 0 0 0 Port OutOctets OutUcastPkts Ou...

Страница 136: ...t packets InMcastPkts Counted received multicast packets InBcastPkts Counted received broadcast packets OutOctets Counted transmitted octets OutUcastPkts Counted transmitted unicast packets OutMcastPkts Counted transmitted multicast packets OutBcastPkts Counted transmitted broadcast packets FCS Errors Counted received frames that are an integral number of octets in length but do not pass the FCS c...

Страница 137: ...figuration Commands Received Pause Frames Counted MAC Control frames received with an opcode indicating the PAUSE operation Transmitted Pause Frames Counted MAC Control frames transmitted on this interface with an opcode indicating the PAUSE operation Field Description ...

Страница 138: ... multicast unknown unicast no port storm control include multicast Parameters n unknown unicast Specifies also counting unknown unicast packets Default Setting Multicast packets are not counted Command Mode Interface Configuration Ethernet mode Command Usage To control multicasts storms use the port storm control broadcast enable and port storm control broadcast rate commands Example The following...

Страница 139: ...ol broadcast enable no port storm control broadcast enable Parameters There are no parameters for this command Default Setting Broadcast storm control is disabled Command Mode Interface Configuration Ethernet mode Command Usage Use the port storm control broadcast rate Interface Configuration Ethernet mode command to set the maximum allowable broadcast rate Example The following command enables br...

Страница 140: ... rate Parameters n rate Maximum kilobits per second of broadcast and multicast traffic on a port Range 70 100000 Default Setting The default storm control broadcast rate is 3500 Kbits Sec Command Mode Interface Configuration Ethernet mode Command Usage Use the port storm control broadcast enable Interface Configuration mode command to enable broadcast storm control Example The following command co...

Страница 141: ... Parameters n interface A valid Ethernet port Full syntax port Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the storm control configuration Console show ports storm control Port State Rate Kbits Sec Included e1 Enabled 70 Broadcast Multicast Unknown Unicast e1...

Страница 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...

Страница 143: ...ll other devices on the network learn these VLANs dynamically The gvrp enable Global Configuration mode command enables GVRP globally To disable GVRP on the device use the no form of this command Syntax gvrp enable no gvrp enable Parameters There are no parameters for this command Default Setting GVRP is globally disabled Command Mode Global Configuration mode Command Usage There are no user guide...

Страница 144: ...meters for this command Default Setting GVRP is disabled on all interfaces Command Mode Interface Configuration Ethernet port channel mode Command Usage An access port does not dynamically join a VLAN because it is always a member in only one VLAN Membership in an untagged VLAN is propagated in the same way as in a tagged VLAN That is the PVID is manually defined as the untagged VLAN VID Example T...

Страница 145: ...default timer values n Join timer 200 milliseconds n Leave timer 600 milliseconds n Leavall timer 10000 milliseconds Command Mode Interface configuration Ethernet port channel mode Command Usage The following relationship must be maintained between the timers n Leave time must be greater than or equal to three times the join time n Leave all time must be greater than the leave time n Set the same ...

Страница 146: ... no parameters for this command Default Setting Dynamic VLAN creation or modification is enabled Command Mode Interface Configuration Ethernet port channel mode Command Usage This command forbids dynamic VLAN creation from the interface The creation or modification of dynamic VLAN registration entries as a result of the GVRP exchanges on an interface are restricted only to those VLANs for which st...

Страница 147: ... on a port use the no form of this command Syntax gvrp registration forbid no gvrp registration forbid Parameters There are no parameters for this command Default Setting Dynamic registration of VLANs on the port is allowed Command Mode Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following command forbids dynamic regist...

Страница 148: ...e port channel port channel number Parameters n interface A valid Ethernet port Full syntax port n port channel number A valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command clears all GVRP statistical information on Ethernet port e45 Console cl...

Страница 149: ...ameters n interface A valid Ethernet port Full syntax port n port channel number A valid port channel number Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays GVRP configuration information Console show gvrp configuration GVRP Feature is currently enabled on the de...

Страница 150: ...Setting This command has no default configuration Command Mode User EXEC mode Command Usage There 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 Join In Received rEmp Empty Received rLIn Leave In Received rLE Leave Empty Received rLA Leave All Received sJE Join...

Страница 151: ...port n port channel number A valid port channel number Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays GVRP statistical information Console show gvrp error statistics GVRP Error Statistics Legend INVPROT Invalid Protocol Id INVALEN Invalid Attribute Length INVATY...

Страница 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...

Страница 153: ...P snooping use the no form of this command Syntax ip igmp snooping no ip igmp snooping Parameters There are no parameters for this command Default Setting IGMP snooping is disabled Command Mode Global Configuration mode Command Usage IGMP snooping can 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...

Страница 154: ...terface use the no form of this command Syntax ip igmp snooping no ip igmp snooping Parameters There are no parameters for this command Default Setting IGMP snooping is disabled Command Mode Interface Configuration VLAN mode Command Usage IGMP snooping can only be enabled on static VLANs It must not be enabled on Private VLANs or their community VLANs Example The following command enables IGMP sno...

Страница 155: ...eturn to the default configuration use the no form of this command Syntax ip igmp snooping host time out time out no ip igmp snooping host time out Parameters n time out Host timeout in seconds Range 1 2147483647 Default Setting The default host time out is 260 seconds Command Mode Interface Configuration VLAN mode Command Usage The timeout should be at least greater than 2 query_interval max_resp...

Страница 156: ...ically learned To return to the default configuration use the no form of this command Syntax ip igmp snooping mrouter time out time out no ip igmp snooping mrouter time out Parameters n time out Multicast device timeout in seconds Range 1 2147483647 Default Setting The default value is 300 seconds Command Mode Interface Configuration VLAN mode Command Usage There are no user guidelines for this co...

Страница 157: ... cast router ports use the no form of this command Syntax ip igmp snooping mrouter learn pim dvmrp no ip igmp snooping mrouter learn pim dvmrp Default Configuration Automatic learning of multicast router ports is enabled Command Mode Interface Configuration VLAN mode User Guidelines There are no user guidelines for this command Example The following command enables automatic learning of multicast ...

Страница 158: ...diate leave no ip igmp snooping leave time out Parameters n time out Specifies the leave time out in seconds for IGMP queries Range 0 2147483647 n immediate leave Indicates that the port should be immediately removed from the members list after receiving IGMP Leave Default Setting The default leave time out configuration is 10 seconds Command Mode Interface Configuration VLAN mode Command Usage Th...

Страница 159: ...p igmp snooping mrouter interface vlan id Parameters n vlan id VLAN number Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays multicast device interfaces in VLAN 1000 Console show ip igmp snooping mrouter interface 1000 VLA N Ports 1000 e45 Detected multicast router...

Страница 160: ...This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines 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 on VLAN 1000 IGMP host timeout is 300 sec IGMP Immediate leave is disabled IGMP leave ti...

Страница 161: ...ast address IP multicast address Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage To see the full multicast address table including static addresses use the show bridge multicast address table Privileged EXEC command Example The following command shows IGMP snooping information on multicast groups Console show ip igmp snooping groups VLA N IP Addr...

Страница 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...

Страница 163: ...s n prefix length Specifies the number of bits that comprise the IP address prefix The prefix length must be preceded by a forward slash Range 8 30 Default Setting Two interfaces are configured n one for VLAN 1 n one for VLAN 2 with DHCP set by default Command Mode Interface Configuration Ethernet VLAN port channel mode Command Usage An IP address cannot be configured for a range of interfaces ran...

Страница 164: ...arn its IP address by using the DHCP protocol Some DHCP servers require that the DHCPDISCOVER message have a specific host name The ip address dhcp hostname host name command is most typically used when the host name is provided by the system administrator If the device is configured to obtain its IP address from a DHCP server it sends a DHCPDISCOVER message to provide information about itself to ...

Страница 165: ...tion use the no form of this command Syntax ip default gateway ip address no ip default gateway Parameters n ip address Valid IP address of the default gateway Default Setting No default gateway is 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 gat...

Страница 166: ...interface number Valid Ethernet port n vlan id Valid VLAN number n port channel number Valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the configured IP interfaces and their types Console show ip interface Gateway IP Address Type A...

Страница 167: ...he specified MAC address n hw_addr Valid MAC address to map to the specified IP address or IP alias n interface number Valid Ethernet port n vlan id Valid VLAN number n port channel number Valid port channel number Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage The software uses ARP cache entries to translate 32 bit IP addresses into ...

Страница 168: ...the no form of this command Syntax arp timeout seconds no arp timeout Parameters n seconds Time in seconds that an entry remains in the ARP cache Range 1 40000000 Default Setting The default timeout is 60000 seconds Command Mode Global Configuration mode Command Usage It is recommended not to set the timeout value to less than 3600 Example The following command configures the ARP timeout to 12000 ...

Страница 169: ...namic entries from the ARP cache Syntax clear arp cache Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode 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 ...

Страница 170: ... parameters for this command Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays entries in the ARP table Console show arp ARP timeout 80000 Seconds Interface IP address HW address Status e1 10 7 1 102 00 10 B5 04 DB 4B Dynamic e2 10 7 1 135 00 50 22 00 2A A4 S...

Страница 171: ...s translation use the no form of this command Syntax ip domain lookup no ip domain lookup Parameters There are no parameters for this command Default Setting IP Domain Naming System DNS based host name to address translation is enabled Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command enables IP Domain Naming System DNS...

Страница 172: ...his command Syntax ip domain name name no ip domain name Parameters n name Specifies the default domain name used to complete unqualified host names Do not include the initial period that separates an unqualified name from the domain name Range 1 158 characters Default Setting A default domain name is not defined Command Mode Global Configuration mode Command Usage There are no user guidelines for...

Страница 173: ... address8 no ip name server server address1 server address8 Parameters n server address Specifies IP addresses of the name server Default Setting No name server addresses are specified Command Mode Global Configuration mode Command Usage The preference of the servers is determined by the order in which they were entered Up to 8 servers can be defined using one command or using multiple commands Ex...

Страница 174: ... the no form of this command Syntax ip host name address no ip host name Parameters n name Name of the host Range 1 158 characters n address Associated IP address Default Setting No host is defined Command Mode Global Configuration 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 ...

Страница 175: ...che Syntax clear host name Parameters n name Specifies the host entry to be removed Range 1 158 characters n Removes all entries Default Setting This command has no default configuration Command Mode Privileged EXEC 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 ...

Страница 176: ... Syntax clear host dhcp name Parameters n name Specifies the host entry to be removed Range 1 158 characters n Removes all entries Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage This command deletes the host name to address mapping temporarily until the next renewal of the IP address Example The following command deletes all entries from t...

Страница 177: ...his command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays host 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 order 176 16 1 18 176 16 1 19 Configured host name to ad...

Страница 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...

Страница 179: ...ration use the no form of this command Syntax lacp system priority value no lacp system priority Parameters n value Specifies system priority value Range 1 65535 Default Setting The default system priority is 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 sy...

Страница 180: ...rm of this command Syntax lacp port priority value no lacp port priority Parameters n value Specifies port priority Range 1 65535 Default Setting The default port priority is 1 Command Mode Interface Configuration Ethernet mode Command Usage There are no user guidelines for this command Example The following command defines the priority of Ethernet port e45 as 247 Console config interface ethernet...

Страница 181: ...acp timeout long short no lacp timeout Parameters n long Specifies the long timeout value n short Specifies the short timeout value Default Setting The default port timeout value is long Command Mode Interface Configuration Ethernet mode Command Usage There are no user guidelines for this command Example The following command assigns a long administrative LACP timeout to Ethernet port e45 Console ...

Страница 182: ...rotocol state information Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage All LACP statistics is shown if no keyword is specified LACP should be enabled for selected Ethernet port Example The following command displays LACP information for Ethernet port e45 Console show lacp ethernet e45 Port e45 LACP parameters Actor system priority 1 syst...

Страница 183: ... Aggregation AGGREGATABLE synchronization FALSE collecting FALSE distributing FALSE expired FALSE Port e45 LACP Statistics LACP PDUs sent 2 LACP PDUs received 2 Port e45 LACP Protocol State LACP State Machines Receive FSM Port Disabled State Mux FSM Detached State Periodic Tx FSM No Periodic State Control Variables BEGIN FALSE LACP_Enabled TRUE Ready_N FALSE Selected UNSELECTED Port_moved FALSE NN...

Страница 184: ...r Valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays LACP information about port channel 1 Console show lacp port channel 1 Port Channel 1 Port Type 1000 Ethernet Actor System Priority 1 MAC Address 00 02 85 0E 1C 00 Admin Key 29 Oper...

Страница 185: ...n console Console terminal line n telnet Virtual terminal for remote console access Telnet n ssh Virtual terminal for secured remote console access SSH Default Setting This command has no default configuration Command Mode 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 consol...

Страница 186: ...per second bps Possible values are 2400 9600 19200 38400 57600 and 115200 Default Setting The default speed is 9600 bps Command Mode Line Configuration console mode Command Usage This command is available only on the line console The configured speed is applied when Autobaud is disabled This configuration applies only to the current session Example The following command configures the line baud ra...

Страница 187: ...mmand Syntax autobaud no autobaud Parameters There are no parameters for this command Default Setting Autobaud is disabled Command Mode Line Configuration console mode Command Usage This command is available only on the line console To start communication using Autobaud press Enter twice This configuration applies only to the current session Example The following command enables autobaud Console c...

Страница 188: ...econds no exec timeout Parameters n minutes Specifies the number of minutes Range 0 65535 n seconds Specifies additional time intervals in seconds Range 0 59 Default Setting The default configuration is 10 minutes Command Mode Line Configuration mode Command Usage To specify no timeout enter the exec timeout 0 command Example The following command configures the interval that the system waits unti...

Страница 189: ...re no parameters for this command Default Setting The command history function is enabled Command Mode Line Configuration mode Command Usage This command enables the command history function for a specified line To enable or disable the command history function for the current terminal session use the terminal history User EXEC mode command Example The following command enables the command history...

Страница 190: ...umber of commands that the system records in its history buffer Range 10 216 Default Setting The default history buffer size is 10 Command Mode Line Configuration mode Command Usage This command configures the command history buffer size for a particular line To configure the command history buffer size for the current terminal session use the terminal history size User EXEC mode command The maxim...

Страница 191: ...m of this command Syntax terminal history terminal no history Parameters There are no parameters for this command Default Setting The default configuration for all terminal sessions is defined by the history line configuration command Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command disables the command history function for the c...

Страница 192: ...m may record in its command history buffer Range 10 216 Default Setting The default history size for all terminal sessions is defined by the history size line configuration command Command Mode User EXEC mode Command Usage The terminal history size user EXEC command configures the size of the command history buffer for the current terminal session To change the default size of the command history ...

Страница 193: ...mote console access SSH Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage If line is not specified information for all lines is given Example The following command displays the line configuration Console show line Console configuration Interactive timeout Disabled History 10 Baudrate 9600 Databits 8 Parity none Stopbits 1 Telnet configuration Inter...

Страница 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...

Страница 195: ...ation mode Command Usage Use this command to configure a management access list The command enters the Access list Configuration mode where permit and deny access rules are defined using the permit Management and deny Management commands If no match criteria are defined the default is deny If you reenter an access list context the new rules are entered at the end of the access list Use the managem...

Страница 196: ...l interfaces to be management interfaces except Ethernet interfaces e45 and e46 and make the new access list the active list Console config management access list mlist Console config macl permit ethernet e45 Console config macl permit ethernet e46 Console config macl exit Console config management access class mlist Console config management access list mlist Console config macl deny ethernet e45...

Страница 197: ... ip address A valid source IP address n mask A valid network mask of the source IP address n prefix length Number of bits that comprise the source IP address prefix The prefix length must be preceded by a forward slash Range 0 32 n service Service type Possible values telnet ssh http https and snmp Default Setting If no permit rule is defined the default is set to deny Command Mode Management Acce...

Страница 198: ...ress A valid source IP address n mask A valid network mask of the source IP address n prefix length Specifies the number of bits that comprise the source IP address prefix The prefix length must be preceded by a forward slash Range 0 32 n service Service type Possible values telnet ssh http https and snmp Default Setting This command has no default configuration Command Mode Management Access list...

Страница 199: ...ccess class console only name no management access class Parameters n console only Indicates that the device can be managed only from the console n name Specifies the name of the access list to be used Range 1 32 characters Default Setting No active management access list specified Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The follow...

Страница 200: ...e Parameters n name Specifies the name of a management access list Range 1 32 characters Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the mlist management access list Console show management access list mlist mlist permit ethernet e45 permit ethernet e46...

Страница 201: ... show management access class Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command 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 usi...

Страница 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...

Страница 203: ...ace A valid Ethernet port Full syntax port Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage The port to be tested should be shut down during the test unless it is a combination port with the fiber port active The maximum length of the cable for the TDR test is 120 meters Example The following command results in a report on the cable attached...

Страница 204: ...ters n interface A valid Ethernet port Full syntax port Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage The maximum length of the cable for the TDR test is 120 meters Example The following command displays information on the last TDR test performed on all copper ports Console show copper ports tdr Port Result Length meters Date e43 Short 50 13 32...

Страница 205: ...ports cable length interface Parameters n interface A valid Ethernet port Full syntax port Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage The port must be active and working in 100M or 1000M mode Example The following command displays the estimated copper cable length attached to all ports Console show copper ports cable length Port Length meter...

Страница 206: ...Command Mode Privileged EXEC mode Command Usage To test optical transceivers ensure a fiber link is present Examples The following commands display the optical transceiver diagnostics Console show fiber ports optical transceiver Power Port Temp Voltage Current Output Input TX Fault LOS e1 W OK E OK OK OK OK e2 OK OK OK OK OK E OK e3 Copper Temp Internally measured transceiver temperature Voltage I...

Страница 207: ...utput Input TX Fault LOS C Volt mA mWatt mWatt e1 48 5 15 50 1 789 1 789 No No e2 43 5 15 10 1 789 1 789 No No e3 Copper Temp Internally measured transceiver temperature Voltage Internally measured supply voltage Current Measured TX bias current Output Power Measured TX output power Input Power Measured RX received power Tx Fault Transmitter fault LOS Loss of signal ...

Страница 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...

Страница 209: ...nterface port channel port channel number Parameters n port channel number A valid port channel number Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage Eight aggregated links can be defined with 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 chann...

Страница 210: ...nge List of valid port channels to add Separate nonconsecutive port channels with a comma and no spaces A hyphen designates a range of port channels n all All valid port channels Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage Commands under the interface range context are executed independently on each interface in the range Example I...

Страница 211: ...umber Specifies the ID of the valid port channel for the current port to join n on Forces the port to join a channel without an LACP operation n auto Allows the port to join a channel as a result of an LACP operation Default Setting The port is not assigned to a port channel Command Mode Interface Configuration Ethernet mode Command Usage There are no user guidelines for this command Example The f...

Страница 212: ...terfaces port channel port channel number Parameters n port channel number Valid port channel number Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays information on all port channels Console show interfaces port channel Channel Ports 1 Active e45 e46 2 Activ...

Страница 213: ...ed by default Command Mode Interface Configuration Ethernet mode Command Usage This command enables traffic on one port to be copied to another port or between the source port src interface and a destination port port being configured The following restrictions apply to ports configured as destination ports n The port cannot be already configured as a source port n The port cannot be a member in a...

Страница 214: ...lade Switch CLI Reference Guide Port Monitor Commands Example The following command copies traffic on port e45 source port to port e46 destination port Console config interface ethernet e46 Console config if port monitor e45 ...

Страница 215: ...ameters There are no parameters for this command Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the port monitoring status Console show ports monitor Source Port Destination Port Type Status VLAN Tagging e45 e46 RX TX Active No e43 e44 RX TX Active No e1 e42 RX ...

Страница 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...

Страница 217: ...mmand Syntax qos basic advanced no qos Parameters n basic QoS basic mode This mode is applied if no keyword is specified n advanced QoS advanced mode which enables the full range of QoS configuration Default Setting The QoS basic mode is enabled Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command enables QoS on the device...

Страница 218: ... Syntax show qos Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage Trust mode is displayed if QoS is enabled in basic mode Example The following command displays QoS attributes when QoS is enabled in basic mode on the device Console show qos Qos basic Basic trust dscp ...

Страница 219: ...on mode command is used 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 up to two match Class map Configuration mode commands to configure the classification criteria for the specified class If two match Class map Configuration mode commands are entered each ...

Страница 220: ...Guide QoS Commands Example 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 ...

Страница 221: ... map name Parameters n class map name Specifies the name of the class map to be displayed Default Setting This command has no default configuration 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 ...

Страница 222: ...l name no match access group acl name Parameters n acl name Specifies the name of an IP or MAC ACL Default Setting No match criterion is supported Command Mode Class map Configuration mode Command Usage There are no user guidelines for this command Example The following command defines the match criterion for classifying traffic as an access group called HP in a class map called class1 Console con...

Страница 223: ...e Command Usage Before configuring policies for classes whose match criteria are defined in a class map use the policy map Global Configuration mode command to specify the name of the policy map to be created or modified Class policies in a policy map can only be defined if match criteria has already been defined for the classes Use the class map Global Configuration and match Class map Configurat...

Страница 224: ...fying a policy for an existing class or creating a policy for a new class use the policy map Global Configuration mode command to specify the name of the policy map to which the policy belongs and to enter the Policy map Configuration mode Use the service policy Ethernet Port channel Interface Configuration mode command to attach a policy map to an interface Use an existing class map to attach cla...

Страница 225: ...lass name Specifies the name of the class whose QoS policies are to be displayed Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command 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 48...

Страница 226: ...e no parameters for this command Default Setting The port is not in the trust mode If the port is in trust mode the internal DSCP value is derived from the ingress packet Command Mode Policy map Class Configuration mode Command Usage Action serviced to a class so that if an IP packet arrives the queue is assigned per DSCP If a non IP packet arrives the queue is assigned per CoS VPT Example The fol...

Страница 227: ...onfiguration mode Command Usage This command is mutually exclusive with the trust Policy map Class Configuration command within the same policy map Policy maps that contain set or trust Policy map Class Configuration commands or that have ACL classifications cannot be attached to an egress interface by using the service policy Ethernet Port channel Interface Configuration mode command To return to...

Страница 228: ...iced dscp Global Configuration mode command Default Setting This command has no default configuration Command Mode Policy map Class Configuration mode Command Usage Policing uses a token bucket algorithm CIR represents the speed with which the token is removed from the bucket CBS represents the depth of the bucket Policy maps that contain set or trust Policy map Class Configuration commands or tha...

Страница 229: ...ax service policy input policy map name no service policy input Parameters n policy map name Specifies the name of the policy map to be applied to the input interface Default Setting This command has no default configuration Command Mode Interface Configuration Ethernet port Channel mode Command Usage Only one policy map per interface per direction is supported Example The following command attach...

Страница 230: ...by the qos map policed dscp Global Configuration mode command Default Setting No aggregate policer is define Command Mode Global Configuration mode Command Usage Define an aggregate policer if the policer is shared with multiple classes Policers in one port cannot be shared with other policers in another device traffic from two different ports can be aggregated for policing purposes An aggregate p...

Страница 231: ... Parameters n aggregate policer name Specifies the name of the aggregate policer to be displayed Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no 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 48...

Страница 232: ... aggregate policer Default Setting This command has no default configuration Command Mode Policy map Class Configuration mode Command Usage An aggregate policer can be applied to multiple classes in the same policy map An aggregate policer cannot be applied across multiple policy maps or interfaces To return to the Policy map Configuration mode use the exit command To return to the Privileged EXEC...

Страница 233: ...lues to be mapped to a specific queue Range 0 7 Default Setting Default cos to queue map Command Mode Global Configuration mode Command Usage This command can be used to distribute traffic into different queues where each queue is configured with different Weighted Round Robin WRR and Weighted Random Early Detection WRED parameters It is recommended to specifically map a single VPT to a queue rath...

Страница 234: ...mber of queues no priority queue out num of queues Parameters n number of queues Specifies the number of expedite queues Expedite queues have higher indexes Range 0 4 Default Setting All queues are expedite queues Command Mode Global Configuration mode Command Usage Configuring the number of expedite queues affects the Weighted Round Robin WRR weight ratio because fewer queues participate in the W...

Страница 235: ...terface Configuration Ethernet port channel mode Command Usage This command activates the shaper on a specified egress port or egress queue Use the command with the burst parameter for GE ports and without the burst parameter for FE ports To activate the shaper on an egress port enter the Interface Configuration mode Then run this command without the queue id parameter The CIR and the CBS will be ...

Страница 236: ...euing Displays the queue strategy WRR or EF the weight for WRR queues the CoS to queue map and the EF priority n policers Displays all the policers configured for this interface their setting and the number of policers currently unused n shapers Displays the shaper of the specified interface and the shaper for the queue on the specified interface Default Setting There is no default configuration f...

Страница 237: ... var mib type and object type 1 disable 0 0 0 TMibScalarC_SetValue var rlIfProfileName mismatching between var mib type and object type 2 disable 0 0 0 TMibScalarC_SetValue var rlIfProfileName mismatching between var mib type and object type 3 disable 0 0 0 TMibScalarC_SetValue var rlIfProfileName mismatching between var mib type and object type 4 disable 0 0 0 qid MinDP0 MaxDP0 ProbDP0 MinDP1 Max...

Страница 238: ... Specifies the queue number to which the threshold is assigned n threshold percentage 0 1 2 Specifies the queue threshold percentage value Each value is separated by a space Range 0 100 Default Setting 80 percent for all thresholds Command Mode Global Configuration mode Command Usage The packet refers to a certain threshold by the conformance level If threshold 0 is exceeded packets with the corre...

Страница 239: ...scp dp Parameters n dscp list Specifies up to 8 DSCP values separated by a space Range 0 63 n dp Enter the Drop Precedence value to which the DSCP value corresponds Possible values are 0 2 where 2 is the highest Drop Precedence Default Setting All the DSCPs are mapped to Drop Precedence 0 Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The...

Страница 240: ... down Specifies the DSCP value to mark down Range 0 63 Default Setting The default map is the Null map which means that each incoming DSCP value is mapped to the same DSCP value Command Mode Global Configuration mode Command Usage DSCP values 3 11 19 cannot be remapped to other values The mapping of the IP DSCP to priority queue is set on a per system basis If this mode is active a non IP packet i...

Страница 241: ...ameters n dscp list Specifies up to 8 DSCP values separated by a space Range 0 63 n queue id Specifies the queue number to which the DSCP values are mapped Default Setting The following table describes the default map Command Mode Global 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 DSCP Value Q...

Страница 242: ...o qos trust is 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 edge the switch port within the QoS domain can be configured to one of the trusted states because there is no need to classify the packets at every device in the domain A switch port on an inter QoS domai...

Страница 243: ...HP PC Blade Switch CLI Reference Guide www hp com 18 27 QoS Commands Example The following command configures the system to the DSCP trust state Console config qos trust dscp ...

Страница 244: ...lt cos Parameters n default cos Specifies the default CoS value of the port Range 0 7 Default Setting Default CoS value of a port is 0 Command Mode Interface Configuration Ethernet port channel mode Command Usage If the port is trusted the default CoS value of the port is used to assign a CoS value to all untagged packets entering the port Example The following command configures port e45 default ...

Страница 245: ...d to a port at the boundary of a Quality of Service QoS administrative domain If two QoS domains have different DSCP definitions use the DSCP to DSCP mutation map to match one set of DSCP values with the DSCP values of another domain Apply the DSCP to DSCP mutation map only to ingress and to DSCP trusted ports Applying this map to a port causes IP packets to be rewritten with newly mapped DSCP val...

Страница 246: ...scp mutation Parameters n in dscp Specifies up to 8 DSCP values separated by spaces Range 0 63 n out dscp Specifies up to 8 DSCP values separated by spaces Range 0 63 Default Setting The default map is the Null map which means that each incoming DSCP value is mapped to the same DSCP value Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The...

Страница 247: ...ange 1 30 n retries Specifies the retransmit value Range 1 10 n deadtime Length of time in minutes during which a RADIUS server is skipped over by transaction requests Range 0 2000 n key string Specifies the authentication and encryption key for all RADIUS communications between the device and the RADIUS server This key must match the RADIUS daemon key used on the RADIUS daemon To specify an empty...

Страница 248: ...time or key string values are specified global values apply to each RADIUS server host The address type of the source parameter must be the same as the ip address parameter 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 ...

Страница 249: ...ver key Parameters n key string Specifies the authentication and encryption key for all RADIUS communications between the device and the RADIUS server This key must match the RADIUS daemon key used on the RADIUS daemon Range 0 128 characters Default Setting The key string is an empty string Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example T...

Страница 250: ...m of this command Syntax radius server retransmit retries no radius server retransmit Parameters n retries Specifies the retransmit value 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 no user guidelines for this command Example The following command configures the number of times the software ...

Страница 251: ... of this command Syntax radius server source ip source no radius source ip source Parameters n source Specifies a valid source IP address Default Setting The source IP address is the IP address of the outgoing IP interface Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command configures the source IP address used for commun...

Страница 252: ...default configuration use the no form of this command Syntax radius server timeout timeout no radius server timeout Parameters n timeout Specifies the timeout value in seconds Range 1 30 Default Setting The timeout value is 3 seconds 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 ...

Страница 253: ...the default configuration use the no form of this command Syntax radius server deadtime deadtime no radius server deadtime Parameters n deadtime Length of time in minutes during which a RADIUS server is skipped over by transaction requests Range 0 2000 Default Setting The deadtime setting is 0 Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Exampl...

Страница 254: ...etting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays RADIUS server settings Console show radius servers IP address Authin CLI TimeOut Retran in CLI DeadTime Source in CLI Prio in CLI Usage 172 16 1 1 1645 Global Global Global 1 All 172 16 1 2 1645 11 8 Global Global 2 Al...

Страница 255: ...nnel number Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays RMON Ethernet statistics for Ethernet port e45 Console show rmon statistics ethernet e45 Port e45 Octets 878128 Packets 978 Broadcast 7 Multicast 1 CRC Align Errors 0 Collisions 0 Undersize Pkts 0 Oversi...

Страница 256: ... octets and otherwise well formed Oversize Pkts The total number of packets received longer than 1518 octets excluding framing bits but including FCS octets and otherwise well formed Fragments The total number of packets received less than 64 octets in length excluding framing bits but including FCS octets and either a bad Frame Check Sequence FCS with an integral number of octets FCS Error or a b...

Страница 257: ...bad packets received that are between 512 and 1023 octets in length inclusive excluding framing bits but including FCS octets 1024 to 1518 Octets The 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 Field Description ...

Страница 258: ...number Number of buckets specified for the RMON collection history group of statistics If unspecified defaults to 50 Range 1 65535 n seconds Number of seconds in each polling cycle Range 1 3600 Default Setting RMON statistics group owner name is an empty string Number of buckets specified for the RMON collection history statistics group is 50 Number of seconds in each polling cycle is 1800 Command...

Страница 259: ...EXEC mode Command Usage There are no user guidelines for this command Example The following command displays all RMON history group statistics The following table describes significant fields shown in the example Console show rmon collection history Index Interface Interval Requested Samples Granted Samples Owner 1 e45 30 50 50 CLI 2 e46 1800 50 50 Manager Field Description Index An index that uni...

Страница 260: ...seconds Range 1 4294967295 Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Examples The following command displays RMON Ethernet history statistics for index 1 Console show rmon history 1 throughput Sample Set 1 Owner CLI Interface e45 Interval 1800 Requested samples 50 Granted samples 50 Maximum tabl...

Страница 261: ...erval that were directed to the broadcast address Multicast The number of good packets received during this sampling interval that were directed to a multicast address This number does not include packets addressed to the broadcast address Util The best estimate of the mean physical layer network utilization on this interface during this sampling interval in hundredths of a percent CRC Align The n...

Страница 262: ...and noise hits Jabbers The number of packets received during this sampling interval that were longer than 1518 octets excluding framing bits but including FCS octets and had either a bad Frame Check Sequence FCS with an integral number of octets FCS Error or a bad FCS with a non integral number of octets Alignment Error Dropped The total number of events in which packets were dropped by the probe ...

Страница 263: ... variable and calculating the value to be compared against the thresholds Possible values are absolute and delta n If the method is absolute the value of the selected variable is compared directly with the thresholds at the end of the sampling interval If the method is delta the selected variable value of the last sample is subtracted from the current value and the difference is compared with the ...

Страница 264: ...nfigures the following alarm conditions n Alarm index 1000 n Variable identifier HP n Sample interval 360000 seconds n Rising threshold 1000000 n Falling threshold 1000000 n Rising threshold event index 10 n Falling threshold event index 20 Console config rmon alarm 1000 HP 360000 1000000 1000000 10 20 ...

Страница 265: ...iguration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the alarms table The following table describes significant fields shown in the example Console show rmon alarm table Index OID Owner 1 1 3 6 1 2 1 2 2 1 10 1 CLI 2 1 3 6 1 2 1 2 2 1 10 1 Manager 3 1 3 6 1 2 1 2 2 1 10 9 CLI Field Description Index An index that u...

Страница 266: ...on Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays RMON 1 alarms The following table describes the significant fields shown in the example Console show rmon alarm 1 Alarm 1 OID 1 3 6 1 2 1 2 2 1 10 1 Last sample Value 878128 Interval 30 Sample Type delta Startup Alarm rising Rising Threshold 8700000 Falling Threshold 78...

Страница 267: ...holds Startup Alarm The alarm that may be sent when this entry is first set If the first sample is greater than or equal to the rising threshold and startup alarm is equal to rising or rising and falling then a single rising alarm is generated If the first sample is less than or equal to the falling threshold and startup alarm is equal falling or rising and falling then a single falling alarm is g...

Страница 268: ...NMP trap is sent to the SNMP community specified by this octet string Range 0 127 characters n description text Specifies a comment describing this event Range 0 127 characters n name Specifies the name of the person who configured this event If unspecified the name is an empty string Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage If ...

Страница 269: ... Owner Last Time Sent 1 Errors Log CLI Jan 18 2005 23 58 17 2 High Broadcast Log Trap device Manager Jan 18 2005 23 59 48 Field Description Index An index that uniquely identifies the event Description A comment describing this event Type The type of notification that the device generates about this event Can have the following values none log trap log trap In the case of log an entry is made in t...

Страница 270: ...or this command Example The following command displays the RMON log table The following table describes the significant fields shown in the display Console show rmon log Maximum table size 500 Event Description Time 1 Errors Jan 18 2005 23 48 19 1 Errors Jan 18 2005 23 58 17 Console show rmon log 1 Maximum table size 500 800 after reset Event Description Time 1 Errors Jan 18 2005 23 48 19 1 Errors...

Страница 271: ...ries no rmon table size history log Parameters n history entries Maximum number of history table entries Range 20 270 n log entries Maximum number of log table entries Range 20 100 Default Setting History table size is 270 Log table size is 200 Command Mode Global Configuration mode Command Usage The configured table size takes effect after the device is rebooted Example The following command conf...

Страница 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...

Страница 273: ...ess n su Indicates SNMP administrator access n ip address Specifies the IP address of the management station n group name Specifies the name of a previously defined group A group defines the objects available to the community Range 1 30 characters n view name Specifies the name of a previously defined view The view defines the objects available to the community Range 1 30 characters Default Settin...

Страница 274: ...lso be used to restrict the access rights of a community string When it is specified An internal security name is generated The internal security name for SNMPv1 and SNMPv2 security models is mapped to the group name Example 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...

Страница 275: ...ch as 1 3 6 2 4 or a word such as system Replace a single sub identifier with the asterisk wildcard to specify a subtree family for example 1 3 4 n included Indicates that the view type is included n excluded Indicates that the view type is excluded Default Setting No view entry exists Command Mode Global Configuration mode Command Usage This command can be entered multiple times for the same view...

Страница 276: ...priv Indicates authentication of a packet with encryption Applicable only to the SNMP Version 3 security model n readview Specifies a string that is the name of the view that enables only viewing the contents of the agent If unspecified all objects except for the community table and SNMPv3 user and access tables are available n writeview Specifies a string that is the name of the view that enables...

Страница 277: ...tion of a DES key for privacy Range 1 32 characters n auth sha password Indicates the HMAC SHA 96 authentication level The user should enter a password for authentication and generation of a DES key for privacy Range 1 32 characters n auth md5 key md5 des keys Indicates the HMAC MD5 96 authentication level The user should enter a concatenated hexadecimal string of the MD5 key MSB and the privacy k...

Страница 278: ...snmp users Privileged EXEC mode command An SNMP EngineID has to be defined to add SNMP users to the device Changing or removing the SNMP EngineID value deletes SNMPv3 users from the device s database The remote engineid 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 gr...

Страница 279: ...or use a default string that is generated using the MAC address of the device If the SNMPv3 engine ID is deleted or the configuration file is erased SNMPv3 cannot be used By default SNMPv1 v2 are enabled on the device SNMPv3 is enabled only by defining the Local Engine ID If you want to specify your own ID you do not have to specify the entire 32 character engine ID if it contains trailing zeros S...

Страница 280: ...oes not display the SNMP engine ID configuration To see the SNMP engine ID configuration enter the show snmp engineid Global 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 ...

Страница 281: ...ps To disable SNMP traps use the no form of the command Syntax snmp server enable traps no snmp server enable traps Parameters There are no parameters for this command Default Setting SNMP 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 ...

Страница 282: ...xt string consisting of numbers such as 1 3 6 2 4 or a word such as system Replace a single sub identifier with the asterisk wildcard to specify a subtree family for example 1 3 4 n included Indicates that the filter type is included n excluded Indicates that the filter type is excluded Default Setting No filter entry exists Command Mode Global Configuration mode Command Usage This command can be ...

Страница 283: ...this host Not applicable to SNMPv1 n 1 Indicates that SNMPv1 traps will be used n 2 Indicates that SNMPv2 traps will be used n port Specifies the UDP port of the host to use If unspecified the default UDP port number is 162 Range 1 65535 n filtername Specifies a string that defines the filter for this host If unspecified nothing is filtered Range 1 30 characters n seconds Specifies the number of s...

Страница 284: ...HP PC Blade Switch CLI Reference Guide 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 ...

Страница 285: ...uth Indicates authentication of a packet without encrypting it n priv Indicates authentication of a packet with encryption n port Specifies the UDP port of the host to use If unspecified the default UDP port number is 162 Range 1 65535 n filtername Specifies a string that defines the filter for this host If unspecified nothing is filtered Range 1 30 characters n seconds Specifies the number of sec...

Страница 286: ...d authentication traps use the no form of this command Syntax snmp server trap authentication no snmp server trap authentication Parameters There are no parameters for this command Default Setting SNMP failed authentication traps are enabled Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command enables SNMP failed authentic...

Страница 287: ... text no snmp server contact Parameters n text Specifies the string that describes system contact information Range 0 160 characters Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage Do not include spaces in the text string or place text that includes spaces inside quotation marks Example The following command configures the system conta...

Страница 288: ...er location text no snmp server location Parameters n text Specifies a string that describes system location information Range 0 160 characters Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage Do not include spaces in the text string or place text that includes spaces inside quotation marks Example The following command defines the devi...

Страница 289: ...able at least one pair of name and value followed by one or more fields Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage Although the CLI can set any required configuration there might be a situation where a SNMP user sets a MIB variable that does not have an equivalent command In order to generate configuration files that support those...

Страница 290: ...for this command Example The following command displays the SNMP communications status Console show snmp Community String Community Acce ss View Name IP Address public read only user view All private read write Default 172 16 1 1 private su DefaultSup er 172 17 1 1 Community string Group Name IP Address public user group all Traps are enabled Authentication trap is enabled Version 1 2 notification...

Страница 291: ...me Security Level UDP Port Filter Name To Sec Retries 192 122 173 42 Inform Bob Priv 162 15 3 System Contact Robert System Location Marketing Field Description Community string Community access string to permit access to the SNMP protocol Community access Type of access read only read write super access IP Address Management station IP address Version SNMP version for the sent trap 1 or 2 ...

Страница 292: ...nagement Protocol SNMP engine Syntax show snmp engineid Parameters There are no parameters for this command Default Setting This command has no default configuration 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 ...

Страница 293: ...viewname Specifies the name of the view Range 1 30 Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the configuration of views Console show snmp views Name OID Tree Type user view 1 3 6 1 2 1 1 Included user view 1 3 6 1 2 1 1 7 Excluded user view 1 3 6 1 2 ...

Страница 294: ...ant fields shown in the example Console show snmp groups Name Security Views Model Level Read Write Notify user group V3 priv Default managers group V3 priv Default Default managers group V3 priv Default Field Description Name Name of the group Security Model SNMP model in use v1 v2 or v3 Security Level Authentication of a packet with encryption Applicable only to the SNMP v3 security model Views ...

Страница 295: ...ltername Specifies the name of the filter Range 1 30 Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the configuration of filters Console show snmp filters Name OID Tree Type user filter 1 3 6 1 2 1 1 Included user filter 1 3 6 1 2 1 1 7 Excluded user filte...

Страница 296: ...Parameters n username Specifies the name of the user Range 1 30 Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the configuration of users Console show snmp users Name Group Name Auth Method Remote John user group md5 John user group md5 08009009020C0B099C0...

Страница 297: ...o parameters for this command Default Setting Spanning tree is enabled The MSTP RSTP conversion parameter is enabled which maps VLAN 1 to instance 1 and VLAN 2 to instance 2 This default provides interoperability with PVST PVST by treating each MSTP instance as a separate spanning tree using standard RSTP and STP BPDUs Command Modes Global Configuration mode Command Usage There are no user guideli...

Страница 298: ...panning Tree Protocol STP is enabled n rstp Indicates that the Rapid Spanning Tree Protocol RSTP is enabled n mstp Indicates that the Multiple Spanning Tree Protocol RSTP is enabled Default Setting STP is enabled Command Modes Global Configuration mode Command Usage In RSTP mode the device uses STP when the neighbor device uses STP In MSTP mode the device uses RSTP when the neighbor device uses RS...

Страница 299: ...configuration use the no form of this command Syntax spanning tree forward time seconds no spanning tree forward time Parameters n seconds Time in seconds Range 4 30 Default Setting The default forwarding time for the IEEE Spanning Tree Protocol STP is 15 seconds Command Modes Global Configuration mode Command Usage When configuring the forwarding time the following relationship should be kept 2 F...

Страница 300: ...ation use the no form of this command Syntax spanning tree hello time seconds no spanning tree hello time Parameters n seconds Time in seconds Range 1 10 Default Setting The default hello time for IEEE Spanning Tree Protocol STP is 2 seconds Command Modes Global Configuration mode Command Usage When configuring the hello time the following relationship should be kept Max Age 2 Hello Time 1 Example...

Страница 301: ...g tree max age seconds no spanning tree max age Parameters n seconds Time in seconds Range 6 40 Default Setting The default maximum age for IEEE Spanning Tree Protocol STP is 20 seconds Command Modes Global Configuration mode Command Usage When configuring the maximum age the following relationships should be kept 2 Forward Time 1 Max Age Max Age 2 Hello Time 1 Example The following command config...

Страница 302: ...fault configuration use the no form of this command Syntax spanning tree priority priority no spanning tree priority Parameters n priority Priority of the bridge Range 0 61440 in steps of 4096 Default Setting The default bridge priority for IEEE Spanning Tree Protocol STP is 32768 Command Modes Global Configuration mode Command Usage The bridge with the lowest priority is elected as the root bridg...

Страница 303: ...m of this command Syntax spanning tree disable no spanning tree disable Parameters There are no parameters for this command Default Setting Spanning tree is enabled on all ports Command Modes Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following command disables spanning tree on Ethernet port e42 Console config interfac...

Страница 304: ...lt path cost is determined by port speed and path cost method long or short as shown in the following table Command Modes Interface Configuration Ethernet port channel mode Command Usage The path cost method is configured using the spanning tree pathcost method Global Configuration mode command Example The following command configures the spanning tree cost on Ethernet port e42 to 35000 Interface ...

Страница 305: ...y priority no spanning tree port priority Parameters n priority The priority of the port Range 0 240 in multiples of 16 Default Setting The default port priority for IEEE Spanning Tree Protocol STP is 128 Command Modes Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following command configures the spanning priority on Ethe...

Страница 306: ...onds with no BPDUs received on the interface before putting the interface into PortFast mode Default Setting PortFast mode is disabled Command Modes Interface Configuration Ethernet port channel mode Command Usage This feature should be used only with interfaces connected to end stations Otherwise an accidental topology loop could cause a data packet loop and disrupt device and network operations ...

Страница 307: ...point shared no spanning tree link type Parameters n point to point Indicates that the port link type is point to point n shared Indicates that the port link type is shared Default Setting The device derives the port link type from the duplex mode A full duplex port is considered a point to point link and a half duplex port is considered a shared link Command Modes Interface Configuration Ethernet...

Страница 308: ...ethod long short no spanning tree pathcost method Parameters n long Specifies port path costs with a range of 1 200 000 000 n short Specifies port path costs with a range of 0 65 535 Default Setting Short path cost method Command Mode Global Configuration mode Command Usage This command applies to all spanning tree instances on the device The cost is set using the spanning tree cost command Exampl...

Страница 309: ...yntax spanning tree bpdu filtering flooding Parameters n filtering Filter BPDU packets when the spanning tree is disabled on an interface n flooding Flood BPDU packets when the spanning tree is disabled on an interface Default Setting The default setting is flooding Command Modes Global Configuration mode Command Usage There are no user guidelines for this command Example The following command def...

Страница 310: ...ce Syntax clear spanning tree detected protocols ethernet interface port channel port channel number Parameters n interface A valid Ethernet port n port channel number A valid port channel number Default Setting This command has no default configuration Command Modes Privileged EXEC mode Command Usage This feature should be used only when working in RSTP or MSTP mode Example The following command ...

Страница 311: ... spanning tree mst instance id priority Parameters n instance id ID of the spanning tree instance Range 1 16 n priority Device priority for the specified spanning tree instance Range 0 61440 in multiples of 4096 Default Setting The default bridge priority for IEEE Spanning Tree Protocol STP is 32768 Command Mode Global Configuration mode Command Usage The device with the lowest priority is selecte...

Страница 312: ...e the no form of this command Syntax spanning tree mst max hops hop count no spanning tree mst max hops Parameters n hop count Number of hops in an MST region before the BDPU is discarded Range 1 40 Default Setting The default number of hops is 20 Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command configures the maximum ...

Страница 313: ...ity no spanning tree mst instance id port priority Parameters n instance ID ID of the spanning tree instance Range 1 16 n priority The port priority Range 0 240 in multiples of 16 Default Setting The default port priority for IEEE Multiple Spanning Tree Protocol MSTP is 128 Command Modes Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command ...

Страница 314: ...d cost Parameters n instance ID ID of the spanning tree instance Range 1 16 n cost The port path cost Range 1 200 000 000 Default Setting Default path cost is determined by port speed and path cost method long or short as shown in the following table Command Modes Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following co...

Страница 315: ...t configuration Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage All devices in an MST region must have the same VLAN mapping configuration revision number and name Example The following command configures an MST region Console config spanning tree mst configuration console config mst ...

Страница 316: ...Range 1 4094 Default Setting VLANs are mapped to the common and internal spanning tree CIST instance instance 0 Command Modes MST Configuration mode Command Usage All VLANs that are not explicitly mapped to an MST instance are mapped to the common and internal spanning tree CIST instance instance 0 and cannot be unmapped from the CIST For two or more devices to be in the same MST region they must ...

Страница 317: ...of this command Syntax name string Parameters n string MST configuration name Case sensitive Range 1 32 characters Default Setting The default name is a bridge ID Command Mode MST 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 nam...

Страница 318: ...o form of this command Syntax revision value no revision Parameters n value Configuration revision number Range 0 65535 Default Setting The default configuration revision number is 0 Command 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...

Страница 319: ...n pending Indicates the pending region configuration Default Setting This command has no default configuration Command Mode MST Configuration mode Command Usage The pending MST region configuration takes effect only after exiting the MST configuration mode Example The following command displays a pending MST region configuration console config mst show pending Pending MST configuration Name Region...

Страница 320: ...uration changes Syntax exit Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode MST 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 ...

Страница 321: ...uration changes Syntax abort Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode MST Configuration 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 ...

Страница 322: ...Syntax spanning tree guard root no spanning tree guard root Parameters There are no parameters for this command Default Setting Root guard is disabled Command Mode Interface Configuration Ethernet port channel mode Command Usage Root guard can be enabled when the device operates in STP RSTP and MSTP When root guard is enabled the port changes to the alternate state if spanning tree calculations se...

Страница 323: ... of the spanning tree instance Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage The mstp rstp feature is enabled by default so the example below illustrates how the show spanning tree command output can be understood Use the following guidelines when interpreting these results n Ignore the instrumented output from MST 0 and 15 they are for i...

Страница 324: ...g the HP PC Blade Switch to any standards based Spanning Tree infrastructure this feature must be disabled and the switch must be reconfigured to interoperate using the appropriate IEEE Standardized Spanning Tree Protocol Example The following commands display spanning tree information Console show spanning tree active Spanning tree enabled mode MSTP Default port cost method short MSTP to RSTP con...

Страница 325: ...ed 128 45 4 Frw Root No P2p Inter e46 Enabled 128 46 4 Blk Altr No P2p Inter MST 2 Vlans Mapped 2 Root ID Priority 24776 Address 00 17 59 9f 9f 80 Path Cost 4 Root Port e43 Rem hops 19 Bridge ID Priority 61440 Address 00 15 60 a0 e9 b0 Interfaces Name State Prio Nbr Cost Sts Role PortFast Type e43 Enabled 128 43 4 Frw Root No P2p Inter e44 Enabled 128 44 4 Blk Altr No P2p Inter e45 Enabled 128 45 ...

Страница 326: ...p Inter e46 Enabled 128 46 4 Frw Desg No P2p Inter Console show spanning tree blockedports Spanning tree enabled mode MSTP Default port cost method short MSTP to RSTP conversion Enabled Gathering information MST 0 Vlans Mapped CST Root ID Priority 32768 Address 00 15 60 a0 e9 b0 This switch is root for CST and IST master Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Max hops 20 Name State P...

Страница 327: ...9f 9f 80 Path Cost 4 Root Port e43 Rem hops 19 Bridge ID Priority 61440 Address 00 15 60 a0 e9 b0 Interfaces Name State Prio Nbr Cost Sts Role PortFast Type e44 Enabled 128 44 4 Blk Altr No P2p Inter MST 15Vlans Mapped Root ID Priority 61440 Address 00 15 60 a0 e9 b0 This switch is the regional Root Interfaces Name State Prio Nbr Cost Sts Role PortFast Type Console show spanning tree detail active...

Страница 328: ...o configured no Designated bridge Priority 32768 Address 00 15 60 a0 e9 b0 Designated port id 128 43 Designated path cost 0 Guard root Disabled Number of transitions to forwarding state 1 BPDU sent 1634 received 1252 Port e44 enabled State Forwarding Role designated Port id 128 44 Port cost 4 Type P2p configured auto Internal Port Fast No configured no Designated bridge Priority 32768 Address 00 1...

Страница 329: ...sitions to forwarding state 1 BPDU sent 3808 received 3735 MST 1 Vlans Mapped 1 Root ID Priority 24676 Address 00 17 59 9f 9f 80 Path Cost 4 Root Port e45 Rem hops 19 Bridge ID Priority 61440 Address 00 15 60 a0 e9 b0 Number of topology changes 1 last change occurred 00 04 48 ago Times hold 1 topology change 35 notification 2 hello 2 max age 20 forward delay 15 Port e43 enabled State Forwarding Ro...

Страница 330: ... P2p configured auto Internal Port Fast No configured no Designated bridge Priority 24676 Address 00 17 59 9f 9f 80 Designated port id 128 45 Designated path cost 0 Guard root Disabled Number of transitions to forwarding state 1 BPDU sent 3836 received 3767 Port e46 enabled State blocking Role alternate Port id 128 46 Port cost 4 Type P2p configured auto Internal Port Fast No configured no Designa...

Страница 331: ...r of transitions to forwarding state 0 BPDU sent 1639 received 1257 Port e44 enabled State Blocking Role alternate Port id 128 44 Port cost 4 Type P2p configured auto Internal Port Fast No configured no Designated bridge Priority 24776 Address 00 17 59 9f 9f 80 Designated port id 128 8 Designated path cost 0 Guard root Disabled Number of transitions to forwarding state 0 BPDU sent 1573 received 11...

Страница 332: ...0 04 27 ago Times hold 1 topology change 35 notification 2 hello 2 max age 20 forward delay 15 Port e43 enabled State Forwarding Role designated Port id 128 43 Port cost 4 Type P2p configured auto Internal Port Fast No configured no Designated bridge Priority 61440 Address 00 15 60 a0 e9 b0 Designated port id 128 43 Designated path cost 0 Guard root Disabled Number of transitions to forwarding sta...

Страница 333: ...esignated port id 128 45 Designated path cost 0 Guard root Disabled Number of transitions to forwarding state 1 BPDU sent 3840 received 3771 Port e46 enabled State Forwarding Role alternate Port id 128 46 Port cost 4 Type P2p configured auto Internal Port Fast No configured no Designated bridge Priority 61440 Address 00 15 60 a0 e9 b0 Designated port id 128 46 Designated path cost 0 Guard root Dis...

Страница 334: ...s command the following is required n All switch ports set to port mode Access n Number of configured VLANs is less then 16 If there is a VLAN to MSTP mapping the software asks the user to confirm that the existing mapping will be deleted This command performs the following n Enable MSTP n Map each VLAN to MSTP instance n Enable spanning tree mst mstp rstp feature The commands that shown in the st...

Страница 335: ...on mode Command Usage This feature can only be enabled when the switch is configured for spanning tree mode mstp This is a non standard feature that maps an individual PVST instance e g Cisco PVST PVST or Rapid PVST PVST to an individual MSTP instance over a statically assigned VLAN Ingress BPDUs are handled by the internal MSTP instance for which the participating static VLAN switch port is assig...

Страница 336: ...A C or D were to fail link E and G would take over Network Considerations n You can deploy the HP PC Blade Switch into this scenario without making changes to the default configuration n For Cisco networks running PVST PVST links A B and C may use either 802 1q or ISL encapsulation n In this scenario 802 1q Virtual Bridged VLAN can be used on links D E F or G n You can achieve VLAN Load Balancing ...

Страница 337: ...form of this command Syntax ip ssh port port number no ip ssh port Parameters n port number Port number for use by the SSH server Range 1 65535 Default Setting The default port number is 22 SSH is disabled by default Command Mode Global 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 808...

Страница 338: ...e no parameters for this command Default Setting Device configuration from a SSH server is enabled SSH is disabled by default Command Mode Global Configuration mode Command Usage If encryption keys are not generated the SSH server is in standby until the keys are generated To generate SSH server keys use the crypto key generate dsa and crypto key generate rsa Global Configuration mode commands Exa...

Страница 339: ...enerated in pairs one public DSA key and one private DSA key If the device already has DSA keys a warning and prompt to replace the existing keys with new keys are displayed This command is not saved in the device configuration however the keys generated by this command are saved in the private configuration which is never displayed to the user or backed up on another device DSA keys are saved to ...

Страница 340: ...enerated in pairs one public RSA key and one private RSA key If the device already has RSA keys a warning and prompt to replace the existing keys with new keys are displayed This command is not saved in the device configuration however the keys generated by this command are saved in the private configuration which is never displayed to the user or backed up on another device RSA keys are saved to ...

Страница 341: ...ion use the no form of this command Syntax ip ssh pubkey auth no ip ssh pubkey auth Parameters There are no parameters for this command Default Setting Public Key authentication for incoming SSH sessions 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...

Страница 342: ...nd Example The following example shows how to enter the SSH Public Key chain Configuration 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 key key string rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl Al4kpqIw9GBRonZQZxjHKcqKL6rMlQ ZNXfZSkvHG QusIZ 76ILmFT34v7u7ChFAE Vu4...

Страница 343: ...Range 1 48 characters n rsa Indicates the RSA key pair n dsa Indicates the DSA key pair Default Setting No SSH public keys exist Command Mode SSH Public Key string Configuration mode Command Usage Follow this command with the key string SSH Public Key String Configuration mode command to specify the key Example The following commands enable manually configuring an SSH public key for SSH public key...

Страница 344: ... same format in the authorized_keys file used by OpenSSH Default Setting No keys exist Command Mode SSH Public Key string Configuration mode Command Usage Use the key string SSH Public Key string Configuration mode command to specify which SSH public key is to be interactively configured next To complete the command you must enter a row with no characters Use the key string row SSH Public Key stri...

Страница 345: ...NXfZSkvHG QusIZ 76ILmFT34v7u7ChFAE Vu4GRfpSwoQUvV35LqJJk67IOU zfwOl1g kTwml75QR9gHujS6KwGN2QWXgh3ub8gDjTSq muSn Wd05iDX2IExQWu08licglk02LYciz Z4TrEU 9FJxwPiVQOjc KBXuR0juNg5nFYsY 0ZCk0N W9a tnkm1shRE7Di71 w3fNiOA 6w9o44t6 AINEICBCCA4YcF6zMzaT1wefWwX6f Rmt5nhhqdAtN 4oJfce166DqVX1gWmN zNR4DYDvSzg0lDnwCAC8Qh Fingerprint a4 16 46 23 5a 8d 1d b5 37 59 eb 44 13 b9 33 e9 Console config crypto key pubkey ...

Страница 346: ...command Example The following command displays the SSH server configuration The following table describes significant fields shown in the example 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 Version Cipher Auth Code 172 16 0 1 John Brown 2 0 3 DES HMAC SHA1 Fi...

Страница 347: ...re are no parameters for this command Default Setting Logging is enabled Command Mode Global Configuration mode Command Usage The logging process controls the distribution of logging messages at various destinations such as the logging buffer logging file or syslog server Logging on and off at these destinations can be individually configured using the logging buffered logging file and logging Glo...

Страница 348: ...ies the severity level of logged messages sent to the syslog servers Possible values emergencies alerts critical errors warnings notifications informational and debugging n facility Specifies the facility that is indicated in the message Possible values local0 local1 local2 local3 local4 local5 local6 local7 n text Syslog server description Range 1 64 characters Default Setting The default port nu...

Страница 349: ... console Parameters n level Specifies the severity level of logged messages displayed on the console Possible values emergencies alerts critical errors warnings notifications informational and debugging Default Setting The default severity level is informational Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command limits l...

Страница 350: ...ecifies the severity level of messages logged in the buffer Possible values emergencies alerts critical errors warnings notifications informational and debugging Default Setting The default severity level is informational Command Mode Global Configuration mode Command Usage All the syslog messages are logged to the internal buffer This command limits the messages displayed to the user Example The ...

Страница 351: ...m of this command Syntax logging buffered size number no logging buffered size Parameters n number Specifies the maximum number of messages stored in the history table Range 20 400 Default Setting The default number of messages is 200 Command Mode Global Configuration mode Command Usage This command takes effect only after Reset Example The following command changes the number of syslog messages s...

Страница 352: ...ogging buffer Syntax clear logging Parameters There are no parameters for this command Default Setting This command has no default configuration Command 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 ...

Страница 353: ...g file Parameters n level Specifies the severity level of syslog messages sent to the logging file Possible values emergencies alerts critical errors warnings notifications informational and debugging Default Setting The default severity level is errors Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command limits syslog mes...

Страница 354: ...e logging file Syntax clear logging file Parameters There are no parameters for this command Default Setting This command has no default configuration 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 ...

Страница 355: ...gging login no aaa logging login Parameters n login Indicates logging messages related to successful login events unsuccessful login events and other login related events Default Setting Logging AAA login events is enabled Command Mode Global Configuration mode Command Usage Other types of AAA events are not subject to this command Example The following command enables logging messages related to ...

Страница 356: ...ile system logging delete rename no file system logging delete rename Parameters n copy Indicates logging messages related to file copy operations n delete rename Indicates logging messages related to file deletion and renaming operations Default Setting Logging file system events is enabled Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example ...

Страница 357: ...command Syntax management logging deny no management logging deny Parameters n deny Indicates logging messages related to deny actions of management ACLs Default Setting Logging management ACL events is enabled Command Mode Global Configuration mode Command Usage Other types of management ACL events are not subject to this command Example The following command enables logging messages related to d...

Страница 358: ...ogging and the syslog messages stored in the internal buffer console show logging Logging is enabled Console Logging Level info Console Messages 0 Dropped Buffer Logging Level info Buffer Messages 65 Logged 65 Displayed 200 Max File Logging Level error File Messages 0 Logged 68 Dropped 4 messages were not logged Application filtering control Application Event Status AAA Login Enabled File system C...

Страница 359: ... 20 03 40 LINK W Down e34 19 Nov 2004 20 03 40 LINK W Down e33 19 Nov 2004 20 03 40 LINK I Up Vlan 1 19 Nov 2004 20 03 40 LINK W Down e32 19 Nov 2004 20 03 40 LINK W Down e31 19 Nov 2004 20 03 40 LINK W Down e30 19 Nov 2004 20 03 40 LINK W Down e29 19 Nov 2004 20 03 40 LINK W Down e28 19 Nov 2004 20 03 40 LINK W Down e27 19 Nov 2004 20 03 40 LINK W Down e26 19 Nov 2004 20 03 40 LINK W Down e25 19 ...

Страница 360: ... 19 Nov 2004 20 03 33 SNMP I CDBITEMSNUM Number of startup configuration items loaded 4172 19 Nov 2004 20 03 33 SNMP I CDBITEMSNUM Number of running configuration items loaded 4172 19 Nov 2004 20 03 33 Box I SFP PRESENT CHNG SFP 4 status is present 19 Nov 2004 20 03 33 Box I SFP PRESENT CHNG SFP 2 status is present 19 Nov 2004 20 03 33 Box I SFP PRESENT CHNG SFP 4 status is present 19 Nov 2004 20 ...

Страница 361: ... are no user guidelines for this command Example The following command displays the logging state and the syslog messages stored in the logging file The default File Logging level is error only console show logging file Logging is enabled Console Logging Level info Console Messages 0 Dropped Buffer Logging Level info Buffer Messages 77 Logged 77 Displayed 200 Max File Logging Level error File Mess...

Страница 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...

Страница 363: ...472 bytes n packet_count Number of packets to send If 0 is entered it pings until stopped Range 0 65535 packets n time_out Timeout in milliseconds to wait for each reply Range 50 65535 milliseconds Default Setting Default buffer size is 56 bytes Default number of packets to send is 4 Default timeout value is 2000 milliseconds Command Mode User EXEC mode Command Usage Press Esc to stop pinging Foll...

Страница 364: ...8 ms 64 bytes from 10 1 1 1 icmp_seq 3 time 7 ms 10 1 1 1 PING Statistics 4 packets transmitted 4 packets received 0 packet loss round trip ms min avg max 7 8 11 Console ping yahoo com Pinging yahoo com 66 218 71 198 with 64 bytes of data 64 bytes from 10 1 1 1 icmp_seq 0 time 11 ms 64 bytes from 10 1 1 1 icmp_seq 1 time 8 ms 64 bytes from 10 1 1 1 icmp_seq 2 time 8 ms 64 bytes from 10 1 1 1 icmp_...

Страница 365: ...e 0 255 Default Setting The default number of bytes in a packet is 40 The default maximum TTL value is 30 The default number of probes to be sent at each TTL level is 3 The default timeout interval in seconds is 3 Command Mode User EXEC mode Command Usage The traceroute command takes advantage of the error messages generated by the devices when a datagram exceeds its time to live TTL value The tra...

Страница 366: ... Esc to abort 1 192 168 2 5 192 168 2 5 20 ms 20 ms 20 ms Trace complete Console Field Description 1 Indicates the sequence number of the device in the path to the host i2 gateway stanford edu Host name of this device 192 68 191 83 IP address of this device 1 msec 1 msec 1 msec Round trip time for each probe sent Field Description The probe timed out Unknown packet type A Administratively unreacha...

Страница 367: ... keywords listed in the Keywords table in the Command Usage Default Setting The default port is the Telnet port 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 functions to operating system specific functions To enter a Telnet sequence press the escape sequence keys Ct...

Страница 368: ... escape help B sends telnet BREAK C sends telnet IP H sends telnet EC O sends telnet AO T sends telnet AYT U sends telnet EL Ctrl shift 6 x suspends the session return to system command prompt Options Description echo Enables local echo quiet Prevents on screen display of all messages from the software source interface Specifies the source interface stream Turns on stream processing which enables ...

Страница 369: ...0 gopher Gopher 70 hostname NIC hostname server 101 ident Ident Protocol 1 13 irc Internet Relay Chat 194 klogin Kerberos login 543 kshell Kerberos shell 544 login Login 513 lpd Printer service 515 nntp Network News Transport Protocol 1 19 pim auto rp PIM Auto RP 496 pop2 Post Office Protocol v2 109 pop3 Post Office Protocol v3 1 10 smtp Simple Mail Transport Protocol 25 sunrpc Sun Remote Procedur...

Страница 370: ...et session Syntax resume connection Parameters n connection The connection number Range 1 4 connections Default Setting The default connection number is that of the most recent connection 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 ...

Страница 371: ...efault configuration Command Mode Privileged EXEC mode Command Usage Caution should be exercised when resetting the device to ensure that no other activity is being performed In particular the user should verify that no configuration 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...

Страница 372: ...ting host name use the no form of the command Syntax hostname name no hostname Parameters n name The host name of the device Range 1 158 characters Default Setting This command has no default 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 conf...

Страница 373: ... Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays information about the active users Console show users Username Protocol Location Bob Serial John SSH 172 16 0 1 Robert HTTP 172 16 0 8 Betty Telnet 172 16 1 7 ...

Страница 374: ...e There are no user guidelines for this command Example The following command lists open Telnet sessions The following table describes significant fields shown in the example 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 Field Description Connection Connection number Host Remote host to which the device is connected through a ...

Страница 375: ...are no parameters for this command Default Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the system information Console show system Unit Type 1 HP 6300 Unit Main Power Supply Redundant Power Supply 1 OPERATI ONAL NOT OPERATIONAL Fan1 Fan2 Fan3 Fan4 Fan5 OK OK OK OK OK ...

Страница 376: ...t Setting This command has no default configuration Command Mode User EXEC mode Command Usage There are no user guidelines for this command Example The following command displays system version information only for demonstration purposes Console show version SW version 1 0 0 0 date 23 Jul 2005 time 17 34 19 Boot version 1 0 0 0 date 11 Jan 2005 time 11 48 21 HW version 1 0 0 SW version Boot versio...

Страница 377: ... configuration use the no form of this command Syntax service cpu utilization no service cpu utilization Parameters There are no parameters for this command Default Setting Disabled Command Mode Global Configuration 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 c...

Страница 378: ...ers There are no parameters for this command Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage Use the service cpu utilization Global Configuration mode 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 ...

Страница 379: ...he device and the daemon n port number Specifies a server port number Range 0 65535 n timeout Specifies the timeout value in seconds Range 1 30 n key string Specifies the authentication and encryption key for all TACACS communications between the device and the TACACS server This key must match the encryption used on the TACACS daemon To specify an empty string enter Range 0 128 characters n sourc...

Страница 380: ...Switch CLI Reference Guide 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 ...

Страница 381: ...tax tacacs server key key string no tacacs server key Parameters n key string Specifies the authentication and encryption key for all TACACS communications between the device and the TACACS server This key must match the encryption used on the TACACS daemon Range 0 128 characters Default Setting Empty string Command Mode Global Configuration mode Command Usage There are no user guidelines for this...

Страница 382: ...y To return to the default configuration use the no form of this command Syntax tacacs server timeout timeout no tacacs server timeout Parameters n timeout Specifies the timeout value in seconds Range 1 30 Default Setting 5 seconds 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 co...

Страница 383: ...t configuration use the no form of this command Syntax tacacs server source ip source no tacacs server source ip source Parameters n source Specifies the source IP address Default Setting The source IP address is the address of the outgoing IP interface Command Mode Global Configuration mode Command Usage There are no user guidelines for this command Example The following command specifies the sou...

Страница 384: ...CACS server Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays configuration and statistical information about a TACACS server Console show tacacs Device Configuration IP address Status Port Single Connection TimeOut Source IP Priority 172 16 1 1 Connected 49 ...

Страница 385: ...nd has no default configuration Command Mode All configuration modes Command Usage There are no user guidelines for this command Example The following command executes an EXEC level command show vlan from the Global Configuration mode Console Config do show vlan Vlan Name Ports Type Authorization 1 1 e 1 3 5 7 9 11 13 15 17 19 permanent Required 21 23 25 27 29 31 33 35 37 39 41 42 45 46 2 2 e 2 4 ...

Страница 386: ...mode Syntax enable privilege level Parameters n privilege level Privilege level to enter the system Range 1 15 Default Setting The default privilege level is 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 ...

Страница 387: ...User EXEC mode Syntax disable privilege level Parameters n privilege level Privilege level to enter the system Range 1 15 Default Setting The default privilege level 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 ...

Страница 388: ...yntax login Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode User EXEC 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 ...

Страница 389: ...lobal Configuration mode Syntax configure Parameters There are no parameters for this command Default Setting This command has no default 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 ...

Страница 390: ...tax exit Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode All configuration modes Command Usage 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...

Страница 391: ...terminal session by logging off the device Syntax exit Parameters There are no parameters for this command Default Setting This command has no default configuration Command 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 ...

Страница 392: ...Privileged EXEC mode Syntax end Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode All 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 ...

Страница 393: ...point in a command by entering a question mark If nothing matches the currently entered incomplete command the help list is empty This indicates that for a query at this point there is no command matching the current input If the request is within a command enter backspace and erase the entered characters to a point where the request results in a display Help is provided when 1 There is a valid co...

Страница 394: ...mmand Default Setting Dumping is disabled Command Mode User EXEC mode Command Usage By default a More prompt is displayed when the output contains more lines than can be displayed on the screen Pressing the Enter key displays the next line pressing the Spacebar displays the next screen of output The data dump command enables dumping all output immediately after entering the show command This comma...

Страница 395: ...ommand Usage The buffer includes executed and unexecuted commands Commands are listed from the first to the most recent command The buffer remains unchanged when entering into and returning from configuration modes Example The following command displays all the commands entered while in the current Privileged EXEC mode Console show history SW version 3 131 date 23 Jul 2004 time 17 34 19 HW version...

Страница 396: ... Syntax show privilege Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode Privileged and User EXEC 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 ...

Страница 397: ...on mode Syntax vlan database Parameters There are no parameters for this command Default Setting Two VLANs are assigned in the VLAN database n VLAN 1 n 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 ...

Страница 398: ...arameters n vlan range Specifies a list of VLAN IDs to be added Separate nonconsecutive VLAN IDs with a comma and no spaces a hyphen designates a range of IDs Default Setting This command has no default 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...

Страница 399: ... vlan id Specifies an existing VLAN ID Default Setting Two interfaces are configured and set to DHCP n one on VLAN 1 n one on VLAN 2 Command Mode Global Configuration mode Command Usage There 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 ...

Страница 400: ...en designates a range of IDs n all All existing static VLANs Default Setting This command has no default configuration Command Mode Global Configuration mode Command Usage Commands under the interface range context are executed independently on each interface in the range If the command returns an error on one of the interfaces an error message is displayed and execution of the command continues o...

Страница 401: ... Parameters n string Unique name to be associated with this VLAN Range 1 32 characters Default Setting No name is defined Command Mode Interface Configuration VLAN mode Cannot be configured for a range 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...

Страница 402: ...ess mode All ports do not all belong to the default VLAN By default odd ports 1 41 42 45 and 46 are all in VLAN 1 The remaining ports are in VLAN 2 Command Mode Interface Configuration Ethernet port channel mode Command Usage When MSTP to RSTP is enabled enabled by default attempting to put any switch port into trunk or general mode will cause the following error message Port Number extension sepa...

Страница 403: ...ult Setting Odd ports 1 41 42 45 and 46 are all in VLAN 1 The remaining ports are in VLAN 2 Command Mode Interface configuration Ethernet port channel mode Command Usage The command automatically removes the port from the previous VLAN and adds it to the new VLAN When MSTP to RSTP is enabled enabled by default attempting to put any switch port into trunk or general mode will cause the following er...

Страница 404: ...Ds with a comma and no spaces A hyphen designates a range of IDs Default Setting This command has no default configuration Command Mode Interface Configuration Ethernet port channel mode Command Usage When MSTP to RSTP is enabled enabled by default attempting to put any switch port into trunk or general mode will cause the following error message Port Number extension separated bridge exist This f...

Страница 405: ...ion Ethernet port channel mode Command Usage The command adds the port as a member in the VLAN If the port is already a member in the VLAN not as a native it should be first removed from the VLAN When MSTP to RSTP is enabled enabled by default attempting to put any switch port into trunk or general mode will cause the following error message Port Number extension separated bridge exist This featur...

Страница 406: ... the VLANs n untagged Indicates that the port transmits untagged packets for the VLANs Default Setting If the port is added to a VLAN without specifying tagged or untagged the default setting is tagged Command Mode Interface Configuration Ethernet port channel mode Command Usage This command enables changing the egress rule e g from tagged to untagged without first removing the VLAN from the list ...

Страница 407: ... Otherwise PVID 4095 Command Mode Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command When MSTP to RSTP is enabled enabled by default attempting to put any switch port into trunk or general mode will cause the following error message Port Number extension separated bridge exist This feature must be disabled before the switch can support th...

Страница 408: ...on use the no form of this command Syntax switchport general ingress filtering disable no switchport general ingress filtering disable Parameters There are no parameters for this command Default Setting Ingress filtering is enabled Command Mode Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following commands disable port ...

Страница 409: ...ort general acceptable frame type tagged only no switchport general acceptable frame type tagged only Parameters There are no parameters for this command Default Setting All frame types are accepted at ingress Command Mode Interface Configuration Ethernet port channel mode Command Usage There are no user guidelines for this command Example The following commands configure Ethernet port e42 to disc...

Страница 410: ... VLAN IDs with a comma and no spaces A hyphen designates a range of IDs n remove vlan list Specifies the list of VLAN IDs to be removed Separate nonconsecutive VLAN IDs with a comma and no spaces A hyphen designates a range of IDs Default Setting All VLANs are allowed Command Mode Interface Configuration Ethernet port channel mode Command Usage This command can be used to prevent GVRP from automat...

Страница 411: ...AN is required when an IP interface is configured on an Ethernet port or port channel n This command enables the user to configure the internal usage VLAN of a port If an internal usage VLAN is not configured and the user wants to configure an IP interface an unused VLAN is selected by the software n If the software selected a VLAN for internal use and the user wants to use that VLAN as a static o...

Страница 412: ...d has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays all VLAN information Console show vlan VLAN Name Ports Type Authorization 1 default e1 e2 e1 e4 other Required 10 VLAN0010 e3 e4 dynamic Required 11 VLAN0011 e1 e2 static Required 20 VLAN0020 e3 e4 static Required 21 VLAN0021 static Req...

Страница 413: ...ternal usage Parameters There are no parameters for this command Default Setting This command has no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays VLANs used internally by the device Console show vlan internal usage VLAN Usage IP Address Reserved 1007 Eth e21 Active No 1008 Eth e22 Inactive...

Страница 414: ...as no default configuration Command Mode Privileged EXEC mode Command Usage There are no user guidelines for this command Example The following command displays the switchport configuration for Ethernet port e1 Console show interface switchport ethernet e1 Port e1 VLAN Membership mode General Operating parameters PVID 1 default Ingress Filtering Enabled Acceptable Frame Type All GVRP status Enable...

Страница 415: ...ed 11 VLAN011 tagged 19 IPv6 VLAN untagged 72 VLAN0072 untagged Forbidden VLANS VLAN Name 73 out Console show interface switchport ethernet e2 Port e2 VLAN Membership mode General Operating parameters PVID 4095 discard vlan Ingress Filtering Enabled Acceptable Frame Type All Port e1 is member in VLAN Name Egress Rule Type 91 IP Telephony tagged Static Static configuration PVID 8 Ingress Filtering ...

Страница 416: ... Commands Port e2 is statically configured to VLAN Name Egress rule 8 VLAN0072 untagged 91 IP Telephony tagged Forbidden VLANS VLAN Name 73 out Port e19 Static configuration PVID 2922 Ingress Filtering Enabled Acceptable Frame Type Untagged GVRP status Disabled ...

Страница 417: ...e this function use the no form of this command Syntax ip http server no ip http server Parameters There are no parameters for this command Default Setting HTTP 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 ser...

Страница 418: ...the no form of this command Syntax ip http port port number no ip http port Parameters n 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 Command Usage Specifying 0 as the port number effectively disables HTTP access to the device Example The following command configures the http port number to 100 Cons...

Страница 419: ...on use the no form of this command Syntax ip https server no ip https server Parameters There are no parameters for this command Default Setting HTTPS server disabled Command Mode Global Configuration mode Command Usage 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 b...

Страница 420: ...the no form of this command Syntax ip https port port number no ip https port Parameters n 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 Configuration mode Command Usage Specifying 0 as the port number effectively disables HTTPS access to the device Example The following command configures the https port numbe...

Страница 421: ...pecifies the state or province name Range 1 64 n country Specifies the country name Range 2 2 n days Specifies number of days certification is valid Range 30 3650 Default Setting The Certificate and SSL s RSA key pairs do not exist If no certificate number is specified the default certificate number is 1 If no RSA key length is specified the default length is 1024 If no URL or IP address is specif...

Страница 422: ...29 6 www hp com CLI Reference Guide Web Server Commands Example The following command regenerates an HTTPS certificate Console config Console config crypto certificate 1 generate key generate ...

Страница 423: ...es the location or city name Range 1 64 n state Specifies the state or province name Range 1 64 n country Specifies the country name Range 1 2 Default Setting There is no default configuration for this command Command Mode Privileged EXEC mode Command Usage Use this command to export a certificate request to a Certification Authority The certificate request is generated in Base64 encoded X 509 for...

Страница 424: ...QQLEwNkbGQxCzAJBgNVBAMTAmxkMR Aw DgKoZIhvcNAQkBFgFsMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8ecwQ HdML0831i0fh F0MV Kib6Sz5p 3nUUenbfHp igVPmFM 1nbqTDekb2ymCu6K aKvEbVLF9F2LmM7VPjDBb9bb4jnxkvwW wzDLvW2rsy5NPmH1QVl 8Ubx3GyCm oW93BSOFwxwEsP58kf sPYPy 8wwmoNtDwIDAQABoB8wHQYJKoZIhvcNAQkH MRDjEyMwgICCAgICAICAgIMA0GCSqGSIb3DQEBBAUAA4GBAGb8UgIx7rB05m 2 m5ZZPhIwl8ARSPXwhVdJexFjbnmvcacqjPG8pIiRV6LkxryGF2bVU3...

Страница 425: ...l Configuration mode Command Usage Use this command to enter an external certificate signed by Certification Authority to the device To end the session enter an empty line The imported certificate must be based on a certificate request created by the crypto certificate request Privileged EXEC mode command If the public key found in the certificate does not match the device s SSL RSA key the comman...

Страница 426: ...n8VPsTm1xyJ1t11a1GaqchfMqqe0kmfhcoHSWr yf1FpD0MWOTgDAwIDAQABo4IBojCCAZ4wEwYJKwYBBAGCNxQCBAYeBABDAEEw CwR0PBAQDAgFGMA8GA1UdEwEB wQFMAMBAf8wHQYDVR0OBBYEFAf4MT9BRD47 ZvKBAEL9Ggp 6MIIBNgYDVR0fBIIBLTCCASkwgdKggc ggcyGgclsZGFwOi8v L0VByb3h5JTIwU29mdHdhcmUlMjBSb290JTIwQ2VydGlmaWVyLENOPXNlcnZl END CERTIFICATE Certificate imported successfully Issued to router gm com Issued by www verisign com Valid from 8...

Страница 427: ... no form of this command Syntax ip https certificate number no ip https certificate Parameters n number Specifies the certificate number Range 1 2 Default Setting Certificate number 1 Command Mode Global Configuration mode Command Usage The crypto certificate generate command should be used to generate HTTPS certificates Example The following command configures the active certificate for HTTPS Con...

Страница 428: ...command Example The following command displays the certificate Console show crypto certificate mycertificate 1 BEGIN CERTIFICATE dHmUgUm9vdCBDZXJ0aWZpZXIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEAp4HS nnH xQSGA2ffkRBwU2XIxb7n8VPsTm1xyJ1t11a1GaqchfMqqe0kmfhcoHSWr yf1FpD0MWOTgDAwIDAQABo4IBojCCAZ4wEwYJKwYBBAGCNxQCBAYeBABDAEEw CwR0PBAQDAgFGMA8GA1UdEwEB wQFMAMBAf8wHQYDVR0OBBYEFAf4MT9BRD47 ZvKBAEL9Ggp 6MIIBNgYDVR...

Страница 429: ...er configuration Syntax show ip http Parameters There are no parameters for this command Default Setting This command has no 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 ...

Страница 430: ...nd Usage There are no 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 verisign com Valid from 8 9 2004 to 8 9 2005 Subject CN router gm com 0 General Motors C US Finger print DC789788 DC88A988 127897BC BB789788 Certificate 2 is inactive Issued by self sign...

Страница 431: ...back pressure 8 10 boot system 7 5 bridge commands 5 1 to 5 9 5 14 to 5 19 C class 18 8 class map 18 3 clear counters 8 11 clear host 11 13 clearing logging 24 6 clock set 6 1 show 6 16 source 6 2 summer time 6 4 timezone 6 3 clock commands 6 1 to 6 18 defined 1 7 command line interface CLI 1 1 command line processing 1 6 commands abbrevation 1 3 completion 1 3 entering 1 3 groups 1 7 help 1 3 his...

Страница 432: ...on 1 5 groups commands 1 7 GVRP commands 9 1 to 9 9 defined 1 7 H help 1 3 27 9 history 1 4 13 5 27 11 history size 13 6 host 11 12 clear 11 13 show 11 15 hostname 25 10 I IGMP snooping commands 10 1 to 10 9 defined 1 7 image file commands 7 1 to 7 10 defined 1 7 instance MST 22 20 interface configuration 1 5 interface value 8 12 interfaces active 8 12 advertise 8 13 configuration 8 14 counters 8 ...

Страница 433: ...to 18 29 defined 1 7 R RADIUS commands 19 1 to 19 8 defined 1 8 reload 25 9 resume 25 8 revision MST 22 22 RMON commands 20 1 to 20 17 defined 1 8 router configuration 1 5 running configuration 7 6 S security port 5 10 port max 5 12 port mode 5 11 port routed secure address 5 13 show ports 5 20 show ports addresses 5 21 service acl 4 11 service cpu utilization 25 15 service policy 18 13 sessions s...

Страница 434: ...17 to 6 18 spanning tree information 22 28 spanning tree commands 22 1 to 22 40 defined 1 8 speed 8 5 13 2 SSH commands 23 1 to 23 10 defined 1 8 startup configuration 7 8 storing the running configuration 1 5 storm commands 8 20 to 8 23 switch IP address 1 1 switchport commands 28 6 to 28 14 28 18 syslog commands 24 1 to 24 14 defined 1 8 system management commands 25 1 to 25 16 defined 1 8 syste...

Отзывы: