Ipv6 configuration examples, Ipv6 unicast address configuration example, Network requirements – H3C Technologies H3C S3100 Series Switches User Manual

Page 927: Network diagram, Configuration procedure

Advertising
background image

1-24

To do…

Use the command…

Remarks

Clear the statistics by ND detection

reset ipv6 nd detection statistics
[ interface interface-type
interface-number
]

Available in user view

Remove ND snooping entries

reset ipv6 nd snooping [ ipv6-address |
vlan vlan-id ]

Available in user view

Clear the statistics of all IPv6 TCP
packets

reset tcp ipv6 statistics

Available in user view

Clear the statistics of all IPv6 UDP
packets

reset udp ipv6 statistics

Available in user view

The display dns domain and display dns server commands are the same as those of IPv4 DNS. For

details about the commands, refer to DNS.

IPv6 Configuration Examples

IPv6 Unicast Address Configuration Example

Network requirements

Two switches are directly connected through two Ethernet ports. The Ethernet ports belong to VLAN 1.

IPv6 addresses are configured for the interface Vlan-interface1 on each switch to verify the connectivity

between the two switches. The global unicast address of Switch A is 3001::1/64, and the global unicast

address of Switch B is 3001::2/64.

Network diagram

Figure 1-8 Network diagram for IPv6 address configuration

Configuration procedure

1) Configure Switch A.

# Configure an automatically generated link-local address for the interface Vlan-interface1.

<SwitchA> system-view

[SwitchA] interface Vlan-interface 1

[SwitchA-Vlan-interface1] ipv6 address auto link-local

# Configure a global unicast address for the interface Vlan-interface1.

[SwitchA-Vlan-interface1] ipv6 address 3001::1/64

2) Configure Switch B.

# Configure an automatically generated link-local address for the interface Vlan-interface1.

<SwitchA> system-view

[SwitchB] interface Vlan-interface 1

[SwitchB-Vlan-interface1] ipv6 address auto link-local

# Configure a global unicast address for the interface Vlan-interface1.

Advertising