Usage Scenario
To check the VPN target list after configuring BGP VPWS, run the display mpls l2vpn (route-target-list) command.
If a BGP VPWS connection between two PEs is Up but the corresponding CEs cannot communicate, you can run the display mpls l2vpn { export-route-target-list | import-route-target-list } command to check whether VPN targets are configured correctly for the L2VPN instance on the local and remote PEs.Prerequisites
BGP VPWS has been configured.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls l2vpn import-route-target-list
import vpn target list:
744:7 745:7 746:7 888:8
<HUAWEI> display mpls l2vpn export-route-target-list
export vpn target list:
755:7 888:8
Item | Description |
---|---|
import vpn target list | Import VPN target list. |
export vpn target list | Export VPN target list. |