![Huawei Quidway S8500 Series Command Manual Download Page 786](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479786.webp)
Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-48
2.1.58 port trunk mpls vlan
Syntax
port trunk mpls
vlan from vlan-id
[
to
]
vlanid
undo port trunk mpls
View
Ethernet port view
Parameters
vlan-id
: The
vlan-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. The
port trunk mpls vlan
command is only applicable to fast
Ethernet ports of cards with the suffix of C.
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 (By default, the Trunk port
contains VLAN1, so it is not judged).
Example
# Configure the start
vlan-id
of the Trunk fast Ethernet port 1.
<Quidway>system-view
[Quidway]interface Ethernet 3/1/1
[Quidway-Ethernet2/1/1] port trunk mpls vlan 3071
2.1.59 preference
Syntax
preference ebgp-preference ibgp-preference local-preference
undo preference
View
VPN-instance subaddress family view