242
Configuring RIP between MCE and PE
To configure RIP between MCE and PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a RIP process for a
VPN instance and enter RIP
view
rip
[
process-id
]
vpn-instance
vpn-instance-name
Required
Enable RIP on the interface
attached to the specified
network
network
network-address
Required
By default, RIP is disabled on
an interface.
Redistribute the VPN routes
import-route
protocol
[
process-id
]
[
allow-ibgp
] [
cost
cost
|
route-policy
route-policy-name
|
tag
tag
] *
Required
By default, no route of any
other routing protocol is
redistributed into RIP.
Configure the default cost
value for the redistributed
routes
default cost
value
Optional
0 by default
NOTE:
For more information about RIP, see
Layer 3—IP Routing Configuration Guide.
Configuring OSPF between MCE and PE
To configure OSPF between MCE and PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create an OSPF
process for a VPN
instance and enter
OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
Required
Disable routing loop
detection
vpn-instance-capability simple
Required
Disabled by default.
You must disable routing loop detection
for a VPN OSPF process on the MCE.
Otherwise, the MCE does not receive
OSPF routes from the PE.
Configure the OSPF
domain ID
domain-id
domain-id
[
secondary
]
Optional
0 by default
Redistribute the VPN
routes
import-route
protocol
[
process-id
|
allow-ibgp
] [
cost
cost
|
type
type
|
tag
tag
|
route-policy
route-policy-name
] *
Required
By default, no route of any other routing
protocol is redistributed into OSPF.
Configure a filtering
policy to filter the
redistributed routes
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
protocol
[
process-id
] ]
Optional
By default, redistributed routes are not
filtered.