
MES3000 Ethernet switch series
63
5.8.2
VLAN and interfaces switching modes configuration
VLAN configuration mode commands
Command line request in VLAN configuration mode appears as follows:
console#
configure
console(config)#
vlan database
console(config-vlan)#
This mode is available from the global configuration mode and designed for configuration of VLAN
parameters.
Table 5.34 —VLAN configuration mode commands
Command
Value/Default value
Action
vlan
vlan_list
vlan_list: (2..4094)
Add a single or multiple VLANs.
no vlan
vlan_list
Remove a single or multiple VLANs.
map protocol
protocol
[
encaps
]
protocols-group
group
protocol: (ip, ipx, ipv6,
arp, (0600-ffff (hex))*);
encaps (ethernet,
rfc1042, llcOther);
ethernet group:
(1..2147483647)
Tether the protocol to the associated protocol group.
no map protocol
protocol
[
encaps
]
Remove tethering.
*—protocol number (16bit).
map mac
mac_address
{host |
mask
} macs-group
group
mask: (9..48);
group: (1..2147483647)
Tether a single or a range of MAC addresses to MAC address
group.
no map mac
mac_address
{host |
mask
}
Remove tethering.
map subnet
ip_address
mask
subnets-group
group
mask: (1..32)
group: (1..2147483647)
Tether a single IP address or IP address range to IP address group
using mask.
no map subnet
ip_address
mask
Remove tethering.
VLAN interface configuration mode commands (interface range)
Command line request in VLAN interface configuration mode appears as follows:
console#
configure
console(config)#
interface
{
vlan
vlan_id
|
range
vlan
vlan_list}
console(config-if)#
This mode is available from the global configuration mode and designed for configuration of VLAN
interface or VLAN interface range parameters.
Selection of the interface is performed by
‘
interface vlan
vlan_id
’
command.
Selection of the interface range is performed by ‘
interface range vlan
VLAN_list
’
command.
Given below are commands for entering the configuration mode of the VLAN 1 interface and
entering 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)#