Page 1
H3C WA Series WLAN Access Points Layer 3 - IP Services Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Document Version: 6W100-20100910...
Page 2
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners.
Page 3
Preface The H3C WA documentation set includes 10 command references, which describe the commands and command syntax options available for the H3C WA series WLAN access points. The Layer 3 – IP Services Command Reference describes ARP, IP addressing, DHCP, DNS, IP performance optimization, IPv6 basics, and DHCPv6 configuration commands.
Page 4
Means an action or information that needs special attention to ensure successful configuration or good performance. Means a complementary description. Means techniques helpful for you to make configuration with ease. About the H3C WA Documentation Set The H3C WA documentation set includes: Category Documents...
Page 5
Obtaining Documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] –...
Read this chapter before using an H3C WA series WLAN access point. Applicable Models and Software Versions H3C WA series WLAN access points include the WA2200 series and WA2600 series. Table 1-1 shows the applicable models and software versions.
Feature Matrix Support of the H3C WA series WLAN access points for features, commands and parameters may vary by device model. See this document for more information. For information about feature support, see Table 2-1. For information about command and...
Command/Parameter Matrix Table 3-1 Command/Parameter matrix Document Module Command/Parameter WA2200 series WA2600 series display ip https Not supported Supported ip https acl Not supported Supported Fundamentals Command HTTP commands ip https certificate Not supported Supported Reference access-control-policy ip https enable...
Page 13
Document Module Command/Parameter WA2200 series WA2600 series The maximum number of broadcast packets pps max-pps pps max-pps broadcast-suppression that can be ranges from 1 to ranges from 1 to { ratio | pps max-pps } forwarded on an 148810. 1488100.
Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix. The interface types and the number of interfaces vary by AP model. The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
arp max-learning-num Syntax arp max-learning-num number undo arp max-learning-num View Ethernet interface view, VLAN interface view Default Level 2: System level Parameters number: Maximum number of dynamic ARP entries that an interface can learn, in the range of 0 to 256. The default value is 256.
A static ARP entry is effective when the AP works normally. However, when the VLAN or VLAN interface to which an ARP entry corresponds is deleted, the entry, if permanent, will be deleted, and if non-permanent and resolved, will become unresolved. The vlan-id argument is used to specify the corresponding VLAN of an ARP entry and must be the ID of an existing VLAN.
Page 17
View Any view Default Level 1: Monitor level Parameters all: Displays all ARP entries. dynamic: Displays dynamic ARP entries. static: Displays static ARP entries. vlan vlan-id: Displays the ARP entries of the specified VLAN. The VLAN ID ranges from 1 to 4,094. interface interface-type interface-number: Displays the ARP entries of the interface specified by the argument interface-type interface-number.
# Display the number of all ARP entries <Sysname> display arp all count Total Entry(ies): 2 display arp ip-address Syntax display arp ip-address [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters ip-address: Displays the ARP entry for the specified IP address.
Description Use the display arp timer aging command to display the age timer for dynamic ARP entries. Related commands: arp timer aging. Examples # Display the age timer for dynamic ARP entries. [Sysname] display arp timer aging Current ARP aging time is 10 minute(s) naturemask-arp enable Syntax naturemask-arp enable...
interface interface-type interface-number: Clears the ARP entries for the interface specified by the argument interface-type interface-number. Description Use the reset arp command to clear ARP entries except authorized ARP entries from the ARP mapping table. With interface interface-type interface-number or slot slot-id specified, the command clears only dynamic ARP entries of the interface or the slot.
Page 21
View System view Default Level 2: System level Parameters None Description Use the gratuitous-arp-learning enable command to enable the gratuitous ARP packet learning function. Use the undo gratuitous-arp-learning enable command to disable the function. By default, the function is enabled. With this function enabled, an AP receiving a gratuitous ARP packet can add the source IP and MAC addresses carried in the packet to its own dynamic ARP table if it finds no ARP entry in the cache corresponding to the source IP address of the ARP packet exists;...
Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix. The interface types and the number of interfaces vary by AP model. The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Use the undo bims-server command to remove BIMS server information assigned from the DHCP address pool to the DHCP client. By default, no BIMS server information is specified. If you execute the bims-server command repeatedly, the latest configuration will overwrite the previous one.
View System view Default Level 2: System level Parameters None Description Use the dhcp enable command to enable DHCP. Use the undo dhcp enable command to disable DHCP. By default, DHCP is disabled. You need to enable DHCP before performing DHCP server configurations. Examples # Enable DHCP.
IP address is available, the server assigns the client an IP address from the specified extended address pool. Only an extended address pool can be applied on an interface. The address pool to be referenced must already exist. Related commands: dhcp server ip-pool. Examples # Apply extended DHCP address pool VLAN 1 on VLAN-interface 1.
undo dhcp server detect View System view Default Level 2: System level 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 record the IP addresses of DHCP servers which ever offered IP addresses to the DHCP client and the receiving interface.
When you use the dhcp server forbidden-ip command to exclude an IP address that is bound to a user from dynamic assignment, the address can be still assigned to the user. When you use the undo dhcp server forbidden-ip command to remove the configuration, the specified address/address range must be consistent with the one specified with the dhcp server forbidden-ip command.
dhcp server ping packets Syntax dhcp server ping packets number undo dhcp server ping packets View System view Default Level 2: System level Parameters number: Number of ping packets, in the range of 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.
<Sysname> system-view [Sysname] dhcp server ping timeout 1000 dhcp server relay information enable Syntax dhcp server relay information enable undo dhcp server relay information enable View System view Default Level 2: System level Parameters None Description Use the dhcp server relay information enable command to enable the DHCP server to handle Option Use the undo dhcp server relay information enable command to configure the DHCP server to ignore Option 82.
<Sysname> display dhcp server conflict all Address Discover time 4.4.4.1 Apr 25 2007 16:57:20 4.4.4.2 Apr 25 2007 17:00:10 --- total 2 entry --- Table 5-1 display dhcp server conflict command output description Field Description Address Conflicted IP address Discover Time Time when the conflict was discovered display dhcp server expired Syntax...
Table 5-2 display dhcp server expired command output description Field Description IP address Expired IP addresses Client-identifier/Hardware address IDs or MACs of clients whose IP addresses were expired Lease expiration The lease expiration time Type Types of lease expirations. Currently, this field is set to Release. display dhcp server free-ip Syntax display dhcp server free-ip...
Examples # Display IP addresses excluded from dynamic allocation in the DHCP address pool. <Sysname> display dhcp server forbidden-ip Global: IP Range from 1.1.0.2 1.1.0.3 IP Range from 1.1.1.2 1.1.1.3 Pool name:2 1.1.1.5 1.1.1.6 Table 5-3 display dhcp server forbidden-ip command output description Field Description Globally excluded IP addresses specified with the dhcp server forbidden-ip...
7468-6572-6e65-7430- 2f31 --- total 2 entry --- Table 5-4 display dhcp server ip-in-use command output description Field Description Utilization rate of a DHCP address pool When the binding information of all DHCP address pools is displayed, this field displays the total utilization rate of all DHCP address pools.
Global Pool: Pool Number: Binding: Auto: Manual: Expire: BOOTP Request: DHCPDISCOVER: DHCPREQUEST: DHCPDECLINE: DHCPRELEASE: DHCPINFORM: BOOTPREQUEST: BOOTP Reply: DHCPOFFER: DHCPACK: DHCPNAK: BOOTPREPLY: Bad Messages: Table 5-5 display dhcp server statistics command output description Field Description Global Pool Statistics of a DHCP address pool Pool Number The number of address pools Auto...
Page 35
View Any view Default Level 1: Monitor level Parameters all: Displays information of all DHCP address pools. pool [ pool-name ]: Displays information of a specified address pool. The pool name is a string of 1 to 35 characters. If no pool name is specified, information of all address pools will be displayed. Description Use the display dhcp server tree command to display information of DHCP address pool(s).
Field Description The sibling node of the current node, nodes of this kind in the output are: Child node: The child node (subnet segment) address pool of the current node Parent node: The parent node (nature network segment) address pool of Sibling node the current node Sibling node: The latter sibling node of the current node (another subnet of...
domain-name Syntax domain-name domain-name undo domain-name View DHCP address pool view Default Level 2: System level Parameters domain-name: 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.
By default, the lease duration of a static address pool is unlimited, and the lease duration of a dynamic address pool is one day. Note that if the lease duration you specified is beyond the year 2106, the system regards the lease as expired.
[Sysname] dhcp server ip-pool 0 extended [Sysname-dhcp-pool-0] forbidden-ip 192.168.1.3 192.168.1.10 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>: Gateway IP address. &<1-8> means you can specify up to eight gateway addresses separated by spaces.
all: Specifies all WINS server 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 WINS server address(es) assigned from a DHCP address pool to the DHCP client. By default, no WINS server address is specified.
Default Level 2: System level Parameters min-address: Lowest IP address for dynamic allocation. max-address: 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.
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. Examples # Specify 255.255.255.0 as the IP address mask for dynamic allocation in extended address pool 0.
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). Related commands: display dhcp server conflict.
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. <Sysname>...
static-bind mac-address Syntax static-bind mac-address mac-address undo static-bind mac-address View DHCP address pool view Default Level 2: System level Parameters mac-address: The MAC address of a static binding, in the format of H-H-H. Description Use the static-bind mac-address command to statically bind a MAC address to an IP address in a DHCP address pool.
Parameters domain-name: 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.
DHCP Client Configuration Commands The DHCP client configuration is supported only on the Layer 3 Ethernet interface (or subinterface) and VLAN interface. 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 2000 Server or Windows 2003 Server.
Field Description Static route Classful static routes assigned to the client DNS server The DNS server address assigned to the client Domain name The domain name suffix assigned to the client PXE server addresses (up to 16 addresses) specified for the DHCP Boot server client, which are obtained through Option 43.
Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix. The interface types and the number of interfaces vary by AP model. The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Field Description Type of domain name suffix: S represents a statically configured domain name Type suffix, and D represents a domain name suffix obtained dynamically through DHCP. Domain-name Domain name suffix display dns dynamic-host Syntax display dns dynamic-host View Any view Default Level 1: Monitor level Parameters...
display dns server Syntax display dns server [ dynamic ] View Any view Default Level 1: Monitor level Parameters dynamic: Displays the DNS server information dynamically obtained through DHCP or other protocols Description Use the display dns server command to display the IPv4 DNS server information. Related commands: dns server.
Description Use the display ip host command to display the host names and corresponding IPv4 addresses in the static domain name resolution table. Examples # Display the host names and corresponding IPv4 addresses in the static domain name resolution table. <Sysname>...
The domain name suffix configured with the dns domain command is applicable to both IPv4 DNS and IPv6 DNS. You can configure a maximum of 10 domain name suffixes. Related commands: display dns domain. Examples # Configure com as a DNS suffix. <Sysname>...
Default Level 2: System level Parameters ip-address: IPv4 address of the DNS server. Description Use the dns server command to specify a DNS server. Use the undo dns server to remove DNS server(s). No DNS server is specified by default. Note that: In system view, you can configure up to six DNS servers, including those with IPv6 addresses.
You can configure only one mapping for a host name. A mapping newly configured for 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 host name aaa. <Sysname>...
IPv6 DNS Configuration Commands Support for the IPv6 DNS configuration commands depends on the AP model. IPv6 DNS Configuration Commands display dns ipv6 dynamic-host Syntax display dns ipv6 dynamic-host View Any view Default Level 1: Monitor level Parameters None Description Use the display dns ipv6 dynamic-host command to display the information of the dynamic IPv6 domain name cache, including the host name, IPv6 address, and TTL of the DNS entries.
For a domain name displayed with the display dns ipv6 dynamic-host command, no more than 21 characters can be displayed. If the domain name exceeds the maximum length, the first 21 characters are displayed. display dns ipv6 server Syntax display dns ipv6 server [ dynamic ] View Any view Default Level...
display ipv6 host Syntax display ipv6 host View Any view Default Level 1: Monitor level Parameters None Description Use the display ipv6 host command to display the mappings between host names and IPv6 addresses in the static domain name resolution table. Related commands: ipv6 host.
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. Description Use the dns server ipv6 command to specify a DNS server. Use the undo dns server ipv6 command to remove the specified DNS server. By default, no DNS server is configured.
Page 64
View User view Default Level 2: System level Parameters None Description Use the reset dns ipv6 dynamic-host command to clear the information of the IPv6 dynamic domain name cache. You can use the display dns ipv6 dynamic-host command to display the information of the current IPv6 dynamic domain name cache.
Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix. The interface types and the number of interfaces vary by AP model. The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Field Description ICMP packet input number: Total number of ICMP packets received on the interface (the statistics Echo reply: start at the AP startup), including the following packets: Unreachable: Echo reply packet Source quench: Unreachable packets Routing redirect: Source quench packets Echo request: Routing redirect packets Echo request packets...
Interface Physical Protocol IP Address Description Vlan-interface1 6.6.6.6 Vlan-inte... Vlan-interface2 7.7.7.7 VLAN2 Table 9-2 display ip interface brief command output description Field Description *down: administratively The interface is administratively shut down with the shutdown command. down Spoofing attribute of the interface. It indicates that an interface whose network layer (s) : spoofing protocol is displayed up may have no link present or the link is set up only on demand.
Page 69
Use the undo ip address ip-address { mask | mask-length } command to remove the primary IP address. Use the undo ip address ip-address { mask | mask-length } sub command to remove a secondary IP address. By default, no IP address is assigned to any interface. When assigning IP addresses to an interface, consider the following: You can assign only one primary IP address to an interface.
Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix. The interface types and the number of interfaces vary by AP model. The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Description Use the display fib ip-address command to display FIB entries that match the specified destination IP address. If no mask or mask length is specified, the FIB entry that matches the destination IP address and has the longest mask will be displayed; if the mask is specified, the FIB entry that exactly matches the specified destination IP address will be displayed.
echo reply parameter problem timestamp information reply mask requests 0 mask replies time exceeded 0 Table 10-2 display icmp statistics command output description Field Description bad formats Number of input wrong format packets bad checksum Number of input wrong checksum packets echo Number of input/output echo packets destination unreachable...
Page 74
SOCK_STREAM: Task = VTYD(38), socketid = 1, Proto = 6, LA = 0.0.0.0:23, FA = 0.0.0.0:0, sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, socket option = SO_ACCEPTCONN SO_KEEPALIVE SO_REUSEPORT SO_SENDVPNID(3073) SO_SETKEEPALIVE, socket state = SS_PRIV SS_ASYNC Task = HTTP(36), socketid = 1, Proto = 6, LA = 0.0.0.0:80, FA = 0.0.0.0:0, sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,...
Page 75
LA = 0.0.0.0:1024, FA = 0.0.0.0:0, sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0, socket option = SO_UDPCHECKSUM, socket state = SS_PRIV Task = TRAP(52), socketid = 1, Proto = 17, LA = 0.0.0.0:1025, FA = 0.0.0.0:0, sndbuf = 9216, rcvbuf = 0, sb_cc = 0, rb_cc = 0, socket option = SO_UDPCHECKSUM, socket state = SS_PRIV...
Table 10-3 display ip socket command output description Field Description SOCK_STREAM TCP socket SOCK_DGRAM UDP socket SOCK_RAW Raw IP socket Task Task number socketid Socket ID Proto Protocol number of the socket, indicating the protocol type that IP carries Local address and local port number Remote address and remote port number sndbuf Sending buffer size of the socket, in bytes...
Output: forwarding local dropped no route compress fails 0 Fragment:input output dropped fragmented couldn't fragment 0 Reassembling:sum timeouts Table 10-4 display ip statistics command output description Field Description Total number of packets received local Total number of packets with destination being local bad protocol Total number of unknown protocol packets Input:...
Page 78
Description Use the display tcp statistics command to display statistics of TCP traffic. Related commands: display tcp status and reset tcp statistics. Examples # Display statistics of TCP traffic. <Sysname> display tcp statistics Received packets: Total: 8457 packets in sequence: 3660 (5272 bytes) window probe packets: 0, window update packets: 0 checksum error: 0, offset error: 0, short error: 0 duplicate packets: 1 (8 bytes), partially duplicate packets: 0 (0 bytes)
Page 79
Table 10-5 display tcp statistics command output description Field Description Total Total number of packets received packets in sequence Number of packets arriving in sequence window probe packets Number of window probe packets received window update packets Number of window update packets received checksum error Number of checksum error packets received offset error...
Field Description Packets dropped with MD5 authentication Number of packets dropped with MD5 authentication Packets permitted with MD5 authentication Number of packets permitted with MD5 authentication display tcp status Syntax display tcp status View Any view Default Level 1: Monitor level Parameters None Description...
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 redirect packets.
undo ip unreachables View System view Default Level 2: System level Parameters None Description Use the ip unreachables enable command to enable the sending of ICMP destination unreachable packets. Use the undo ip unreachables command to disable sending ICMP destination unreachable packets. Sending ICMP destination unreachable packets is disabled by default.
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 length of the TCP finwait timer is 675 seconds. Note that the actual length of the finwait timer is determined by the following formula: Actual length of the finwait timer = (Configured length of the finwait timer –...
Page 86
Default Level 2: System level Parameters window-size: Receiving/sending buffer size of TCP connection in KB, ranging from 1 to 32. Description Use the tcp window command to configure the receiving/sending buffer size of TCP connection. Use the undo tcp window command to restore the default. The TCP receiving/sending buffer is 8 KB by default.
Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix. The interface types and the number of interfaces vary by AP model. The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Preferred Server: Reachable via address FE80::213:7FFF:FEF6:C818 DUID 0003000100137ff6c818 DNS servers 1:2:3::5 1:2:4::7 Domain names abc.com Table 11-1 display ipv6 dhcp client command output description Field Description in stateless DHCPv6 client Indicates the client is in the stateless DHCPv6 configuration mode. mode Current state of the DHCPv6 client, which can be: INIT: After enabled, the DHCPv6 client enters the INIT state.
Parameters None Description Use the display ipv6 dhcp duid command to display the DUID of the local AP. Examples # Display the DUID of the device. <Sysname> display ipv6 dhcp duid The DUID of this device: 0003-0001-00e0-fc00-5552. reset ipv6 dhcp client statistics Syntax reset ipv6 dhcp client statistics [ interface interface-type interface-number ] View...
Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix. The interface types and the number of interfaces vary by AP model. The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Total number of Routes : 1 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination: PrefixLength : 128 NextHop Flag : HU Label NULL Tunnel ID TimeStamp Date- 7/14/2007, Time- 15:17:15 Interface InLoopBack0 Table 12-1 display ipv6 fib command output description Field Description Total number of Routes...
Page 94
InTooShorts: InTruncatedPkts: InHopLimitExceeds: InBadHeaders: InBadOptions: ReasmReqds: ReasmOKs: InFragDrops: InFragTimeouts: OutFragFails: InUnknownProtos: InDelivers: OutRequests: OutForwDatagrams: InNoRoutes: InTooBigErrors: OutFragOKs: OutFragCreates: InMcastPkts: InMcastNotMembers: OutMcastPkts: InAddrErrors: InDiscards: OutDiscards: Table 12-2 display ipv6 interface command output description Field Description Physical state of the interface: Administratively DOWN: Indicates that the VLAN interface is administratively down;...
Page 95
Field Description Number of DAD attempts (DAD is enabled). If DAD is enabled, the number of neighbor request messages is also displayed (configured by using the ipv6 nd dad attempts ND DAD is enabled, number of DAD command) attempts If DAD is disabled, “ND DAD is disabled” is displayed. (You can set the number of neighbor request messages for DAD to 0 to disable this function.) ND reachable time...
Field Description Sent packets that were discarded due to resource problems rather than OutDiscards packet content errors # Display the brief IPv6 information of all interfaces for which IPv6 addresses can be configured. <Sysname> display ipv6 interface *down: administratively down (s): spoofing Interface Physical...
Page 97
Parameters ipv6-address: IPv6 address whose neighbor information is to be displayed. 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. interface interface-type interface-number: Displays information of the neighbors of a specified interface.
Field Description Type of neighbor information, including static configuration and dynamic acquisition. For a static entry, a hyphen “-“ is displayed. For a dynamic entry, the reachable time (in seconds) elapsed is displayed, and if it is never reachable, “#” is displayed (for a neighbor acquired dynamically).
Parameters ipv6-address: IPv6 address whose PMTU information is to be displayed. all: Displays all PMTU information. dynamic: Displays all dynamic PMTU information. static: Displays all static PMTU information. Description Use the display ipv6 pathmtu command to display the PMTU information of IPv6 addresses. Examples # Display all PMTU information.
Page 100
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. <Sysname> display ipv6 socket SOCK_STREAM: Task = VTYD(14), socketid = 4, Proto = 6, LA = ::->22, FA = ::->0, sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0, socket option = SO_ACCEPTCONN SO_REUSEPORT SO_SENDVPNID,...
Field Description Remote address and remote port number sndbuf Size of the send buffer rcvbuf Size of the receive buffer sb_cc Number of bytes sent by the send buffer rb_cc Number of bytes received by the receive buffer socket option Socket option set by the application socket state State of the socket...
Page 102
ICMPv6 protocol: Sent packets: Total: Unreached: too big: hopcount exceeded: 0 reassembly timeout: parameter problem: 0 echo request: echo replied: neighbor solicit: neighbor advert: router solicit: 0 router advert: redirected: Send failed: ratelimited: other errors: Received packets: Total: checksum error: 0 too short: bad code: unreached:...
Page 103
Field Description Statistics of received IPv6 packets, including Total number of received packets Received packets: Number of packets received locally Total: Number of packets exceeding the hop limit local host: 0 hopcount exceeded: Number of packets in an incorrect format format error: 0 option error: Number of packets with incorrect options...
Field Description Statistics of received ICMPv6 packets, including Total number of received packets Number of packets with checksum errors Received packets: Number of too small packets Total: Number of packets with error codes checksum error: 0 too short: Number packets whose destination unreachable...
Page 105
checksum error: 0, offset error: 0, short error: 0 duplicate packets: 0 (0 bytes), partially duplicate packets: 0 (0 bytes) out-of-order packets: 0 (0 bytes) packets with data after window: 0 (0 bytes) packets after close: 0 ACK packets: 0 (0 bytes) duplicate ACK packets: 0, too much ACK packets: 0 Sent packets: Total: 0...
Field Description Sent packets: Total: 0 Statistics of sent packets, including urgent packets: Total number of packets Number of packets containing an urgent indicator control packets: 0 (including 0 RST) Number of control packets window probe packets: Number of window probe packets window update packets: 0 Number of window update packets Number of data packets...
<Sysname> display tcp ipv6 status TCP6CB Local Address Foreign Address State 045d8074 ::->21 ::->0 Listening Table 12-9 display tcp ipv6 status command output description Field Description TCP6CB IPv6 address of the TCP control block (hexadecimal) Local Address Local IPv6 address Foreign Address Remote IPv6 address IPv6 TCP connection status, including...
input packets missing pcb cache: 0 Sent packets: Total: 0 Table 12-10 display udp ipv6 statistics command output description Field Description Total Total number of received/sent packets checksum error Total number of packets with a checksum error Total number of IPv6 UDP packets whose total length is shorter than header less than specified by the packet header Total number of packets whose data length exceeds that...
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: IPv6 address. prefix-length: Prefix length of an IPv6 address, in the range 1 to 128. Description Use the ipv6 address command to configure an IPv6 site-local address or aggregatable global unicast address for an interface.
Parameters None Description Use the ipv6 address auto command to enable the stateless address autoconfiguration function on an interface. With this function enabled, the interface can automatically generate a global unicast address. Use the undo ipv6 address auto command to disable this function. The stateless address autoconfiguration function is disabled by default.
After an IPv6 site-local address or aggregatable global unicast address is configured for an interface, a link-local address is generated automatically. The automatically generated link-local address is the same as the one generated by using the ipv6 address auto link-local command. The undo ipv6 address auto link-local command can only remove the link-local addresses generated through the ipv6 address auto link-local command.
Note that you cannot specify the prefix length of an IPv6 address in the EUI-64 format to be greater than Examples # Configure an IPv6 address in EUI-64 format for VLAN-interface 100. The prefix length of the address is the same as that of 2001::1/64, and the interface ID is generated based on the MAC address of the <Sysname>...
ipv6 fibcache Syntax ipv6 fibcache undo ipv6 fibcache View System view Default Level 2: System level Parameters None Description Use the ipv6 fibcache command to enable the caching function of the IPv6 FIB. Use the undo ipv6 fibcache command to disable the caching function of the IPv6 FIB. By default, the caching function of the IPv6 FIB is disabled.
Examples # Set the capacity of the token bucket to 50 and the update period to 100 milliseconds. <Sysname> system-view [Sysname] ipv6 icmp-error bucket 50 ratelimit 100 ipv6 icmpv6 multicast-echo-reply enable Syntax ipv6 icmpv6 multicast-echo-reply enable undo ipv6 icmpv6 multicast-echo-reply View System view Default Level...
Use the undo ipv6 mtu command to restore the default MTU. By default, the MTU value is 1500 bytes. Examples # Set the MTU of IPv6 packets sent over VLAN-interface 100 to 1280 bytes. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 mtu 1280 ipv6 nd autoconfig managed-address-flag Syntax...
Parameters None Description Use the ipv6 nd autoconfig other-flag command to set the other stateful configuration flag (O) flag to 1 so that the host can acquire information other than IPv6 address through stateful autoconfiguration (for example, 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.
ipv6 nd hop-limit Syntax ipv6 nd hop-limit value undo ipv6 nd hop-limit View System view Default Level 2: System level Parameters value: Number of hops, in the range of 0 to 255. When it is set to 0, the Cur Hop Limit field in RA messages sent by the AP is 0.
Examples # Enable the consistency check on the source MAC address of ND packets. <Sysname> system-view [Sysname] ipv6 nd mac-check enable ipv6 nd ns retrans-timer Syntax ipv6 nd ns retrans-timer value undo ipv6 nd ns retrans-timer View Interface view Default Level 2: System level Parameters value: Interval for sending NS messages in milliseconds, in the range of 1,000 to 4,294,967,295.
Description Use the ipv6 nd nud reachable-time command to configure the neighbor reachable time on an interface. This time value serves as not only the neighbor reachable time on the local interface, but also the value of the Reachable Timer field in RA messages sent by the local interface. Use the undo ipv6 nd nud reachable-time command to restore the default neighbor reachable time and to specify the value of the Reachable Timer field in RA messages as 0, so that the number of hops is determined by the host itself, but not specified by the AP.
View Interface view Default Level 2: System level Parameters max-interval-value: Maximum interval for advertising RA messages in seconds, in the range of 4 to 1,800. min-interval-value: Minimum interval for advertising RA messages in seconds, in the range of 3 to 1,350.
valid-lifetime: Valid lifetime of a prefix in seconds, in the range of 0 to 4,294,967,295. preferred-lifetime: Preferred lifetime of a prefix used for stateless autoconfiguration in seconds, in the range of 0 to 4,294,967,295. no-autoconfig: Specifies a prefix not to be used for stateless autoconfiguration. If this keyword is not provided, the prefix is used for stateless autoconfiguration.
ipv6 neighbor Syntax ipv6 neighbor ipv6-address mac-address { vlan-id port-type port-number | interface interface-type interface-number } undo ipv6 neighbor ipv6-address interface-type interface-number View System view Default Level 2: System level Parameters ipv6-address: IPv6 address in a static neighbor entry. mac-address: Link layer address in a static neighbor entry (48 bits long, in the format of H-H-H). vlan-id: VLAN ID in a static neighbor entry, in the range of 1 to 4094.
View Interface view Default Level 2: System level Parameters number: Maximum number of neighbors that can be dynamically learned by an interface, which is in the range of 1 to 256 and defaults to 256. Description Use the ipv6 neighbors max-learning-num command to configure the maximum number of neighbors that can be dynamically learned on a specified interface.
ipv6 pathmtu age Syntax ipv6 pathmtu age age-time undo ipv6 pathmtu age View System view Default Level 2: System level Parameters age-time: Aging time for PMTU in minutes, in the range of 10 to 100. Description Use the ipv6 pathmtu age command to configure the aging time for a dynamic PMTU. Use the undo ipv6 pathmtu age command to restore the default.
reset ipv6 neighbors Syntax reset ipv6 neighbors { all | dynamic | interface interface-type interface-number | static } View User view Default Level 2: System level Parameters all: Clears the static and dynamic neighbor information on all interfaces. dynamic: Clears the dynamic neighbor information on all interfaces. interface interface-type interface-number: Clears dynamic neighbor information on a specified interface.
Examples # Clear all PMTUs. <Sysname> reset ipv6 pathmtu all reset ipv6 statistics Syntax reset ipv6 statistics View User view Default Level 2: System level Parameters None Description Use the reset ipv6 statistics command to clear the statistics of IPv6 packets and ICMPv6 packets. You can use the display tcp ipv6 statistics command to display the statistics of IPv6 TCP connections.
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.
undo tcp ipv6 timer syn-timeout View System view Default Level 2: System level Parameters wait-time: Length of the synwait timer for IPv6 TCP connections in seconds, in the range of 2 to 600. Description Use the tcp ipv6 timer syn-timeout command to set the synwait timer for IPv6 TCP connections Use the undo tcp ipv6 timer syn-timeout command to restore the default.
Index A B D E F G I N O R S T V display dns ipv6 dynamic-host display dns ipv6 server arp check enable display dns server arp max-learning-num display fib ip-address 10-2 arp static display fib 10-1 arp timer aging display icmp statistics 10-3 display ip host...
Page 130
dns server ipv6 nd ra prefix 12-30 dns-list 5-15 ipv6 nd ra router-lifetime 12-31 domain-name 5-16 ipv6 neighbor 12-32 ipv6 neighbors max-learning-num 12-32 ipv6 pathmtu age 12-34 expired 5-16 ipv6 pathmtu 12-33 ipv6 12-18 forbidden-ip 5-17 naturemask-arp enable gateway-list 5-18 nbns-list 5-18 gratuitous-arp-learning enable...
Need help?
Do you have a question about the WA2600 series and is the answer not in the manual?
Questions and answers