MPLS L3VPN
Configuration
Example
Example for Configuring
MPLS L3VPNs
To do...
Display the BGP VPNv4
routing information of a
specified VPN instance
Display information about
OSPF sham links
Display information about a
specified or all tunnel policies
Clear the route flap
dampening information of a
VPN instance
Clear route flap history
information about a BGP peer
of a VPN instance
n
For commands to display information about a routing table, refer to
and Routing Table" on page
Network requirements
CE 1 and CE 3 belong to VPN 1, while CE 2 and CE 4 belong to VPN 2.
■
VPN 1 uses VPN target attributes 111:1, while VPN 2 uses VPN target attributes
■
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.
MPLS L3VPN Configuration Example
Use the command...
display bgp vpnv4 vpn-instance
vpn-instance-name routing-table
[ network-address [ { mask-length |
mask-address } [ longer-prefixes ] ] |
as-path-acl as-path-acl-number | cidr |
community
[ aa:nn ]&<1-13>[ no-export-subconfed
| no-advertise | no-export ]*
[ whole-match ] | community-list
{ basic-community-list-number
[ whole-match ] |
adv-community-list-number }&<1-16> |
dampened | dampening parameter |
different-origin-as | flap-info
[ as-path-acl as-path-acl-number |
network-address [ mask [ longer-match ]
| mask-length [ longer-match ] ] |
regular-expression
as-regular-expression ] | peer ip-address
{ advertised-routes | received-routes } |
regular-expression as-regular-expression
| statistic ]
display ospf [ process-id ] sham-link
[ area area-id ]
display tunnel-policy { all |
policy-name tunnel-policy-name }
reset bgp vpn-instance
vpn-instance-name dampening
[ network-address [ mask | mask-length ]
reset bgp vpn-instance
vpn-instance-name ip-address flap-info
reset bgp vpn-instance
vpn-instance-name flap-info [ ip-address
[ mask | mask-length ] | as-path-acl
as-path-acl-number | regexp
as-path-regexp ]
815.
1501
Remarks
Available in any
view
Available in any
view
Available in any
view
Available in user
view
Available in user
view
"IP Routing