beautypg.com

QTECH QSW-8300 Инструкция по настройке User Manual

Page 135

background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

134

The user’s configuration requirements are: Configure IPv6 address of different network

segments on Switch1 and Switch2, configure static routing and validate reachability using

ping6 function.

Configuration Description:

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

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

2002::1/64 in VLAN2.

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

Configure IPv6 address 2002::2/64 in VLAN2 of Switch2, and configure IPv6 address

2003::1/64 in VLAN3.

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

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

Switch2.

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

!