Chapter 19 6VPE Configuration
2.
Associate the interface with VRF, and configure an IPv6 address on the interface.
Step
Command
Function
1
ZXR10(config)#
interface
<
interface-name
>
Enters interface configuration
mode.
2
ZXR10(config-if-interface-name)#
ip vrf forwarding
<
vrf-name
>
Associates the interface
with VRF. If an IP address
has been configured on the
interface, it is necessary to
delete the IP address and then
configure a new IP address.
3
ZXR10(config-if-interface-name)#
ipv6 enable
Enables IPv6 on an interface.
4
ZXR10(config-if-interface-name)#
ipv6 address
{
X:X::X:X/
<
1-128
>[
anycast
|
eui-64
]|
link-local
<
X:X::X:X
>}
Configures an IPv6 address
on an interface.
anycast
, the anycast address.
eui-64
, the Eui64 prefix
address.
3.
Configure IPv6 static route between a CE and a PE.
When IPv6 static route runs between a CE and a Provider Edge (
), it is necessary
to configure an IPv6 static route to the CE on the PE and redistribute the static route
to BGP.
Step
Command
Function
1
ZXR10(config)#
ipv6 route vrf
<
vrf-name
><
prefix of
destination ipaddress
><
network mask
><
next hop address
>
Configures an IPv6 static
route to a CE on a PE. It is
necessary to specify the VRF
which the static route belongs
to.
2
ZXR10(config)#
router bgp
<
as-number
>
Enters BGP route
configuration mode.
3
ZXR10(config-bgp)#
address-family ipv6 vrf
<
vrf-name
>
Enters VRF address family
configuration mode.
4
ZXR10(config-bgp-af-ipv6-vrf)#
redistribute static
[
metric
<
metric-value
>]
,
[
route-map
<
map-tag
>]
Redistributes the static route.
As shown in
, it is required to run static route between CE1 and PE1. The
following example shows how to configure static routes on CE1 and PE1 respectively.
19-3
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential
Содержание ZXR10 ZSR
Страница 12: ...This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 306: ...Figures This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 308: ...This page intentionally left blank VI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...