R0106-HP MSR Router Series MPLS Configuration Guide(V7)
192
Ste
p
Command
Remarks
2. Create an OSPF process for a
VPN instance and enter the
OSPF view.
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
Perform this configuration on the
PE. On the CE, create a common
OSPF process.
The maximum number of OSPF
processes that a VPN instance can
run depends on the device
memory.
Deleting a VPN instance also
deletes all related OSPF processes.
3. (Optional.) Configure an OSPF
domain ID.
domain-id domain-id [ secondary ]
The default domain ID is 0.
Perform this configuration on the
PE. On the CE, configure common
OSPF.
The domain ID is carried in the
routes of the OSPF process. When
redistributing routes from the OSPF
process, BGP adds the domain ID
as an extended community
attribute into BGP routes.
An OSPF process can be
configured with only one domain
ID. Domain IDs of different OSPF
processes can be the same.
All OSPF processes of a VPN must
be configured with the same
domain ID.
4. Configure the type codes of
OSPF extended community
attributes.
ext-community-type { domain-id
type-code1 | router-id type-code2
| route-type type-code3 }
The defaults are as follows:
• 0x0005 for Domain ID.
• 0x0107 for Router ID.
• 0x0306 for Route Type.
Perform this configuration on the
PE.
5. Create an OSPF area and
enter area view.
area area-id
By default, no OSPF area is
created.
6. 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 a PE and a CE
An IS-IS process belongs to the public network or a single VPN instance. If you create an IS-IS process
without binding it to a VPN instance, the process belongs to the public network.
To configure IS-IS between a PE and a CE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A