MES53xx, MES33xx, MES23xx Ethernet Switch Series 66
The interface is selected by the following command:
interface vlan vlan_id
The interface range is selected by the following command:
interface range vlan VLANlist
Below are given the commands for entering in the configuration mode of the VLAN 1 interface and
for entering in the configuration mode of VLAN 1, 3, 7 group.
console# configure
console(config)# interface vlan 1
console(config-if)#
console# configure
console(config)# interface range vlan 1,3,7
console(config-if)#
Table 5.33. VLAN interface configuration mode commands
name: (1-32) characters /
name matches VLAN
number
Ethernet or port group interface (interface range) configuration mode commands
Command line prompt in the Ethernet or port group interface configuration mode is as follows:
console# configure
console(config)# interface { fortygigabitethernet fo_port |
tengigabitethernet te_port | gigabitethernet gi_port | oob | port-channel
group | range {…}}
console(config-if)#
This mode is available from the configuration mode and designed for configuration of interface
parameters (switch port or port group operating in the load distribution mode) or the interface range
parameters.
The port can operate in four modes:
– access - an untagged access interface for a single VLAN;
– trunk - an interface that accepts tagged traffic only, except for a single VLAN that can be
added by the switchport trunk native vlan command;
– general - an interface with full support of 802.1q that accepts both tagged and untagged
traffic;
– customer - Q-in-Q interface.
Table 5.34. Ethernet interface configuration mode commands
mode: (access,
trunk, general,
customer)/access
Specify port operation mode in VLAN.
- mode - port operation mode in VLAN.
switchport access vlan vlan_id
Add VLAN for the access interface.
- vlan_id - VLAN ID.
no switchport access vlan