ZXR10 ZSR V2 Configuration Guide (IPv6)
PE1(config-ripng-vrf-vpn_a)#interface gei-1/1
PE1(config-ripng-vrf-vpn_a-if-gei-1/1)#ipv6 rip enable
PE1(config-ripng-vrf-vpn_a-if-gei-1/1)#exit
PE1(config-ripng-vrf-vpn_a)#exit
PE1(config)#router bgp 100
PE1(config-bgp)#address-family ipv6 vrf vpn_a
PE1(config-bgp-af-ipv6-vrf)#redistribute rip
PE1(config-bgp-af-ipv6-vrf)#redistribute connected
PE1(config-bgp-af-ipv6-vrf)#exit
5.
Configure OSPFv3 between a CE and a PE.
Step
Command
Function
ZXR10(config)#
ipv6 router ospf
<
process-id
>[
vrf
<
vrf-name
>]
Enables OSPFve and enters
OSPF VRF configuration
mode.
1
ZXR10(config-ospfv3-process-id)#
router-id
<
router-id
>
Configures an OSPFv3
Router-ID.
2
ZXR10(config-ospfv3-process-id)#
interface
<
interface-name
>
area
<
area-id
>[
instance
<
instance-id
>]
Defines an interface that runs
OSPFve and configures area
IDs of the interface
3
ZXR10(config-ospfv3-process-id)#
redistribute bgp
[{[
tag
<
tag-value
>]
,
[
metric
<
metric-value
>]
,
[
metric-type
{
ext-2
|
ext-1
}]
,
[
route-map
<
routemap
>]}]
Redistributes BGP routes
4
ZXR10(config)#
router bgp
<
as-number
>
Enters BGP route
configuration mode.
5
ZXR10(config-bgp)#
address-family ipv6 vrf
<
vrf-name
>
Enters VRF address family
configuration mode.
6
ZXR10(config-bgp-af-ipv6-vrf)#
redistribute
{
ospf-int
|
ospf-ext
}<
process-id
>[
metric
<
metric-value
>]
,
[
ro
ute-map
<
map-tag
>]
Redistributes the OSPFv3
routes.
As shown in
, it is required to run OSPFv3 between CE1 and PE1. The
following example shows how to configure OSPFv3 on CE1 and PE1 respectively.
19-6
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential