519
Step Command
Remarks
3.
(Optional.) Set the
default preference for
static routes.
ip route-static default-preference
default-preference
The default
preference is 60.
Configuring RIP between an MCE and a PE
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a RIP process for
a VPN instance and enter
RIP view.
rip
[
process-id
]
vpn-instance
vpn-instance-name
N/A
3.
Enable RIP on the
interface attached to the
specified network.
network
network-address
By default, RIP is disabled on
an interface.
4.
Redistribute the VPN
routes.
import-route
protocol
[
process-id
|
all-processes
|
allow-ibgp
]
[
allow-direct
|
cost
cost-value
|
route-policy
route-policy-name
|
tag
tag
]
*
By default, no routes are
redistributed into RIP.
Configuring OSPF between an MCE and a PE
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an OSPF process for
a VPN instance and enter
OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Disable routing loop
detection.
vpn-instance-capability simple
By default, routing loop detection
is enabled.
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.
4.
Redistribute the VPN routes.
import-route
protocol
[
process-id
|
all-processes
|
allow-ibgp
] [
allow-direct
|
cost
cost-value
|
nssa-only
|
route-policy
route-policy-name
|
tag
tag
|
type
type
] *
By default, no routes are
redistributed into OSPF.
5.
Create an OSPF area and
enter OSPF area view.
area
area-id
By default, no OSPF areas exist.
6.
Enable OSPF on the
interface attached to the
specified network in the area.
network
ip-address
wildcard-mask
By default, an interface neither
belongs to any area nor runs
OSPF.
Configuring IS-IS between an MCE and a PE
Step Command
Remarks
1.
Enter system view.
system-view
N/A