R3303-HP HSR6800 Routers MPLS Configuration Guide
298
Ste
p
Command
Remarks
4. Redistribute the VPN
routes.
import-route protocol [ process-id ]
[ allow-ibgp ] [ cost cost | route-policy
route-policy-name | tag tag ] *
By default, no route of any
other routing protocol is
redistributed into RIP.
5. Configure the default
cost value for the
redistributed routes.
default cost value
Optional.
0 by default.
For more information about RIP, see Layer 3—IP Routing Configuration Guide.
Configuring OSPF between MCE and 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
Routing loop detection is enabled
by default.
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. Configure the OSPF domain
ID.
domain-id domain-id [ secondary ]
Optional.
0 by default.
5. Redistribute the VPN routes.
import-route protocol [ process-id
| allow-ibgp ] [ cost cost | type
type | tag tag | route-policy
route-policy-name ] *
By default, no route of any other
routing protocol is redistributed
into OSPF.
6. 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.
7. Configure the default
parameters for redistributed
routes (cost, route number,
tag, and type).
default { cost cost | limit limit | tag
tag | type type } *
Optional.
The default cost is 1, the default
maximum number of routes
redistributed per time is 1000, 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.
9. 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.
For more information about OSPF, see Layer 3—IP Routing Configuration Guide.