1. How to Configure IPv6 Static Routes
Applicability
This example applies to all AR models of V200R002C00 and later versions.
Networking Requirements
Static routes need to be configured to ensure that any two hosts can communicate with
each other. Figure 1 shows the IPv6 addresses and masks of hosts and routers'
interfaces.
Figure 1 Networking diagram of configuring IPv6 static routes
1
3. ipv6 route-static 5:: 64 4::2
#
return
Configure RouterC.
#
ipv6
#
interface GigabitEthernet1/0/0
ipv6 enable
ipv6 address 5::1 64
#
interface GigabitEthernet2/0/0
ipv6 enable
ipv6 address 4::2 64
#
ipv6 route-static 1:: 64 4::1
ipv6 route-static 2:: 64 4::1
ipv6 route-static 3:: 64 4::1
#
return
Configure hosts.
Set the default gateway of hosts in VLAN 10 to 1::1, default gateway of hosts in
VLAN 20 to 5::1, and default gateway of VLAN 30 to 3::1.
Configure switches.
Configure switches to allow hosts to communicate with their respective gateways.
Verify the configuration.
Run the display ipv6 routing-table command to view the IP routing table.
Run the ping ipv6 command to verify the router connectivity.
3
4. Configuration Notes
Before configuring an IPv6 routing protocol, enable IPv6 unicast forwarding on
routers. Before configuring IPv6 features on an interface, enable IPv6 on the
interface.
Configure IPv6 addresses for routers' interfaces correctly.
Configure default gateways for hosts.
It is referred from:
www.huawei.com
More related:
Huawei S2300 Series Ethernet Switches Overview
VLAN Configuration of Huawei S3700 Series Switches
Example for Configuring the SNMP Function to Implement Communication
Between the Device and the NMS
Example for Configuring the Device as a PPPoE Client to Connect Users to the
Internet
Huawei USG6600 Next Generation Firewall
More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog
Huanetwork.com is a world leading Huawei networking products distributor, we wholesale
original new Huawei networking equipments, including Huawei switches, Huawei routers,
Huaweisymantec security products, Huawei IAD, Huawei SFP and other Huawei networking
products. Our customers include telecom operators, Huawei resellers, ISP and system integrators.
Right now most of our sales are contributed by regular customers.
4
5. In Huanetwork Lab, also we have Huawei OLT, MDU, DSLAM and switch for customer do
remote testing, any potential customer are welcome to login to our lab. If you need a total Huawei
FTTx solution or Huawei ADSL solution for your network, also you may feel free to contact us.
Our website: http://www.huanetwork.com
Telephone: +852-30501940
Email: sales@huanetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
5
6. In Huanetwork Lab, also we have Huawei OLT, MDU, DSLAM and switch for customer do
remote testing, any potential customer are welcome to login to our lab. If you need a total Huawei
FTTx solution or Huawei ADSL solution for your network, also you may feel free to contact us.
Our website: http://www.huanetwork.com
Telephone: +852-30501940
Email: sales@huanetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
5