14-16
Use the
undo domain-id
command to restore the default.
By default, the OSPF domain ID is 0.
With no parameter specified, the
undo domain-id
command deletes the primary domain ID.
Usually, routes injected from PEs are advertised as External-LSAs. However, routes to different
destinations in the same OSPF domain must be advertised as Type-3 LSAs. Therefore, using the
same domain ID is required for an OSPF domain.
Examples
# Configure the OSPF domain ID.
<Sysname> system-view
[Sysname] ospf 100 vpn-instance vpn1
[Sysname-ospf-100] domain-id 234
export route-policy
Syntax
export route-policy route-policy
undo export route-policy
View
VPN instance view
Default Level
2: System level
Parameters
route-policy
: Name of the export routing policy for the VPN instance, a string of 1 to 19 characters.
Description
Use the
export route-policy
command to apply an export routing policy to a VPN instance.
Use the
undo export route-policy
command to remove the application.
You can configure an export routing policy when a finer control on the VPN instance routes to be
redistributed is required, that is, when the control provided by the extended community attribute is not
enough. An export routing policy may deny routes that are permitted by the export target attribute.
By default, all VPN instance routes permitted by the export target attribute can be redistributed.
Examples
# Apply export routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] export route-policy poly-1
ext-community-type
Syntax
ext-community-type
{
domain-id type-code1
|
router-id type-code2
|
route-type type-code3
}
undo ext-community-type
{
domain-id
|
router-id
|
route-type
}