Advertisement
Advertisement
Layer 3 - IP Services Command Reference Abstract This document describes the commands and command syntax options available for the HP A Series products. This document is intended for network planners, field technical support and servicing engineers, and network administrators who work with HP A Series products.
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...
Contents ARP configuration commands········································································································································· 1 arp check enable······················································································································································ 1 arp max-learning-num ·············································································································································· 1 arp static···································································································································································· 2 arp timer aging ························································································································································· 3 display arp ································································································································································ 4 display arp ip-address ············································································································································· 5 display arp timer aging ··········································································································································· 6 mac-address station-move ········································································································································ 6 reset arp ····································································································································································...
gateway-list ···························································································································································· 39 nbns-list ··································································································································································· 39 netbios-type ···························································································································································· 40 network ··································································································································································· 41 network ip range ··················································································································································· 41 network mask ························································································································································· 42 option······································································································································································ 43 reset dhcp server conflict ······································································································································ 44 reset dhcp server ip-in-use ···································································································································· 44 reset dhcp server statistics ···································································································································· 45 static-bind client-identifier ·····································································································································...
dhcp-snooping check request-message ··············································································································· 79 dhcp-snooping information circuit-id format-type ······························································································· 80 dhcp-snooping information circuit-id string········································································································· 80 dhcp-snooping information enable ······················································································································ 81 dhcp-snooping information format ······················································································································ 82 dhcp-snooping information remote-id format-type ····························································································· 83 dhcp-snooping information remote-id string ······································································································· 83 dhcp-snooping information strategy ···················································································································· 84 dhcp-snooping rate-limit········································································································································...
tcp timer fin-timeout ············································································································································· 125 tcp timer syn-timeout ············································································································································ 125 tcp window ·························································································································································· 126 IRDP configuration commands ··································································································································· 127 ip irdp ··································································································································································· 127 ip irdp address ···················································································································································· 127 ip irdp lifetime ····················································································································································· 128 ip irdp maxadvinterval ······································································································································· 128 ip irdp minadvinterval ········································································································································· 129 ip irdp multicast ···················································································································································...
ipv6 neighbor ······················································································································································ 171 ipv6 neighbors max-learning-num ····················································································································· 172 ipv6 neighbor stale-aging ·································································································································· 173 ipv6 pathmtu ························································································································································ 173 ipv6 pathmtu age ················································································································································ 174 ipv6 prefer temporary-address ·························································································································· 175 ipv6 unreachables enable ·································································································································· 175 reset ipv6 nd snooping ······································································································································· 176 reset ipv6 neighbors ··········································································································································· 176 reset ipv6 pathmtu ···············································································································································...
Support and other resources ····································································································································· 211 Contacting HP ······························································································································································ 211 Subscription service ············································································································································ 211 Related information ······················································································································································ 211 Documents ···························································································································································· 211 Websites ······························································································································································ 211 Conventions ·································································································································································· 212 Index ············································································································································································· 214 viii...
ARP configuration commands arp check enable Syntax arp check enable undo arp check enable View System view Default level 2: System level Parameters None Description Use the arp check enable command to enable dynamic ARP entry check. Use the undo arp check enable command to disable dynamic ARP entry check. By default, dynamic ARP entry check is enabled.
Use the undo arp max-learning-num command to restore the default. By default, the maximum number of dynamic ARP entries that an interface can learn is 1024. When the number argument is set to 0, the interface is disabled from learning dynamic ARP entries. Examples # Specify VLAN-interface 40 to learn up to 500 dynamic ARP entries.
NOTE: A static ARP entry is effective when the switch works normally. However, when the VLAN or VLAN interface to which an ARP entry corresponds is deleted, the entry, if long, will be deleted, and if short and resolved, will become unresolved.
display arp Syntax display arp [ [ all | dynamic | static ] [ slot slot-number ] | vlan vlan-id | interface interface-type interface-number ] [ count ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level...
Table 1 Output description Field Description IP Address IP address in an ARP entry MAC Address MAC address in an ARP entry VLAN ID VLAN ID contained in a static ARP entry Interface Outbound interface in an ARP entry Aging time for a dynamic ARP entry in minutes ("DIS" or ―N/A‖ means Aging unknown aging time or no aging time) Type...
Examples # Display the corresponding ARP entry for the IP address 20.1.1.1. <Sysname> display arp 20.1.1.1 Type: S-Static D-Dynamic IP Address MAC Address VLAN ID Interface Aging Type 20.1.1.1 00e0-fc00-0001 display arp timer aging Syntax display arp timer aging [ | { begin | exclude | include } regular-expression ] View Any view Default level...
Parameters None Description Use the mac-address station-move quick-notify enable command to enable ARP quick update. Use the undo mac-address station-move quick-notify enable command to restore the default. By default, ARP quick update is disabled. Example # Enable ARP quick update. <Sysname>...
Gratuitous ARP configuration commands arp send-gratuitous-arp Syntax arp send-gratuitous-arp [ interval milliseconds ] undo arp send-gratuitous-arp View VLAN interface view Default level 2: System level Parameters interval milliseconds: Sets the interval at which gratuitous ARP packets are sent, in the range 200 to 200,000 milliseconds.
View System view Default level 2: System level Parameters None Description Use the gratuitous-arp-sending enable command to enable a switch to send gratuitous ARP packets when receiving ARP requests from another network segment. Use the undo gratuitous-arp-sending enable command to restore the default. By default, a switch cannot send gratuitous ARP packets when receiving ARP requests from another network segment.
Proxy ARP configuration commands display local-proxy-arp Syntax display local-proxy-arp [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters interface interface-type interface-number: Displays the local proxy ARP status of the interface specified by the argument interface-type interface-number.
Default level 2: System level Parameters interface interface-type interface-number: Displays the proxy ARP status of the 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 and all lines that follow.
Related commands: display local-proxy-arp. Examples # Enable local proxy ARP on VLAN-interface 2. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] local-proxy-arp enable # Enable local proxy ARP on VLAN-interface 2 for a specific IP address range. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] local-proxy-arp enable ip-range 1.1.1.1 to 1.1.1.20 proxy-arp enable Syntax...
IP addressing configuration commands display ip interface Syntax display ip interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression View 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.
Unreachable: Source quench: Routing redirect: Echo request: Router advert: Router solicit: Time exceed: IP header bad: Timestamp request: Timestamp reply: Information request: Information reply: Netmask request: Netmask reply: Unknown type: Table 2 Output description Field Description Current physical state of the interface, which can be ...
Field Description Total number of ARP packets received on the interface (the statistics ARP packet input number: start at the switch startup): Request packet: ARP request packets Reply packet: ARP reply packets Unknown packet: Unknown packets Number of TTL-invalid packets received on the interface (the statistics TTL invalid packet number start at the switch startup) ICMP packet input number:...
exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use the display ip interface brief command to display brief IP configuration information for a specified Layer 3 interface or all Layer 3 interfaces.
Field Description Interface description information, for which up to 12 characters can be Description displayed. If there are more than 12 characters, only the first nine characters are displayed. ip address Syntax ip address ip-address { mask-length | mask } [ sub ] undo ip address [ ip-address { mask-length | mask } [ sub ] ] View Interface view...
[Sysname-Vlan-interface1] ip address 202.38.160.1 255.255.255.0 sub...
DHCP server configuration commands NOTE: The DHCP server configuration is supported only on VLAN interfaces, and loopback interfaces. The subaddress pool configuration is not supported on loopback interfaces. bims-server Syntax bims-server ip ip-address [ port port-number ] sharekey key undo bims-server View DHCP address pool view Default level...
bootfile-name Syntax bootfile-name bootfile-name undo bootfile-name View DHCP address pool view Default level 2: System level Parameters bootfile-name: Specifies the boot file name, a string of 1 to 63 characters. Description Use the bootfile-name command to specify a bootfile name in the DHCP address pool for the client. Use the undo bootfile-name command to remove the specified bootfile name.
NOTE: You need to enable DHCP before performing DHCP server and relay agent configurations. Examples # Enable DHCP. <Sysname> system-view [Sysname] dhcp enable dhcp server apply ip-pool Syntax dhcp server apply ip-pool pool-name undo dhcp server apply ip-pool [ pool-name ] View Interface view Default level...
undo dhcp select server global-pool [ subaddress ] View Interface view Default level 2: System level Parameters subaddress: Supports secondary address allocation. When the DHCP server and client are on the same network segment, the server preferably assigns an IP address from an address pool that resides on the same subnet as the primary IP address of the server interface (connecting to the client).
Parameters None Description Use the dhcp server detect command to enable unauthorized DHCP server detection. Use the undo dhcp server detect command to disable the function. By default, the function is disabled. With this function enabled, upon receiving a DHCP request, the DHCP server will resolve from the request the IP addresses of DHCP servers which ever offered IP addresses to the DHCP client and the receiving interface.
Using the dhcp server forbidden-ip command repeatedly can exclude multiple IP address ranges from allocation. Related commands: display dhcp server forbidden-ip, dhcp server ip-pool, network, and static-bind ip- address. Examples # Exclude the IP address range 10.1 10.1.1 to 10.1 10.1.63 from dynamic allocation. <Sysname>...
View System view Default level 2: System level Parameters number: Specifies the number of ping packets, in the range 0 to 10. 0 means no ping operation. Description Use the dhcp server ping packets command to specify the maximum number of ping packets on the DHCP server.
To avoid IP address conflicts, the DHCP server checks whether an IP address is in use before assigning it to a DHCP client. The DHCP server pings the IP address to be assigned by using ICMP. If the server gets a response within the specified period, the server selects and pings another IP address.
Default level 2: System level Parameters allocated-ip threshold-value: Enables the DHCP server to send trap messages to the network management server when the ratio of successfully allocated IP addresses to received DHCP requests within five minutes reaches the threshold specified by the threshold-value argument. The threshold is a percentage value ranging from 1 to 100.
Parameters all: Displays information about all IP address conflicts. ip-address: Displays conflict information for a specified IP address. |: 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 and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
|: 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 and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use the display dhcp server free-ip command to display information about assignable IP addresses which have never been assigned.
Table 6 Output description Field Description Globally excluded IP addresses specified with the dhcp server forbidden-ip command in Global system view. No address pool can assign these IP addresses. Excluded IP addresses specified with the forbidden-ip command in DHCP address pool Pool name view.
662e-3030-3033-2d45- 7468-6572-6e65-7430- 2f31 --- total 2 entry --- Table 7 Output description Field Description Utilization rate of IP addresses in a DHCP address pool, which is the ratio of assigned IP addresses to assignable IP addresses in the DHCP address pool. ...
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use the display dhcp server statistics command to display the statistics of the DHCP server.
Field Description The number of DHCP requests sent from DHCP clients to the DHCP server, including: DHCPDISCOVER DHCPREQUEST BOOTP Request DHCPDECLINE DHCPRELEASE DHCPINFORM BOOTPREQUEST The number of DHCP replies sent from the DHCP server to DHCP clients, including: ...
Global pool: Pool name: 0 network 20.1.1.0 mask 255.255.255.0 Sibling node:1 option 2 ip-address 1.1.1.1 expired 1 0 0 Pool name: 1 static-bind ip-address 10.10.1.2 mask 255.0.0.0 static-bind mac-address 00e0-00fc-0001 PrevSibling node:0 expired unlimited Extended pool: Pool name: 2 network ip range 1.1.1.0 1.1.1.255 network mask 255.255.255.0 expired 0 0 2 Table 9 Output description...
Field Description Range of assignable IP addresses in the extended address network ip range pool Mask of IP addresses assigned from the extended address network mask pool dns-list Syntax dns-list ip-address&<1-8> undo dns-list { ip-address | all } View DHCP address pool view Default level 2: System level Parameters...
Default level 2: System level Parameters domain-name: Specifies the domain name suffix for DHCP clients, a string of 1 to 50 characters. Description Use the domain-name command to specify a domain name suffix for the DHCP clients in the DHCP address pool.
Examples # Specify the lease duration as one day, two hours, three minutes, and four seconds in DHCP address pool 0. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] expired day 1 hour 2 minute 3 second 4 forbidden-ip Syntax forbidden-ip ip-address&<1-8>...
gateway-list Syntax gateway-list ip-address&<1-8> undo gateway-list { ip-address | all } View DHCP address pool view Default level 2: System level Parameters ip-address&<1-8>: Specifies the gateway IP address. &<1-8> means you can specify up to eight gateway addresses separated by spaces. all: Specifies all gateway IP addresses to be removed.
Description Use the nbns-list command to specify WINS server address(es) in a DHCP address pool. Use the undo nbns-list command to remove the specified WINS server address(es). By default, no WINS server address is specified. If you use the nbns-list command repeatedly, the latest configuration will overwrite the previous one. Related commands: dhcp server ip-pool, netbios-type, and display dhcp server tree.
[Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] netbios-type b-node network Syntax network network-address [ mask-length | mask mask ] undo network View DHCP address pool view Default level 2: System level Parameters network-address: Specifies the IP address range for dynamic allocation. If no mask length and mask is specified, the natural mask will be used.
Parameters min-address: Specifies the lowest IP address for dynamic allocation. max-address: Specifies the highest IP address for dynamic allocation. Description Use the network ip range command to specify the IP address range for dynamic allocation in an extended address pool. Use the undo network ip range command to remove the specified address range.
NOTE: Only the extended address pools support this command. If you specify an IP address range for an extended address pool without an IP address mask, the extended address pool is not valid, and therefore the system cannot assign IP addresses from the extended address pool. Related commands: dhcp server ip-pool, network ip range, and display dhcp server tree.
reset dhcp server conflict Syntax reset dhcp server conflict { all | ip ip-address } View User view Default level 2: System level Parameters all: Clears the statistics of all IP address conflicts. ip ip-address: Clears the conflict statistics of a specified IP address. Description Use the reset dhcp server conflict command to clear statistics of IP address conflict(s).
reset dhcp server statistics Syntax reset dhcp server statistics View User view Default level 2: System level Parameters None Description Use the reset dhcp server statistics command to clear the statistics of the DHCP server. Related commands: display dhcp server statistics. Examples # Clear the statistics of the DHCP server.
If you use the static-bind client-identifier or static-bind mac-address command repeatedly, the latest configuration will overwrite the previous one. Related commands: dhcp server ip-pool, static-bind ip-address, static-bind mac-address, display dhcp server tree, and display dhcp client verbose. Examples # Bind the client ID aaaa-bbbb to the IP address 10.1.1.1 with the mask 255.255.255.0 in DHCP address pool 0.
Examples # Bind the client MAC address 0000-e03f-0305 to the IP address 10.1.1.1 with the mask 255.255.255.0 in DHCP address pool 0. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0 [Sysname-dhcp-pool-0] static-bind mac-address 0000-e03f-0305 static-bind mac-address Syntax static-bind mac-address mac-address undo static-bind mac-address...
undo tftp-server domain-name View DHCP address pool view Default level 2: System level Parameters domain-name: Specifies the TFTP server name, a string of 1 to 63 characters. Description Use the tftp-server domain-name command to specify a TFTP server name in a DHCP address pool. Use the undo tftp-server domain-name command to remove the TFTP server name from a DHCP address pool.
Examples # Specify the TFTP server address 10.1.1.1 in DHCP address pool 0. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] tftp-server ip-address 10.1.1.1 vendor-class-identifier Syntax vendor-class-identifier hex-string&<1-255> ip range min-address max-address undo vendor-class-identifier hex-string&<1-255> View DHCP extended address pool view Default level 2: System level Parameters...
[Sysname-dhcp-pool-0] vendor-class-identifier a0 b0 0c ip range 10.1.1.1 10.1.1.5 voice-config Syntax voice-config { as-ip ip-address | fail-over ip-address dialer-string | ncp-ip ip-address | voice-vlan vlan-id { disable | enable } } undo voice-config [ as-ip | fail-over | ncp-ip | voice-vlan ] View DHCP address pool view Default level...
DHCP relay agent configuration commands NOTE: The DHCP relay agent configuration is supported only on VLAN interfaces. dhcp relay address-check Syntax dhcp relay address-check { disable | enable } View Interface view Default level 2: System level Parameters disable: Disables address check on the relay agent. enable: Enables address check on the relay agent.
dhcp relay check mac-address Syntax dhcp relay check mac-address undo dhcp relay check mac-address View Interface view Default level 2: System level Parameters None Description Use the dhcp relay check mac-address command to enable MAC address check on the DHCP relay agent.
Description Use the dhcp relay client-detect enable command to enable offline detection on the DHCP relay agent. Use the undo dhcp relay client-detect enable command to disable offline detection on the DHCP relay agent. By default, this function is disabled. With this function enabled on an interface, the DHCP relay agent removes a client’s IP-to-MAC binding entry when it is aged out, and sends a DHCP-RELEASE request to the DHCP server to release the IP address of the client.
dhcp relay information circuit-id string Syntax dhcp relay information circuit-id string circuit-id undo dhcp relay information circuit-id string View Interface view Default level 2: System level Parameters circuit-id: Specifies the padding content for the user-defined circuit ID sub-option, a case-sensitive string of 3 to 63 characters.
Description Use the dhcp relay information enable command to enable the relay agent to support Option 82. Use the undo dhcp relay information enable command to disable Option 82 support. By default, Option 82 support is disabled on the DHCP relay agent. Related commands: display dhcp relay information.
NOTE: Using the undo dhcp relay information format command without the keyword verbose node-identifier restores the default normal padding format, or with the keyword verbose node-identifier restores the mac mode of the verbose padding format. If configuring the handling strategy of the DHCP relay agent as replace, you need to configure a padding format of Option 82.
[Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] dhcp relay information remote-id format-type ascii dhcp relay information remote-id string Syntax dhcp relay information remote-id string { remote-id | sysname } undo dhcp relay information remote-id string View Interface view Default level 2: System level Parameters remote-id: Specifies the padding content for the user-defined remote ID sub-option, a case-sensitive string of 1 to 63 characters.
View Interface view Default level 2: System level Parameters drop: Specifies the dropping of messages containing Option 82. keep: Specifies the forwarding of messages containing Option 82 without any change. replace: Specifies the forwarding of messages containing Option 82 after replacing the original Option 82 with the Option 82 padded in the specified padding format.
dhcp relay security static Syntax dhcp relay security static ip-address mac-address [ interface interface-type interface-number ] undo dhcp relay security { ip-address | all | dynamic | interface interface-type interface-number | static View System view Default level 2: System level Parameters ip-address: Specifies the client IP address for creating a static binding.
View System view Default level 2: System level Parameters None Description Use the dhcp relay security refresh enable command to enable the DHCP relay agent to periodically refresh dynamic client entries. Use the undo dhcp relay security refresh enable command to disable periodic refresh of dynamic client entries.
Related commands: display dhcp relay security tracker. Examples # Set the refreshing interval as 100 seconds. <Sysname> system-view [Sysname] dhcp relay security tracker 100 dhcp relay server-detect Syntax dhcp relay server-detect undo dhcp relay server-detect View System view Default level 2: System level Parameters None...
Default level 2: System level Parameters group-id: Specifies the DHCP server group number, in the range 0 to 19. ip ip-address: Specifies the DHCP server IP address. Description Use the dhcp relay server-group command to specify a DHCP server for a DHCP server group. Use the undo dhcp relay server-group command to remove a DHCP server from a DHCP server group.
A relay agent interface can only correlate with one DHCP server group, and a newly configured correlation overwrites the previous one. If the server group in the new correlation does not exist, the new configuration will not work. The interface still maintains the previous correlation. The DHCP server group referenced in this command should have been configured by using the dhcp relay server-group command.
display dhcp relay Syntax display dhcp relay { all | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters all: Displays information of DHCP server groups that all interfaces correspond to. interface interface-type interface-number: Displays information of the DHCP server group that a specified interface corresponds to.
Default level 1: Monitor level Parameters all: Displays the Option 82 configuration information of all interfaces. interface interface-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 the Fundamentals Configuration Guide.
Field Description Format Padding format of Option 82, which can be Normal or Verbose Circuit ID format-type Non-user-defined code type of the circuit ID sub-option, which can be ASCII or HEX Non-user-defined code type of the remote ID sub-option, which can be ASCII or Remote ID format-type Node identifier Access node identifier...
10.1.1.5 00e0-0000-0000 Static Vlan2 2 dhcp-security item(s) found Table 12 Output description Field Description IP Address Client IP address MAC Address Client MAC address Type Type of binding, including dynamic, static, and temporary Layer 3 interface connecting to the DHCP client. If no interface is recorded in the Interface binding entry, ―N/A‖...
Table 13 Output description Field Description Static Items Static binding items Dynamic Items Dynamic binding items Temporary Items Temporary binding items All Items All binding items display dhcp relay security tracker Syntax display dhcp relay security tracker [ | { begin | exclude | include } regular-expression ] View Any view Default level...
Default level 1: Monitor level Parameters group-id: Displays the information of the specified DHCP server group numbered from 0 to 19. all: Displays the information of all DHCP server groups. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
|: 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 and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
BOOTPREQUEST packets sent: DHCP packets sent to clients: DHCPOFFER packets sent: DHCPACK packets sent: DHCPNAK packets sent: BOOTPREPLY packets sent: # Display DHCP packet statistics related to every server group on the relay agent. <Sysname> display dhcp relay statistics server-group all DHCP relay server-group Packet type Packet number...
DHCP client configuration commands NOTE: The DHCP client configuration is supported only on VLAN interfaces. When multiple VLAN interfaces having the same MAC address use DHCP for IP address acquisition via a relay agent, the DHCP server cannot be the Windows Server 2000 or Windows Server 2003. display dhcp client Syntax display dhcp client [ verbose ] [ interface interface-type interface-number ] [ | { begin | exclude | include...
# Display verbose DHCP client information. <Sysname> display dhcp client verbose Vlan-interface1 DHCP client information: Current machine state: BOUND Allocated IP: 40.1.1.20 255.255.255.0 Allocated lease: 259200 seconds, T1: 129600 seconds, T2: 226800 seconds Lease from 2005.08.13 15:37:59 2005.08.16 15:37:59 DHCP server: 40.1.1.2 Transaction ID: 0x1c09322d Default router: 40.1.1.2 Classless static route:...
Field Description DHCP Server DHCP server IP address that assigned the IP address Transaction ID, a random number chosen by the client to identify Transaction ID an IP address allocation Default router The gateway address assigned to the client Classless static route Classless static routes assigned to the client Static route Classful static routes assigned to the client...
[Sysname-Vlan-interface1] ip address dhcp-alloc...
DHCP snooping configuration commands NOTE: The DHCP snooping enabled device does not work if it is between the DHCP relay agent and DHCP server. It can work when it is between the DHCP client and relay agent or between the DHCP client and server.
Default level 2: System level Parameters filename: Specifies the file name. For how to define the file name, see the Fundamentals Configuration Guide. Description Use the dhcp-snooping binding database filename command to specify the name of the file for storing DHCP snooping entries.
Related commands: dhcp-snooping binding database filename. Examples # Configure the DHCP snooping entry file to be refreshed every 10 minutes. <Sysname> system-view [Sysname] dhcp-snoooping binding database update interval 10 dhcp-snooping binding database update now Syntax dhcp-snooping binding database update now View System view Default level...
Description Use the dhcp-snooping check mac-address command to enable MAC address check on a DHCP snooping device. Use the undo dhcp-snooping check mac-address command to disable MAC address check of DHCP snooping. By default, this function is disabled. With this function enabled, the DHCP snooping device compares the chaddr field of a received DHCP request with the source MAC address field in the frame.
[Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] dhcp-snooping check request-message dhcp-snooping information circuit-id format-type Syntax dhcp-snooping information circuit-id format-type { ascii | hex } undo dhcp-snooping information circuit-id format-type View Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default level 2: System level Parameters ascii: Specifies the code type for the circuit ID sub-option as ascii.
Parameters vlan vlan-id: Specifies a VLAN ID, in the range 1 to 4094. circuit-id: Specifies the padding content for the user-defined circuit ID sub-option, a case-sensitive string of 3 to 63 characters. Description Use the dhcp-snooping information circuit-id string command to configure the padding content for the user-defined circuit ID sub-option.
<Sysname> system-view [Sysname] interface GigabitEthernet1/0/1 [Sysname-GigabitEthernet1/0/1] dhcp-snooping information enable dhcp-snooping information format Syntax dhcp-snooping information format { normal | verbose [ node-identifier { mac | sysname | user-defined node-identifier } ] } undo dhcp-snooping information format [ verbose node-identifier ] View Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default level...
dhcp-snooping information remote-id format-type Syntax dhcp-snooping information remote-id format-type { ascii | hex } undo dhcp-snooping information remote-id format-type View Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default level 2: System level Parameters ascii: Specifies the code type for the remote ID sub-option as ascii. hex: Specifies the code type for the remote ID sub-option as hex.
remote-id: Specifies the padding content for the user-defined circuit ID sub-option, a case-sensitive string of 1 to 63 characters. sysname: Specifies the device name as the padding content for the remote ID sub-option. Description Use the dhcp-snooping information remote-id string command to configure the padding content for the user-defined remote ID sub-option.
Description Use the dhcp-snooping information strategy command to configure the handling strategy for Option 82 in requesting messages. Use the undo dhcp-snooping information strategy command to restore the default. By default, the handling strategy for Option 82 in requesting messages is replace. Related commands: display dhcp-snooping information.
View Layer 2 Ethernet interface 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-MAC bindings of clients. Description Use the dhcp-snooping trust command to configure a port as a trusted port.
NOTE: Only the DHCP snooping entries containing IP-to-MAC bindings that are present both in the DHCP- ACK and DHCP-REQUEST messages are displayed by using the display dhcp-snooping command. Related commands: dhcp-snooping and reset dhcp-snooping. Examples # Display all DHCP snooping entries. <Sysname>...
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 the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
|: 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 and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
Parameters slot slot-number: Displays the DHCP packet statistics of the specified device. If the device is in an IRF, the slot-number argument represents the member ID of the device; if the device is not in any IRF, the slot- number argument represents the device ID. If the switch does not support IRF, the slot-number argument must be 1.
Description Use the display dhcp-snooping trust command to display information about trusted ports. Related commands: dhcp-snooping trust. Examples # Display information about trusted ports. <Sysname> display dhcp-snooping trust DHCP Snooping is enabled. DHCP Snooping trust becomes active. Interface Trusted ========================= ============ GigabitEthernet1/0/1 Trusted...
Parameters slot slot-number: Clears the DHCP packet statistics of the specified device. If the device is in an IRF, the slot-number argument represents the member ID of the device; if the device is not in any IRF, the slot- number argument represents the device ID. If the switch does not support IRF, the slot-number argument must be 1.
BOOTP client configuration commands NOTE: BOOTP client configuration can only be used on VLAN interfaces. If several VLAN interfaces sharing the same MAC address obtain IP addresses through a BOOTP relay agent, the BOOTP server cannot be a Windows Server 2000 or Windows Server 2003. display bootp client Syntax display bootp client [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-...
Table 18 Output description Field Description Ethernet1/1 BOOTP client information or Vlan- Information of the interface serving as a BOOTP client interface1 BOOTP client information Allocated IP IP address assigned to the BOOTP client Value of the XID field in a BOOTP message, which is a random number chosen when the BOOTP client sends a BOOTP request to the BOOTP server.
IPv4 DNS configuration commands display dns domain Syntax display dns domain [ dynamic ] [ | { begin | exclude | include } regular-expression ] View Any view 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.
display dns host Syntax display dns host [ ip | ipv6 | naptr | srv ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip: Displays the dynamic cache information of type A queries. A type A query resolves a domain name to the mapped IPv4 address.
Field Description Time that a mapping can be stored in the cache (in seconds) Type Query type, including IP, IPv6, NAPTR, and SRV Reply data concerning the query type: For an IP query, the reply data is an IPv4 address. ...
Table 21 Output description Field Description Sequence number of the DNS server, configured automatically by the device, DNS Server starting from 1 Type of domain name server: S represents a statically configured DNS server, Type and D represents a DNS server obtained dynamically through DHCP. IP Address IPv4 address of the DNS server display ip host...
Field Description Mapping type Flags Static represents static IPv4 domain name resolution. Address Host IPv4 address dns domain Syntax dns domain domain-name undo dns domain [ domain-name ] View System view Default level 2: System level Parameters domain-name: Specifies the domain name suffix, consisting of character strings separated by a dot (for example, aabbcc.com).
undo dns proxy enable View System view Default level 2: System level Parameters None Description Use the dns proxy enable command to enable DNS proxy. Use the undo dns proxy enable command to disable DNS proxy. By default, DNS proxy is disabled. Examples # Enable DNS proxy.
dns server Syntax In system view: dns server ip-address undo dns server [ ip-address ] In interface view: dns server ip-address undo dns server ip-address View System view, interface view Default level 2: System level Parameters ip-address: Specifies the IPv4 address of the DNS server. Description Use the dns server command to specify a DNS server.
View System view Default level 2: System level Parameters ip-address: Specifies the IP address used to spoof name query requests. Description Use the dns spoofing command to enable DNS spoofing. Use the undo dns spoofing command to disable DNS spoofing. By default, DNS spoofing is disabled.
Each host name can correspond to only one IPv4 address. The IPv4 address you last assign to the host name will overwrite the previous one if there is any. Related commands: display ip host. Examples # Map the IP address 10.1 10.0.1 to the host name aaa. <Sysname>...
IPv6 DNS configuration commands display dns ipv6 server Syntax display dns ipv6 server [ dynamic ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters dynamic: Displays IPv6 DNS server information acquired dynamically through DHCP or other protocols. |: Filters command output by specifying a regular expression.
Field Description Interface name, which is available only for a DNS server with an IPv6 link-local Interface Name address configured display ipv6 host Syntax display ipv6 host [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters...
dns server ipv6 Syntax dns server ipv6 ipv6-address [ interface-type interface-number ] undo dns server ipv6 ipv6-address [ interface-type interface-number ] View System view Default level 2: System level Parameters ipv6-address: Specifies the IPv6 address of a DNS server. interface-type interface-number: Specifies an interface. When the IPv6 address of the DNS server is a link-local address, the two arguments must be specified.
No mappings are created by default. Each host name can correspond to only one IPv6 address. The IPv6 address you last assign to the host name will overwrite the previous one if there is any. Related commands: display ipv6 host. Examples # Configure the mapping between a host name and an IPv6 address.
IP performance optimization configuration commands display fib Syntax display fib [ acl acl-number | ip-prefix ip-prefix-name ] [ | { begin | exclude | include } regular- expression ] View Any view Default level 1: Monitor level Parameters acl acl-number: Displays FIB entries matching a specified ACL numbered from 2000 to 2999. If the specified ACL does not exist, all FIB entries are displayed.
127.0.0.0/8 127.0.0.1 InLoop0 Null Invalid 127.0.0.1/32 127.0.0.1 InLoop0 Null Invalid # Display FIB information passing ACL 2000. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 10.2.0.0 0.0.255.255 [Sysname-acl-basic-2000] display fib acl 2000 Destination count: 2 FIB entry count: 2 Flag: U:Useable G:Gateway...
Field Description Flags of routes: ―U‖—Usable route ―G‖—Gateway route ―H‖—Host route Flag ―B‖—Blackhole route ―D‖—Dynamic route ―S‖—Static route ―R‖—Relay route OutInterface Outbound interface InnerLabel Inner label Token Link-state packet (LSP) index number display fib ip-address Syntax display fib ip-address [ mask | mask-length ] [ | { begin | exclude | include } regular-expression ] View...
<Sysname> display fib 10.2.1.1 Destination count: 1 FIB entry count: 1 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static R:Relay Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid For description about the output, see Table display icmp statistics Syntax display icmp statistics [ slot slot-number ] [ | { begin | include | exclude } regular-expression ] View...
time exceeded 0 Output:echo destination unreachable 0 source quench 0 redirects echo reply parameter problem timestamp information reply mask requests 0 mask replies time exceeded 0 Table 26 Output description Field Description bad formats Number of input wrong format packets bad checksum Number of input wrong checksum packets echo...
slot slot-number: Displays the socket information of the specified device. If the device is in an IRF, the slot- number argument represents the member ID of the device; if the device is not in any IRF, the slot-number argument represents the device ID. If the switch does not support IRF, the slot-number argument must be 1.
Task = ROUT(69), socketid = 11, Proto = 6, LA = 192.168.1.40:1025, FA = 192.168.1.45:179, sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, socket option = SO_REUSEADDR SO_LINGER, socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC SOCK_DGRAM: Task = NTPT(37), socketid = 1, Proto = 17, LA = 0.0.0.0:123, FA = 0.0.0.0:0, sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0, socket option = SO_UDPCHECKSUM,...
socket option = SO_ACCEPTCONN SO_REUSEADDR SO_REUSEPORT, socket state = SS_PRIV SS_NBIO SS_ASYNC Task = ROUT(69), socketid = 2, Proto = 103, LA = 0.0.0.0, FA = 0.0.0.0, sndbuf = 65536, rcvbuf = 256000, sb_cc = 0, rb_cc = 0, socket option = SO_ACCEPTCONN SO_REUSEADDR SO_REUSEPORT, socket state = SS_PRIV SS_NBIO SS_ASYNC Task = ROUT(69), socketid = 1, Proto = 65, LA = 0.0.0.0, FA = 0.0.0.0,...
View Any view Default level 1: Monitor level Parameters slot slot-number: Displays statistics of IP packets on the specified device. If the device is in an IRF, the slot- number argument represents the member ID of the device; if the device is not in any IRF, the slot-number argument represents the device ID.
Field Description local Total number of packets sent from the local dropped Total number of packets discarded no route Total number of packets for which no route is available compress fails Total number of packets failed to be compressed input Total number of fragments received output Total number of fragments sent...
checksum error: 0, offset error: 0, short error: 0 duplicate packets: 1 (8 bytes), partially duplicate packets: 0 (0 bytes) out-of-order packets: 17 (0 bytes) packets of data after window: 0 (0 bytes) packets received after close: 0 ACK packets: 4625 (141989 bytes) duplicate ACK packets: 1702, too much ACK packets: 0 Sent packets: Total: 6726...
Field Description too much ACK packets Number of ACK packets for data unsent Total Total number of packets sent urgent packets Number of urgent packets sent control packets Number of control packets sent Number of window probe packets sent; in the brackets are window probe packets resent packets Sent packets:...
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use the display udp statistics command to display statistics of UDP packets.
View Interface view Default level 2: System level Parameters acl acl-number: Specifies the ACL number, in the range 2000 to 3999. From 2000 to 2999 are numbers for basic ACLs, and from 3000 to 3999 are numbers for advanced ACLs. Only directed broadcasts permitted by the ACL can be forwarded.
ip redirects enable Syntax ip redirects enable undo ip redirects View System view Default level 2: System level Parameters None Description Use the ip redirects enable command to enable sending of ICMP redirection packets. Use the undo ip redirects command to disable sending of ICMP redirection packets. This feature is disabled by default.
Examples # Enable sending of ICMP timeout packets. <Sysname> system-view [Sysname] ip ttl-expires enable ip unreachables enable Syntax ip unreachables enable undo ip unreachables View System view Default level 2: System level Parameters None Description Use the ip unreachables enable command to enable sending of ICMP destination unreachable packets. Use the undo ip unreachables command to disable sending of ICMP destination unreachable packets.
Related commands: display ip interface and display ip statistics. Examples # Clear statistics of IP packets. <Sysname> reset ip statistics reset tcp statistics Syntax reset tcp statistics View User view Default level 2: System level Parameters None Description Use the reset tcp statistics command to clear statistics of TCP traffic. Related commands: display tcp statistics.
tcp timer fin-timeout Syntax tcp timer fin-timeout time-value undo tcp timer fin-timeout View System view Default level 2: System level Parameters time-value: Specifies the length of the TCP finwait timer in seconds, in the range 76 to 3600. Description Use the tcp timer fin-timeout command to configure the length of the TCP finwait timer. Use the undo tcp timer fin-timeout command 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 length of the TCP synwait timer to 80 seconds. <Sysname> system-view [Sysname] tcp timer syn-timeout 80 tcp window Syntax tcp window window-size...
IRDP configuration commands ip irdp Syntax ip irdp undo ip irdp View Interface view Default level 2: System level Parameters None Description Use the ip irdp command to enable IRDP on an interface. Use the undo ip irdp command to disable IRDP on an interface. IRDP is disabled on an interface by default.
Description Use the ip irdp address command to configure an IP address to be proxy-advertised by the interface. Use the undo ip irdp address command to remove the proxy-advertised IP address. Examples # Specify the IP address 192.168.0.8 and its preference for VLAN-interface 1 to proxy-advertise. <Sysname>...
Default level 2: System level Parameters interval-value: Specifies the maximum advertising interval in seconds, in the range 4 to 1800. Description Use the ip irdp maxadvinterval command to set the maximum interval for advertising RAs on an interface. Use the undo ip irdp maxadvinterval command to restore the default. By default, the maximum advertising interval is 600 seconds.
Examples # Set the minimum advertising interval on VLAN-interface 1 to 400 seconds. <Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] ip irdp minadvinterval 400 ip irdp multicast Syntax ip irdp multicast undo ip irdp multicast View Interface view Default level 2: System level Parameters None...
Description Use the ip irdp preference command to configure the preference of IP addresses advertised on the interface. Use the undo ip irdp preference command to restore the default. By default, the preference of advertised IP addresses is 0. Examples # Configure preference 1 for IP addresses advertised on VLAN-interface 1.
UDP Helper configuration commands display udp-helper server Syntax display udp-helper server [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters interface interface-type interface-number: Displays information of forwarded UDP packets on the specified interface.
View User view Default level 2: System level Parameters None Description Use the reset udp-helper packet command to clear the forwarded statistics of UDP packets. Related commands: display udp-helper server. Examples # Clear the statistics of the forwarded UDP packets. <Sysname>...
View System view Default level 2: System level Parameters port-number: Specifies the UDP port number with which packets need to be forwarded, in the range 1 to 65,535 (except 67 and 68). dns: Forwards DNS data packets. The corresponding UDP port number is 53. netbios-ds: Forwards NetBIOS data packets.
Use the undo udp-helper server command 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.
IPv6 basics configuration commands display ipv6 fib Syntax display ipv6 fib [ slot slot-number ] [ ipv6-address ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters slot-number: Displays the IPv6 forwarding information base (FIB) entries of a specified device in an IRF. If no IRF is formed, the IPv6 FIB entries of the current device are displayed only.
Interface InLoopBack0 Table 31 Output description Field Description Total number of Routes Total number of routes in the FIB Destination Destination address PrefixLength Prefix length of the destination address NextHop Next hop Route flag: U — Usable route G —...
Description Use the display ipv6 interface command to display the IPv6 information of an interface. If interface-type interface-number is not specified, the IPv6 information of all interfaces is displayed; if only interface-type is specified, the IPv6 information of the interfaces of the specified type is displayed; if interface-type interface-number is specified, the IPv6 information of the specified interface is displayed.
InMcastNotMembers: OutMcastPkts: InAddrErrors: InDiscards: OutDiscards: Table 32 Output description (on a switch) Field Description Physical state of the interface: Administratively DOWN: Indicates that the VLAN interface is administratively down. The interface is shut down by using the shutdown command. Vlan-interface2 current state ...
Field Description All IPv6 packets received by the interface, including all types of error InReceives packets. Received IPv6 packets that are too short, with a length less than 40 InTooShorts bytes, for example. Received IPv6 packets with a length less than that specified in the InTruncatedPkts packets InHopLimitExceeds...
Interface Physical Protocol IPv6 Address Vlan-interface1 down down Unassigned Vlan-interface2 2001::1 Vlan-interface100 down Unassigned Table 33 Output description Field Description The interface is down. The interface is shut down by using the *down: administratively down shutdown command. Spoofing attribute of the interface. The link protocol state of the (s): spoofing interface is up, but the link does not exist, or the link is established on demand, instead of being permanent.
vlan vlan-id: Displays ND snooping entries in the specified VLAN whose ID ranges from 1 to 4094. |: 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 and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
all: Displays information of all neighbors, including neighbors acquired dynamically and configured statically. dynamic: Displays information of all neighbors acquired dynamically. static: Displays information of all neighbors configured statically. slot slot-number: Displays information of the neighbors of a specified device in an IRF. If no IRF is formed, the neighbors of only the current device are displayed.
Field Description State of a neighbor: INCMP: The address is being resolved. The link layer address of the neighbor is unknown. REACH: The neighbor is reachable. STALE: The reachability of the neighbor is unknown. The switch will not verify State the reachability any longer unless data is sent to the neighbor.
exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use the display ipv6 neighbors count command to display the total number of neighbor entries satisfying the specified condition.
2222::3 1280 Static Table 36 Output description Field Description IPv6 Destination Address Destination IPv6 address ZoneID ID of address zone, currently invalid PathMTU Path MTU (PMTU) value on the network path to an IPv6 address Time for a PMTU to live. For a static PMTU, two consecutive hyphens (--) are displayed.
With no parameter specified, this command displays the information about all the sockets; with only the socket type specified, the command displays 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.
Field Description socketid ID assigned by the kernel to the created socket Proto Protocol type, for example, 6 indicates TCP and 17 indicates UDP. Local address and local port number Remote address and remote port number sndbuf Size of the send buffer rcvbuf Size of the receive buffer sb_cc...
Examples # Display the statistics of IPv6 packets and ICMPv6 packets. <Sysname> display ipv6 statistics IPv6 Protocol: Sent packets: Total: Local sent out: forwarded: raw packets: discarded: routing failed: fragments: fragments failed: Received packets: Total: local host: hopcount exceeded: format error: option error: protocol error: fragments:...
Table 38 Output description Field Description IPv6 Protocol: Statistics of IPv6 packets Statistics of sent IPv6 packets: Total number of packets sent and forwarded Sent packets: locally Total: Number of packets sent locally Number of forwarded packets Local sent out: 0 forwarded: ...
Field Description Statistics of received ICMPv6 packets: Total number of received packets Number of packets with checksum errors Number of too small packets Number of packets with error codes Received packets: Number of Destination Unreachable packets Total: ...
Description Use the display tcp ipv6 statistics command to display IPv6 TCP connection statistics. You can use the reset tcp ipv6 statistics command to clear statistics of all IPv6 TCP packets. Examples # Display the statistics of IPv6 TCP connections. <Sysname>...
Table 39 Output description Field Description Received packets: Statistics of received packets: Total: 0 Total number of received packets packets in sequence: 0 (0 bytes) Number of packets received in sequence window probe packets: Number of window probe packets window update packets: 0 ...
Field Description Number of dropped connections (after SYN is dropped received from the peer) Number of initiated but dropped connections (before initiated dropped SYN is received from the peer) Number of packets that fail the MD5 authentication Packets dropped with MD5 authentication and are dropped Packets permitted with MD5 authentication Number of packets that pass the MD5 authentication...
Field Description Local Address Local IPv6 address Foreign Address Remote IPv6 address IPv6 TCP connection status: Closed Listening Syn_Sent Syn_Rcvd Established State Close_Wait Fin_Wait1 Closing Last_Ack Fin_Wait2 Time_Wait display udp ipv6 statistics Syntax display udp ipv6 statistics [ | { begin | exclude | include } regular-expression ] View...
shorter than header: 0, data length larger than packet: 0 unicast(no socket on port): 0 broadcast/multicast(no socket on port): 0 not delivered, input socket full: 0 input packets missing pcb cache: 0 Sent packets: Total: 0 Table 41 Output description Field Description Total...
<Sysname> system-view [Sysname] ipv6 ipv6 address Syntax ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } undo ipv6 address [ ipv6-address prefix-length | ipv6-address/prefix-length ] View Interface view Default level 2: System level Parameters ipv6-address: Specifies the IPv6 address. prefix-length: Specifies the prefix length of the IPv6 address, in the range 1 to 128. Description Use the ipv6 address command to configure an IPv6 global unicast address for an interface.
Default level 2: System level Parameters ipv6-address/prefix-length: Specifies an IPv6 anycast address and its prefix length. The prefix length ranges 1 to 128. Description Use the ipv6 address anycast command to configure an IPv6 anycast address for an interface. Use the undo ipv6 address anycast command to remove the IPv6 anycast address from the interface. By default, no IPv6 anycast address is configured for an interface.
[Sysname-Vlan-interface100] ipv6 address auto ipv6 address auto link-local Syntax ipv6 address auto link-local undo ipv6 address auto link-local View Interface view Default level 2: System level Parameters None Description Use the ipv6 address auto link-local command to automatically generate a link-local address for an interface.
ipv6 address eui-64 Syntax ipv6 address ipv6-address/prefix-length eui-64 undo ipv6 address ipv6-address/prefix-length eui-64 View Interface view Default level 2: System level Parameters ipv6-address/prefix-length: Specifies the IPv6 address and IPv6 prefix. The ipv6-address and prefix-length arguments jointly specify the prefix of an EUI-64 IPv6 address. Description Use the ipv6 address eui-64 command to configure an EUI-64 IPv6 address for an interface.
Description Use the ipv6 address link-local command to configure a link-local address for the interface. Use the undo ipv6 address link-local command to remove the configured link-local address for the interface. Manual assignment takes precedence over automatic generation. If you first adopt automatic generation and then manual assignment, the manually assigned link-local address will overwrite the automatically generated one.
ipv6 icmp-error Syntax ipv6 icmp-error { bucket bucket-size | ratelimit interval } * undo ipv6 icmp-error View System view Default level 2: System level Parameters bucket bucket-size: Specifies the number of tokens in the token bucket, in the range 1 to 200. ratelimit interval: Specifies the update period of the token bucket in milliseconds, in the range 0 to 2,147,483,647.
Examples # Enable replying to multicast echo requests. <Sysname> system-view [Sysname] ipv6 icmpv6 multicast-echo-reply enable ipv6 nd autoconfig managed-address-flag Syntax ipv6 nd autoconfig managed-address-flag undo ipv6 nd autoconfig managed-address-flag View Interface view Default level 2: System level Parameters None Description Use the ipv6 nd autoconfig managed-address-flag command to set the managed address configuration (M) flag to 1 so that the host can acquire an IPv6 address through stateful autoconfiguration (for example, from a DHCP server).
Description Use the ipv6 nd autoconfig other-flag command to set the other stateful configuration flag (O) to 1 so that the host can acquire information other than IPv6 address through stateful autoconfiguration (for example, from a DHCP server). Use the undo ipv6 nd autoconfig other-flag command to restore the default. By default, the O flag is set to 0 so that the host can acquire other information through stateless autoconfiguration.
undo ipv6 nd hop-limit View System view Default level 2: System level Parameters value: Specifies the number of hops, in the range 0 to 255. When it is set to 0, the Hop Limit field in RA messages sent by the switch is 0. The number of hops is determined by the requesting device itself. Description Use the ipv6 nd hop-limit command to configure the hop limit advertised by the switch.
Examples # Specify VLAN-interface 100 to retransmit NS messages at intervals of 10,000 milliseconds. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd ns retrans-timer 10000 ipv6 nd nud reachable-time Syntax ipv6 nd nud reachable-time value undo ipv6 nd nud reachable-time View Interface view Default level...
Parameters None Description Use the ipv6 nd proxy enable command to enable ND proxy. Use the undo ipv6 nd proxy enable command to restore the default. By default, ND proxy is disabled. Examples # Enable ND proxy on VLAN-interface 100. <Sysname>...
Default level 2: System level Parameters max-interval-value: Specifies the maximum interval for advertising RA messages in seconds, in the range 4 to 1800. min-interval-value: Specifies the minimum interval for advertising RA messages in seconds, in the range 3 to 1350. Description Use the ipv6 nd ra interval command to set the maximum and minimum intervals for advertising RA messages.
By default, RA messages contain the MTU option. Examples # Turn off the MTU option in RA messages on VLAN-interface 100. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd ra no-advlinkmtu ipv6 nd ra prefix Syntax ipv6 nd ra prefix { ipv6-prefix prefix-length | ipv6-prefix/prefix-length } valid-lifetime preferred-lifetime [ no-autoconfig | off-link ] * undo ipv6 nd ra prefix ipv6-prefix View...
ipv6 nd ra router-lifetime Syntax ipv6 nd ra router-lifetime value undo ipv6 nd ra router-lifetime View Interface view Default level 2: System level Parameters value: Specifies the router lifetime in seconds, in the range 0 to 9,000. When it is set to 0, the switch does not serve as the default router.
Examples # Enable ND snooping for VLAN 1. <Sysname> system-view [Sysname] vlan 1 [Sysname-vlan1] ipv6 nd snooping enable ipv6 nd snooping max-learning-num Syntax ipv6 nd snooping max-learning-num number undo ipv6 nd snooping max-learning-num View Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default level 2: System level Parameters...
View System view Default level 2: System level Parameters ipv6-address: Specifies the IPv6 address of the static neighbor entry. mac-address: Specifies the MAC address of the static neighbor entry (48 bits long, in the format of H-H- vlan-id: Specifies the VLAN ID of the static neighbor entry, in the range 1 to 4094. port-type port-number: Specifies the type and number of a Layer 2 port of the static neighbor entry.
Parameters number: Specifies the maximum number of neighbors that can be dynamically learned by the interface, in the range 1 to 512. Description Use the ipv6 neighbors max-learning-num command to configure the maximum number of neighbors that can be dynamically learned on the interface. Use the undo ipv6 neighbors max-learning-num command to restore the default.
View System view Default level 2: System level Parameters ipv6-address: Specifies the IPv6 address. value: Specifies the PMTU of a specified IPv6 address in bytes, in the range 1280 to 10,000. Description Use the ipv6 pathmtu command to configure a static PMTU for a specified IPv6 address. Use the undo ipv6 pathmtu command to remove the PMTU configuration for a specified IPv6 address.
ipv6 prefer temporary-address Syntax ipv6 prefer temporary-address [ valid-lifetime preferred-lifetime ] undo ipv6 prefer temporary-address View System view Default level 2: System level Parameters valid-lifetime: Specifies the valid lifetime of temporary IPv6 addresses in seconds, in the range 600 to 4,294,967,295.
Default level 2: System level Parameters None Description Use the ipv6 unreachables enable command to enable sending of ICMPv6 destination unreachable packets. Use the undo ipv6 unreachables command to disable sending of ICMPv6 destination unreachable packets. By default, sending of ICMPv6 destination unreachable packets is disabled. Examples # Enable sending of ICMPv6 destination unreachable packets.
Default level 2: System level Parameters all: Clears static and dynamic neighbor information on all interfaces. dynamic: Clears dynamic neighbor information on all interfaces. interface interface-type interface-number: Clears dynamic neighbor information on a specified interface. slot slot-number: Clears dynamic neighbor information on a specified device in an IRF. If no IRF is formed, only the dynamic neighbor information of the current device is cleared.
reset ipv6 statistics Syntax reset ipv6 statistics [ slot slot-number ] View User view Default level 2: System level Parameters slot slot number: Clears the statistics of IPv6 packets and ICMPv6 packets on a specified device in an IRF. If no IRF is formed, related information on only the current device is cleared. The slot-number argument indicates the member ID of the device.
reset udp ipv6 statistics Syntax reset udp ipv6 statistics View User view Default level 2: System level Parameters None Description Use the reset udp ipv6 statistics command to clear the statistics of all IPv6 UDP packets. You can use the display udp ipv6 statistics command to display the statistics of IPv6 UDP packets. Examples # Clear the statistics of all IPv6 UDP packets.
tcp ipv6 timer syn-timeout Syntax tcp ipv6 timer syn-timeout wait-time undo tcp ipv6 timer syn-timeout View System view Default level 2: System level Parameters wait-time: Specifies the length of the synwait timer for IPv6 TCP connections in seconds, in the range 2 to 600.
[Sysname] tcp ipv6 window 4...
DHCPv6 configuration commands DHCPv6 common configuration commands display ipv6 dhcp duid Syntax display ipv6 dhcp duid [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
Parameters pool-number: Displays the details about the address pool specified by the pool number. The value ranges from 1 to 128.. If no pool number is specified, all address pool information is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
Table 43 Output description Field Description DHCPv6 pool DHCPv6 address pool number Static prefix information configured in the address pool. If no static prefix is Static bindings configured, this field is not displayed. DUID Client DUID IAID Client IAID. If the IAID is not configured, this field displays "Not configured". Prefix IPv6 address prefix preferred lifetime...
Description Use the display ipv6 dhcp prefix-pool command to display prefix pool information. Examples # Display brief information about all prefix pools. <Sysname> display ipv6 dhcp prefix-pool Prefix-pool Prefix Available In-use Static 5::/64 # Display details about the specified prefix pool. <Sysname>...
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use the display ipv6 dhcp server command to display DHCPv6 server information.
Default level 1: Monitor level Parameters all: Displays all PD information. pool pool-number: Displays the PD information of the address pool specified by the pool number. The value ranges from 1 to 128.. prefix prefix/prefix-len: Displays the PD information of the specified prefix. The prefix/prefix-len indicates the IPv6 prefix and prefix length.
Prefix pool: 1 Client: FE80::C800:CFF:FE18:0 Type: Auto(O) DUID: 00030001CA000C180000 IAID: 0x00030001 Prefix: 2:1::/24 Preferred lifetime 400, valid lifetime 500 expires at Jul 10 2008 09:45:01 (288 seconds left) Table 46 Output description Field Description Total number Total number of PDs Prefix Assigned IPv6 prefix PD type, which can be:...
View Any view Default level 1: Monitor 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 the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Table 47 Output description Field Description Number of messages received by the DHCPv6 server. The message types include: SOLICIT REQUEST CONFIRM RENEW Packets received REBIND RELEASE DECLINE INFORMATION-REQUEST RELAY-FORWARD Packets dropped Number of packets discarded Number of messages sent out from the DHCPv6 server.
Examples # Specify the DNS server address to be assigned to the client as 2:2::3. <Sysname> system-view [Sysname] ipv6 dhcp pool 1 [Sysname-dhcp6-pool-1] dns-server 2:2::3 domain-name Syntax domain-name domain-name undo domain-name View DHCPv6 address pool view Default level 2: System level Parameters domain-name: Specifies the domain name, a string of 1 to 50 characters.
Description Use the ipv6 dhcp pool command to create a DHCPv6 address pool and enter DHCPv6 address pool view, or enter DHCPv6 address pool view if the specified address pool already exists. Use the undo ipv6 dhcp pool command to remove the address pool. No DHCPv6 address pool is configured by default.
An interface cannot serve as a DHCPv6 server and DHCPv6 relay agent at the same time. HP does not recommend enabling the DHCPv6 server and DHCPv6 client on the same interface.
<Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] ipv6 dhcp server apply pool 1 allow-hint preference 255 rapid- commit ipv6 dhcp server enable Syntax ipv6 dhcp server enable undo ipv6 dhcp server enable View System view Default level 2: System level Parameters None Description...
valid-lifetime valid-lifetime: Specifies the valid lifetime of the prefixes to be assigned. The value ranges from 60 to 4,294,967,295, in seconds. The default value is 2,592,000 seconds, that is, 30 days. The valid lifetime must be greater than or equal to the preferred lifetime. Description Use the prefix-pool command to apply a prefix pool to the DHCPv6 address pool, so that the DHCPv6 server can dynamically select a prefix from the prefix pool and assign it to the client.
Description Use the reset ipv6 dhcp server pd-in-use command to clear the PD information of the DHCPv6 server. After the PD information of assigned static prefixes is removed, the PDs become ineffective static PDs. Examples # Clear all the PD information. <Sysname>...
Description Use the sip-server command to configure the IPv6 address or domain name of a SIP server for the client. Use the undo sip-server command to remove the configuration. No SIP server address or domain name is specified by default. You can configure up to eight SIP server addresses and eight SIP server domain names in an address pool.
After a static prefix is bound to a client, the configuration cannot be modified. You need to delete the static prefix before you can bind the prefix to another client. Examples # Configure static prefix 2001:0410::/35 in address pool 1, and specify the DUID as 00030001CA0006A400, the IAID as A1A1A1A1, the preferred lifetime as one day, and the valid lifetime as three days.
FF02::1:2 Vlan4 Interface: Vlan3 Server address(es) Output Interface 1::1 FF02::1:2 Vlan4 # Display DHCPv6 server address information of VLAN-interface 2. <Sysname> display ipv6 dhcp relay server-address interface vlan-interface 2 Interface: Vlan2 Server address(es) Output Interface 1::1 FF02::1:2 Vlan4 Table 48 Output description Field Description Interface...
Packets dropped Error Excess of rate limit Packets received SOLICIT REQUEST CONFIRM RENEW REBIND RELEASE DECLINE INFORMATION-REQUEST RELAY-FORWARD RELAY-REPLY Packets sent ADVERTISE RECONFIGURE REPLY RELAY-FORWARD RELAY-REPLY Table 49 Output description Field Description Packets dropped Number of discarded packets Error Number of discarded error packets Excess of rate limit Number of packets discarded due to excess of rate limit Packets received...
Field Description RELAY-REPLY Number of sent Relay-reply packets ipv6 dhcp relay server-address Syntax ipv6 dhcp relay server-address ipv6-address [ interface interface-type interface-number ] undo ipv6 dhcp relay server-address ipv6-address [ interface interface-type interface-number ] View Interface view Default level 2: System level Parameters ipv6-address: Specifies the IPv6 address of the DHCPv6 server.
reset ipv6 dhcp relay statistics Syntax reset ipv6 dhcp relay statistics View User view Default level 1: Monitor level Parameters None Description Use the reset ipv6 dhcp relay statistics command to clear packets statistics on the DHCPv6 relay agent. After this command is executed, the packets statistics is displayed as 0 when you use the display ipv6 dhcp relay statistics command.
Description Use the display ipv6 dhcp client command to display DHCPv6 client information. With no parameters specified, the DHCPv6 client information of all the interfaces is displayed. Examples # Display the DHCPv6 client information of VLAN-interface 2. <Sysname> display ipv6 dhcp client interface vlan-interface 2 Vlan-interface2 is in stateless DHCPv6 client mode State is OPEN Preferred Server:...
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 the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Field Description Packets Sent Number of sent packets Solicit Number of sent solicit packets Request Number of sent request packets Confirm Number of sent confirm packets Renew Number of sent renew packets Rebind Number of sent rebind packets Information-request Number of sent information request packets Release Number of sent release packets Decline...
View Any view Default level 1: Monitor 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 the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Description Use the display ipv6 dhcp snooping user-binding command to display DHCPv6 snooping entries. Examples # Display all DHCPv6 snooping entries. <Sysname> display ipv6 dhcp snooping user-binding dynamic IPv6 Address MAC Address Lease VLAN Interface ============================== ============== ========== ==== ================== 2::1 00e0-fc00-0006 286 GigabitEthernet1/0/1...
ipv6 dhcp snooping max-learning-num Syntax ipv6 dhcp snooping max-learning-num number undo ipv6 dhcp snooping max-learning-num View Layer 2 Ethernet interface view, Layer 2 aggregate interface view Default level 2: System level Parameters number: Maximum number of DHCPv6 snooping entries an interface can learn. The value ranges from 0 to 4096.
After DHCPv6 snooping is enabled, to ensure that DHCPv6 clients can obtain IPv6 addresses from an authorized DHCPv6 server, you need to configure the port that connects to the authorized DHCPv6 server as a trusted port. Examples # Configure Ethernet interface GigabitEthernet 1/0/1 as a trusted port. <Sysname>...
Default level 2: System level Parameters ipv6-address: Clears DHCPv6 snooping entries of the specified IPv6 address. dynamic: Clears all DHCPv6 snooping entries. Description Use the reset ipv6 dhcp snooping user-binding command to clear DHCPv6 snooping entries. Examples # Clear all DHCPv6 snooping entries. <Sysname>...
Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. ...
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Network topology icons Represents a generic network device, such as a router, switch, 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.
Index A B D E F G I L M N O P R S T U V dhcp server relay information enable,26 dhcp server threshold,26 arp check enable,1 dhcp-snooping,76 max-learning-num,1 dhcp-snooping binding database filename,76 send-gratuitous-arp,8 dhcp-snooping binding database update interval,77 static,2 dhcp-snooping binding database update...
display dhcp-snooping information,88 domain,99 display dhcp-snooping packet statistics,89 dns proxy enable,99 display dhcp-snooping trust,90 resolve,100 display dns domain,95 server,101 display dns host,96 dns server ipv6,106 display dns ipv6 server,104 spoofing,101 display dns server,97 dns-list,36 display fib,108 dns-server,190 display fib ip-address,1 10 domain-name,191 display icmp statistics,1 1 1...
ipv6 dhcp pool,191 network mask,42 ipv6 dhcp prefix-pool,192 ipv6 dhcp relay server-address,201 option,43 ipv6 dhcp server apply pool,193 ipv6 dhcp server enable,194 ipv6 dhcp snooping enable,207 prefix-pool,194 ipv6 dhcp snooping max-learning-num,208 proxy-arp enable,12 ipv6 dhcp snooping trust,208 ipv6 dhcp snooping vlan enable,209 reset arp,7...
window,126 tftp-server domain-name,47 tftp-server ip-address,48 udp-helper enable,133 udp-helper port,133 udp-helper server,134 vendor-class-identifier,49 voice-config,50...
Comments to this Manuals
Latest comments: