beautypg.com

Configuring is-is between pe and ce – H3C Technologies H3C S10500 Series Switches User Manual

Page 259

background image

248

To do…

Use the command…

Remarks

Configure the OSPF domain ID

domain-id domain-id [ secondary ]

Optional
0 by default

Configure the type codes of OSPF

extended community attributes

ext-community-type { domain-id

type-code1 | router-id type-code2
| route-type type-code3 }

Optional
The defaults are as follows:
0x0005 for Domain ID,
0x0107 for Router ID, and
0x0306 for Route Type.
Perform this configuration on PEs.

Create an OSPF area and enter
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:

Deleting a VPN instance also deletes all the associated OSPF processes.

An OSPF process can be configured with only one domain ID. Domain IDs of different OSPF processes

are independent of each other.
All OSPF processes of a VPN must be configured with the same domain ID for routes to be correctly

advertised, while OSPF processes on PEs in different VPNs can be configured with domain IDs as

desired.
The domain ID of an OSPF process is included in the routes generated by the process. When an OSPF
route is redistributed into BGP, the OSPF domain ID is included in the BGP VPN route and delivered as

a BGP extended community attribute.

NOTE:

After configuring an OSPF process for a VPN instance, you must enable OSPF. The configuration
procedure is the same as that for a normal OSPF process.

For more information about OSPF, see

Layer 3—IP Routing Configuration Guide.

Configuring IS-IS between PE and 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.
Follow these steps to configure PE-CE route exchange through IS-IS:

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