Operation Manual – MCE
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 MCE Configuration
2-13
2.3.6 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.
Table 2-18
Configure to use EBGP between a MCE and a PE
Operation
Command
Description
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.
2.4 Displaying and Maintaining MCE
After the about-mentioned configuration, you can use the
display
command in any
view to view the MCE information, so as to verify the configuration.
You can also use the
refresh
commands to soft reset the BGP VPN connections of a
VPN instance, or use the
reset
commands to reset the BGP connections of a VPN
instance or clear the BGP information of a VPN instance.