Ethernet Port Configuration
43
By default, the port is access port.
Note that:
■
You can configure four types of ports concurrently on the same Switch, but you
cannot switch port type between trunk port, hybrid port and stack port. You
must return it first into access port and the set it as the other type. For
example, you cannot configure a trunk port directly as a hybrid port, but first
set it as an access port and then as a hybrid port.
■
For the Switch 4500 26-Port and Switch 4500 26-Port PWR,
GigabitEthernet1/0/25 and GigabitEthernet1/0/26 ports can be configured as a
stack port; For the Switch 4500 50-Port and Switch 4500 50-Port PWR,
GigabitEthernet1/0/49 and GigabitEthernet1/0/50 ports can be configured as a
stack port.
Adding an Ethernet Port to Specified VLANs
Use the following commands to add an Ethernet port to a specified VLAN. An
access port can only be added to one VLAN, while hybrid and trunk ports can be
added to multiple VLANs.
Perform the following configuration in Ethernet Port View.
Note that the access port shall be added to an existing VLAN other than VLAN 1.
The VLAN to which a hybrid port is added must already exist. The one to which a
trunk port is added cannot be VLAN 1.
After adding an Ethernet port to specified VLANs, the local port can forward
packets of these VLANs. Hybrid and trunk ports can be added to multiple VLANs,
thereby implementing the VLAN intercommunication between peers. For a hybrid
Configure the port as a hybrid port
port link-type hybrid
Configure the port as a trunk port
port link-type trunk
Configure the port as a stack port
port link-type xrn-fabric
Restore the default link type, that is, access port
undo port link-type
Table 39
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 38
Setting the Link Type for the Ethernet Port
Operation
Command
Содержание 400 Family
Страница 12: ......
Страница 16: ...14 ABOUT THIS GUIDE ...
Страница 58: ...56 CHAPTER 2 PORT OPERATION ...
Страница 68: ...66 CHAPTER 3 VLAN OPERATION ...
Страница 98: ...96 CHAPTER 5 NETWORK PROTOCOL OPERATION ...
Страница 124: ...122 CHAPTER 6 IP ROUTING PROTOCOL OPERATION ...
Страница 156: ...154 CHAPTER 8 ACL CONFIGURATION ...
Страница 218: ...216 CHAPTER 11 802 1X CONFIGURATION ...
Страница 298: ...296 CHAPTER 13 PASSWORD CONTROL CONFIGURATION OPERATIONS ...
Страница 336: ...334 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP ...