Mpls l3vpn configuration examples, Configuring basic mpls l3vpn, Network requirements – H3C Technologies H3C S6800 Series Switches User Manual

Page 218

Advertising
background image

205

Task Command

Display BGP VPNv4 peer
information.

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

[ [ ip-address ] verbose ] [ standby slot slot-number ] ]

Display BGP VPNv4 routes.

display bgp routing-table vpnv4 [ [ route-distinguisher
route-distinguisher ] [ network-address [ { mask | mask-length }

[ longest-match ] ] | network-address [ mask | mask-length ]
advertise-info | as-path-acl as-path-acl-number | community-list

{ { basic-community-list-number | comm-list-name } [ whole-match ] |

adv-community-list-number } ] | [ vpn-instance vpn-instance-name ] peer

ip-address { advertised-routes | received-routes } [ network-address
[ mask | mask-length ] | statistics ] | statistics ] [ standby slot slot-number ]

Display incoming labels for BGP
IPv4 unicast routes.

display bgp routing-table ipv4 [ unicast ] [ vpn-instance
vpn-instance-name ] inlabel

Display outgoing labels for BGP
IPv4 unicast routes.

display bgp routing-table ipv4 [ unicast ] [ vpn-instance
vpn-instance-name ] outlabel [ standby slot slot-number ]

Display incoming labels for BGP
VPNv4 routes.

display bgp routing-table vpnv4 inlabel

Display outgoing labels for BGP
VPNv4 routes.

display bgp routing-table vpnv4 outlabel [ standby slot slot-number ]

Display BGP VPNv4 address
family update group information.

display bgp update-group vpnv4 [ vpn-instance vpn-instance-name ]
[ ip-address ]

Display OSPF sham link
information.

display ospf [ process-id ] sham-link [ area area-id ] [ standby slot
slot-number ]

For more information about the display ip routing-table, display bgp group vpnv4, display bgp peer

vpnv4, and display bgp update-group vpnv4 commands, see Layer 3—IP Routing Command Reference.

MPLS L3VPN configuration examples

Configuring basic MPLS L3VPN

Network requirements

CE 1 and CE 3 belong to VPN 1. CE 2 and CE 4 belong to VPN 2.
VPN 1 uses route target attribute 111:1. VPN 2 uses route target attribute 222:2. Users of different VPNs
cannot access each other.
EBGP is used to exchange VPN routing information between CE and PE.
PEs use OSPF to communicate with each other and use MP-IBGP to exchange VPN routing information.

Advertising