
Command Guide of MGSW-28240F
switchport mode c-port | s-custom-port | s-port | unaware
switchport
Switching mode characteristics
mode
Set mode of the interface
port-type
Set port type
c-port
Customer port
s-custom-port
Custom Provider port
s-port
Provider port
unaware
Port in not aware of VLAN tags.
Default:
unaware
Usage Guide:
To configure
VLAN mode
for specific interface
Example:
To configure
VLAN mode
(trunk) for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
switchport mode trunk
4.2.56.127 switchport vlan ip-subnet
Command:
switchport vlan ip-subnet id <1-128> <ipv4_subnet> vlan <vlan_id>
switchport
Switching mode characteristics
vlan
VLAN commands
ip-subnet
VCL IP Subnet-based VLAN configuration.
id
id keyword
<1-128>
Unique VCE ID for each VCL entry (1-128)
<ipv4_subnet>
Source IP address and mask (Format: xx.xx.xx.xx/mm.mm.mm.mm).
vlan
vlan keyword
<vlan_id>
VLAN ID required for the group to VLAN mapping (Range: 1-4095)
Default:
None
-149-