4 ipv6 troubleshooting, 3 ip forwarding, 1 introduction to ip forwarding – PLANET XGS3-24040 User Manual

Page 185: Orwarding

Advertising
background image

Chapter 21 Layer 3 Forward Configuration

21-15

The configuration procedure is as follows:

SwitchA(config)#ipv6 enable

SwitchA(Config-if-Vlan1)#ipv6 address 2002:caca:ca01:2::1/64

SwitchA(Config-if-Vlan1)#no ipv6 nd suppress-ra

SwitchA(Config-if-Vlan1)#interface vlan 2

SwitchA(Config-if-Vlan2)#ipv4 address 202.202.202.1 255.255.255.0

SwitchA(Config-if-Vlan1)#exit

SwitchA(config)# interface tunnel 1

SwitchA(Config-if-Tunnel1)#tunnel source 202.202.202.1

SwitchA(Config-if-Tunnel1)#tunnel destination 203.203.203.1

SwitchA(Config-if-Tunnel1)#tunnel mode ipv6ip

SwitchA(config)#ipv6 route ::/0 tunnel1

SwitchB(config)#ipv6 enable

SwitchB(Config-if-Vlan4)#ipv6 address 2002:cbcb:cb01::2/64

SwitchB(Config-if-Vlan4)#no ipv6 nd suppress-ra

SwitchB (Config-if-Vlan3)#interface vlan 3

SwitchB (Config-if-Vlan2)#ipv4 address 203.203.203.1 255.255.255.0

SwitchB (Config-if-Vlan1)#exit

SwitchB(config)#interface tunnel 1

SwitchB(Config-if-Tunnel1)#tunnel source 203.203.203.1

SwitchB(Config-if-Tunnel1)#tunnel destination 202.202.202.1

SwitchB(Config-if-Tunnel1)#tunnel mode ipv6ip

SwitchB(config)#ipv6 route ::/0 tunnel1

21.2.4 IPv6 Troubleshooting

 IPv6 on-off must be turned on when configuring IPv6 commands, otherwise the configuration is invalid.
 The router lifespan configured should not be smaller then the Send Router advertisement Interval. If the

connected PC has not obtained IPv6 address, you should check the RA announcement switch (the

default is turned off)

21.3 IP Forwarding

21.3.1 Introduction to IP Forwarding

Gateway devices can forward IP packets from one subnet to another; such forwarding uses routes to find a

path. IP forwarding of switch is done with the participation of hardware, and can achieve wire speed

forwarding. In addition, flexible management is provided to adjust and monitor forwarding. Switch supports

aggregation algorithm enabling/disabling optimization to adjust generation of network route entry in the switch

chip and view statistics for IP forwarding and hardware forwarding chip status.

Advertising