Switchport Trunk|Hybrid| Access; Show Vlan - Dahua DH-PFS6428-24T Cli Configuration Manual

L3 manage switch
Table of Contents

Advertisement

Example
//The default vlan Settings for the port for vlan2.
Switch(config)# interface T1
Switch(config-T1)# switchport pvid 2
4.1.3

switchport trunk|hybrid| access

Command Description
switchport trunk tag {vlan-id}
switchport hybrid tag|untag|unpvid {vlan-id}
switchport access {vlan-id}
Parameter
Parameter
Vlan-id
Default
All ports are members of vlan1, do not belong to other vlan
Command Mode
Interface configuration mode
Example
//This command is the trunk mode port to join one vlan or multiple vlan.
switch(config)# interface T1
switch(config-T1)# switchport mode trunk
switch(config-T1)# switchport trunk tag 2
switch(config-T1)# switchport trunk tag 3-4
//This command is the hybrid mode port to join one vlan or multiple vlan.
switch(config-T1)# switchport mode hybrid
switch(config-T1)# switchport hybrid tag|untag 2
switch(config-T1)# switchport hybrid tag| untag 3-4
//This command is to access mode port to join vlan2
switch(config-T1)# switchport access 2
4.1.4

show vlan

Command Description
show vlan [vlan-id ]
Parameter
Parameter
vlan-id
Default
Parameters of the command mode.
Vlan id,Value range:1-4094.
Parameters of the command mode
The display VLAN Value range:1-4094.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents