3com 8807 Reference Guide

Page of 1099
82
C
HAPTER
 4: VLAN C
ONFIGURATION
 C
OMMANDS
Use the undo trap-to-cpu disable command to move the CPU port into a VLAN.
By default, a VLAN contains a CPU port.
Example
# Move the CPU port out of VLAN 2.
[3Com-vlan2] trap-to-cpu disable
 
Warning : CPU port will exit the designated VLAN.
 
Broadcast & multicast packets cannot forward to CPU! 
trap-to-cpu disable vlan
Syntax
trap-to-cpu disable vlan { vlan-list | all }
undo trap-to-cpu disable vlan { vlan-list | all }
View
System view
Parameter
vlan-list: Specifies the list of VLANs that contain a CPU port, expressed in form of 
vlan-list = { vlan-id [ to vlan-id ] } &<1-10>. The vlan-id before the keyword to 
must be larger than or equal to the vlan-id after to. &<1-10> means that the 
preceding parameter can be repeated up to 10 times.
all: All VLANs.
Description
Use the trap-to-cpu disable vlan command to move the CPU port out of the 
specified VLANs.
Use the undo trap-to-cpu disable vlan command to move the CPU port into the 
specified VLANs.
Example
# Move the CPU port out of VLAN 5 and VLANs 20 to 30.
[SW8800] trap-to-cpu disable vlan 5 20 to 30 
vlan
Syntax
vlan vlan-id-list
undo vlan { vlan-id [ to vlan-id ] | all }
View
System view
Parameter
vlan-id-listvlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, specifies the range of 
VLANs to be created. The value range of vlan-id is 1 to 4094. &<1-10> means that 
the preceding parameter can be repeated up to 10 times.