32
C
HAPTER
2: P
ORT
C
ONFIGURATION
A port on a switch can be configured as an access port, a hybrid port, or a trunk
port. However, to reconfigure between hybrid and trunk link types, you must first
restore the default, or access link type.
The default link type is the access link type.
Adding the Ethernet Port to a VLAN
The following commands are used for adding an Ethernet port to a specified
VLAN. Access ports can be added to only one VLAN, while hybrid and trunk ports
can be added to multiple VLANs.
Perform the following configuration in Ethernet port view.
The access port will be added to an existing VLAN other than VLAN 1. The VLAN
to which a Hybrid port is added must exist. The VLAN to which a Trunk port is
added cannot be VLAN 1.
After adding the Ethernet port to the specified VLANs, the local port can forward
packets from these VLANs. The hybrid and trunk ports can be added to multiple
VLANs, thereby, implementing the VLAN intercommunication between peers. For
the hybrid port, you can tag VLAN packets to process packets in different ways,
depending on the target device.
Setting the Default VLAN ID for Ethernet Port
Since the access port can only be included in one VLAN, its default VLAN is the
one to which it belongs. The hybrid port and the trunk port can be included in
several VLANs, however, it is necessary to configure the default VLAN ID. If the
default VLAN ID has been configured, the packets without VLAN Tag will be
forwarded to the port that belongs to the default VLAN. When sending the
packets with VLAN Tag, if the VLAN ID of the packet is identical to the default
VLAN ID of the port, the system will remove VLAN Tag before sending this packet.
Perform the following configuration in Ethernet port view.
Table 12
Adding the Ethernet Port to Specified VLANs
Operation
Command
Add the current access port to a specified
VLAN
port access vlan
vlan_id
Add the current hybrid port to specified
VLANs
port hybrid vlan
vlan_id_list
{
tagged
|
untagged
}
Add the current trunk port to specified VLANs
port trunk permit vlan
{
vlan_id_list
|
all
}
Remove the current access port from to a
specified VLAN.
undo
port
access vlan
Remove the current hybrid port from to
specified VLANs.
undo port hybrid
vlan
vlan_id_list
Remove the current trunk port from specified
VLANs.
undo port trunk permit vlan
{
vlan_id_list
|
all
}
Table 13
Set the Default VLAN ID for the Ethernet Port
Operation
Command
Set the default VLAN ID for the hybrid port.
port hybrid pvid vlan
vlan_id
Set the default VLAN ID for the trunk port
port trunk pvid vlan
vlan_id
Содержание Switch 7700
Страница 10: ...2 ABOUT THIS GUIDE ...
Страница 52: ...44 CHAPTER 2 PORT CONFIGURATION ...
Страница 194: ...186 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 195: ...Route Capacity 187 ...
Страница 196: ...188 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 197: ...Route Capacity 189 ...
Страница 198: ...190 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 237: ...GMRP 229 SW7700 Ethernet1 0 1 gmrp ...
Страница 238: ...230 CHAPTER 6 MULTICAST PROTOCOL ...
Страница 270: ...262 CHAPTER 7 QOS OPERATION ...
Страница 320: ...312 CHAPTER 9 AAA AND RADIUS OPERATION ...
Страница 330: ...322 CHAPTER 10 RELIABILITY ...
Страница 390: ...382 CHAPTER 11 SYSTEM MANAGEMENT ...