R0106-HP MSR Router Series MPLS Configuration Guide(V7)
213
Configuring RIP between an MCE and a PE
Ste
p
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 | route-policy route-policy-name |
tag tag ] *
By default, no routes are
redistributed into RIP.
5. (Optional.) Configure
the default cost for
redistributed routes.
default cost value The default cost is 0.
Configuring OSPF between an MCE and a PE
Ste
p
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
cannot receive OSPF routes from
the PE.
4. (Optional.) Configure the
OSPF domain ID.
domain-id domain-id [ secondary ]
The default domain ID is 0.
5. Redistribute the VPN routes.
import-route protocol [ process-id
| all-processes | allow-ibgp ]
[ allow-direct | cost cost |
route-policy route-policy-name |
tag tag | type type ] *
By default, no routes are
redistributed into OSPF.
6. (Optional.) Configure filtering
of advertised routes.
filter-policy { acl-number |
prefix-list prefix-list-name } export
[ protocol [ process-id ] ]
By default, redistributed routes are
not filtered.
7. (Optional.) Configure the
default parameters for
redistributed routes (cost, route
number, tag, and type).
default { cost cost | tag tag | type
type } *
The default cost is 1, the default tag
is 1, and default type of
redistributed routes is Type-2.
8. Create an OSPF area and
enter OSPF area view.
area area-id
By default, no OSPF area is
created.