1-8Parametersinterface-list: List of Ethernet ports to be added to or removed from a VLAN. Provide this argument inthe form of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-10>, where:z interface-type is port type and interface-number is port number.z The port number to the right of the to keyword must be larger than or equal to the one to the left ofthe keyword.z &<1-10> means that you can provide up to 10 port lists.DescriptionUse the port command to assign one or multiple ports to a VLAN.Use the undo port command to remove the specified ports from a VLAN.Related command: display vlan.Examples# Assign GigabitEthernet1/0/2 through GigabitEthernet1/0/4 to VLAN 2. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] vlan 2[Sysname-vlan2] port GigabitEthernet 1/0/2 to GigabitEthernet 1/0/4port access vlanSyntaxport access vlan vlan-idundo port access vlanViewEthernet port viewParametersvlan-id: VLAN ID defined in IEEE802.1Q, in the range of 1 to 4094.DescriptionUse the port access vlan command to assign the current access port to the specified VLAN.Use the undo port access vlan command to remove the access port from the specified VLAN.The VLAN specified by the vlan-id argument must already exist.All access ports belong to VLAN 1, the system default VLAN. You cannot assign an access port to orremove an access port from VLAN 1. If you do that, you can see the message “Can't delete ports fromor add ports to the default VLAN!”