448
Configuring EBGP between an MCE and a PE
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp
as-number N/A
3. Enter BGP-VPN instance
view.
ip vpn-instance
vpn-instance-name
N/A
4. Configure the PE as an
EBGP peer.
peer
{ group-name | ipv6-address
[ prefix-length ] }
as-number
as-number
By default, no
configured.
5. Enter BGP-VPN IPv6 unicast
address family view.
address-family ipv6
[
unicast
]
N/A
6. Enable
IPv6 unicast routes with the
specified peer.
peer
{ group-name | ipv6-address
[ prefix-length ] }
enable
exchange IPv6 unicast routes with
any peer.
7. Redistribute VPN routes.
import-route
protocol
[ process-id [
allow-direct
|
med
med-value
|
route-policy
route-policy-name ] * ]
By default, no route
redistributed into BGP.
8. (Optional.) Configure filtering
of advertised routes.
filter-policy
{ acl6-number |
prefix-list
ipv6-prefix-name }
export
[ protocol process-id ]
By default, BGP does not filter
advertised routes.
9. (Optional.) Configure filtering
of received routes.
filter-policy
{ acl6-number |
prefix-list
ipv6-prefix-name }
import
By default, BGP does not filter
received routes.
Configuring IBGP between an MCE and a PE
1. Enter system view.
N/A
2. Enter BGP view.
bgp
as-number N/A
3. Enter BGP-VPN
instance view.
ip vpn-instance
vpn-instance-name
N/A
4. Configure the PE as an
IBGP peer.
peer
{ group-name | ipv6-address
[ prefix-length ] }
as-number
as-number
N/A
5. Enter BGP-VPN IPv6
unicast address family
view.
address-family ipv6
[
unicast
]
N/A
6. E
nable BGP to
exchange IPv6 unicast
routes with the peer.
peer
{ group-name | ipv6-address
[ prefix-length ] }
enable
exchange IPv6 unicast routes
with any peer.
7.
routes of the VPN site.
import-route
protocol [ process-id
[
allow-direct
|
med
med-value
|
route-policy-name ] * ]
By default, no routes are
redistributed into BGP.
8. (Optional.) Configure
routes.
filter-policy
{ acl6-number |
prefix-list
ipv6-prefix-name }
export
[ protocol
process-id ]
By default, BGP does not filter
advertised routes.
9. (Optional.) Configure
routes.
filter-policy
{ acl6-number |
prefix-list
ipv6-prefix-name }
import
By default, BGP does not filter
received routes.