MES1000, MES2000 Ethernet Switches
69
5.10.2
VLAN interface 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.36 —VLAN configuration mode commands
Command
Value/
Default value
Action
vlan
vlan_range
vlan_range: (2 .. 4094)
Add a single or multiple VLANs.
no vlan
vlan_range
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
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 MAC address or MAC address range to MAC
address group using mask.
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