R2511-HP MSR Router Series MPLS Configuration Guide(V5)
133
Configuring RIP between a PE and a CE
A RIP process belongs to the public network or a single VPN instance. If you create a RIP process without
binding it to a VPN instance, the process belongs to the public network.
For more information about RIP, see Layer 3—IP Routing Configuration Guide.
To configure RIP between a PE and a CE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a RIP process for a
VPN instance and enter RIP
view.
rip [ process-id ] vpn-instance
vpn-instance-name
Perform this configuration on PEs.
On CEs, create a normal RIP
process.
3. Enable RIP on the interface
attached to the specified
network.
network network-address
By default, RIP is disabled on an
interface.
Configuring OSPF between a PE and a CE
An OSPF process that is bound to a VPN instance does not use the public network router ID configured
in system view. Therefore, you must specify the router ID when starting a process or to configure the IP
address for at least one interface of the VPN instance.
An OSPF process belongs to the public network or a single VPN instance. If you create an OSPF process
without binding it to a VPN instance, the process belongs to the public network.
To configure OSPF between a PE and a CE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
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 the configurations on PEs.
On CEs, create a normal OSPF
process.
3. Configure the OSPF domain
ID.
domain-id domain-id [ secondary ]
Optional.
0 by default.
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 }
Optional.
The defaults are as follows:
• 0x0005 for Domain ID.
• 0x0107 for Router ID.
• 0x0306 for Route Type.
Perform this configuration on PEs.
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.










