219
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.
To configure RIP between a PE and a CE:
Step 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 the
PE. On the CE, create a common
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 a router ID when creating a process or
configure an IP address for a minimum of one interface in 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:
Step 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 this configuration on the
PE. On the CE, create a common
OSPF process.
A VPN instance can run a
maximum number of 1000 OSPF
processes.
Deleting a VPN instance also
deletes all related OSPF
processes.
3.
(Optional.) Set an OSPF
domain ID.
domain-id
domain-id
[
secondary
]
The default domain ID is 0.
Perform this configuration on the
PE.
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 primary
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.