H3C S5820V2H Configuration Manual page 15

Table of Contents

Advertisement

For more information about RIP, see Layer 3—IP Routing Configuration Guide.
Configuring OSPF between an MCE and a VPN site
An OSPF process can belong to a single VPN instance. If you create an OSPF process without binding
it to a VPN instance, the process belongs to the public network.
Binding OSPF processes to VPN instances can isolate routes of different VPNs. An OSPF process can
belong to only one VPN instance, but one VPN instance can use multiple OSPF processes to advertise the
VPN routes.
An OSPF process that is bound with a VPN instance does not use the public network router ID configured
in system view. Therefore, you must configure a router ID when starting the OSPF process.
For more information about OSPF, see Layer 3—IP Routing Configuration Guide.
To configure OSPF between an MCE and a VPN site:
Step
1.
Enter system view.
2.
Create an OSPF process for a
VPN instance and enter OSPF
view.
3.
(Optional.) Configure the
OSPF domain ID.
(Optional.) Configure the type
4.
codes of OSPF extended
community attributes.
Command
system-view
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
domain-id domain-id [ secondary ]
ext-community-type { domain-id
type-code1 | router-id type-code2
| route-type type-code3 }
8
Remarks
N/A
Perform this configuration on the
MCE. On the VPN site, create a
normal OSPF process.
The default domain ID is 0.
Perform this configuration only on
the MCE.
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.
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. OSPF processes on PEs
in different VPNs can be
configured with domain IDs as
desired.
The defaults are as follows:
0x0005 for Domain ID.
0x0107 for Router ID.
0x0306 for Route Type.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5830v2

Table of Contents