427
Configuring IBGP 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
IBGP peer.
peer
{ group-name | ip-address
[ mask-length ] }
as-number
as-number
N/A
5. Enter BGP-VPN IPv4
unicast address family
view.
address-family ipv4
[
unicast
]
N/A
6. E
nable BGP to
exchange IPv4 unicast
routes with the peer.
peer
{ group-name | ip-address
[ mask-length ] }
enable
exchange IPv4 unicast routes
with any peer.
7.
routes of the VPN site.
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.
8. (Optional.) Configure
routes.
filter-policy
{ acl-number |
prefix-list
prefix-list-name }
export
[ protocol
process-id ]
By default, BGP does not filter
advertised routes.
9. (Optional.) Configure
routes.
filter-policy
{ acl-number |
prefix-list
prefix-list-name }
import
By default, BGP does not filter
received routes.
Displaying and maintaining MCE
Execute display commands in any view.
Display information about a specified or
all VPN instances.
display ip vpn-instance
[
instance-name
vpn-instance-name ]
Display BGP peer group information for
a VPN instance.
display bgp group ipv4
[
unicast
]
vpn-instance
vpn-instance-name [
group-name ]
Display BGP peer information for a VPN
instance.
display bgp peer ipv4
[
unicast
]
vpn-instance
vpn-instance-name [ ip-address mask-length | { ip-address |
group-name
group-name }
log-info
| [ [ ip-address ]
verbose
]
[
slot-number ] ]
For other MCE related displaying and maintaining commands, such as displaying routing table
information for a VPN instance and maintaining routing sessions for a VPN instance, see Layer
3—IP Routing Command Reference.
For more information about the display bgp group and display bgp peer commands, see Layer
3—IP Routing Command Reference.