beautypg.com

2 configuration examples of ipv6 – Accton Technology ES4626 User Manual

Page 297

background image

297

SwitchA(Config)#interface vlan 2

SwitchA(Config-if-Vlan2)#IP address 192.168.2.1 255.255.255.0

SwitchA(Config-if-Vlan2)#exit

SwitchA(Config)#IP route 192.168.3.0 255.255.255.0 192.168.2.1

SwitchB(Config)#interface vlan 2

SwitchB(Config-if-Vlan2)#IP address 192.168.2.2 255.255.2550

SwitchB(Config)#interface vlan 3

SwitchB(Config-if-Vlan3)#IP address 192.168.3.1 255.255.255.0

SwitchB(Config-if-Vlan3)#exit

SwitchB(Config)#IP route 192,168.1.0 255.255.255.0 192.168.2.1

9.2.3.2 Configuration Examples of IPv6

Example 1:

Fig 9-2 IPv6 configuration example

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

network segments on SwitchA and SwitchB, configure static routing and validate

reachability using ping6 function.

Configuration Description:

1、 Configure two vlans on SwitchA, namely, vlan1 and vlan2.

2、 Configure IPv6 address 2001::1/64 in vlan1 of SwitchA, and configure IPv6

address 2002::1/64 in vlan.

3、 Configure 2 vlans on SwitchB, namely, vlan2 and vlan3.

4、 Configure IPv6 address 2002::2/64 in vlan2 of SwitchB, and configure IPv6

address 2003::1/64 in vlan2.

5、 The IPv6 address of PC-A is 2001::11/64, and the IPv6 address of PC-B is

2003::33/64.

6、 Configure static routing 2003:33/64 on SwitchA, and configure static routing

2001::11/64 on SwitchB.

7、 ping6 2003::33

SwitchA

PC-A

PC-B

SwitchB

This manual is related to the following products: