243
To do…
Use the command…
Remarks
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.
Create an OSPF area
and enter OSPF area
view
area
area-id
Required
By default, no OSPF area is created.
Enable OSPF on the
interface attached to
the specified network
in the area
network
ip-address wildcard-mask
Required
By default, an interface neither belongs to
any area nor runs OSPF.
NOTE:
For more information about OSPF, see
Layer 3—IP Routing Configuration Guide.
Configuring IS-IS between MCE and PE
To configure IS-IS between MCE and PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create an IS-IS process for a
VPN instance and enter IS-IS
view
isis
[
process-id
]
vpn-instance
vpn-instance-name
Required
Configure a network entity
title
network-entity
net
Required
Not configured by default.
Redistribute the VPN routes
import-route
{
isis
[
process-id
]
|
ospf
[
process-id
] |
rip
[
process-id
]
|
bgp
[
allow-ibgp
] |
direct
|
static
} [
cost
cost
|
cost-type
{
external
|
internal
} |
[
level-1
|
level-1-2
|
level-2
] |
route-policy
route-policy-name
|
tag
tag
] *
Optional
By default, IS-IS does not
redistribute routes of any other
routing protocol.
If you do not specify the route level
in the command, the command will
redistribute routes to the level-2
routing table by default.
Configure a filtering policy
to filter the redistributed
routes
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
|
route-policy
route-policy-name
}
export
[
isis
process-id
|
ospf
process-id
|
rip
process-id
|
bgp
|
direct
|
static
]
Optional
By default, IS-IS does not filter
redistributed routes.
Return to system view
quit
—
Enter interface view
interface
interface-type interface-number
—
Enable the IS-IS process on
the interface
isis enable
[
process-id
]
Required
Disabled by default.
NOTE:
For more information about IS-IS, see
Layer 3—IP Routing Configuration Guide.