beautypg.com

128 switchport vlan mac – PLANET MGSW-28240F User Manual

Page 150

background image

Command Guide of MGSW-28240F

Usage Guide:

To configure IP Subnet-based VLAN for specific interface

Example:

To configure IP Subnet-based VLAN as below table for GigabitEthernet X/X

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # switchport vlan ip-subnet id 1 192.168.1.0/255.255.255.0 vlan 5

4.2.56.128 switchport vlan mac

Command:

switchport vlan mac vlan

switchport Switching mode characteristics

vlan VLAN commands

mac MAC-based VLAN commands

48 bit unicast MAC address: xx:xx:xx:xx:xx:xx

vlan vlan keyword

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

-150-