3com 8807 Guia Do Utilizador

Página de 883
58
C
HAPTER
 7: VLAN C
ONFIGURATION
You cannot delete a protocol-based VLAN that has ports associated with.
You cannot delete a protocol-based VLAN on a port while the port is associated 
with the VLAN.
Configuring IP 
Subnet-Based VLAN
The following sections describe the IP subnet-based VLAN configuration tasks:
Associating/dissociating a specified port with/from an IP subnet-based VLAN
Configuring an IP subnet-based VLAN
Associating/Dissociating 
a Specified Port 
with/from an IP 
Subnet-Based VLAN
Use the following commands to associate/dissociate a specified port with/from an 
IP subnet-based VLAN.
Perform the following configuration in Ethernet port view.
Configuring/deleting an 
IP Subnet-Based VLAN
Perform the following configuration in VLAN view.
Configure the CPU 
Port in an VLAN
The CPU is a special port in the Switch 8800 Family series routing switches. By 
default, because the CPU port is in a VLAN, when common broadcast packets and 
unknown multicast packets are broadcast within a VLAN, these packets will also 
be broadcast to the CPU. To prevent waste of CPU resources, you can move the 
CPU port out of the VLAN, so that common broadcast packets and unknown 
multicast packets will not be handed to the CPU for processing.
You can use the following command to move the CPU port out of the VLAN.
Perform the following configuration in VLAN view.
By default, the CPU port is in the VLAN.
Table 41   Associate/dissociate a port with/from an IP subnet-based VLAN
Operation 
Command 
Associate a specified port with an IP 
subnet-based VLAN 
port hybrid ip-vlan vlan vlan-id 
Remove a specified port from an IP 
subnet-based VLAN 
undo port hybrid ip-vlan vlan vlan-id
Table 42   Configure/delete an IP subnet-based VLAN
Operation 
Command 
Create an IP subnet-based VLAN 
vlan-type ip-subnet ip ip-address { [ 
net-mask | net-mask-length ] } 
Delete an IP subnet-based VLAN 
undo vlan-type ip-subnet { index-begin [ to 
index-end ] | all }
Table 43   Move the CPU port out of/into the VLAN
Operation 
Command 
Move the CPU port out of the VLAN 
trap-to-cpu disable 
Move the CPU port into the VLAN 
undo trap-to-cpu disable