HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm
HP 6125G Manual
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125G manual content summary:
- HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 1
HP 6125 Blade Switch Series Layer 3 - IP Services Command Reference Part number: 5998-3167 Software version: Release 2103 Document version: 6W100-20120907 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 2
, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 3
display ip interface 17 display ip interface brief 19 ip address 21 ip address unnumbered 22 DHCP relay agent configuration commands 23 dhcp dscp 23 dhcp enable 23 dhcp relay address-check enable 24 dhcp relay check mac-address 24 dhcp relay client-detect enable 25 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 4
dhcp-snooping trust 64 reset dhcp-snooping 64 reset dhcp-snooping packet statistics 65 BOOTP client configuration commands 66 display bootp client 66 ip address bootp-alloc 67 IPv4 DNS configuration commands 68 display dns domain 68 display dns host 69 display dns server 70 display ip host - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 5
93 reset udp statistics 93 tcp path-mtu-discovery 94 tcp timer fin-timeout 94 tcp timer syn-timeout 95 tcp window 95 UDP helper configuration commands 97 display udp-helper server 97 reset udp-helper packet 97 udp-helper enable 98 udp-helper port 98 udp-helper server 99 IPv6 basics - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 6
statistics 151 Tunneling configuration commands 153 default 153 description 153 destination 154 display interface tunnel 155 display ipv6 interface tunnel 158 encapsulation-limit 162 interface tunnel 162 mtu 163 reset counters interface 163 service - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 7
Support and other resources 169 Contacting HP 169 Subscription service 169 Related information 169 Documents 169 Websites 169 Conventions 170 Index 172 v - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 8
configuration commands arp check enable Syntax arp check enable View undo arp check enable System view Default level 2: System level Parameters None Description Use arp check enable to enable dynamic ARP entry check. Use undo arp check enable to disable dynamic ARP entry check. By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 9
-instance-name ] View undo arp ip-address [ vpn-instance-name ] System view Default level 2: System level Parameters ip-address: Specifies the IP address in an ARP entry public network. Description Use arp static to configure a static ARP entry in the ARP mapping table. Use undo arp to remove an ARP - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 10
of an existing VLAN. In addition, the Ethernet interface following the argument must belong to that ip-address argument. Related commands: reset arp and display arp. Examples # Configure a static ARP entry View undo arp timer aging System view Default level 2: System level Parameters aging-time - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 11
of ARP entries. verbose: Displays detailed information about ARP entries. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 12
[ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters ip-address: Displays the ARP entry for the specified command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 13
{ begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 14
Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin undo mac-address station-move quick-notify enable to restore the default. By default, ARP quick update is disabled. Example # Enable ARP quick - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 15
slot-number | interface interface-type interface-number } User view Default level 2: System level Parameters all: Clears all switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric, which you can display with the display irf command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 16
Gratuitous ARP configuration commands arp send-gratuitous-arp Syntax arp send-gratuitous-arp [ interval milliseconds ] View undo arp send-gratuitous-arp VLAN interface view Default level 2: System level Parameters interval milliseconds: Sets the interval at which gratuitous ARP packets are - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 17
-arp-learning enable to enable the gratuitous ARP packet learning function. Use undo gratuitous-arp-learning enable to disable the function. By default, the function is enabled. With this function enabled, a device receiving a gratuitous ARP packet can add the source IP and MAC addresses to - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 18
the source IP address of the ARP packet. If a matching ARP entry is found in the cache, the device updates the ARP entry regardless of whether this function is enabled. Examples # Enable the gratuitous ARP packet learning function. system-view [Sysname] gratuitous-arp-learning enable 11 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 19
interface specified by the argument interface-type interface-number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 20
command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide startIP to endIP ] View undo local-proxy-arp enable VLAN interface view Default level 2: System level Parameters ip-range startIP to endIP: Specifies the IP - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 21
Description Use proxy-arp enable to enable proxy ARP. Use undo proxy-arp enable to disable proxy ARP. By default, proxy ARP is disabled. Related commands: display proxy-arp. Examples # Enable proxy ARP on VLAN-interface 2. system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 22
snooping configuration commands arp-snooping enable Syntax arp-snooping enable View undo arp-snooping enable VLAN view Default level 2: System level Parameters None Description Use arp-snooping enable to enable ARP snooping. Use undo arp-snooping enable to disable ARP snooping. By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 23
snooping entries. If no keywords or arguments are specified, the command displays all the ARP snooping entries. Examples # Display ARP snooping Syntax reset arp-snooping [ ip ip-address | vlan vlan-id ] View User view Default level 2: System level Parameters ip ip-address: Removes the ARP entry of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 24
] Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 25
output Field Description current state Current physical state of the interface: • Administrative DOWN-The interface is shut down with the shutdown command. • DOWN-The interface is administratively up but its physical state is down, which may be caused by a connection or link failure. • UP - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 26
by its type. interface-number: Specifies an interface by its number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 27
interface type and interface number specified, only the brief IP configuration information for the specified interface is displayed. Related commands: display ip interface. Examples # Display brief IP configuration information for VLAN interfaces. display ip interface vlan-interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 28
ip-address { mask-length | mask } [ sub ] ] Interface view Default level 2: System level Parameters ip-address: Specifies the IP address of an interface IP address to the interface that is configured to obtain one through BOOTP or DHCP. Related commands: display ip interface. Examples # Assign - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 29
from another interface. Use undo ip address unnumbered to disable IP unnumbered on the interface. By default, the interface does not borrow IP addresses from other interfaces. Examples # Configure the interface tunnel 1 to borrow the IP address of the interface VLAN-interface 100. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 30
DHCP relay agent configuration commands The DHCP relay agent configuration is supported only on VLAN interfaces. dhcp dscp Syntax dhcp dscp dscp-value View undo dhcp dscp System view Default level 2: System level Parameters dscp-value: Specifies the DSCP value in DHCP packets, in the range - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 31
default, the function is disabled. With this feature enabled, the DHCP relay agent can dynamically record clients' IP-to-MAC bindings after clients get IP addresses through DHCP. It also supports static bindings. You can manually configure IP-to-MAC bindings on the DHCP relay agent, so that users - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 32
address check on the DHCP relay agent. Use undo dhcp relay check mac-address to disable MAC address check on the DHCP relay agent. By default, this function is disabled. With this function enabled, the DHCP relay agent compares the chaddr field of a received DHCP request with the source MAC - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 33
information circuit-id format-type to restore the default. By default, the code type for the circuit ID sub-option depends on the specified padding format of Option 82. Each field has its own code type. This command applies only to configuring the non-user-defined circuit ID sub-option. After you - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 34
relay information circuit-id string to restore the default. By default, the padding content for the circuit ID sub-option depends on the padding format of Option 82. After you configure the padding content for the circuit ID sub-option using this command, ASCII is adopted as the code type. Related - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 35
Option 82. Use undo dhcp relay information format to restore the default padding format. The Option 82 padding format defaults to normal. If configuring the handling strategy of the DHCP relay agent as replace, you need to configure a padding format of Option 82. If the handling strategy is keep - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 36
undo dhcp relay information remote-id format-type to restore the default. By default, the code type for the remote ID sub-option is HEX. This command applies only to configuring the non-user-defined remote ID sub-option. After you configure the padding content for the remote ID sub-option using - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 37
user-defined remote ID sub-option. Use undo dhcp relay information remote-id string to restore the default. By default, the padding content for the remote ID sub-option depends on the padding format of Option 82. After you configure the padding content for the remote ID sub-option using this command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 38
The handling strategy for messages containing Option 82 defaults to replace. Related commands: display dhcp relay information. Examples # Configure the DHCP relay agent handling strategy for messages containing Option 82 as keep. system-view [Sysname] interface vlan-interface 1 [Sysname- - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 39
agent. Use undo dhcp relay security to remove specified client entries from the relay agent. No manual client entry is configured on the DHCP relay agent by default. • When using the dhcp relay security static command to bind an interface to a static client entry, make sure that the interface is - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 40
dynamic bindings. Use undo dhcp relay security tracker to restore the default interval. The default refreshing interval is auto, the value of 60 seconds divided by the number of binding entries. Related commands: display dhcp relay security tracker. Examples # Set the refreshing interval as - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 41
specified, all servers in the DHCP server group and the server group itself will be removed. By default, no DHCP server is specified for a DHCP server group. • The IP address of a DHCP these correlations before removing the server group. Related commands: display dhcp relay server-group. 34 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 42
group. Use undo dhcp relay server-select to remove a configured correlation. By default, no DHCP server group is correlated with an interface on the group referenced in this command should have been configured by using the dhcp relay server-group command. Related commands: dhcp relay server-group - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 43
IP address allocation. Use undo dhcp select relay to restore the default. By default, DHCP relay agent is disabled. Examples # Enable the DHCP relay Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 44
-type interface-number: Displays the Option 82 configuration information of a specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 45
about dynamic bindings. static: Displays information about static bindings. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 46
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 47
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 48
| { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters group-id: Displays the information of the specified command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 49
Default level 1: Monitor level Parameters group-id: Specifies a server group by its number, is displayed independently. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 50
Client: DHCPOFFER 0 DHCPACK 0 DHCPNAK 0 BOOTPREPLY 0 reset dhcp relay statistics Syntax View reset dhcp relay statistics [ server-group group-id ] User view Default level 1: Monitor level Parameters server-group group-id: Specifies a server group by its number, in the range of 0 to 19 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 51
relay statistics to remove statistics from the relay agent. If no server-group is specified, all statistics will be removed from the relay agent. Related commands: display dhcp relay statistics. Examples # Remove all statistics from the DHCP relay agent. reset dhcp relay statistics 44 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 52
configuration commands The DHCP client configuration is supported include } regular-expression ] Any view Default level 1: Monitor level Parameters verbose: command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 53
2005.08.16 15:37:59 DHCP server: 40.1.1.2 Transaction ID: 0x1c09322d Default router: 40.1.1.2 Classless static route: Destination: 1.1.0.1, Mask: 255.0.0.0, NextHop: 192 1 day 11 hours 58 minutes 52 seconds. Table 9 Command output Field Vlan-interface1 DHCP client information Current machine state - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 54
dhcp client dscp dscp-value View undo dhcp client dscp System view Default level 2: System level Parameters dscp-value: Specifies the DSCP value in by the DHCP client. Use undo dhcp client dscp to restore the default. By default, the DSCP value in DHCP packets sent by the DHCP client is - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 55
client ID to obtain an IP address. Description Use ip address dhcp-alloc to configure an interface to use DHCP for IP address acquisition. Use undo ip address dhcp-alloc to cancel an interface from using DHCP. By default, an interface does not use DHCP for IP address acquisition. If no parameter - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 56
DHCP snooping configuration commands A DHCP snooping enabled device does not work if it is between about MAC addresses of DHCP clients and the obtained IP addresses. By default, DHCP snooping is disabled. Related commands: display dhcp-snooping. Examples # Enable DHCP snooping. system- - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 57
entry file is refreshed. Use undo dhcp-snooping binding database update interval to restore the default. By default, the DHCP snooping entry file is not refreshed periodically. With this command configured, DHCP snooping will check bindings periodically. If a binding is added or removed during an - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 58
file each time this command is used. This command takes effect only when the DHCP snooping entry file is specified. Related commands: dhcp-snooping binding -snooping check mac-address Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level Parameters None - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 59
check request-message Syntax dhcp-snooping check request-message View undo dhcp-snooping check request-message Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level Parameters None Description Use dhcp-snooping check request-message to enable DHCP-REQUEST - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 60
supports only the hex code type. Related commands: display dhcp-snooping information and dhcp-snooping information format. Examples # Configure the padding format for the non-user circuit-id string Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 61
Related commands: dhcp-snooping information format and display dhcp-snooping information. Examples # Configure the padding content for the user- default, DHCP snooping does not support Option 82. Related commands: display dhcp-snooping information. Examples # Configure DHCP snooping to support - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 62
user-defined node-identifier } ] } View undo dhcp-snooping information format Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level to verbose with MAC address as the node identifier. Related commands: display dhcp-snooping information. Examples # Specify the padding format - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 63
-id format-type Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level Parameters default. By default, the code type for the remote ID sub-option is HEX. This command applies to configuring a non-user-defined remote ID sub-option only. After you configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 64
default. By default, the padding content for the remote ID sub-option depends on the padding format of Option 82. • After you configure the padding content for the remote ID sub-option using this command strategy Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 65
the default. By default, no sub-option is configured. This configuration applies to the private padding format only. To configure the private padding format, use the dhcp-snooping information format private 1 command. If no content is configured for sub-option 9 with the string user-string - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 66
View undo dhcp-snooping trust Layer 2 Ethernet port view, Layer 2 aggregate interface view Default level 2: System level Parameters no-user-binding: Specifies the port not to record the clients' IP-to-MAC bindings in DHCP requests it receives. The command without this keyword records the IP-to - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 67
view Default level 1: Monitor level Parameters ip ip-address: Displays the DHCP snooping entries corresponding to the specified IP address. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 68
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 69
] Any view Default level 1: Monitor level Parameters all: Displays the Option 82 configuration information of all Layer 2 Ethernet ports. interface interface-type interface-number: Displays the Option 82 configuration information of a specified interface. |: Filters command output by specifying - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 70
-type: ASCII User defined: Circuit Default level 1: Monitor level Parameters slot slot-number: Displays the DHCP packet statistics of a specified IRF member switch command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 71
Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: dhcp-snooping Syntax View reset dhcp-snooping { all | ip ip-address } User view 64 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 72
] User view Default level 1: Monitor level Parameters slot slot-number: Clears the DHCP packet statistics on a specified IRF member switch. The to clear DHCP packet statistics on the DHCP snooping device. Related commands: display dhcp-snooping packet statistics. Examples # Clear DHCP packet - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 73
Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Displays the BOOTP client information of the interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 74
-alloc to disable the interface from obtaining an IP address through BOOTP. By default, an interface does not obtain an IP address through BOOTP. Related commands: display bootp client. Examples # Configure VLAN-interface 1 to obtain IP address through the BOOTP protocol. system-view - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 75
Default level 1: Monitor level Parameters dynamic: Displays the domain name suffixes dynamically obtained through DHCP or other protocols. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 76
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters ip: Displays the dynamic cache service site. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 77
, services, Default level 1: Monitor level Parameters dynamic: Displays the DNS server information dynamically obtained through DHCP or other protocols |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 78
Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide static 1.1.1.1 Aa 0 static 2.2.2.4 Table 16 Command output Field Host Age Description Host name. Time - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 79
no domain name suffix specified). No domain name suffix is configured by default. Only the provided domain name is resolved. You can configure a maximum of 10 domain name suffixes. Related commands: display dns domain. Examples # Configure com as a DNS suffix. system-view [Sysname] dns - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 80
set the DSCP value for DNS packets. Use undo dns dscp to restore the default. By default, the DSCP value in DNS packets is 0. Examples # Set the DSCP value resolve Syntax dns resolve View undo dns resolve System view Default level 2: System level Parameters None Description Use dns resolve - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 81
server is specified by default. • You can configure up to six DNS servers, configured later in the same view. A DNS server manually configured has a higher priority than one dynamically obtained through DHCP. • Running the undo dns server command in system view will delete all DNS servers configured - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 82
Use undo ip host to remove a mapping. No mappings are created by default. Each host name can correspond to only one IPv4 address. The IPv4 address to the host name will overwrite the previous one if there is any. Related commands: display ip host. Examples # Map the IP address 10.110.0.1 to the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 83
View User view Default level 2: System level Parameters ip: Clears the dynamic cache information of type A the domain name of a certain service site. Description Use reset dns host to clear information of the dynamic DNS cache. Without any keyword specified, this command clears the dynamic DNS cache - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 84
IP prefix list does not exist, all FIB entries are displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 85
count: 1 Flag: U:Useable R:Relay G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination/Mask Nexthop 10.2.0.0/16 10.2.1.1 Table 17 Command output Field Destination count FIB entry count Destination/Mask Flag U OutInterface InnerLabel Token Vlan1 Null Invalid Description Total - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 86
| { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Displays the FIB Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 87
expression ] Any view Default level 1: Monitor level Parameters slot slot-number: Displays the ICMP statistics on a specified IRF member switch. The slot-number command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 88
0 Table 18 Command output Field bad formats bad checksum echo destination unreachable source quench redirects echo reply parameter problem timestamp information request [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level 81 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 89
device, the slot-number argument specifies the ID of the device. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 90
Task = VTYD(38), socketid = 3, Proto = 6, LA = 192.168.1.40:23, FA = 192.168.1.84:1503, sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, socket option = SO_KEEPALIVE SO_OOBINLINE SO_REUSEPORT SO_SETKEEPALIVE, socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC Task = ROUT(69), socketid = 11, Proto = - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 91
Proto = 46, LA = 0.0.0.0, FA = 0.0.0.0, sndbuf = 4194304, rcvbuf = 4194304, sb_cc = 0, rb_cc = 0, socket option = 0, socket state = SS_PRIV SS_NBIO SS_ASYNC Table 19 Command output Field SOCK_STREAM SOCK_DGRAM SOCK_RAW Task socketid Proto LA FA sndbuf rcvbuf sb_cc rb_cc socket option socket state - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 92
] Any view Default level 1: Monitor level Parameters slot slot-number: Displays the IP packet statistics on a specified IRF member switch. The slot-number command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 93
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 94
Closed connections: 49 (dropped: 0, initiated dropped: 0) Packets dropped with MD5 authentication: 0 Packets permitted with MD5 authentication: 0 Table 21 Command output Field Received packets: Total packets in sequence window probe packets window update packets checksum error offset error short - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 95
Field Description out-of-order packets Number of out-of-order packets received. packets of data after window Number of packets outside the receiving window. packets received after close Number of packets that arrived after connection is closed. ACK packets Number of ACK packets received. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 96
Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 97
ip forward-broadcast (system view) Syntax ip forward-broadcast View undo ip forward-broadcast System view Default level 2: System level Parameters None Description Use ip forward-broadcast to enable the switch to receive directed broadcasts. Use undo ip forward-broadcast to disable the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 98
receiving directed broadcast. Examples # Enable the switch to receive directed broadcasts. system-view [Sysname] ip forward-broadcast ip redirects enable Syntax ip redirects enable View undo ip redirects System view Default level 2: System level Parameters None Description Use - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 99
] ip unreachables enable reset ip statistics Syntax View reset ip statistics [ slot slot-number ] User view Default level 1: Monitor level Parameters slot slot-number: Clears the IP packet statistics on a specified IRF member switch. The slot-number argument specifies the ID of an IRF member - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 100
reset ip statistics reset tcp statistics Syntax View reset tcp statistics User view Default level 1: Monitor level Parameters None Description Use reset tcp statistics to clear statistics of TCP traffic. Related commands: display tcp statistics. Examples # Display statistics of TCP traffic - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 101
-value: Specifies the TCP finwait timer in seconds, in the range of 76 to 3,600. Description Use tcp timer fin-timeout to configure the length of the TCP finwait timer. Use undo tcp timer fin-timeout to restore the default. By default, the length of the TCP finwait timer is 675 seconds. 94 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 102
of 2 to 600. Description Use tcp timer syn-timeout to configure the length of the TCP synwait timer. Use undo tcp timer syn-timeout to restore the default. By default, the value of the TCP synwait timer is 75 seconds. Related commands: tcp timer fin-timeout and tcp window. Examples # Set the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 103
size of the TCP send/receive buffer. Use undo tcp window to restore the default. The size of the TCP send/receive buffer is 8 KB by default. Related commands: tcp timer fin-timeout and tcp timer syn-timeout. Examples # Configure the size of the TCP send/receive buffer as 3 KB. system-view - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 104
: Displays information of forwarded UDP packets on a specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 105
View User view Default level 1: Monitor level Parameters None Description Use reset udp-helper packet to clear the statistics of forwarded UDP packets. Related commands: display udp-helper server. Examples # Clear the statistics of the forwarded UDP packets. reset udp-helper packet udp- - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 106
service data packets. The corresponding UDP port number is 37. Description Use udp-helper port to enable the forwarding of packets with the specified UDP port number. Use undo udp-helper port to remove the configured UDP port numbers. By default option specified, the command indicates that the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 107
undo udp-helper server to remove the destination server. No destination server is configured by default. You can configure up to 20 destination servers on an interface. Without the ip-address argument, the undo udp-helper server command removes all the destination servers on an interface. Related - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 108
prefix list does not exist, all IPv6 FIB entries are displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 109
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters ipv6-address: Specifies the destination IPv6 Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 110
: Label : Interface : ::1 ::1 NULL InLoopBack0 Table 24 Command output Field Total number of Routes Destination PrefixLength NextHop Flag Label ] [ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters interface-type: Interface type. 103 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 111
number. brief: Displays the brief IPv6 information of an interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 112
is administratively down. The interface is shut down by using the shutdown command. • DOWN-The VLAN interface is administratively up but its physical state state of the interface. (After an IPv6 address is configured for an interface, IPv6 is automatically enabled on it. IPv6 packet forwarding is - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 113
this example, DAD is enabled. • If DAD is enabled, the number of attempts to send a Neighbor Solicitation (NS) message for DAD (configured by using the ipv6 nd dad attempts command) is also displayed. • If DAD is disabled, ND DAD is disabled is displayed. (You can disable DAD by setting the number - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 114
resource problems rather than packet content errors. # Display the brief IPv6 information of all interfaces. display ipv6 interface brief *down: administratively down (s): spoofing Interface Physical Vlan-interface1 down Vlan-interface2 up Vlan-interface100 up Table 26 Command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 115
the neighbors of a specified VLAN whose ID ranges from 1 to 4094. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 116
configured statically. slot slot-number: Displays the total number of neighbor entries on a specified IRF member switch. switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric, which you can display with the display irf command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 117
Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters ipv6-address: Destination IPv6 address for which - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 118
| { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters socktype socket-type: Displays the socket information of command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 119
the information about sockets of the specified type; with the socket type, task ID and socket ID specified, the command displays the information about the specified socket. Examples # Display the information of all sockets. display ipv6 socket SOCK_STREAM: Task = VTYD(14), socketid - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 120
Any view Default level 1: Monitor level Parameters slot slot-number: Displays the IPv6 and ICMPv6 packets statistics on a specified IRF member switch. The slot command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 121
packets and ICMPv6 packets. You can use the reset ipv6 statistics command to clear all IPv6 and ICMPv6 packet statistics. Examples # checksum error: 0 bad code: 0 unreached: 0 hopcount exceeded: 0 parameter problem: 0 echo request: 0 neighbor solicit: 0 router solicit: 0 too short - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 122
redirected: 0 unknown info type: 0 Deliver failed: bad length: 0 Table 30 Command output Field IPv6 Protocol: Sent packets: Total: 0 Local sent out: 0 forwarded: 0 raw packets: 0 discarded: 0 routing failed: 0 fragments: 0 fragments failed: 0 Received packets: Total: 0 local host: 0 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 123
of Packet Too Big packets • Number of Hop Limit Exceeded packets • Number of Fragment Reassembly Times Exceeded packets • Number of Parameter Problem packets • Number of packets with unknown errors • Number of Echo Request packets • Number of Echo Reply packets • Number of neighbor solicitation - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 124
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 125
connections: 0 (dropped: 0, initiated dropped: 0) Packets dropped with MD5 authentication: 0 Packets permitted with MD5 authentication: 0 Table 31 Command output Field Description Received packets: Total: 0 packets in sequence: window probe packets: 0 window update packets: 0 checksum error - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 126
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 127
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 128
input packets missing pcb cache: 0 Sent packets: Total: 0 Table 33 Command output Field Total checksum error shorter than header data length larger than packet ipv6 Syntax ipv6 View undo ipv6 System view Default level 2: System level Parameters None Description Use ipv6 to enable IPv6. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 129
default, no global unicast address is configured for an interface. Except for the link-local address automatically obtained and the link-local address generated through stateless autoconfiguration, all IPv6 addresses will be removed from the interface if the undo ipv6 address command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 130
to remove the IPv6 anycast address from the interface. By default, no IPv6 anycast address is configured for an interface. Examples # Set the IPv6 anycast address be removed only by executing the undo ipv6 address auto command. Examples # Enable stateless address autoconfiguration on VLAN-interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 131
link-local View undo ipv6 address auto link-local Interface view Default level 2: System level Parameters None Description Use ipv6 address auto information about manual assignment of an IPv6 link-local address, see the ipv6 address link-local command. Examples # Configure VLAN-interface 100 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 132
address for the interface. By default, no EUI-64 IPv6 address is configured for an interface. An EUI-64 IPv6 address is generated based on the specified prefix and the automatically generated interface identifier and is displayed by using the display ipv6 interface command. The prefix length of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 133
manually assigned one. If you delete the manually assigned address, the automatically generated link-local address is validated. For automatic generation of an IPv6 link-local address, see the ipv6 address auto link-local command. Examples # Configure Exceeded packets. By default, the sending of - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 134
the number of ICMPv6 error packets sent is not restricted. Description Use ipv6 icmp-error to configure the size and update period of the token bucket. Use undo ipv6 icmp-error to restore the defaults. By default, the size is 10 and the update period is 100 milliseconds. A maximum of 10 ICMPv6 error - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 135
server). Use undo ipv6 nd autoconfig managed-address-flag to restore the default. By default, the M flag is set to 0 so that the host can acquire an IPv6 address through stateless autoconfiguration. Examples # Configure the host to acquire an IPv6 address through stateful autoconfiguration. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 136
. Description Use ipv6 nd dad attempts to configure the number of attempts to send an NS message for DAD. Use undo ipv6 nd dad attempts to restore the default. By default, the number of attempts to send an NS message for DAD is 1. Related commands: display ipv6 interface. Examples # Set the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 137
By default, the local interface sends NS messages at an interval of 1000 millisecond and the Retrans Timer field in the RA messages sent is 0, so that the interval for retransmitting an NS message is determined by the receiving device. Related commands: display ipv6 interface. Examples # Specify - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 138
Default level 2: System level Parameters value: Specifies the neighbor reachable time in milliseconds, in the range of 1 to 3600000. Description Use ipv6 nd nud reachable-time to configure the neighbor reachable time on an interface. This time value serves as not only the neighbor reachable time on - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 139
at intervals of a random value between the maximum interval and the minimum interval. Use undo ipv6 nd ra interval to restore the default. By default, the maximum interval between RA messages is 600 seconds, and the minimum interval is 200 seconds. The minimum interval should be three-fourths - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 140
the prefix information in RA messages. Use undo ipv6 nd ra prefix to remove the prefix information from RA messages. By default, no prefix information is configured in RA messages and the IPv6 address of the interface sending RA messages is used as the prefix information with valid lifetime - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 141
value: Specifies the router lifetime in seconds, in the range of 0 to 9000. When it is set to 0, the device does not serve as the default router. Description Use ipv6 nd ra router-lifetime to configure the router lifetime in RA messages. Use undo ipv6 nd ra router-lifetime to restore the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 142
corresponding VLAN interface and the neighbor address. Related commands: display ipv6 neighbors. Examples # Configure a static neighbor entry for Layer 2 port -aging aging-time View undo ipv6 neighbor stale-aging System view Default level 2: System level Parameters aging-time: Age timer for ND - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 143
-learning-num Layer 2 Ethernet port view, VLAN interface view, Layer 2 aggregate interface view Default level 2: System level configure the maximum number of neighbors that can be dynamically learned on the interface. Use undo ipv6 neighbors max-learning-num to restore the default. By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 144
remove the path MTU configuration for a specified IPv6 address. By default, no static path MTU is configured. Examples # Configure a static path MTU to restore the default. By default, the aging time is 10 minutes. The aging time is invalid for a static path MTU. Related commands: display ipv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 145
type interface-number | slot slot-number | static } User view Default level 2: System level Parameters all: Clears static and switch. The value range for the argument depends on the number of member switches and their member IDs in the IRF fabric, which you can display with the display irf command - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 146
View User view Default level 1: Monitor level Parameters slot slot-number: Clears the IPv6 and ICMPv6 packets statistics on a specified IRF member switch. packets and ICMPv6 packets. You can use the display ipv6 statistics command to display the statistics of IPv6 and ICMPv6 packets. Examples # - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 147
statistics Syntax View reset tcp ipv6 statistics User view Default level 1: Monitor level Parameters None Description Use reset tcp ipv6 statistics to clear the statistics of all IPv6 TCP connections. You can use the display tcp ipv6 statistics command to display the statistics of IPv6 TCP - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 148
Use tcp ipv6 timer fin-timeout to set the finwait timer for IPv6 TCP connections. Use undo tcp ipv6 timer fin-timeout to restore the default. By default, the length of the finwait timer is 675 seconds. Examples # Set the finwait timer length of IPv6 TCP connections to 800 seconds. system - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 149
32. Description Use tcp ipv6 window to set the size of the IPv6 TCP send/receive buffer. Use undo tcp ipv6 window to restore the default. By default, the size of the IPv6 TCP send/receive buffer is 8 KB. Examples # Set the size of the IPv6 TCP send/receive buffer to 4 KB - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 150
begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 151
: Displays DHCPv6 server address information of the specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 152
View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 153
Syntax ipv6 dhcp dscp dscp-value undo ipv6 dhcp dscp View System view Default level 2: System level Parameters dscp-value: Specifies the DSCP value in DHCPv6 the DHCPv6 relay agent. Use undo ipv6 dhcp dscp to restore the default. By default, the DSCP value in DHCPv6 packets is 56. Examples # Set the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 154
relay server-address to remove the DHCPv6 server from the interface. By default, DHCPv6 relay agent is disabled and no DHCPv6 server is specified on address and other configuration parameters to the DHCPv6 client. Executing the ipv6 dhcp relay server-address command repeatedly can specify multiple - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 155
Default level 1: Monitor level Parameters interface interface-type interface-number: Displays the DHCPv6 client information of a specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 156
: 0003000100137ff6c818 DNS servers : 1:2:3::5 1:2:4::7 Domain names : abc.com Table 36 Command output Field in stateless DHCPv6 client mode State is OPEN Description Indicates the client is in the stateless DHCPv6 configuration mode. Current state of the DHCPv6 client: • INIT-After enabled - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 157
Default level 1: Monitor level Parameters interface interface-type interface-number: Displays the DHCPv6 client statistics of a specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 158
in DHCPv6 packets sent by the DHCPv6 client. Use undo ipv6 dhcp client dscp to restore the default value. By default, the DSCP value in DHCPv6 packets is 56. Examples # Set the DSCP value to 30 View reset ipv6 dhcp client statistics [ interface interface-type interface-number ] User view 151 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 159
Default level 1: Monitor level Parameters interface interface-type interface-number: Clears DHCPv6 parameters specified, DHCPv6 client statistics of all the interfaces is cleared. After this command is executed, the packets statistics is displayed as 0 when you use the display ipv6 dhcp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 160
Tunneling configuration commands default Syntax View default Tunnel interface view Default level 2: System level Parameters None Description CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you perform it - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 161
the current interface. Use undo description to restore the default. By default, the description of a tunnel interface is Tunnelnumber Interface, for example, Tunnel1 Interface. Related commands: display interface tunnel. Examples # Configure the description of interface Tunnel 1 as tunnel1. - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 162
If you do not specify this keyword, this command displays information about interfaces in all states. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 163
5572 packets output, 428860 bytes 0 output error Table 38 Command output Field Tunnel0 current state Line protocol current state Description Maximum Transmit Unit Internet Address Encapsulation is TUNNEL service-loopback-group ID Tunnel source destination Tunnel bandwidth Description Physical - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 164
mode. • IP/IPv6-IPv4 over IPv6 tunnel mode. • IPv6/IP-IPv6 over IPv4 manual tunnel mode. • IPv6/IP 6to4-IPv6 over IPv4 6to4 tunnel mode. • IPv6/IP ADM is displayed. To recover its physical state, perform the undo shutdown command. (s) indicates that the network layer protocol state is UP, but the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 165
information and IPv6 packet statistics for tunnel interfaces are displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 166
IPv6 is enabled, link-local address is FE80::202:201 Global unicast address(es): 3000::1, subnet is 3000::/64 Joined group address(es): FF02::1:FF02:201 FF02::1:FF00:1 FF02::1:FF00:0 FF02::2 FF02::1 MTU is 1480 bytes ND reachable time is 30000 milliseconds ND retransmit interval is 1000 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 167
administratively down. That is, the interface is shut down with the shutdown command. • DOWN-The interface is administratively up but its physical state is the example. Link-local address configured for the tunnel interface. Global unicast addresses configured for the tunnel interface. Multicast - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 168
discarded due to resource problems rather than packet content errors. # Display brief IPv6 information for interface Tunnel 0. display ipv6 interface tunnel 0 brief *down: administratively down (s): spoofing Interface Physical Tunnel0 up Table 41 Command output Protocol up IPv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 169
2: System level Parameters number: Specifies the number of nested encapsulations, in the range of 1 to 10. The default value is 4. Description Use encapsulation-limit to configure the maximum number of nested encapsulations of a packet in the tunnel. Use undo encapsulation-limit to remove the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 170
a tunnel interface and enter its view. Use undo interface tunnel to delete a specific tunnel interface. By default, no tunnel interface is created on the device. Use the interface tunnel command to enter the interface view of a specific tunnel. If the specified tunnel interface does not exist, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 171
service loopback group to be referenced must have been configured and have the service type set to tunnel in system view. One tunnel interface can reference only one service loopback group. Related commands: display interface tunnel; service-loopback group (Layer 2-LAN Switching Command Reference - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 172
Sysname> system-view [Sysname] service-loopback group 1 type tunnel # Add a Layer 2 Ethernet port to service loopback group 1. [Sysname] a tunnel interface. Use undo shutdown to bring up a tunnel interface. By default, a tunnel interface is in the up state. Examples # Shut down interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 173
interface. Use undo source to remove the configured source address or interface of the tunnel interface. By default, no source address or interface is specified for Manual tunnel interfaces using the same encapsulation protocol must have different source and destination addresses. Related commands: - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 174
to set the bandwidth of the tunnel interface. Use undo tunnel bandwidth to restore the default. By default, the bandwidth of the tunnel interface is 64 kbps. The tunnel interface bandwidth set with the tunnel bandwidth command is for dynamical routing protocols to calculate the cost of a tunnel path - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 175
View undo tunnel-protocol Tunnel interface view Default level 2: System level Parameters ipv4-ipv4: Specifies the IPv4 over IPv4 tunnel mode. ipv4-ipv6: Specifies the IPv4 over IPv6 tunnel mode. ipv6-ipv4: Specifies the IPv6 over IPv4 manual tunnel mode. ipv6-ipv4 6to4: Specifies the IPv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 176
HP A-Series Acronyms. Websites • HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • HP manuals http://www.hp.com/support/manuals • HP download drivers and software http://www.hp.com/support/downloads • HP software depot http://www.software.hp.com • HP Education http://www.hp - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 177
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 178
, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Port numbering in examples The port numbers in this document are for - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 179
Index A D E G I L M P R S T U W A arp check enable,1 arp max-learning-num,1 arp send-gratuitous-arp,9 arp static,2 arp timer aging,3 arp-snooping enable,15 D default,153 description,153 destination,154 dhcp client dscp,47 dhcp dscp (for DHCP relay agent),23 dhcp enable,23 dhcp relay address-check - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 180
display ip interface brief,19 display ip socket,81 display ip statistics,85 display ipv6 dhcp client,148 display ipv6 dhcp client statistics,149 display ipv6 dhcp duid,143 display ipv6 dhcp relay server-address,143 display ipv6 dhcp relay statistics,144 display ipv6 fib,101 display ipv6 fib ipv6- - HP 6125G | HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 181
ipv6 statistics,140 reset tcp statistics,93 reset udp ipv6 statistics,140 reset udp statistics,93 reset udp-helper packet,97 S service-loopback-group,164 shutdown,165 source,165 Subscription service,169 T tcp ipv6 timer fin-timeout,140 tcp ipv6 timer syn-timeout,141 tcp ipv6 window,141 tcp path-mtu
HP 6125 Blade Switch Series
Layer 3 - IP Services
Command Reference
Part number: 5998-3167
Software version: Release 2103
Document version: 6W100-20120907