Huawei S6700 Series Configuration Manual page 35

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
[SwitchA] ipv6
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] ipv6 enable
[SwitchA-Vlanif10] ipv6 address 1::1/64
[SwitchA-Vlanif10] quit
[SwitchA] interface vlanif 20
[SwitchA-Vlanif20] ipv6 enable
[SwitchA-Vlanif20] ipv6 address auto link-local
[SwitchA-Vlanif20] quit
The configurations of Switch B and Switch C are similar to the configuration of Switch A and
are not mentioned here.
Step 3 Configure the PCs.
Configure the default gateway addresses of PC1, PC2, and PC3 to 1.1.1.1, 1.1.2.1, and 1.1.3.1
respectively.
Step 4 Configure IPv6 static routes.
# Configure a default IPv6 route on Switch A.
[Switch A] ipv6 route-static :: 0 vlanif20 FE80::218:20FF:FE00:80
# Configure two IPv6 static routes on Switch B.
[Switch B] ipv6 route-static 1:: 64 vlanif20 FE80::218:20FF:FE00:81
[Switch B] ipv6 route-static 3:: 64 vlanif40 FE80::218:20FF:FE00:82
# Configure a default IPv6 route on Switch C.
[Switch C] ipv6 route-static :: 0 vlanif40 FE80::218:20FF:FE00:83
Step 5 Configure the addresses and the gateway addresses on the PCs.
Assign the IPv6 addresses to the PCs according to the networking diagram. Set the default
gateway address on PC1 to 1::1, the default gateway address on PC2 to 2::1, and the default
gateway address on PC3 to 3::1.
Step 6 Verify the configuration.
# Check the IPv6 routing table of Switch A.
[Switch A] display ipv6 routing-table
Routing Table :
Destination
NextHop
Cost
RelayNextHop : ::
Interface
Destination
NextHop
Cost
RelayNextHop : ::
Interface
Destination
NextHop
Cost
RelayNextHop : ::
Interface
Destination
NextHop
Cost
Issue 01 (2012-03-15)
Destinations : 5
: ::
: FE80::218:20FF:FE00:80
: 0
: Vlanif20
: ::1
: ::1
: 0
: InLoopBack0
: 1::
: 1::1
: 0
: Vlanif10
: 1::1
: ::1
: 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 5
PrefixLength : 0
Preference
Protocol
TunnelID
Flags
PrefixLength : 128
Preference
Protocol
TunnelID
Flags
PrefixLength : 64
Preference
Protocol
TunnelID
Flags
PrefixLength : 128
Preference
Protocol
1 IP Static Route Configuration
: 60
: Static
: 0x0
: D
: 0
: Direct
: 0x0
: D
: 0
: Direct
: 0x0
: D
: 0
: Direct
16

Advertisement

Table of Contents
loading

Table of Contents