#
sysname RouterA
#
ipv6
#
interface GigabitEthernet1/0/0
undo shutdown
ipv6 enable
ipv6 address 2001:db8:1::3/64
#
return
l
Configuration file of Router B
#
sysname RouterB
#
ipv6
#
interface GigabitEthernet1/0/0
undo shutdown
ipv6 enable
ipv6 address 2001:db8:1::4/64
#
return
l
Configuration file of Router C
#
sysname RouterC
#
ipv6
#
ipv6 nd vlink-direct-route advertise route-policy policy1
#
vlan batch 10
#
interface Vlanif10
ipv6 enable
ipv6 address 2001:db8:1::1/64
#
interface GigabitEthernet1/0/0
portswitch
undo shutdown
port link-type access
port default vlan 10
#
interface GigabitEthernet2/0/0
undo shutdown
ipv6 enable
ipv6 address 2001:db8:2::1/64
#
bgp 100
router-id 1.1.1.1
peer 2001:db8:2::2 as-number 100
#
ipv4-family unicast
undo synchronization
#
ipv6-family unicast
undo synchronization
import-route direct
peer 2001:db8:2::2 enable
peer 2001:db8:2::2 route-policy policy2 export
#
route-policy policy1 permit node 10
if-match ip-prefix prefix1
if-match ipv6 address prefix-list prefix1
#
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
1 IP Routing Basic Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
87