R3303-HP HSR6800 Routers MPLS Configuration Guide

276
Ste
p
Command
Remarks
2. Configure a static route
for a VPN instance.
Method 1:
ip route-static dest-address { mask |
mask-length } { gateway-address |
interface-type interface-number
[ gateway-address ] | vpn-instance
d-vpn-instance-name gateway-address }
[ preference preference-value ] [ tag
tag-value ] [ description description-text ]
Method 2:
ip route-static vpn-instance
s-vpn-instance-name&<1-5> dest-address
{ mask | mask-length } { gateway-address
[ public ] | interface-type interface-number
[ gateway-address ] | vpn-instance
d-vpn-instance-name gateway-address }
[ preference preference-value ] [ tag
tag-value ] [ description description-text ]
Use either command as
needed.
Perform this configuration on
PEs. On CEs, configure
normal static routes.
For more information about
static routing, see Layer 3—IP
Routing Configuration Guide.
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:
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.
For more information about RIP, see Layer 3IP Routing Configuration Guide.
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