Command Reference Guide
3Com Router 5000 Family and Router 6000 Family domain-id ● 39
Command Reference
domain-id
Purpose Use the domain-id command to specify domain ID for a VPN instance.
Use the undo domain-id command to restore the default domain ID.
Syntax domain-id { id-number | id-addr }
undo domain-id
Parameters id-number
Domain ID for a VPN instance, an integer in the range
of 0 to 4294967295. By default, it is 0.
id-addr
IP address format of the domain ID of a VPN instance.
By default, it is 0.0.0.0.
Default By default, domain ID is 0.
Example Set domain ID 100 to OSPF process 100.
[3Com -ospf-100] domain-id 100
[3Com -ospf-100] domain-id 0.0.0.100
View This command can be used in the following views:
■ OSPF Protocol view
Description For standard BGP/OSPF interoperability, when BGP routes are imported to OSPF at PE,
their original OSPF attributes cannot be restored. As these BGP VPN IP routes are
issued to CE as ASE LSA (type-5 LSA), OSPF cannot distinguish the routes imported
from other route domains. In order to distinguish external routes from OSPF internal
routes, it is required to restore the attributes of BGP routes when they are imported to
OSPF at the remote end. To achieve this goal, we can configure a domain ID for each
OSPF domain. A domain ID is attached to a BGP/VPN route when an OSPF route is
imported into BGP/VPN for transmission over BGP/VPN routes. Then when BGP routes
are imported to the peer PE, LAS values are filled in according to the extended
community attributes. If the received BGP VPN IP routes have the same domain ID,
they are from the same VPN instance.
The specified domain ID will not take effect until the reset ospf command is
executed.