3com 4500 PWR 26-PORT User Manual

Page of 466
80
C
HAPTER
 3: U
SING
 VLAN C
OMMANDS
Example
Add Ethernet1/0/2 through Ethernet1/0/4 to VLAN 2.
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]vlan 2
[4500-vlan2]port ethernet1/0/2 to ethernet1/0/4
shutdown
Syntax
shutdown
undo shutdown
View
VLAN Interface View
Parameter
None
Description
Use the 
shutdown
 command to disable the VLAN interface. Use the 
undo 
shutdown
 command to enable the VLAN interface.
By default, when all Ethernet ports are in DOWN status in VLAN interface, the 
VLAN interface is in DOWN status and is disabled. When there is one or more 
Ethernet ports in VLAN interface are in UP status, the VLAN interface is UP.
This command can be used to start the interface after the related parameters and 
protocols of VLAN interface are set. Or when the VLAN interface fails, the 
interface can be shut down first and then restarted, in this way, the interface may 
be restored to normal status. Shutting down or starting VLAN interface will not 
take any effect on any Ethernet port of this VLAN.
Example
Restart interface after shutting down the interface.
<4500>system-view
 
System View: return to User View with Ctrl+Z.
 
[4500]vlan 2
 
[4500-vlan2]quit
 
[4500]interface vlan-interface 2
 
[4500-Vlan-interface2]shutdown
 
%Apr  2 00:06:15:277 2000 4500 L2INF/5/VLANIF LINK STATUS CHANGE:- 1 
- Vlan-interface1: is DOWN
[4500-Vlan-interface2]undo shutdown
#Apr  2 00:05:27:793 2000 4500 L2INF/2/PORT LINK STATUS CHANGE:- 1 - 
Trap 1.3.6.1.6.3.1.1.5.4: portIndex is 4227626, ifAdminStatus is 1, 
ifOperStatus is 1
%Apr  2 00:05:27:980 2000 4500 L2INF/5/PORT LINK STATUS CHANGE:- 1 - 
Ethernet1/0/1: is UP
%Apr  2 00:05:28:96 2000 4500 L2INF/5/VLANIF LINK STATUS CHANGE:- 1 - 
Vlan-interface1: is UP