ESR series service routers.ESR-Series. User manual
Step Description Command Keys
esr(config-gi)# switchport 
general
Only for 
ESR-1000/1200/1500/1511/1700.
This mode is the default mode and is 
not displayed in the configuration.
8 Configure VLAN list on the 
interface in tagged mode.
esr(config-if-gi)# switchport 
trunk allowed vlan add <VID>
Only for ESR-10/12V(F)/14VF/
15/20/21/30/100/200/3100/3200.
<VID> – VLAN identifier, set in the 
range of [2..4094].
It is also possible to create multiple 
vlan (with a comma) or vlan range 
(with a hyphen).
esr(config-if-gi)# switchport 
general allowed vlan add <VID> 
tagged
For ESR-1000/1200/1500/1511/1700.
<VID> – VLAN identifier, set in the 
range of [2..4094].
It is also possible to create multiple 
vlan (with a comma) or vlan range 
(with a hyphen).
9 Configure VLAN on the interface 
in tagged mode (optional).
esr(config-if-gi)# switchport 
trunk native-vlan <VID>
Only for ESR-10/12V(F)/14VF/
15/20/21/30/100/200/3100/3200.
<VID> – VLAN identifier, set in the 
range of [2..4094].
esr(config-if-gi)# switchport 
general allowed vlan add <VID> 
untagged
For ESR-1000/1200/1500/1511/1700.
<VID> – VLAN identifier, set in the 
range of [2..4094].
10 Enable the processing of Ethernet 
frames of all created VLANs on 
the interface (optional).
esr(config-if-gi)# switchport 
trunk allowed vlan auto-all
Only for ESR-10/12V(F)/14VF/
15/20/21/30/100/200/3100/3200.
esr(config-if-gi)# switchport 
general allowed vlan auto-all
Only for 
ESR-1000/1200/1500/1511/1700.
11 Set VLAN port identifier (PVID) for 
incoming untagged traffic 
(optional).
esr(config-if-gi)# switchport 
general pvid <PVID>
Only for 
ESR-1000/1200/1500/1511/1700.