Configuring to use ospf between a mce and a pe – H3C Technologies H3C S7500E Series Switches User Manual
Page 30

1-18
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable RIP for a VPN instance
and enter RIP view
rip
[ process-id ] [ vpn-instance
vpn-instance-name
]
Required
Set the default cost for imported
routes
default cost value
Optional
By default, the cost for an
imported route is 0.
Import the VPN routes of the site
import-route protocol
[ process-id ] [ allow-ibgp ] [ cost
cost
| route-policy
route-policy-name
| tag tag ] *
Required
By default, RIP does not import
routes from other protocols.
Configuring to Use OSPF between a MCE and a PE
When configuring to use OSPF between a MCE and a PE, you need to configure the OSPF
processes to be bound to VPN instances and router IDs; you also need to manually import the VPN
routes in the site maintained by the MCE device to the routing table of the PE.
Follow these steps to configure OSPF between a MCE and a PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable OSPF for a VPN
instance and enter OSPF
view
ospf
[ process-id | router-id router-id |
vpn-instance
instance-name ] *
Required
Enable OSPF to import
routes of other protocols
import-route
protocol [ process-id |
allow-ibgp
] [ cost cost | type type |
tag tag
| route-policy
route-policy-name
] *
Required
By default, OSPF does not import
the routes of other protocols.
Apply a filter policy for
imported routes
filter-policy
{ acl-number | ip-prefix
ip-prefix-name
} export [ protocol
[ process-id ] ]
Optional
By default, no filter policy is
applied.
Configure the default values
of the route attributes
(including cost, limit, tag,
and type) for the routes
imported
default
{ cost cost | limit limit | tag tag |
type type
} *
Optional
The default route attributes are as
follows: the cost value is 1, the
upper limit on the maximum
number of imported external
routes is 1,000, the tag value is 1,
and the type is type2.