Chapter 4: Commands for CLI configuration
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
93
vlan
vlan keyword
<vlan_id>
VLAN ID required for the group to VLAN mapping (Range: 1-4095)
Default:
None
Usage Guide:
To configure
MAC-based VLAN
for specific interface
Example:
To configure
MAC-based VLAN
as below table for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
switchport vlan mac 00:55:44:33:22:11 vlan 5
switchport vlan mapping
Command:
switchport vlan mapping <group id : 1-29>
switchport
Switching mode characteristics
vlan
VLAN commands
mapping
Maps an interface to a VLAN translation group
.
<group id : 1-29>
Group id
Default:
None
Usage Guide:
To configure
Group mapping Table
for specific interface
Example:
To configure
Group mapping
(Group 25) for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
switchport vlan mapping 25
switchport vlan protocol group
Command:
switchport vlan protocol group <word16> vlan <vlan_id>
switchport
Switching mode characteristics
vlan
VLAN commands
protocol
Protocol-based VLAN commands
group
Protocol-based VLAN group commands
<word16>
Group Name (Range: 1 - 16 characters)
vlan
vlan keyword
<vlan_id>
VLAN ID required for the group to VLAN mapping (Range: 1-4095)
Default: