ESR service routers. ESR-Series. Functionality description. Version 1.12.0
13
Step
Description
Command
Keys
esr(config-if-gi)#
switchport general
allowed vlan add <VID>
tagged
For ESR-1000/1200/1500/1700.
<VID> – VLAN ID, specified in the
range [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 (optionally)
esr(config-if-gi)#
switchport trunk
native-vlan <VID>
For ESR-10/12V(F)/14VF/
20/21/100/200.
<VID> – VLAN ID, specified in the
range [2..4094].
esr(config-if-gi)#
switchport general
allowed vlan add <VID>
untagged
For ESR-1000/1200/1500/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 (optionally)
esr(config-if-gi)#
switchport trunk
allowed vlan auto-all
Only for ESR-10/12V(F)/14VF/
20/21/100/200.
esr(config-if-gi)#
switchport general
allowed vlan auto-all
Only for ESR-1000/1200/1500/1700.
2.1.2 Configuration example 1. VLAN removal from the interface
Objective:
On the basis of the factory configuration, remove gi1/0/1 port from VLAN 2.
Solution:
Remove VLAN 2 from gi1/0/1 port:
esr(config)#
interface
gi
1
/
0
/
1
esr(config-
if
-gi)# switchport general allowed vlan remove
2
untagged
esr(config-
if
-gi)# no switchport general pvid