- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
08-IPv6 Basics Commands | 163.4 KB |
1 IPv6 Basics Configuration Commands
IPv6 Basics Configuration Commands
ipv6 icmpv6 multicast-echo-reply enable
ipv6 nd autoconfig managed-address-flag
ipv6 neighbors max-learning-num
IPv6 Basics 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 IPv6 dynamic domain name information.
Examples
# Display IPv6 dynamic domain name information.
<Sysname> display dns ipv6 dynamic-host
No Host IPv6 Address TTL
1 aaa 2001::2 6
Table 1-1 display dns ipv6 dynamic-host command output description
Field |
Description |
No |
Sequence number |
Host |
Host name |
IPv6 address |
IPv6 address of the host |
TTL |
Time within which an entry can be cached, in seconds |
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 will be displayed.
display dns ipv6 server
Syntax
display dns ipv6 server [ dynamic ]
View
Any view
Default Level
1: Monitor level
Parameters
dynamic: Displays IPv6 DNS server information acquired dynamically through DHCP or other protocols.
Description
Use the display dns ipv6 server command to display IPv6 DNS server information.
Examples
# Display IPv6 DNS server information.
<Sysname> display dns ipv6 server
Type:
D:Dynamic S:Static
DNS Server Type IPv6 Address (Interface Name)
1 S 1::1
2 S FE80:1111:2222:3333:4444:5555:6666:7777 Vlan2
Table 1-2 display dns ipv6 server command output description
Field |
Description |
DNS Server |
Sequence number of the DNS server, which is assigned automatically by the system, starting from 1. |
Type |
Type of the DNS server: “S” represents a statically configured DNS server, and “D” represents a DNS server obtained dynamically through DHCP. |
IPv6 Address |
IPv6 address of the DNS server |
Interface Name |
Interface name, which is available only for a DNS server with an IPv6 link-local address configured. |
display ipv6 fib
Syntax
display ipv6 fib [ slot-number ] [ ipv6-address ]
View
Any view
Default Level
1: Monitor level
Parameters
slot-number: Displays the IPv6 forwarding information base (FIB) entries of a slot.
ipv6-address: Displays the IPv6 FIB entries for an IPv6 address.
Description
Use the display ipv6 fib command to display IPv6 FIB entries. If no argument is specified, all IPv6 FIB entries will be displayed.
Examples
# Display all IPv6 FIB entries.
<Sysname> display ipv6 fib
FIB Table:
Total number of Routes : 1
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
Destination: ::1 PrefixLength : 128
NextHop : ::1 Flag : HU
Label : NULL Tunnel ID : 0
TimeStamp : Date- 4/15/2008, Time- 15:17:15
Interface : InLoopBack0
Table 1-3 display ipv6 fib command 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 |
Flag |
Route flag: l U — Usable route l G — Gateway route l H — Host route l B — Black hole route l D — Dynamic route l S — Static route |
Label |
Label |
Tunnel ID |
ID of a tunnel |
TimeStamp |
Generation time of a FIB entry |
Interface |
Outgoing interface |
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.
Examples
# Display the mappings between host names and IPv6 addresses in the static domain name resolution table.
<Sysname> display ipv6 host
Host Age Flags IPv6Address
aaa 0 static 2002::1
bbb 0 static 2002::2
Table 1-4 display ipv6 host command output description
Field |
Description |
Host |
Host name |
Age |
Time for the entry to live. “0” is displayed in the case of static configuration. |
Flags |
Flag indicating the type of mapping between a host name and an IPv6 address. Static indicates a static mapping. |
IPv6Address |
IPv6 address of a host |
display ipv6 interface
Syntax
display ipv6 interface [ interface-type [ interface-number ] ] [ verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type: Interface type.
interface-number: Interface number.
verbose: Displays the detailed IPv6 information of an interface.
Description
Use the display ipv6 interface command to display the IPv6 information of an interface for which an IPv6 address can be configured.
If interface-type interface-number is not specified, the IPv6 information of all interfaces for which IPv6 addresses can be configured is displayed; if only interface-type is specified, the IPv6 information of the interfaces of the specified type for which IPv6 addresses can be configured is displayed; if interface-type interface-number is specified, the IPv6 information of the specified interface is displayed. If the verbose keyword is also specified, the detailed IPv6 information of the interface is displayed.
Examples
# Display the IPv6 information of VLAN-interface 2.
<Sysname> display ipv6 interface vlan-interface 2 verbose
Vlan-interface2 current state :UP
Line protocol current state :UP
IPv6 is enabled, link-local address is FE80::1234:56FF:FE65:4322
Global unicast address(es):
2001::1, subnet is 2001::/64
Joined group address(es):
FF02::1:FF00:1
FF02::1:FF65:4322
FF02::2
FF02::1
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds
Hosts use stateless autoconfig for addresses
IPv6 Packet statistics:
InReceives: 0
InTooShorts: 0
InTruncatedPkts: 0
InHopLimitExceeds: 0
InBadHeaders: 0
InBadOptions: 0
ReasmReqds: 0
ReasmOKs: 0
InFragDrops: 0
InFragTimeouts: 0
OutFragFails: 0
InUnknownProtos: 0
InDelivers: 0
OutRequests: 0
OutForwDatagrams: 0
InNoRoutes: 0
InTooBigErrors: 0
OutFragOKs: 0
OutFragCreates: 0
InMcastPkts: 0
InMcastNotMembers: 0
OutMcastPkts: 0
InAddrErrors: 0
InDiscards: 0
OutDiscards: 0
Table 1-5 display ipv6 interface verbose command output description (on a switch)
Field |
Description |
Vlan-interface2 current state |
Physical state of the interface |
Line protocol current state |
Link layer protocol state of the interface |
IPv6 is enabled |
IPv6 packet forwarding state of the interface (IPv6 packet forwarding is enabled in the example) |
link-local address |
Link-local address configured for the interface |
Global unicast address(es) |
Aggregatable global unicast address(es) configured for the interface |
Joined group address(es) |
Address(es) of multicast group(s) that the interface has joined |
MTU |
Maximum transmission unit of the interface |
ND DAD is enabled, number of DAD attempts |
Number of DAD attempts ( DAD is enabled) |
ND reachable time |
Neighbor reachable time |
ND retransmit interval |
Interval for retransmitting a neighbor solicitation (NS) message |
Hosts use stateless autoconfig for addresses |
Hosts use stateless autoconfiguration mode to acquire IPv6 addresses |
InReceives |
All IPv6 packets received by the interface, including all types of error packets. |
InTooShorts |
Received IPv6 packets that are too short, with a length less than 40 bytes, for example. |
InTruncatedPkts |
Received IPv6 packets with a length less than that specified in the packets |
InHopLimitExceeds |
Received IPv6 packets with a hop count exceeding the limit |
InBadHeaders |
Received IPv6 packets with bad basic headers |
InBadOptions |
Received IPv6 packets with bad extension headers |
ReasmReqds |
Received IPv6 fragments |
ReasmOKs |
Number of packets after reassembly rather than the number of fragments |
InFragDrops |
IPv6 fragments discarded due to certain error |
InFragTimeouts |
IPv6 fragments discarded because the interval for which they had stayed in the system buffer exceeded the specified period |
OutFragFails |
Packets failed in fragmentation on the outbound interface |
InUnknownProtos |
Received IPv6 packets with unknown or unsupported protocol type |
InDelivers |
Received IPv6 packets that were delivered to application layer protocols (such as ICMPv6, TCP, and UDP) |
OutRequests |
Local IPv6 packets sent by IPv6 application protocols |
OutForwDatagrams |
Packets forwarded by the outbound interface. |
InNoRoutes |
IPv6 packets that were discarded because no matched route can be found |
InTooBigErrors |
IPv6 packets that were discarded because they exceeded the PMTU |
OutFragOKs |
Packets that were fragmented on the outbound interface |
OutFragCreates |
Number of packet fragments after fragmentation on the outbound interface |
InMcastPkts |
IPv6 multicast packets received on the interface |
InMcastNotMembers |
Incoming IPv6 multicast packets that were discarded because the interface did not belong to the corresponding multicast groups |
OutMcastPkts |
IPv6 multicast packets sent by the interface |
InAddrErrors |
IPv6 packets that were discarded due to invalid destination addresses |
InDiscards |
Received IPv6 packets that were discarded due to resource problems rather than packet content errors |
OutDiscards |
Sent packets that were discarded due to resource problems rather than 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 Protocol IPv6 Address
Vlan-interface1 down down Unassigned
Vlan-interface2 up up 2001::1
Vlan-interface100 up down Unassigned
Table 1-6 display ipv6 interface command output description
Field |
Description |
*down: administratively down |
The interface is down, that is, the interface is closed by using the shutdown command. |
(s): spoofing |
Spoofing attribute of the interface, that is, the link protocol state of the interface is up, but the link does not exist, or the link is established on demand, instead of being permanent. |
Interface |
Name of the interface |
Physical |
Physical state of the interface: l *down: Indicates that the VLAN interface is administratively down; that is, the interface is shut down using the shutdown command. l down: Indicates that the VLAN interface is administratively up but its physical state is down; that is, no port in the VLAN is up, which may be caused by a connection or link failure. up: Indicates that the administrative and physical states of the VLAN interface are both up. |
Protocol |
Link layer protocol state of the interface: l down: Indicates that the network layer protocol state of the VLAN interface is down, generally because no IP address is configured. l up: Indicates that the network layer protocol state of the VLAN interface is up. |
IPv6 Address |
IPv6 address of the interface. Only the first of configured IPv6 addresses is displayed. (If no address is configured for the interface, “Unassigned” will be displayed.) |
display ipv6 neighbors
Syntax
display ipv6 neighbors { { ipv6-address | all | dynamic | static } [ slot slot-number ] | interface interface-type interface-number | vlan vlan-id } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default Level
1: Monitor level
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.
slot slot-number: Displays information of the neighbors of a specified slot.
interface interface-type interface-number: Displays information of the neighbors of a specified interface.
vlan vlan-id: Displays information of the neighbors of a specified VLAN whose ID ranges from 1 to 4094.
|: Uses a regular expression to match neighbor entries. For detailed information about regular expression, refer to CLI display in Basic System Configuration in the System Volume.
begin: Displays a specific neighbor entry and all the neighbor entries following it. The specific neighbor entry must match the specified regular expression.
exclude: Displays the neighbor entries not matching the specified regular expression.
include: Displays the neighbor entries matching the specified regular expression.
regular-expression: A case-sensitive string of 1 to 256 characters.
Description
Use the display ipv6 neighbors command to display neighbor information.
Examples
# Display all neighbor information.
<Sysname> display ipv6 neighbors all
Type: S-Static D-Dynamic
IPv6 Address Link-layer VID Interface State T Age
FE80::200:5EFF:FE32:B800 0000-5e32-b800 N/A GE2/0/1 REACH S -
Table 1-7 display ipv6 neighbors command output description
Field |
Description |
IPv6 Address |
IPv6 address of a neighbor |
Link-layer |
Link layer address (MAC address of a neighbor) |
VID |
VLAN to which the interface connected with a neighbor belongs |
Interface |
Interface connected with a neighbor |
State |
State of a neighbor, including: l INCMP: The address is being resolved. The link layer address of the neighbor is unknown. l REACH: The neighbor is reachable. l STALE: The reachability of the neighbor is unknown. The device will not verify the reachability any longer unless data is sent to the neighbor. l DELAY: The reachability of the neighbor is unknown. The device sends an NS message after a delay. l PROBE: The reachability of the neighbor is unknown. The device sends an NS message to verify the reachability of the neighbor. |
T |
Type of neighbor information, including static configuration and dynamic acquisition. |
Age |
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). |
display ipv6 neighbors count
Syntax
display ipv6 neighbors { { all | dynamic | static } [ slot slot-number ] | interface interface-type interface-number | vlan vlan-id } count
View
Any view
Default Level
1: Monitor level
Parameters
all: Displays the total number of all neighbor entries, including neighbor entries acquired dynamically and configured statically.
dynamic: Displays the total number of all neighbor entries acquired dynamically.
static: Displays the total number of neighbor entries configured statically.
slot slot-number: Displays the total number of neighbor entries of a specified slot.
interface interface-type interface-number: Displays the total number of neighbor entries of a specified interface.
vlan vlan-id: Displays the total number of neighbor entries of a specified VLAN whose ID ranges from 1 to 4094.
Description
Use the display ipv6 neighbors count command to display the total number of neighbor entries satisfying the specified condition.
Examples
# Display the total number of neighbor entries acquired dynamically.
<Sysname> display ipv6 neighbors dynamic count
Total dynamic entry(ies): 2
display ipv6 pathmtu
Syntax
display ipv6 pathmtu { ipv6-address | all | dynamic | static }
View
Any view
Default Level
1: Monitor level
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.
<Sysname> display ipv6 pathmtu all
IPv6 Destination Address ZoneID PathMTU Age Type
fe80::12 0 1300 40 Dynamic
2222::3 0 1280 - Static
Table 1-8 display ipv6 pathmtu command output description
Field |
Description |
IPv6 Destination Address |
Destination IPv6 address |
ZoneID |
ID of address zone, currently invalid |
PathMTU |
PMTU of an IPv6 address |
Age |
Time for a PMTU to live. For a static PMTU, a hyphen “-“ is displayed. |
Type |
Indicates that the PMTU is dynamically negotiated or statically configured. |
display ipv6 socket
Syntax
display ipv6 socket [ socktype socket-type ] [ task-id socket-id ] [ slot slot-number ]
View
Any view
Default Level
1: Monitor level
Parameters
socktype socket-type: Displays the socket information of this type. The socket type is in the range of 1 to 3. The value “1” represents a TCP socket, “2” a UDP socket, and “3” a raw IP socket.
task-id: Displays the socket information of the task. The task ID is in the range 1 to 100.
socket-id: Displays the information of the socket. The socket ID is in the range 0 to 3072.
slot slot-number: Number of a slot.
Description
Use the display ipv6 socket command to display socket information.
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,
socket state = SS_PRIV SS_ASYNC
Task = VTYD(14), socketid = 3, Proto = 6,
LA = ::->23, FA = ::->0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEPORT SO_SENDVPNID,
socket state = SS_PRIV SS_ASYNC
SOCK_DGRAM:
Task = AGNT(51), socketid = 2, Proto = 17,
LA = ::->161, FA = ::->0,
sndbuf = 9216, rcvbuf = 42080, sb_cc = 0, rb_cc = 0,
socket option = SO_REUSEPORT,
socket state = SS_PRIV SS_NBIO SS_ASYNC
Task = TRAP(52), socketid = 2, Proto = 17,
LA = ::->1024, FA = ::->0,
sndbuf = 9216, rcvbuf = 42080, sb_cc = 0, rb_cc = 0,
socket option =,
socket state = SS_PRIV
SOCK_RAW:
Task = ROUT(86), socketid = 5, Proto = 89,
LA = ::, FA = ::,
sndbuf = 262144, rcvbuf = 262144, sb_cc = 0, rb_cc = 0,
socket option = SO_REUSEADDR,
socket state = SS_PRIV SS_ASYNC
Table 1-9 display ipv6 socket command output description
Field |
Description |
SOCK_STREAM |
TCP socket |
SOCK_DGRAM |
UDP socket |
SOCK_RAW |
Raw IP socket |
Task |
Task ID of the created socket |
socketid |
ID assigned by the kernel to the created socket |
Proto |
Protocol ID |
LA |
Local address and local port number |
FA |
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 |
display ipv6 statistics
Syntax
display ipv6 statistics [ slot slot-number ]
View
Any view
Default Level
1: Monitor level
Parameters
slot slot-number: Displays statistics of IPv6 packets and ICMPv6 packets on the slot.
Description
Use the display ipv6 statistics command to display statistics of IPv6 packets and ICMPv6 packets.
Examples
# Display the statistics of IPv6 packets and ICMPv6 packets.
<Sysname> display ipv6 statistics
IPv6 Protocol:
Sent packets:
Total: 0
Local sent out: 0 forwarded: 0
raw packets: 0 discarded: 0
routing failed: 0 fragments: 0
fragments failed: 0
Received packets:
Total: 0
local host: 0 hopcount exceeded: 0
format error: 0 option error: 0
protocol error: 0 fragments: 0
reassembled: 0 reassembly failed: 0
reassembly timeout: 0
ICMPv6 protocol:
Sent packets:
Total: 0
unreached: 0 too big: 0
hopcount exceeded: 0 reassembly timeout: 0
parameter problem: 0
echo request: 0 echo replied: 0
neighbor solicit: 0 neighbor advert: 0
router solicit: 0 router advert: 0
redirected: 0
Send failed:
ratelimited: 0 other errors: 0
Received packets:
Total: 0
checksum error: 0 too short: 0
bad code: 0
unreached: 0 too big: 0
hopcount exceeded: 0 reassembly timeout: 0
parameter problem: 0 unknown error type: 0
echoed: 0 echo replied: 0
neighbor solicit: 0 neighbor advert: 0
router solicit: 0 router advert: 0
redirected: 0 router renumbering: 0
unknown info type: 0
Deliver failed:
bad length: 0 ratelimited: 0
Table 1-10 display ipv6 statistics command output description
Field |
Description |
IPv6 Protocol: |
Statistics of IPv6 packets |
Sent packets: Total: 0 Local sent out: 0 forwarded: 0 raw packets: 0 discarded: 0 routing failed: 0 fragments: 0 fragments failed: 0 |
Statistics of sent IPv6 packets, including: l Total number of sent packets l Number of packets sent locally l Number of forwarded packets l Number of packets sent via raw socket l Number of discarded packets l Number of packets failing to be routed l Number of sent fragment packets l Number of fragments failing to be sent |
Received packets: Total: 0 local host: 0 hopcount exceeded: 0 format error: 0 option error: 0 protocol error: 0 fragments: 0 reassembled: 0 reassembly failed: 0 reassembly timeout: 0 |
Statistics of received IPv6 packets, including l Total number of received packets l Number of packets received locally l Number of packets exceeding the hop limit l Number of packets in an incorrect format l Number of packets with incorrect options l Number of packets with incorrect protocol l Number of received fragment packets l Number of reassembled packets l Number of packets failing to be reassembled l Number of packets whose reassembly times out |
ICMPv6 protocol: |
Statistics of ICMPv6 packets |
Sent packets: Total: 0 unreached: 0 too big: 0 hopcount exceeded: 0 reassembly timeout: 0 parameter problem: 0 echo request: 0 echo replied: 0 neighbor solicit: 0 neighbor advert: 0 router solicit: 0 router advert 0 redirected: 0 Send failed: ratelimited: 0 other errors: 0 |
Statistics of sent ICMPv6 packets, including l Total number of sent packets l Number of packets whose destination is unreachable l Number of too large packets l Number of packets exceeding the hop limit l Number of packets whose fragmentation and reassembly times out l Number of packets with parameter errors l Number of request packets l Number of response packets l Number of neighbor solicitation packets l Number of neighbor advertisement packets l Number of router solicit packets l Number of router advertisement packets l Number of redirected packets l Number of packets failing to be sent because of rate limitation l Number of packets with other errors |
Received packets: Total: 0 checksum error: 0 too short: 0 bad code 0 unreached: 0 too big: 0 hopcount exceeded: 0 reassembly timeout: 0 parameter problem: 0 unknown error type: 0 echoed: 0 echo replied: 0 neighbor solicit: 0 neighbor advert: 0 router solicit: 0 router advert 0 redirected: 0 router renumbering 0 unknown info type: 0 Deliver failed: bad length: 0 ratelimited: 0 |
Statistics of received ICMPv6 packets, including l Total number of received packets l Number of packets with checksum errors l Number of too small packets l Number of packets with error codes l Number of packets whose destination is unreachable l Number of too large packets l Number of packets exceeding the hop limit l Number of packets whose fragmentation and reassembly times out l Number of packets with parameter errors l Number of packets with unknown errors l Number of request packets l Number of response packets l Number of neighbor solicitation messages l Number of neighbor advertisement packets l Number of router solicitation packets l Number of router advertisement packets l Number of redirected packets l Number of packets recounted by the router l Number of unknown type of packets l Number of packets with a incorrect size l Number of packets failing to be received because of rate limitation |
display tcp ipv6 statistics
Syntax
display tcp ipv6 statistics
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display tcp ipv6 statistics command to display IPv6 TCP connection statistics.
Examples
# Display the statistics of IPv6 TCP connections.
<Sysname> display tcp ipv6 statistics
Received packets:
Total: 0
packets in sequence: 0 (0 bytes)
window probe packets: 0, window update packets: 0
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
urgent packets: 0
control packets: 0 (including 0 RST)
window probe packets: 0, window update packets: 0
data packets: 0 (0 bytes) data packets retransmitted: 0 (0 bytes)
ACK only packets: 0 (0 delayed)
Retransmitted timeout: 0, connections dropped in retransmitted timeout: 0
Keepalive timeout: 0, keepalive probe: 0, Keepalive timeout, so connections disconnected : 0
Initiated connections: 0, accepted connections: 0, established connections: 0
Closed connections: 0 (dropped: 0, initiated dropped: 0)
Table 1-11 display tcp ipv6 statistics command output description
Field |
Description |
Received packets: Total: 0 packets in sequence: 0 (0 bytes) window probe packets: 0 window update packets: 0 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 |
Statistics of received packets, including l Total number of received packets l Number of packets received in sequence l Number of window probe packets l Number of window size update packets l Number of packets with checksum errors l Number of packets with offset errors l Number of packets whose total length is less than specified by the packet header l Number of duplicate packets l Number of partially duplicate packets l Number of out-of-order packets l Number of packets exceeding the size of the receiving window l Number of packets received after the connection is closed l Number of ACK packets l Number of duplicate ACK packets l Number of excessive ACK packets |
Sent packets: Total: 0 urgent packets: 0 control packets: 0 (including 0 RST) window probe packets: 0 window update packets: 0
data packets: 0 (0 bytes) data packets retransmitted: 0 (0 bytes) ACK only packets: 0 (0 delayed) |
Statistics of sent packets, including l Total number of packets l Number of packets containing an urgent indicator l Number of control packets l Number of window probe packets l Number of window update packets l Number of data packets l Number of retransmitted packets l Number of ACK packets |
Retransmitted timeout |
Number of packets whose retransmission times out |
connections dropped in retransmitted timeout |
Number of connections dropped because of retransmission timeout |
Keepalive timeout |
Number of keepalive timeouts |
keepalive probe |
Number of keepalive probes |
Keepalive timeout, so connections disconnected |
Number of connections dropped because of keepalive response timeout |
Initiated connections |
Number of initiated connections |
accepted connections |
Number of accepted connections |
established connections |
Number of established connections |
Closed connections |
Number of closed connections |
dropped |
Number of dropped connections (after SYN is received from the peer) |
initiated dropped |
Number of initiated but dropped connections (before SYN is received from the peer) |
display tcp ipv6 status
Syntax
display tcp ipv6 status
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display tcp ipv6 command to display the IPv6 TCP connection status.
Examples
# Display the IPv6 TCP connection status.
<Sysname> display tcp ipv6 status
TCP6CB Local Address Foreign Address State
045d8074 ::->21 ::->0 Listening
Table 1-12 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 |
State |
IPv6 TCP connection status, including l Closed l Listening l Syn_Sent l Syn_Rcvd l Established l Close_Wait l Fin_Wait1 l Closing l Last_Ack l Fin_Wait2 l Time_Wait |
display udp ipv6 statistics
Syntax
display udp ipv6 statistics
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display udp ipv6 statistics command to display the statistics of IPv6 UDP packets.
Examples
# Display the statistics information of IPv6 UDP packets.
<Sysname> display udp ipv6 statistics
Received packets:
Total: 0
checksum error: 0
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 1-13 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 |
shorter than header |
Total number of IPv6 UDP packets whose total length is less than that specified by the packet header |
data length larger than packet |
Total number of packets whose data length exceeds that specified by the packet header |
unicast(no socket on port) |
Total number of received unicast packets without any socket |
broadcast/multicast(no socket on port) |
Total number of received broadcast/multicast packets without any socket |
not delivered, input socket full |
Number of packets not handled because of the receive buffer being full |
input packet missing pcb cache |
Number of packets failing to match the protocol control block (PCB) cache |
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: 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, this argument 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.
Examples
# Specify a DNS server at 2002::1.
<Sysname> system-view
[Sysname] dns server ipv6 2002::1
ipv6
Syntax
ipv6
undo ipv6
View
System view
Default Level
2: System level
Parameters
None
Description
Use the ipv6 command to enable IPv6.
Use the undo ipv6 command to disable IPv6.
By default, IPv6 is disabled.
Examples
# Enable IPv6.
<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: IPv6 address.
prefix-length: Prefix length of the 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.
Use the undo ipv6 address command to remove the IPv6 address from the interface.
By default, no site-local address or global unicast address is configured for an interface.
Note that except the link-local address automatically configured, all IPv6 addresses will be removed from the interface if you carry out the undo ipv6 address command without any parameter specified.
Examples
# Set the aggregatable global IPv6 unicast address of VLAN-interface 100 to 2001::1/64.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address 2001::1/64
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.
Use the undo ipv6 address auto link-local command to remove the automatically generated link-local address for the interface.
By default, a link-local address will automatically be generated after a site-local or global IPv6 unicast address is configured for an interface.
Examples
# Configure VLAN-interface 100 to automatically generate a link-local address.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address auto link-local
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: IPv6 address and IPv6 prefix. The ipv6-address and prefix-length arguments jointly specify the prefix of an IPv6 address in the EUI-64 format.
Description
Use the ipv6 address eui-64 command to configure a site-local address or global unicast address in the EUI-64 format for an interface.
Use the undo ipv6 address eui-64 command to remove the configured site-local address or global unicast address in the EUI-64 format for the interface.
By default, no site-local or global unicast address in the EUI-64 format is configured for an interface.
Note that you cannot specify the prefix length of an IPv6 address in the EUI-64 format to be greater than 64.
Examples
# Configure an IPv6 address in the EUI-64 format for VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address 2001::1/64 eui-64
ipv6 address link-local
Syntax
ipv6 address ipv6-address link-local
undo ipv6 address ipv6-address link-local
View
Interface view
Default Level
2: System level
Parameters
ipv6-address: IPv6 link-local address. The first 10 bits of an address must be 1111111010 (binary), that is, the first group of hexadecimals in the address must be FE80 to FEBF.
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.
Examples
# Configure a link-local address for VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address fe80::1 link-local
ipv6 hoplimit-expires enable
Syntax
ipv6 hoplimit-expires enable
undo ipv6 hoplimit-expires
View
System view
Default Level
2: System level
Parameters
None
Description
Use the ipv6 hoplimit-expires enable command to enable the sending of ICMPv6 time exceeded packets.
Use the undo ipv6 hoplimit-expires command to disable the sending of ICMPv6 time exceeded packets.
By default, the sending of ICMPv6 time exceeded packets is enabled.
Note that:
After you disable the sending of ICMPv6 time exceeded packets, the device will not send time-to-live count exceeded packets, but will still send fragment reassembly time exceeded packets.
Examples
# Disable the sending of ICMPv6 time exceeded packets.
<Sysname> system-view
[Sysname] undo ipv6 hoplimit-expires
ipv6 host
Syntax
ipv6 host hostname ipv6-address
undo ipv6 host hostname [ ipv6-address ]
View
System view
Default Level
2: System level
Parameters
hostname: Host name, a string of up to 20 characters. The character string can contain letters, numerals, “_”, “-“, or “.” and must contain at least one letter.
ipv6-address: IPv6 address.
Description
Use the ipv6 host command to configure the mappings between host names and IPv6 addresses.
Use the undo ipv6 host command to remove the mappings between host names and IPv6 addresses.
Each host name can correspond to only one IPv6 address.
Examples
# Configure the mapping between a host name and an IPv6 address.
<Sysname> system-view
[Sysname] ipv6 host aaa 2001::1
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: Number of tokens in the token bucket, in the range of 1 to 200.
ratelimit interval: Update period of the token bucket in milliseconds, in the range of 0 to 2,147,483,647. The update period “0” indicates that the number of ICMPv6 error packets sent is not restricted.
Description
Use the ipv6 icmp-error command to configure the size and update period of the token bucket.
Use the undo ipv6 icmp-error command to restore the defaults.
By default, the size is 10 and the update period is 100 milliseconds. That is, at most 10 ICMPv6 error packets can be sent within 100 milliseconds.
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
2: System level
Parameters
None
Description
Use the ipv6 icmpv6 multicast-echo-reply enable command to enable the sending of multicast echo replies.
Use the undo ipv6 icmpv6 multicast-echo-reply command to disable the sending of multicast echo replies.
By default, the device is disabled from sending multicast echo replies.
Examples
# Enable the sending of multicast echo replies.
<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).
Use the undo ipv6 nd autoconfig managed-address-flag command to restore the default.
By default, the M flag is set to 0 so that the host can acquire an IPv6 address through stateless autoconfiguration.
Examples
# Configure the host to acquire an IPv6 address through stateful autoconfiguration.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd autoconfig managed-address-flag
ipv6 nd autoconfig other-flag
Syntax
ipv6 nd autoconfig other-flag
undo ipv6 nd autoconfig other-flag
View
Interface view
Default Level
2: System level
Parameters
None
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.
Examples
# Configure the host to acquire information other than IPv6 address through stateless autoconfiguration.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] undo ipv6 nd autoconfig other-flag
ipv6 nd dad attempts
Syntax
ipv6 nd dad attempts value
undo ipv6 nd dad attempts
View
Interface view
Default Level
2: System level
Parameters
value: Number of attempts to send an NS message for DAD, in the range of 0 to 600. The default value is “1”. When it is set to 0, DAD is disabled.
Description
Use the ipv6 nd dad attempts command to configure the number of attempts to send an NS message for DAD.
Use the undo ipv6 nd dad attempts command to restore the default.
By default, the number of attempts to send an NS message for DAD is 1.
Examples
# Set the number of attempts to send an NS message for DAD to 20.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd dad attempts 20
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 Hop Limit field in RA messages sent by the device is 0. That is, 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 device.
Use the undo ipv6 nd hop-limit command to restore the default hop limit.
By default, the hop limit advertised by the device is 64.
Examples
# Set the hop limit advertised by the device to 100.
<Sysname> system-view
[Sysname] ipv6 nd hop-limit 100
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 retransmitting an NS message in milliseconds, in the range of 1,000 to 4,294,967,295.
Description
Use the ipv6 nd ns retrans-timer command to set the interval for retransmitting an NS message. The local interface retransmits an NS message at intervals of this value. Furthermore, the Retrans Timer field in RA messages sent by the local interface is equal to this value.
Use the undo ipv6 nd ns retrans-timer command to restore the default.
By default, the local interface retransmits an NS message at intervals of 1,000 milliseconds and the Retrans Timer field in RA messages sent by the local interface is 0.
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
2: System level
Parameters
value: Neighbor reachable time in milliseconds, in the range of 1 to 3,600,000.
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 requesting device itself.
By default, the neighbor reachable time on the local interface is 30,000 milliseconds and the Reachable Timer field in RA messages is 0.
Examples
# Set the neighbor reachable time on VLAN-interface 100 to 10,000 milliseconds.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd nud reachable-time 10000
ipv6 nd ra halt
Syntax
ipv6 nd ra halt
undo ipv6 nd ra halt
View
Interface view
Default Level
2: System level
Parameters
None
Description
Use the ipv6 nd ra halt command to enable RA message suppression.
Use the undo ipv6 nd ra halt command to disable RA message suppression.
By default, RA messages are suppressed.
Examples
# Suppress RA messages on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra halt
ipv6 nd ra interval
Syntax
ipv6 nd ra interval max-interval-value min-interval-value
undo ipv6 nd ra interval
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.
Description
Use the ipv6 nd ra interval command to set the maximum and minimum intervals for advertising RA messages. The device advertises RA messages at intervals of a random value between the maximum interval and the minimum interval.
Use the undo ipv6 nd ra interval command to restore the default.
By default, the maximum interval between RA messages is 600 seconds, and the minimum interval is 200 seconds.
Note the following:
l The minimum interval should be three-fourths of the maximum interval or less.
l The maximum interval for sending RA messages should be less than or equal to the router lifetime in RA messages.
Examples
# Set the maximum interval for advertising RA messages to 1,000 seconds and the minimum interval to 700 seconds.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra interval 1000 700
ipv6 nd ra prefix
Syntax
ipv6 nd ra prefix { ipv6-address prefix-length | ipv6-address/prefix-length } valid-lifetime preferred-lifetime [ no-autoconfig | off-link ] *
undo ipv6 nd ra prefix ipv6-prefix
View
Interface view
Default Level
2: System level
Parameters
ipv6-address: IPv6 address or IPv6 address prefix.
prefix-length: Prefix length of the IPv6 address.
ipv6-prefix: IPv6 address prefix.
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.
off-link: Specifies the address with the prefix not to be directly reachable on the link. If this keyword is not provided, the address with the prefix is directly reachable on the link.
Description
Use the ipv6 nd ra prefix command to configure the prefix information in RA messages.
Use the undo ipv6 nd ra prefix command to remove the prefix information from RA messages.
By default, no prefix information is configured in RA messages and the IPv6 address of the interface sending RA messages is used as the prefix information.
Examples
# Configure the prefix information for RA messages on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra prefix 2001:10::100/64 100 10
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: Router lifetime in seconds, in the range of 0 to 9,000. When it is set to 0, the device does not serve as the default router.
Description
Use the ipv6 nd ra router-lifetime command to configure the router lifetime in RA messages.
Use the undo ipv6 nd ra router-lifetime command to restore the default.
By default, the router lifetime in RA messages is 1,800 seconds.
Note that the router lifetime in RA messages should be greater than or equal to the advertising interval.
Examples
# Set the router lifetime in RA messages on VLAN-interface 100 to 1,000 seconds.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra router-lifetime 1000
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 of the static neighbor entry.
mac-address: MAC address of the static neighbor entry (48 bits long, in the format of H-H-H).
vlan-id: VLAN ID of the static neighbor entry, in the range of 1 to 4094.
port-type port-number: Type and number of a Layer 2 port of the static neighbor entry.
interface interface-type interface-number: Type and number of a Layer 3 interface of the static neighbor entry.
Description
Use the ipv6 neighbor command to configure a static neighbor entry.
Use the undo ipv6 neighbor command to remove a static neighbor entry.
You can use a Layer 3 VLAN interface or a Layer 2 port in the VLAN to configure a static neighbor entry.
l If the first method is used, the neighbor entry is in the INCMP state. After the device obtains the corresponding Layer 2 port information through resolution, the neighbor entry will go into the REACH state.
l If the second method is used, the corresponding VLAN interface must exist and the port specified by port-type port-number must belong to the VLAN specified by vlan-id. After the static neighbor entry is configured, the device will relate the VLAN interface with the IPv6 address to identify the static neighbor entry uniquely and the entry will be in the REACH state.
To remove a static neighbor entry, you only need to specify the corresponding VLAN interface and the neighbor address.
Examples
# Configure a static neighbor entry for Layer 2 port GigabitEthernet 2/0/1 of VLAN 100.
<Sysname> system-view
[Sysname] ipv6 neighbor 2000::1 fe-e0-89 100 gigabitethernet 2/0/1
ipv6 neighbors max-learning-num
Syntax
ipv6 neighbors max-learning-num number
undo ipv6 neighbors max-learning-num
View
Interface view
Default Level
2: System level
Parameters
number: Maximum number of neighbors that can be dynamically learned by the interface, in the range of 1 to 2048.
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.
By default, the maximum number of neighbors that can be dynamically learned on an interface is 2048.
Examples
# Set the maximum number of neighbors that can be dynamically learned on VLAN-interface 100 to 10.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 neighbors max-learning-num 10
ipv6 pathmtu
Syntax
ipv6 pathmtu ipv6-address [ value ]
undo ipv6 pathmtu ipv6-address
View
System view
Default Level
2: System level
Parameters
ipv6-address: IPv6 address.
value: PMTU of a specified IPv6 address in bytes, in the range of 1280 to 10000.
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.
By default, no static PMTU is configured.
Examples
# Configure a static PMTU for a specified IPv6 address.
<Sysname> system-view
[Sysname] ipv6 pathmtu fe80::12 1300
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.
By default, the aging time is 10 minutes.
Note that the aging time is invalid for a static PMTU.
Related commands: display ipv6 pathmtu.
Examples
# Set the aging time for a dynamic PMTU to 40 minutes.
<Sysname> system-view
[Sysname] ipv6 pathmtu age 40
reset dns ipv6 dynamic-host
Syntax
reset dns ipv6 dynamic-host
View
User view
Default Level
2: System level
Parameters
None
Description
Use the reset dns ipv6 dynamic-host command to clear IPv6 dynamic domain name cache information.
Examples
# Clear IPv6 dynamic domain name cache information.
<Sysname> reset dns ipv6 dynamic-host
reset ipv6 neighbors
Syntax
reset ipv6 neighbors { all | dynamic | interface interface-type interface-number | slot slot-number | static }
View
User view
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 slot.
static: Clears static neighbor information on all interfaces.
Description
Use the reset ipv6 neighbors command to clear IPv6 neighbor information.
Examples
# Clear neighbor information on all interfaces.
<Sysname> reset ipv6 neighbors all
reset ipv6 pathmtu
Syntax
reset ipv6 pathmtu { all | static | dynamic }
View
User view
Default Level
2: System level
Parameters
all: Clears all PMTUs.
static: Clears all static PMTUs.
dynamic: Clears all dynamic PMTUs.
Description
Use the reset ipv6 pathmtu the command to clear the PMTU information.
Examples
# Clear all PMTUs.
<Sysname> reset ipv6 pathmtu all
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 the slot.
Description
Use the reset ipv6 statistics command to clear the statistics of IPv6 packets and ICMPv6 packets.
Examples
# Clear the statistics of IPv6 packets and ICMPv6 packets.
<Sysname> reset ipv6 statistics
reset tcp ipv6 statistics
Syntax
reset tcp ipv6 statistics
View
User view
Default Level
2: System level
Parameters
None
Description
Use the reset tcp ipv6 statistics command to clear the statistics of all IPv6 TCP connections.
Examples
# Clear the statistics of all IPv6 TCP connections.
<Sysname> reset tcp ipv6 statistics
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.
Examples
# Clear the statistics of all IPv6 UDP packets.
<Sysname> reset udp ipv6 statistics
tcp ipv6 timer fin-timeout
Syntax
tcp ipv6 timer fin-timeout wait-time
undo tcp ipv6 timer fin-timeout
View
System view
Default Level
2: System level
Parameters
wait-time: Length of the finwait timer for IPv6 TCP connections in seconds, in the range of 76 to 3,600.
Description
Use the tcp ipv6 timer fin-timeout command to set the finwait timer for IPv6 TCP connections.
Use the undo tcp ipv6 timer fin-timeout command to restore the default.
By default, the length of the finwait timer is 675 seconds.
Examples
# Set the finwait timer length of IPv6 TCP connections to 800 seconds.
<Sysname> system-view
[Sysname] tcp ipv6 timer fin-timeout 800
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: 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.
By default, the length of the synwait timer of IPv6 TCP connections is 75 seconds.
Examples
# Set the synwait timer length of IPv6 TCP connections to 100 seconds.
<Sysname> system-view
[Sysname] tcp ipv6 timer syn-timeout 100
tcp ipv6 window
Syntax
tcp ipv6 window size
undo tcp ipv6 window
View
System view
Default Level
2: System level
Parameters
size: Size of the IPv6 TCP send/receive buffer in KB (kilobyte), in the range of 1 to 32.
Description
Use the tcp ipv6 window command to set the size of the IPv6 TCP send/receive buffer.
Use the undo tcp ipv6 window command to restore the default.
By default, the size of the IPv6 TCP send/receive buffer is 8 KB.
Examples
# Set the size of the IPv6 TCP send/receive buffer to 4 KB.
<Sysname> system-view
[Sysname] tcp ipv6 window 4