8
ospf
[
process-id
]
router-id router-id
vpn-instance vpn-instance-name
Keywords
Usage guidelines
router-id
router-id
An OSPF process that is bound to a VPN instance does not use the
public network router ID configured in system view. Therefore, you must
specify a router ID when creating a process or configure an IP address
for a minimum of one interface in the VPN instance.
vpn-instance
vpn-instance-name
An OSPF process can belong to only one VPN instance.
If you delete a VPN instance, all OSPF processes of the VPN instance
are also deleted.
3.
Redistribute remote site routes advertised by the PE into OSPF.
import-route
protocol
[
as-number
] [
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.
4.
Create an OSPF area and enter OSPF area view.
area
area-id
5.
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 VPN site
About IS-IS between an MCE and a VPN site
Binding IS-IS processes to VPN instances can isolate routes of different VPNs. For more information
about IS-IS, see
Layer 3—IP Routing Configuration Guide
.
Perform this configuration on the MCE. On a VPN site, configure a common IS-IS process.
Procedure
1.
Enter system view.
system-view
2.
Create an IS-IS process for a VPN instance and enter IS-IS view.
isis
[
process-id
]
vpn-instance
vpn-instance-name
An IS-IS process can belong to only one VPN instance.
3.
Configure a network entity title.
network-entity net
By default, no NET is configured.
4.
Create the IS-IS IPv4 unicast address family and enter its view.
address-family ipv4
[
unicast
]
5.
Redistribute remote site routes advertised by the PE into IS-IS.
import-route
protocol
[
as-number
] [
process-id
|
all-processes
|
allow-ibgp
]
[
allow-direct
|
cost
cost-value
|
cost-type
{
external
|
internal
}
|
[
level-1
|
level-1-2
|
level-2
]
|
route-policy
route-policy-name
|
tag
tag
]
*
By default, IS-IS does not redistribute routes from any other routing protocol.
If you do not specify the route level in the command, the command redistributes routes to the
level-2 routing table by default.