3com 8807 사용자 가이드
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
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.
display the running of the VLAN configuration, and to verify the configuration.
VLAN Configuration
Example
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
VLANs
trap-to-cpu disable vlan { vlan-list | all }
Move the CPU port into the specified
VLANs
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
VLAN interface
display interface vlan-interface [ vlan-id ]
Display the related information about the
VLAN
VLAN
display vlan[ vlan-id to vlan-id | all | static |
dynamic ]
dynamic ]
Display the protocol information and protocol
index configured on the specified VLAN
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
index configured on the specified port
display protocol-vlan interface {
interface-list | all }
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