68
C
HAPTER
14: B
ASIC
P
ORT
C
ONFIGURATION
Configuring the Default
VLAN ID for an Ethernet
Port
An access port can belong to only one VLAN. Therefore, the VLAN an access port
belongs to is also the default VLAN of the access port. A hybrid/trunk port can belong
to several VLANs, and so a default VLAN ID for the port is required.
■
After you configure default VLAN IDs for Ethernet ports, the packets passing
through the ports are processed in different ways depending on different
situations:
CAUTION:
To guarantee the proper packet forwarding, the default VLAN ID of the local hybrid
port or trunk port should be identical with that of the hybrid port or trunk port on the
peer switch.
Adding an Ethernet Port
to Specified VLANs
You can add the specified Ethernet port to a specified VLAN. After that, the Ethernet
port can forward the packets of the specified VLAN, so that the VLAN on this switch
can intercommunicate with the same VLAN on the peer switch.
An access port can only be added to one VLAN, while hybrid and trunk ports can be
added to multiple VLANs.
Note that the port shall be added to an existing VLAN.
Table 46
Processing of incoming/outgoing packet
Port
type
Processing of an incoming packet
Processing of an outgoing packet
If the
packet
does not
carry a
VLAN tag
If the packet carries a VLAN
tag
Access
Receive the
packet and
add the
default tag
to the
packet.
If the VLAN ID is just the default
VLAN ID, receive the packet.
If the VLAN ID is not the default
VLAN ID, discard the packet.
Deprive the tag from the packet and
send the packet.
Trunk
If the VLAN ID is just the default
VLAN ID, receive the packet.
If the VLAN ID is not the default
VLAN ID but is one of the VLAN
IDs allowed to pass through the
port, receive the packet.
If the VLAN ID is neither the
default VLAN ID, nor one of the
VLAN IDs allowed to pass
through the port, discard the
packet.
If the VLAN ID is just the default
VLAN ID, deprive the tag and send
the packet.
If the VLAN ID is not the default
VLAN ID, keep the original tag
unchanged and send the packet.
Hybrid
If the VLAN ID is just the default
VLAN ID, deprive the tag and send
the packet.
If the VLAN ID is not the default
VLAN ID, deprive the tag or keep the
tag unchanged (whichever is done is
determined by the
port hybrid vlan
vlan-id-list
{
tagged
|
untagged }
command) and send the packet.
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...