Displaying and maintaining mce, Mce configuration examples, Using ospf to advertise vpn routes to the pe – H3C Technologies H3C S5820V2 Series Switches User Manual

Page 18: Network requirements

Advertising
background image

12

Task Command

Reset BGP connections of a VPN
instance.

reset bgp vpn-instance vpn-instance-name { as-number | ip-address | all
| external | group group-name | internal }

Displaying and maintaining MCE

Perform display commands in any view.

Task Command

Display BGP peer group
information for a VPN instance.

display bgp vpnv4 vpn-instance vpn-instance-name group [ group-name ]

Display BGP peer information for a
VPN instance.

display bgp vpnv4 vpn-instance vpn-instance-name peer [ group-name
log-info | ip-address { log-info | verbose } | verbose ]

Display routing information for a
VPN instance.

display bgp vpnv4 vpn-instance vpn-instance-name routing-table
[ network-address [ mask | mask-length ] [ advertise-info ] ]

Display VPN instance information. display ip vpn-instance [ instance-name vpn-instance-name ]

NOTE:

For commands to display information about a routing table, see

Layer 3—IP Routing Command

Reference.

MCE configuration examples

Using OSPF to advertise VPN routes to the PE

Network requirements

As shown in

Figure 4

, 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.

Advertising
This manual is related to the following products: