3com S7906E Instrução De Instalação
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
view
ipv4-family vpn-instance
vpn-instance-name
vpn-instance-name
Required
Configure the PE as a
VPN peer
VPN peer
peer { group-name | ip-address }
as-number as-number
as-number as-number
Required
Import routes of the local
site
site
import-route protocol [ process-id ]
[ med med-value | route-policy
route-policy-name ] *
[ 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.
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
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 ]
ip-prefix-name } export [ direct | isis
process-id | ospf process-id | rip
process-id | static ]
Optional
By default, no filter policy is
applied.
applied.
Apply a filter policy for
received routes
received routes
filter-policy { acl-number | ip-prefix
ip-prefix-name } import
ip-prefix-name } import
Optional
By default, no filter policy is
applied.
applied.
Displaying and Maintaining MCE
To do…
Use the command…
Remarks
Display the IP routing
tables associated with a
VPN instance
tables associated with a
VPN instance
display ip routing-table vpn-instance
vpn-instance-name [ verbose ]
vpn-instance-name [ verbose ]
Available in any view
Display the information
about a VPN instance
about a VPN instance
display ip vpn-instance [ instance-name
vpn-instance-name ]
vpn-instance-name ]
Available in any view
Display information about
a specified BGP VPNv4
peer group
a specified BGP VPNv4
peer group
display bgp vpnv4 vpn-instance
vpn-instance-name group [ group-name ]
vpn-instance-name group [ group-name ]
Available in any view
Display information about
BGP VPNv4 routes
injected into a specified
VPN instance
BGP VPNv4 routes
injected into a specified
VPN instance
display bgp vpnv4 vpn-instance
vpn-instance-name network
vpn-instance-name network
Available in any view
Display BGP VPNv4 AS
path information
path information
display bgp vpnv4 vpn-instance
vpn-instance-name paths
[as-regular-expression ]
vpn-instance-name paths
[as-regular-expression ]
Available in any view