Chapter 4: Commands for CLI configuration
switchport hybrid port-type
Command:
switchport hybrid port-type c-port | s-custom-port | s-port |
unaware
switchport
Switching mode characteristics
hybrid
Change PVID for hybrid port
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:
C-port
Usage Guide:
To configure
Port type
in
Hybrid VLAN mode
for specific interface
Example:
To enable
Port type
(Unaware) in
Hybrid VLAN mode
for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
switchport hybrid port-type unaware
switchport mode
Command:
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
switchport vlan ip-subnet
Command:
switchport vlan ip-subnet id <1-128> <ipv4_subnet> vlan
<vlan_id>
112
NS3500-24T-4C Managed Switch Command Guide