H3C LS-3100-52P-OVS-H3 Operation Manual - page 878
2-11
Configure to Use EBGP between a MCE and a PE
To use EBGP to exchange routing information between a MCE and a PE, you need to configure the
peer end as a peer in the BGP-VPNs on both ends, import VPN routes in the site to the MCE, and then
advertise these routes to the PE.
Follow these steps to configure EBGP between a MCE and a PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter BGP-VPN instance
view
ipv4-family vpn-instance
vpn-instance-name
Required
Configure the PE as a
VPN peer
peer { group-name | ip-address }
as-number as-number
Required
Import routes of the local
site
import-route protocol [ process-id ]
[ med med-value | route-policy
route-policy-name ] *
Required
The MCE device must import
routes of the local site to the
VPN routing table in order to
advertise these routes to the
PE device.
Apply a filter policy for
routes to be advertised
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ direct | isis
process-id | ospf process-id | rip
process-id | static ]
Optional
By default, no filter policy is
applied.
Apply a filter policy for
received routes
filter-policy { acl-number | ip-prefix
ip-prefix-name } import
Optional
By default, no filter policy is
applied.
Displaying and Maintaining MCE
To do…
Use the command…
Remarks
Display the IP routing
tables associated with a
VPN instance
display ip routing-table vpn-instance
vpn-instance-name [ verbose ]
Available in any view
Display the information
about a VPN instance
display ip vpn-instance [ instance-name
vpn-instance-name ]
Available in any view
Display information about
a specified BGP VPNv4
peer group
display bgp vpnv4 vpn-instance
vpn-instance-name group [group-name ]
Available in any view
Display information about
BGP VPNv4 routes
injected into a specified
VPN instance
display bgp vpnv4 vpn-instance
vpn-instance-name network
Available in any view
Display BGP VPNv4 AS
path information
display bgp vpnv4 vpn-instance
vpn-instance-name paths
[as-regular-expression ]
Available in any view