Switch 7700 Command reference Guide, v2.0

Table Of Contents
68 CHAPTER 3: USING VLAN COMMANDS
undo port { interface_type interface_number }
[ to { interface_type interface_number } ]
View
VLAN view
Parameter
interface_type: Enter the interface type of the port or ports you want to add to
the VLAN. This can be either
Ethernet or GigabitEthernet.
interface_number: Enter the interface number of the port you want to add to
the VLAN. This must not be a trunk port. If you want to add a range of ports, enter
the interface number of the first port in the range.. Enter this number in the
format
slot-number/subslot-number/port-number. On the Switch 7700 7-slot
chassis:
The slot number is a number in the range 0 to 6 (the Fabric slot is 0).
The subslot number is set to 0.
The port number is a number in the range 1 to 8 (on an 8-port Gigabit
module), 1 to 24 (on a 24-port 100BASE-FX module), or 1 to 48 (on a 48-port
10/100/BASE-TX modules).
You can use the interface_name at this command. This is made up of
interface_type and interface_number parameters combined as a single
parameter, for example Ethernet0/0/1.
to interface_type interface_name: If you are adding a range of ports to the
VLAN, use this parameter to indicate the last port in the range. Ensure that the
range does not include a trunk port. This parameter is optional.
You can enter up to ten interface_type and interface_number parameters at
one port command.
Description
Use the port command to add one port or a group of ports to a VLAN.
Use the undo port command to remove one port or a group of ports from a
VLAN.
Related command: display vlan.
Example
To add the interfaces from Ethernet 1/0/1 through Ethernet 1/0/3 to VLAN 2, enter
the following:
[SW7700-vlan2]port ethernet 1/0/1 to ethernet 1/0/3
shutdown Syntax
shutdown
undo shutdown