PLANET XGS3-24042 User Manual

Page 203

Advertising
background image

22-40

Configuration Description:

1. Configure two VLANs on Switch1, namely, VLAN1 and VLAN2.

2. Configure IPv6 address 2001::1/64 in VLAN1 of Switch1, and configure IPv6 address 2002::1/64 in

VLAN2.

3. Configure 2 VLANs on Switch2, namely, VLAN2 and VLAN3.

4. Configure IPv6 address 2002::2/64 in VLAN2 of Switch2, and configure IPv6 address 2003::1/64 in

VLAN3.

5. The IPv6 address of PC1 is 2001::11/64, and the IPv6 address of PC2 is 2003::33/64.

6. Configure static routing 2003:33/64 on Switch1, and configure static routing 2001::11/64 on Switch2.

7. ping6 each other among PCs.

Note: First make sure PC1 and Switch1 can access each other by ping, and PC2 and Switch2 can access

each other by ping.

The configuration procedure is as follows:

Switch1(Config)#interface vlan 1

Switch1(Config-if-Vlan1)#ipv6 address 2001::1/64

Switch1(Config)#interface vlan 2

Switch1(Config-if-Vlan2)#ipv6 address 2002::1/64

Switch1(Config-if-Vlan2)#exit

Switch1(Config)#ipv6 route 2003::33/64 2002::2

Switch2(Config)#interface vlan 2

Switch2(Config-if-Vlan2)#ipv6 address 2002::2/64

Switch2(Config)#interface vlan 3

Switch2(Config-if-Vlan3)#ipv6 address 2003::1/64

Switch2(Config-if-Vlan3)#exit

Switch2(Config)#ipv6 route 2001::33/64 2002::1

Switch1#ping6 2003::33

Configuration result:

Switch1#show run

interface Vlan1

ipv6 address 2001::1/64

!

interface Vlan2

ipv6 address 2002::2/64

!

interface Loopback

mtu 3924

!

ipv6 route 2003::/64 2002::2

!

Advertising
This manual is related to the following products: