3com 8807 Reference Guide

Page of 1099
LDP Configuration Commands
747
Parameter
None
Description
Use the policy vpn-target command to configure to filter the VPN-target 
extended community attributes of received routing information.
Use the undo policy vpn-target command to cancel the setting.
By default, the filtering of VPN-target extended community attribute is conducted.
Example
# Filter the VPN-target extended community attributes of the received routing 
information.
[3Com-bgp-af-vpn] policy vpn-target 
port trunk mpls vlan
Syntax
port trunk mpls vlan from vlan-id [ to ] vlanid
undo port trunk mpls
View
Ethernet port view
Parameters
vlan-idvlan-id range of MPLS/VPN VLANs allowed to the port. The value ranges 
from vlan-id to vlan-id+1023.
Description
Use the port trunk mpls vlan command to set the vlan-id range of MPLS/VPN 
VLANs allowed to pass the port.
Use the undo port trunk mpls command to restore the default value of vlan-id
The default value is 0.
By default, the range of MPLS/VPN VLANs is from 0 to 1023 and the range of 
vlan-id is from 1 to 3071. The command must be executed on a Trunk port. 
MPLS/VPN enabled VLANs and VLANs out of the configured range are excluded.
Example
# Configure the start vlan-id of the Trunk fast Ethernet port 1.
<SW8800> system-view
 
[SW8800]interface Ethernet 3/1/1
 
[3Com-Ethernet2/1/1] port trunk mpls vlan from 3071 
port vpn-range 
share-mode
Syntax
port vpn-range share-mode enable
undo port vpn-range share-mode enable