Sie sind auf Seite 1von 61

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Table of Contents

Table of Contents

Chapter 1 IPv6 Configuration Commands

1-1

1.1 Basic IPv6 Configuration Commands

1-1

1.1.1 display dns ipv6 dynamic-host

1-1

1.1.2 display ipv6 fib

1-1

1.1.3 display ipv6 fibcache

1-3

1.1.4 display ipv6 host

1-3

1.1.5 display ipv6 interface

1-4

1.1.6 display ipv6 neighbors

1-6

1.1.7 display ipv6 neighbors count

1-7

1.1.8 display ipv6 pathmtu

1-8

1.1.9 display ipv6 socket

1-9

1.1.10 display ipv6 statistics

1-11

1.1.11 display tcp ipv6 statistics

1-14

1.1.12 display tcp ipv6 status

1-17

1.1.13 display udp ipv6 statistics

1-18

1.1.14 dns server ipv6

1-19

1.1.15 ipv6

1-20

1.1.16 ipv6 address

1-20

1.1.17 ipv6 address auto link-local

1-21

1.1.18 ipv6 address eui-64

1-22

1.1.19 ipv6 address link-local

1-23

1.1.20 ipv6 fibcache

1-23

1.1.21 ipv6 fib-loadbalance-type hash-based

1-24

1.1.22 ipv6 host

1-25

1.1.23 ipv6 icmp-error

1-25

1.1.24 ipv6 nd autoconfig managed-address-flag

1-26

1.1.25 ipv6 nd autoconfig other-flag

1-27

1.1.26 ipv6 nd dad attempts

1-27

1.1.27 ipv6 nd hop-limit

1-28

1.1.28 ipv6 nd ns retrans-timer

1-29

1.1.29 ipv6 nd nud reachable-time

1-29

1.1.30 ipv6 nd ra halt

1-30

1.1.31 ipv6 nd ra interval

1-31

1.1.32 ipv6 nd ra prefix

1-32

1.1.33 ipv6 nd ra router-lifetime

1-33

1.1.34 ipv6 neighbor

1-33

1.1.35 ipv6 neighbors max-learning-num

1-34

1.1.36 ipv6 pathmtu

1-35

Table of Contents

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

 

1.1.37 ipv6 pathmtu age

1-35

1.1.38 reset dns ipv6 dynamic-host

1-36

1.1.39 reset ipv6 fibcache

1-37

1.1.40 reset ipv6 neighbors

1-37

1.1.41 reset ipv6 pathmtu

1-38

1.1.42 reset ipv6 statistics

1-38

1.1.43 reset tcp ipv6 statistics

1-39

1.1.44 reset udp ipv6 statistics

1-39

1.1.45 tcp ipv6 timer fin-timeout

1-40

1.1.46 tcp ipv6 timer syn-timeout

1-40

1.1.47 tcp ipv6 window

1-41

Chapter 2 IPv6 Application Configuration Commands

2-1

2.1

IPv6 Application Configuration Commands

2-1

 

2.1.1 ping ipv6

2-1

 

2.1.2 telnet ipv6

2-2

2.1.3 tftp ipv6

2-3

2.1.4 tftp-server ipv6 acl

2-4

2.1.5 tracert ipv6

2-5

Chapter 3 Dual Stack Configuration Commands

3-1

3.1

Dual Stack Configuration Commands

3-1

3.1.1 display switch-mode

3-1

3.1.2 switch-mode

3-1

Chapter 4 Tunneling Configuration Commands

4-1

4.1

Tunnel Configuration Commands

4-1

4.1.1 aggregation-group

4-1

4.1.2 destination

4-2

4.1.3 display interface Tunnel

4-3

4.1.4 display ipv6 interface Tunnel

4-4

4.1.5 expediting enable

4-6

4.1.6 expediting subnet

4-6

4.1.7 interface Tunnel

4-7

4.1.8 peer enable

4-8

4.1.9 source

4-9

4.1.10

tunnel-protocol

4-10

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Chapter 1 IPv6 Configuration Commands

1.1 Basic IPv6 Configuration Commands

1.1.1 display dns ipv6 dynamic-host

Syntax

display dns ipv6 dynamic-host

View

Parameter

Any view

None

Description

Use the display dns ipv6 dynamic-host command to display IPv6 dynamic domain name cache information.

Example

# Display IPv6 dynamic domain name cache information.

<Sysname> display dns ipv6 dynamic-host

No. Domain-name

IPv6 Address

TTL

1

aaa

3001::2

6

Table 1-1 Description on fields of the display dns ipv6 dynamic-host command

Field

Description

No.

Sequence number

Domain-name

Domain name

IPv6 Address

IPv6 address corresponding to the domain name

TTL

Lifetime of a domain name cache information entry in seconds

1.1.2 display ipv6 fib

Syntax

display ipv6 fib [ ipv6-address ]

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

View

Parameter

Any view

ipv6-address: IPv6 address. An FIB entry whose destination address is this address

will be displayed.

Description

 

Use the display ipv6 fib command to display one specific FIB entry, or all FIB entries if

no parameter is provided.

Example

# Display all FIB entries.

<Sysname> display ipv6 fib FIB Table:

Total number of Routes : 1

Flag:

U:Useable

G:Gateway

Destination: ::1

H:Host

B:Blackhole

D:Dynamic

PrefixLength : 128

S:Static

NextHop

: ::1

Flag

: HU

Label

: NULL

Tunnel ID

:

0

TimeStamp : Date- 12/5/2004, Time- 9:15:18 Interface : InLoopBack0

Table 1-2 Description on fields of the display ipv6 fib command

Field

Description

Total number of Routes

Total number of routes in the FIB

Destination

Destination address to which a packet is forwarded

PrefixLength

Prefix length of the destination address

NextHop

Next hop address when a packet is forwarded to the destination

 

Route flag:

“U” — Usable route

“G” — Gateway route

Flag

“H” — Host route

“B” — Blackhole route

“D” — Dynamic route

“S” — Static route

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Field

Description

Label

Label

Tunnel ID

ID of a tunnel

TimeStamp

Generation time of an FIB entry

Interface

Interface from which a packet is forwarded

1.1.3 display ipv6 fibcache

Syntax

display ipv6 fibcache

View

Parameter

Any view

None

Description

Use the display ipv6 fibcache command to display the total number of routes in the FIB cache.

Example

# Display information in the FIB cache.

<Sysname> display ipv6 fibcache FIB Cache:

Total number of Routes : 0

1.1.4 display ipv6 host

Syntax

 

display ipv6 host

View

 

Any view

Parameter

 

None

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Description

 

Use the display ipv6 host command to display the mapping between host name and

IPv6 address.

Example

# Display the mapping between host name and IPv6 address.

<Sysname> display ipv6 host

Host

Age

Flags IPv6Address (es)

SWB

0

static 2002::1

Table 1-3 Description on fields of the display ipv6 host command

Field

Description

Host

Host name

Age

Time for the entry to live, displayed as 0 in the case of static configuration.

Flags

Flag indicating whether the entry is configured statically or acquired dynamically

IPv6Address (es)

IPv6 address corresponding to a host name

1.1.5 display ipv6 interface

Syntax

display ipv6 interface [ interface-type interface-number | brief ]

View

Parameter

Any view

interface-type: Interface type.

interface-number: Interface number.

brief: Displays the brief IPv6 information of an interface.

Description

Use the display ipv6 interface command to display the IPv6 information of a specified

interface.

When neither the interface type nor the interface number is provided, the IPv6

information of all interfaces is displayed.

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Example

# Display the IPv6 information of a VLAN interface.

<Sysname> display ipv6 interface Vlan-interface 1 Vlan-interface1 current state : UP , Line protocol current state : UP IPv6 is enabled, link-local address is FE80::200:1FF:FE04:5D00 Global unicast address(es):

2001::1, subnet is 2001::/64 Joined group address(es):

FF02::1:FF00:1

FF02::1:FF04:5D00

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

Table 1-4 Description on fields of the display ipv6 interface command

 

Field

Description

Vlan-interface1 current state

Physical state of an interface

Line protocol current state

Link layer protocol state of an interface

IPv6 is enabled

 

IPv6 forwarding state of an interface (IPv6 is enabled in the example)

link-local address

 

Link-local address configured on an interface

Global unicast address(es)

Aggregatable global unicast address configured on an interface

Joined group address(es)

Address of the multicast group that an interface joins

MTU

Maximum transmission unit of an interface

ND DAD is enabled, number of DAD attempts

Number of duplicate address detection (DAD) attempts, with DAD enabled

ND reachable time

 

Neighbor reachable time

ND retransmit interval

Interval for retransmitting a neighbor solicitation (NS) message

Hosts

use

stateless

Hosts use stateless auto-configuration mode to acquire IPv6 addresses

autoconfig for addresses

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

#: View the brief IPv6 information of all interfaces.

<Sysname> display ipv6 interface brief *down: administratively down (s): spoofing

Interface

Physical

Protocol

IPv6 Address

LoopBack0

up

up(s)

Unassigned

Vlan-interface1

up

up

2001::1

Table 1-5 Description on fields of the display ipv6 interface brief command

Field

Description

*down

The interface is down, that is, the interface is disabled by using the shutdown command.

 

Spoofing attribute of the interface, that is, the link protocol state of

(s)

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

Protocol

Link protocol state of an interface

IPv6 Address

IPv6 address of the interface (If no address is configured for the interface, “Unassigned” will be displayed.)

1.1.6 display ipv6 neighbors

Syntax

 

display ipv6 neighbors { ipv6-address | all | dynamic | static | interface

interface-type interface-number | vlan vlan-id } [ | { begin | exclude | include } text ]

View

 

Any view

Parameter

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.

interface interface-type interface-number: Displays information of the neighbors of a

specified interface.

static: Displays information of all neighbors configured statically.

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

vlan vlan-id: Displays information of the neighbors of a specified VLAN, in the range of

1 to 4094.

|: Enables output information filtering.

begin: Displays the neighbor entries beginning with the specified character string.

include: Displays the neighbor entries containing the specified character string.

exclude: Displays the neighbor entries without the specified character string.

text: Character string.

Description

Use the display ipv6 neighbors command to display neighbor information.

Example

# View 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 1

Eth1/0/1

REACH

S

-

Table 1-6 Description on fields of the display ipv6 neighbors command

Field

Description

IPv6 Address

IPv6 address

Link-layer

Link layer address (MAC address of a neighbor)

VID

VLAN ID

Interface

Interface connected with a neighbor

State

State of a neighbor

T

Type of neighbor information, including static configuration and dynamic acquisition.

 

For a static entry, “-“ is displayed. For a dynamic entry, the time

Age

(in seconds) since it is reachable last time is displayed, and if it is never reachable, “#” is displayed (for a dynamic neighbor only).

1.1.7 display ipv6 neighbors count

Syntax

display ipv6 neighbors { all | dynamic | static | interface interface-type

interface-number | vlan vlan-id } count

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

View

Parameter

Any view

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.

interface interface-type interface-number: Displays the total number of neighbor entries of a specified interface.

static: Displays the total number of all neighbor entries configured statically.

vlan vlan-id: Displays the total number of neighbor entries of a specified VLAN, in the range of 1 to 4094.

count: The number of neighbor entries.

Description

Use the display ipv6 neighbors count command to display the total number of neighbor entries satisfying the specified condition.

Example

# Display the total number of neighbor entries acquired dynamically.

<Sysname> display ipv6 neighbors dynamic count Total dynamic entry(ies): 2

1.1.8 display ipv6 pathmtu

Syntax

 

display ipv6 pathmtu { ipv6-address | all | dynamic | static }

View

 

Any view

Parameter

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.

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Description

 

Use the display ipv6 pathmtu command to display the PMTU information of IPv6

addresses.

Example

# 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-7 Description on fields of the display ipv6 pathmtu command

Field

 

Description

 

Ipv6 Destination Address

Destination IPv6 address

 

ZoneID

Address zone, currently invalid

 

PathMTU

PMTU of an IPv6 address

 
 

Lifetime of

a PMTU.

For

a

static PMTU, “--“ is

Age

displayed.

Type

Indicates the PMTU is dynamically negotiated or statically configured.

1.1.9 display ipv6 socket

Syntax

 

display ipv6 socket [ socktype socket-type ] [ task-id socket-id ]

View

 

Any view

Parameter

socket-type: Type of a socket, 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: ID of a task, in the range of 1 to 100.

socket-id: ID of a socket, in the range of 0 to 3072.

Description

Use the display ipv6 socket command to display information related to a specified

socket.

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

With no argument specified, this command displays the information about all the sockets.

Example

# Display information related to a specified socket.

<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:

SOCK_RAW:

Table 1-8 Description on fields of the display ipv6 socket command

Field

Description

SOCK_STREAM

Socket type of TCP

SOCK_DGRAM

Socket type of UDP

SOCK_RAW

Socket type of raw IP

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 sending buffer

rcvbuf

Size of the receiving buffer

sb_cc

Number of bytes sent by the sending buffer

rb_cc

Number of bytes received by the receiving buffer

socket option

Socket option set by the application

socket state

State of the socket

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

1.1.10 display ipv6 statistics

Syntax

display ipv6 statistics

View

Parameter

Any view

None

Description

Use the display ipv6 statistics command to display statistics of IPv6 packets and ICMPv6 packets.

Example

# View the statistics of IPv6 packets and IPv6 ICMP packets.

<Sysname> display ipv6 statistics IPv6 Protocol:

Sent packets:

Total:

0

Local sent out:

 

0

orwarded:

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

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

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-9 Description on fields of the display ipv6 statistics command

 

Field

   

Description

 

IPv6 Protocol:

 

Statistics of IPv6 packets

 
 

Statistics

of

sent

IPv6

packets,

including:

Sent packets:

 

Total number of sent packets

 

Total:

0

Number of packets sent locally

Local sent out: 0

forwarded:

0

Number of forwarded packets

raw packets:

0

discarded:

0

Number of packets sent via raw socket

routing failed:

0

fragments:

0

Number of discarded packets

 

fragments failed: 0

 

Number of packets with routing failure

 

Number of sent fragment packets

Number of fragment sending failures

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

 

Field

 

Description

 
 

Statistics

of

received

IPv6

packets,

including

Total number of received packets

Number of packets received locally

Received packets:

 

Number of packets exceeding the hops

Total:

0

Number of packets in an incorrect format

local host:

0 hopcount exceeded: 0

Number

of packets with incorrect

format error: 0 option error:

0

options

protocol error: 0 fragments:

0

 

Number

of

packets

with

incorrect

protocol

reassembled: 0 reassembly failed:

0

Number of received fragment packets

reassembly timeout:

0

Number of reassembled packets

 

Number of packets whose reassembly fails

Number of packets whose reassembly times out

ICMPv6 protocol:

 

Statistics of ICMPv6 packets

 
 

Statistics

of

sent

ICMPv6

packets,

including

Total number of sent packets

 

Number of packets whose destination is unreachable

Sent packets:

 

Number of too large packets

 

Total:

0

Number of packets exceeding the hop limit

unreached: 0 too big: 0

 

hopcount exceeded: 0 timeout: 0

reassembly

Number of packets whose fragmentation and reassembly time out

parameter problem: 0

 

Number

of

packets

with

parameter

echo request: 0 echo replied: 0

errors

neighbor solicit: 0 neighbor advert:

Number of request packets

 

0

Number of response packets

router solicit:

0 router advert

 

0

Number of neighbor solicitation packets

redirected:

0

Number

of

neighbor

advertisement

Send failed:

packets

ratelimited:

0 other errors:

 

0

Number of router solicit packets

 

Number of router advertisement packets

Number of redirected packets

 

Number of packets failing to be sent because of rate limitation

Number of packets with other errors

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

 

Field

   

Description

 
 

Statistics of received ICMPv6 packets, including

Total number of received packets

Number

of

packets

with

checksum

errors

Number of too small packets

 

Number of packets with error codes

Received packets:

 

Number of packets whose destination is unreachable

Total:

0

Number of too large packets

 

checksum error:

0 too short:

0

 

bad code:

0

Number of packets exceeding the hop limit

unreached: 0

too big:

0

Number of packets whose fragmentation and reassembly time out

reassembly

hopcount exceeded: 0 timeout: 0

 

Number

of

packets

with

parameter

unknown error

errors

parameter problem: 0 type: 0

 

Number of packets with unknown errors

echoed:

0 echo replied: 0

Number of request packets

 

neighbor solicit:

 

0

neighbor advert:

Number of response packets

0

Number

of

neighbor solicitation

router solicit:

0 router advert:

 

0

messages

redirected:

0 router renumbering 0

Number

of

neighbor

advertisement

unknown info type: 0

 

packets

Deliver failed:

 

Number of router solicitation packets

bad length:

0

ratelimited:

0

Number of router advertisement packets

 

Number of redirected packets

 

Number of packets router

recounted by the

Number of unknown information type of packets

Number of packets with a incorrect size

Number of packets failing to be received because of rate limitation

1.1.11 display tcp ipv6 statistics

Syntax

display tcp ipv6 statistics

View

Any view

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Parameter

 

None

Description

 

Use the display tcp ipv6 statistics command to display statistics of IPv6 TCP packets.

Example

# View the statistics of received and sent IPv6 TCP packets.

<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)

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Table 1-10 Description on fields of the display tcp ipv6 statistics command

Field

   

Description

 
 

Statistics of received packets, including

Total number of received packets

 

Received packets:

Number

of

packets

received

in

Total: 0

sequence

packets in sequence: 0 (0 bytes)

 

Number of window probe packets

 

window probe packets: 0, window update packets: 0

Number of window size update packets

Number

of

packets

with

checksum

checksum error: 0, offset error: 0, short error: 0

errors

Number of packets with offset errors

Number of packets whose total length is less than that specified by the packet header

duplicate

packets:

 

0

(0

bytes),

partially duplicate packets: 0 (0 bytes)

out-of-order packets: 0 (0 bytes)

 

Number of duplicate packets

 

packets with data after window: 0 (0 bytes)

Number of partially duplicate packets

Number of out-of-order packets

 

packets after close: 0

 

Number of packets exceeding the receiving window size

ACK packets: 0 (0 bytes)

 

Number of packets after the connection is closed

Number of ACK packets

duplicate ACK packets: 0, too much ACK packets: 0

Number of

duplicate

ACK

packets/excessive ACK packets

Sent packets:

Statistics of sent packets, including

 

Total: 0

Total number of packets

 

urgent packets: 0

Number of packets containing an urgent indicator

control packets: 0 (including 0 RST)

Number of control packets

 

window probe packets: 0, window update packets: 0

Number of window probe packets

Number of window update packets

data

packets:

0

(0

bytes)

data

Number of data packets

 

packets retransmitted: 0 (0 bytes)

Number of retransmitted packets

 

ACK only packets: 0 (0 delayed)

Number of ACK only 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

Number of connections dropped because of keepalive response timeout

disconnected

Initiated connections

 

Number of initiated connections

 

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Field

Description

accepted connections

Number of accepted connections

established connections

Number of established connections

Closed connections

Number of closed connections

dropped

Number of dropped connections (after receiving SYN from the peer)

initiated dropped

Number of connection failures (before receiving SYN from the peer)

1.1.12 display tcp ipv6 status

Syntax

display tcp ipv6 status

View

Parameter

Any view

None

Description

Use the display tcp ipv6 status command to display the IPv6 TCP connection status.

Example

# View the IPv6 TCP connection status.

<Sysname> display tcp ipv6 status

TCP6CB

045d8074 ::->21

Local Address

Foreign Address

::->0

State

Listening

Table 1-11 Description on fields of the display tcp ipv6 status command

Field

Description

TCP6CB

IPv6 address of the TCP control block (hexadecimal)

Local Address

Local IPv6 address

Foreign Address

Remote IPv6 address

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Field

Description

TCP connection status, including Closed Listening Syn_Sent Syn_Rcvd Established Close_Wait

Fin_Wait1

Closing

Last_Ack

Fin_Wait2

Time_Wait

State

1.1.13 display udp ipv6 statistics

Syntax

display udp ipv6 statistics

View

Parameter

Any view

None

Description

Use the display udp ipv6 statistics command to display statistics of IPv6 UDP packets.

Example

# View statistics 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

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Sent packets:

Total: 0

Table 1-12 Description on fields of the display udp ipv6 statistics command

 

Field

 

Description

Total

Total number of received/sent packets

checksum error

 

Total number of packets with an invalid checksum

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

Total number of packets whose data length exceeds that specified by the packet header

packet

unicast(no socket on port)

Total number of received unicast packets without any socket on a port

broadcast/multicast(no socket on port)

Total number of received broadcast/multicast packets without any socket on a port

not delivered, input socket full

Number of packets not handled because of the receiving buffer being full

input packet missing pcb cache

Number of packets that do not match any entry in the PCB cache

1.1.14 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

Parameter

 

ipv6-address: IPv6 address of a DNS server.

interface-type interface-number: Interface type and interface number when the IPv6

address of the specified DNS server is a link-local address.

Description

Use the dns server ipv6 command to configure an IPv6 address for a DNS server.

Use the undo dns server ipv6 command to remove the configured DNS server.

By default, no DNS server is configured.

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Example

# Configure the IPv6 address 2002::1 for a DNS server.

<Sysname> system-view [Sysname] dns server ipv6 2002::1

1.1.15 ipv6

Syntax

 

ipv6

undo ipv6

View

 

System view

Parameter

 

None

Description

 

Use the ipv6 command to enable the IPv6 function. Use the undo ipv6 command to disable the IPv6 function. By default, the IPv6 function is disabled.

Example

# Enable the IPv6 function.

<Sysname> system-view [Sysname] ipv6

1.1.16 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

Parameter

ipv6-address: IPv6 address. prefix-length: Prefix length of an IPv6 address, in the range of 1 to 128.

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Description

 

Use the ipv6 address command to configure a site-local address or global unicast address manually for an interface.

Use the undo ipv6 address command to remove the manually configured interface address.

By default, no site-local address or global unicast address is configured for an interface.

Note that:

Up to five aggregatable global unicast address(es) or site-local address(es) can

be configured on an interface at a time. The prefix length can only be 128 bits when the aggregatable global unicast

address(es) or site-local address(es) is configured in the LoopBack interface view. You will remove all IPv6 addresses except the automatically configured link-local

Example

address if you carry out the undo ipv6 address command without any parameter,

# Set the aggregatable global IPv6 unicast address of the VLAN 100 interface to

2001::1/64.

<Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 address 2001::1/64

1.1.17 ipv6 address auto link-local

Syntax

 

ipv6 address auto link-local

undo ipv6 address auto link-local

View

 

Interface view

Parameter

 

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 an interface.

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

By default, a link-local address is generated automatically after a site-local IPv6 address or global unicast address is configured for the interface.

Example

# Configure the VLAN 100 interface to automatically generate a link-local address.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 address auto link-local

1.1.18 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

Parameter

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. The prefix length of an EUI-64 address cannot be greater than 64.

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 an interface.

By default, no site-local address or global unicast address in the EUI-64 format is configured on the interface.

 

Note that:

The prefix length should not be more than 64 bits when the aggregatable global

unicast address(es) or site-local address(es) in the EUI-64 format is configured in the VLAN interface view. The prefix length can only be 128 bits when the aggregatable global unicast

Example

address(es) or site-local address(es) in the EUI-64 format is configured in the LoopBack interface view.

#

Configure an IPv6 address in the EUI-64 format for the VLAN 100 interface.

<Sysname> system-view

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

[Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 address 2001::1/64 eui-64

1.1.19 ipv6 address link-local

Syntax

 

ipv6 address ipv6-address link-local

undo ipv6 address ipv6-address link-local

View

 

Interface view

Parameter

 

ipv6-address: IPv6 link-local address. The first ten 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 manually for a specified interface.

Use the undo ipv6 address link-local command to remove the configured link-local address for an interface.

Example

# Configure a link-local address for the VLAN 100 interface.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 address fe80::1 link-local

1.1.20 ipv6 fibcache

Syntax

 

ipv6 fibcache

undo ipv6 fibcache

View

 

System view

Parameter

 

None

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Description

 

Use the ipv6 fibcache command to enable the IPv6 FIB caching function.

Use the undo ipv6 fibcache command to disable the IPv6 FIB caching function.

By default, the IPv6 FIB caching function is disabled.

Note that the FIB caching function valid only for forwarded packets.

Example

# Enable the IPv6 FIB caching function.

<Sysname> system-view [Sysname] ipv6 fibcache

1.1.21 ipv6 fib-loadbalance-type hash-based

Syntax

 

ipv6 fib-loadbalance-type hash-based

undo ipv6 fib-loadbalance-type hash-based

View

 

System view

Parameter

 

None

Description

Use the ipv6 fib-loadbalance-type hash-based command to specify the load sharing mode based on the HASH algorithm for packet forwarding so that packets from the same source address can be forwarded from the same next-hop address.

Use the undo ipv6 fib-loadbalance-type hash-based command to restore the load sharing mode to the default load sharing based on polling.

By default, the load sharing based on polling is adopted, that is, each equivalent route is used in turn to forward packets.

Example

# Specify packets from the same source address to be forwarded out of the same next-hop address.

<Sysname> system-view [Sysname] ipv6 fib-loadbalance-type hash-based

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

1.1.22 ipv6 host

Syntax

 

ipv6 host hostname ipv6-address

undo ipv6 host hostname [ ipv6-address ]

View

 

System view

Parameter

 

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 mapping between host name and IPv6 address.

Use the undo ipv6 host command to remove the mapping between host name and IPv6 address.

Each host name can correspond to at most eight IPv6 addresses.

Example

# Configure the mapping between host name and IPv6 address.

<Sysname> system-view [Sysname] ipv6 host aaa 2001::1

1.1.23 ipv6 icmp-error

Syntax

 

ipv6 icmp-error { bucket bucket-size | ratelimit interval }*

undo ipv6 icmp-error

View

 

System view

Parameter

bucket-size: Number of tokens in a token bucket, in the range of 1 to 200. The default value is 10.

interval: Update period of the token bucket in milliseconds, in the range of 0 to

2,147,483,647.

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Description

 

Use the ipv6 icmp-error command to configure the maximum number of IPv6 ICMP error packets sent within a specified time.

Use the undo ipv6 icmp-error command to restore the update period and the capacity of the token bucket to the defaults.

By default, the size is 10 and the update period is 100 milliseconds. That is, at most 10 IPv6 ICMP error packets can be sent within 100 milliseconds.

Example

# Set the capacity of the token bucket to 50 and the update period to 100 milliseconds.

That is, at most 50 IPv6 ICMP error packets can be sent within 100 milliseconds.

<Sysname> system-view [Sysname] ipv6 icmp-error bucket 50 ratelimit 100

1.1.24 ipv6 nd autoconfig managed-address-flag

Syntax

 

ipv6 nd autoconfig managed-address-flag

undo ipv6 nd autoconfig managed-address-flag

View

 

Interface view

Parameter

 

None

Description

Use the ipv6 nd autoconfig managed-address-flag command to set the M flag (configuration flag of the managed address) to 1 so that the host can acquire an IPv6 address through stateful auto-configuration (for example, DHCP server).

Use the undo ipv6 nd autoconfig managed-address-flag command to restore the M flag to the default value “0” so that the host can acquire an IPv6 address through stateless auto-configuration.

By default, the M flag is set to 0.

Example

# Configure the host to acquire an IPv6 address through stateful auto-configuration.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd autoconfig managed-address-flag

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

1.1.25 ipv6 nd autoconfig other-flag

Syntax

 

ipv6 nd autoconfig other-flag

undo ipv6 nd autoconfig other-flag

View

 

Interface view

Parameter

 

None

Description

Use the ipv6 nd autoconfig other-flag command to set the O flag (configuration flag of other information) to 1 so that the host can acquire information other than IPv6 address through stateful auto-configuration (for example, DHCP server).

Use the undo ipv6 nd autoconfig other-flag command to remove the setting so that the host can acquire other information through stateless auto-configuration.

By default, the O flag is set to 0.

Example

# Configure the host to acquire information other than IPv6 address through stateless auto-configuration.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] undo ipv6 nd autoconfig other-flag

1.1.26 ipv6 nd dad attempts

Syntax

 

ipv6 nd dad attempts value

undo ipv6 nd dad attempts

View

 

Interface view

Parameter

value: Number of attempts to send a neighbor solicitation message for duplicate address detection, in the range of 0 to 600. The default value is “1”.When it is set to 0, the duplicate address detection is disabled.

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Description

Use the ipv6 nd dad attempts command to configure the attempts to send a neighbor solicitation message for duplicate address detection.

Use the undo ipv6 nd dad attempts command to restore the attempts to send a neighbor solicitation message for duplicate address detection to the default.

By default, the number of attempts to send a neighbor solicitation message for duplicate address detection is 1.

Example

# Set the attempts to send a neighbor solicitation message for duplicate address detection to 20.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd dad attempts 20

1.1.27 ipv6 nd hop-limit

Syntax

 

ipv6 nd hop-limit value

undo ipv6 nd hop-limit

View

 

System view

Parameter

 

value: Number of hops, in the range of 0 to 255. The default value is 64.When it is set to 0, the Hop Limit field in RA messages sent by the device is 0, that is, no host is designated.

Description

 

Use the ipv6 nd hop-limit command to configure the hop limit issued by the device.

Use the undo ipv6 nd hop-limit command to restore the hop limit to the default.

By default, the hop limit issued by the device is 64.

Example

# Set the hop limit issued by the device to 100.

<Sysname> system-view [Sysname] ipv6 nd hop-limit 100

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

1.1.28 ipv6 nd ns retrans-timer

Syntax

 

ipv6 nd ns retrans-timer value

undo ipv6 nd ns retrans-timer

View

 

Interface view

Parameter

value: Interval for retransmitting an NS message in milliseconds, in the range of 1,000 to 3,600,000.

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 interval for retransmitting an NS message to the default and specify the value of the Retrans Timer field to 0 so that no host can be designated.

By default, the local interface sends NS messages at intervals of 1,000 milliseconds and the Retrans Timer field in RA messages sent by the local interface is equal to 0.

Example

# Specify the VLAN 100 interface to send an NS message at intervals of 10,000 milliseconds.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd ns retrans-timer 10000

1.1.29 ipv6 nd nud reachable-time

Syntax

 

ipv6 nd nud reachable-time value

undo ipv6 nd nud reachable-time

View

Interface view

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Parameter

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 neighbor reachable time to the default and to specify the value of the Reachable Timer field in RA messages to 0 so that no host can be designated.

By default, the neighbor reachable time on the local interface is 30,000 milliseconds and the Reachable Timer field in RA messages is 0.

Example

# Set the neighbor reachable time on the VLAN-interface100 to 10,000 milliseconds.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd nud reachable-time 10000

1.1.30 ipv6 nd ra halt

Syntax

 

ipv6 nd ra halt

undo ipv6 nd ra halt

View

 

Interface view

Parameter

 

None

Description

 

Use the ipv6 nd ra halt command to suppress RA messages.

Use the undo ipv6 nd ra halt command to disable the RA message suppression.

By default, RA messages are suppressed.

Example

# Suppress RA messages on the VLAN 100 interface.

<Sysname> system-view

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

[Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd ra halt

1.1.31 ipv6 nd ra interval

Syntax

 

ipv6 nd ra interval max-interval-value min-interval-value

undo ipv6 nd ra interval

View

 

Interface view

Parameter

 

max-interval-value: Maximum interval for sending RA messages in seconds, in the range of 4 to 1,800.

min-interval-value: Minimum interval for sending 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 the minimum interval for sending RA messages. The device sends 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 maximum and the minimum interval to the default.

By default, the maximum interval between RA messages is 600 seconds, and the minimum interval is 200 seconds.

Note that:

The configured minimum interval must be less than or equal to 0.75 times of the maximum interval. The actual maximum interval to send RA messages must be less than or equal to the keepalive time of RA messages.

Example

# Set the maximum interval for sending 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

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

1.1.32 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-address

View

 

Interface view

Parameter

ipv6-address: IPv6 address or IPv6 address prefix.

prefix-length: Prefix length of an IPv6 address, a number ranging from 1 to 128.

ipv6-prefix: IPv6 address prefix to be specified.

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 auto-configuration in seconds, in the range of 0 to 4,294,967,295.

no-autoconfig: Specifies a prefix not be used for stateless auto-configuration. If this keyword is not provided, the prefix is used for stateless auto-configuration.

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.

Example

# Configure the prefix information for RA messages on the VLAN 100 interface.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd ra prefix 2001:10::100/64 100 10

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

1.1.33 ipv6 nd ra router-lifetime

Syntax

 

ipv6 nd ra router-lifetime value

undo ipv6 nd ra router-lifetime

View

 

Interface view

Parameter

value: Lifetime of RA messages in seconds, in the range of 0 to 9,000. The default value is 1800. When it is set to 0, the device does not serve as a default router.

Description

 

Use the ipv6 nd ra router-lifetime command to configure the lifetime of RA messages.

Use the undo ipv6 nd ra router-lifetime command to restore the configuration to the default.

Note that the lifetime of RA messages should be greater than or equal to the sending interval.

Example

# Set the lifetime of RA messages on the VLAN 100 interface to 1,000 seconds.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 nd ra router-lifetime 1000

1.1.34 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

Parameter

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).

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

vlan-id: VLAN ID corresponding to a static neighbor entry, in the range of 1 to 4094.

port-type port-number: Layer 2 port corresponding to a static neighbor entry.

interface-type interface-number: Layer 3 interface corresponding to a 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.

Note that the corresponding VLAN interface must exist when you carry out the command with the vlan-id port-type port-number argument. After you carry out the

command, the device relates the VLAN interface to an IPv6 address to uniquely identify

static neighbor entry. You only need to specify the corresponding VLAN interface before removing a static neighbor entry.

a

Example

# Configure a static neighbor entry for Ethernet1/0/1 of VLAN 100.

<Sysname> system-view [Sysname] ipv6 neighbor 2000::1 fe-e0-89 100 Ethernet 1/0/1

1.1.35 ipv6 neighbors max-learning-num

Syntax

 

ipv6 neighbors max-learning-num number

undo ipv6 neighbors max-learning-num

View

 

Interface view

Parameter

 

number: Maximum number of neighbors that can be dynamically learned by an interface, in the range of 1 to 2,560.

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.

Use the undo ipv6 neighbors max-learning-num command to restore the configuration to the default.

By default, the maximum number is 2,560.

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

Example

# Set the maximum number of neighbors that can be dynamically learned on the VLAN 100 interface to 10.

<Sysname> system-view [Sysname] interface Vlan-interface 100 [Sysname-Vlan-interface100] ipv6 neighbors max-learning-num 10

1.1.36 ipv6 pathmtu

Syntax

 

ipv6 pathmtu ipv6-address [ value ]

undo ipv6 pathmtu ipv6-address

View

 

System view

Parameter

 

ipv6-address: Specified IPv6 address.

value: PMTU of a specified IPv6 address in bytes, in the range of 1,280 to 10,000. The default value is 1500. If this argument is not provided, the default value is adopted.

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.

Example

# Configure a static PMTU for a specified IPv6 address.

<Sysname> system-view [Sysname] ipv6 pathmtu fe80::12 1300

1.1.37 ipv6 pathmtu age

Syntax

ipv6 pathmtu age age-time

undo ipv6 pathmtu age

Chapter 1 IPv6 Configuration Commands

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

View

 

System view

Parameter

 

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 dynamic PMTU.

Use the undo ipv6 pathmtu age command to restore the aging time for dynamic PMTU to the default.

By default, the aging time is 10 minutes.

Note that the aging time is invalid for static PMTU.

Related command: display ipv6 pathmtu.

Example

# Set the aging time for dynamic PMTU to 40 minutes.

<Sysname> system-view [Sysname] ipv6 pathmtu age 40

1.1.38 reset dns ipv6 dynamic-host

Syntax

 

reset dns ipv6 dynamic-host

View

 

User view

Parameter

 

None

Description

 

Use the reset dns ipv6 dynamic-host command to clear IPv6 dynamic domain name cache information.

Example

# Clear IPv6 dynamic domain name cache information.

<Sysname> reset dns ipv6 dynamic-host

Command Manual – IPv6 Configuration Quidway S3500-EA Series Ethernet Switches

Chapter 1 IPv6 Configuration Commands

1.1.39 reset ipv6 fibcache

Syntax

 

reset ipv6 fibcache

View

 

User view

Parameter

 

None

Description

 

Use the reset ipv6 fibcache command to clear FIB cache entries.

Example

# Clear FIB cache entries.

<Sysname> reset ipv6 fibcache

1.1.40 reset ipv6 neighbors

Syntax

 

reset ipv6 neighbors [ all | dynamic | interface interface-type interface-number | static ]

View

 

User view