
15
Step Command
Remarks
9.
(Optional.) Configure a
filtering policy to filter the
received routes.
filter-policy
{
acl-number
|
prefix-list
ip-prefix-name
}
import
By default, BGP does not filter the
received routes.
For more information about BGP, see
Layer 3—IP Routing Configuration Guide
.
Displaying information about MCE
Execute
display
commands in any view.
Task Command
Display VPN instance information.
display ip vpn-instance
[
instance-name
vpn-instance-name
]
Display BGP peer group
information for a VPN instance.
display bgp group ipv4
vpn-instance
vpn-instance-name
[
group-name
]
Display BGP peer information for a
VPN instance.
display bgp peer ipv4 vpn-instance
vpn-instance-name
[
group-name
log-info
|
ip-address
{
log-info
|
verbose
} |
verbose
]
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
.
MCE configuration examples
Using OSPF to advertise VPN routes to the PE
Network requirements
As shown in
, the MCE device is connected to VPN 1 through VLAN-interface 10 and to VPN 2
through VLAN-interface 20. OSPF runs in VPN 2.
Configure the MCE device to separate routes from different VPNs and advertise the VPN routes to PE 1
through OSPF.