11
routes learned from a VPN site only when you configure the VPN site as a client of the RR (the
MCE).
8.
Redistribute remote site routes advertised by the PE 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.
Configuring the VPN site
1.
Enter system view.
system-view
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
By default, BGP is not enabled.
3.
Configure the MCE as an IBGP peer.
peer
{
group-name
|
ipv4-address
[
mask-length
]
}
as-number
as-number
4.
Enter BGP IPv4 unicast address family view.
address-family ipv4
[
unicast
]
5.
Enable BGP to exchange IPv4 unicast routes with the specified peer.
peer
{
group-name
|
ipv4-address
[
mask-length
]
}
enable
By default, BGP does not exchange IPv4 unicast routes with peers.
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.
Configuring routing between an MCE and a PE
About 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 configuring the PE, see the
documentation for the PE.
Configuring static routing between an MCE and a PE
1.
Enter system view.
system-view
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
]
|
vpn-instance
d-vpn-instance-name
next-hop-address
}
3.
(Optional.) Set the default preference for static routes.
Содержание MS4520V2-24TP
Страница 7: ...ii Example Configuring IPv6 MCE 34...