3com 8807 사용자 가이드

다운로드
페이지 883
Displaying and Debugging a VLAN
59
You can also move the CPU ports out of/into all the VLANs at a time.
Perform the following configuration in system view.
Displaying and 
Debugging a VLAN
After the above configuration, execute the display command in any view to 
display the running of the VLAN configuration, and to verify the configuration.
VLAN Configuration 
Example
Network requirements
Create VLAN 2 and VLAN 3.
Add Ethernet3/1/1 and Ethernet4/1/1 to VLAN 2.
Add Ethernet3/1/2 and Ethernet4/1/2 to VLAN 3.
Network diagram
Figure 11   Network diagram for VLAN configuration
Table 44   Move the CPU port out of/into the specified VLANs
Operation 
Command 
Move the CPU port out of the specified 
VLANs 
trap-to-cpu disable vlan { vlan-list | all } 
Move the CPU port into the specified 
VLANs 
undo trap-to-cpu disable vlan { vlan-list | all }
Table 45   Display and Debug a VLAN
Operation 
Command 
Display the related information about the 
VLAN interface 
display interface vlan-interface [ vlan-id ] 
Display the related information about the 
VLAN 
display vlanvlan-id to vlan-id | all | static | 
dynamic ] 
Display the protocol information and protocol 
index configured on the specified VLAN 
display protocol-vlan vlan { vlan-list | all } 
Display the protocol information and protocol 
index configured on the specified port 
display protocol-vlan interface { 
interface-list | all } 
Display information about CPU port in a VLAN  display trap-to-cpu
VLAN 3
Switch
E3/1/2
E4/1/1
VLAN 2
E4/1/2
E3/1/1