Nokia ESB26 User Manual page 216

Gigabit ethernet switch
Table of Contents

Advertisement

17.
Example
The following commands configure port 1/1/1 as an untagged member in vlan_2, vlan_3 and
vlan_4, that have VLAN IDs 2, 3 and 4 respectively. The add ports command in vlan_3
configuration mode assigns the VLAN ID of vlan_3, (which is 3) as PVID of port 1/1/1.
device-name(config vlan)#create range 2 4
device-name(config vlan)#config vlan_2
device-name(config-vlan vlan_2)#add ports 1/1/1-1/1/3 untagged
device-name(config vlan)#config vlan_3
device-name(config-vlan vlan_3)#add ports 1/1/1-1/1/5 untagged
device-name(config-vlan vlan_3)#add ports default 1/1/1
device-name(config vlan)#config vlan_4
device-name(config-vlan vlan_4)#add ports 1/1/1,1/1/5,1/1/7 untagged
device-name(config-vlan vlan_4)#exit
remove ports
The remove ports command, in Specific VLAN Configuration mode, removes the specified
port(s).
Command Syntax
device-name(config-vlan VLAN-NAME)#remove ports PORT-LIST
Argument Description
PORT-LIST
One or more port numbers, specified by the following options:
Example
The following example removes the specified ports from the VLAN that has the name xxx.
The result is displayed by the show command that can be applied in any specific or global
VLAN Configuration mode.
device-name(config-vlan xxx)#remove ports 1/1/1-1/1/4,1/1/12
device-name(config-vlan xxx)#show
==================================================================
Name
|VTag
-------------+--------------+---------------------+---------------
default
|1
xxx
|9
|
remove ports default
The remove ports default command, in Specific VLAN Configuration mode, removes the
PVID (port's default VLAN) from one or more specified ports. The ports PVID is restored to
the default VLAN (VLAN ID 1).
MN700004 Rev 01
Virtual LANs (VLANs)
UU/SS/PP – (unit, slot and port number), e.g. – 1/1/8 specifying a single
port;
UU – (1 or 2-digit unit number) specifying all ports on unit;
UU/SS – (unit and slot number) specifying all ports on slot;
A hyphenated range of ports, e.g. - 1/1/9-1/1/16.
Several port numbers and/or ranges, separated by commas, e.g. – 1/1/1,
1/1/3-1/1/6, 1/1/8.
| Tagged ports
|
|1/1/8,1/1/9,
|1/1/13-1/1/15
205
| Untagged ports
|1/1/1-1/1/26
|1/1/5
|

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents