CLI ReferenceInterface Configuration Commands VLAN Configuration Commands
Show member ports of the VLAN.
Show member ports of the VLAN.
Show all the information by default.
To return to the privileged EXEC mode, input end or pressing Ctrl+C.
To return to the global configuration mode, input exit.
Ruijie# show vlan id 1
VLAN Name Status Ports
----------- ------------- ------------
1 VLAN0001 STATIC Fa0/1, Fa0/2
Add the interface to a VLAN.
Use this command to configure an interface as a static access port and assign it to a VLAN. Use the
no form of the command to assign the port to the default VLAN.
switchport access vlan vlan-id