234
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Configure the MCE as an
IBGP peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
as-number
as-number
N/A
4.
Enter BGP-VPN IPv4 unicast
address family view.
address-family ipv4
[
unicast
]
N/A
5.
Enable BGP to exchange
IPv4 unicast routes with the
peer.
peer
{
group-name
|
ip-address
[
mask-length
] }
enable
By default, BGP does not
exchange IPv4 unicast
routes with any peer.
6.
Redistribute the IGP routes
of the VPN into BGP.
import-route
protocol
[ {
process-id
|
all-processes
}
[
allow-direct
|
med
med-value
|
route-policy
route-policy-name
]
* ]
By default, no routes are
redistributed into BGP.
A VPN site must advertise
VPN network addresses to
the connected MCE.
Configuring routing between an MCE and a PE
MCE-PE routing configuration includes these tasks:
•
Binding the MCE-PE interfaces to VPN instances.
•
Performing route configurations.
•
Redistributing VPN routes into the routing protocol running between the MCE and the PE.
Perform the following configurations on the MCE. For information about how to configure the PE, see
"
Configuring routing between a PE and a CE
."
Configuring static routing between an MCE and a PE
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a static route
for a VPN instance.
ip route-static
vpn-instance
s-vpn-instance-name
dest-address
{
mask-length
|
mask
} {
interface-type
interface-number
[
next-hop-address
] |
next-hop-address
[
public
]
[
track
track-entry-number
] |
vpn-instance
d-vpn-instance-name
next-hop-address
[
track
track-entry-number
] } [
permanent
] [
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
By default, no
static route is
configured.
3.
(Optional.) Configure
the default preference
for static routes.
ip route-static default-preference
default-preference-value
The default
preference is 60.
Configuring RIP between an MCE and a PE
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
N/A
Содержание HPE FlexNetwork MSR Router Series
Страница 10: ...viii Index 540 ...