R211x-HP Flexfabric 11900 MPLS Command Reference

311
undo domain-id [ domain-id ]
Default
The OSPF domain ID is 0.
Views
OSPF view
Predefined user roles
network-admin
mdc-admin
Parameters
domain-id: Specifies an OSPF domain ID, in one of these formats:
Integer, in the range of 0 to 4294967295. For example, 1.
Dotted decimal notation. For example, 0.0.0.1.
Dotted decimal notation:16-bit user-defined number in the range of 0 to 65535. For example,
0.0.0.1:512.
secondary: Specifies a secondary domain ID. Without this keyword, the command specifies a primary
domain ID.
Usage guidelines
When you redistribute OSPF routes into BGP, BGP adds the configured OSPF domain ID to the
redistributed BGP VPN routes as a BGP extended community attribute and advertises the routes to the
BGP peer. When you redistribute the BGP VPN routes into OSPF on the BGP peer, OSPF uses the domain
ID to determine whether the routes belong to the same OSPF routing domain. If they do and they are
intra-area routes, OSPF advertises these routes in Summary LSAs (Type 3). If they do but they are not
intra-area routes, OSPF advertises these routes in AS External LSAs (Type 5) or NSSA External LSAs (Type
7). If the routes do not belong to the same OSPF routing domain, OSPF advertises them in Type 5 or Type
7 LSAs.
With no parameter specified, the undo domain-id command deletes all domain IDs.
Examples
# Configure an OSPF domain ID.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] domain-id 234
export route-policy
Use export route-policy to apply an export routing policy for a VPN instance.
Use undo export route-policy to remove the application.
Syntax
export route-policy route-policy
undo export route-policy
Default
No export routing policy is applied for a VPN instance.