Step
2.
Configure a static route for a
VPN instance.
3.
Configure the default
precedence for static routes.
Configuring RIP between MCE and PE
Step
1.
Enter system view.
2.
Create a RIP process for
a VPN instance and
enter RIP view.
3.
Enable RIP on the
interface attached to
the specified network.
4.
Redistribute the VPN
routes.
5.
Configure the default
cost value for the
redistributed routes.
Configuring OSPF between MCE and PE
Step
1.
Enter system view.
2.
Create an OSPF process
for a VPN instance and
enter OSPF view.
Command
•
ip route-static dest-address { mask |
mask-length } { gateway-address |
interface-type interface-number
[ gateway-address ] | vpn-instance
d-vpn-instance-name gateway-address }
[ preference preference-value ] [ tag tag-value ]
[ description description-text ]
•
ip route-static vpn-instance
s-vpn-instance-name&<1-6> dest-address
{ mask | mask-length } { gateway-address
[ public ] | interface-type interface-number
[ gateway-address ] | vpn-instance
d-vpn-instance-name gateway-address }
[ preference preference-value ] [ tag tag-value ]
[ description description-text ]
ip route-static default-preference
default-preference-value
Command
system-view
rip [ process-id ] vpn-instance
vpn-instance-name
network network-address
import-route protocol [ process-id ]
[ allow-ibgp ] [ cost cost | route-policy
route-policy-name | tag tag ] *
default cost value
Command
system-view
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
404
Remarks
Use either
command.
Optional.
60 by default.
Remarks
N/A
N/A
By default, RIP is disabled on
an interface.
By default, no route of any
other routing protocol is
redistributed into RIP.
Optional.
0 by default.
Remarks
N/A
N/A