EasyManua.ls Logo

3Com 5500G-EI - Port Trunk Permit Vlan

3Com 5500G-EI
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
64 CHAPTER 2: USING PORT COMMANDS
Description
Use the port link-type command to configure the link type of the Ethernet
port. Use the
undo port link-type command to restore the port as default
status. By default, a port is an access port.
A port on a Switch can be configured as an access port, a hybrid port, a trunk port
or a fabric port. However, to reconfigure between hybrid and trunk link types, you
must first restore the default, or access, link type.
Example
To configure the Ethernet port Ethernet1/0/1 as a trunk port, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface Gigabitethernet 1/0/1
[SW5500-GigabitEthernet1/0/1]port link-type trunk
port trunk permit vlan Syntax
port trunk permit vlan {
vlan_id_list
| all}
undo port trunk permit vlan {
vlan_id_list
| all}
View
Ethernet port view
Parameter
vlan_id:
Enter a VLAN ID, or more than one VLAN ID, in the range 1 to 4094.
The trunk port will be added to the specified VLANs. This can be a single VLAN, a
series of individual VLANs separated by a space, or the first VLAN in a range of
VLANs. If this is the first VLAN in a range use the
last_vlan_id
parameter to
indicate the last VLAN in the range (
vlan_id
to
last_vlan_id
).
You can enter up to ten vlan_id parameters at one port trunk permit vlan
command.
all: Enter to add the trunk port to all VLANs.
Description
Use the port trunk permit vlan command to add a trunk port to one VLAN, a
selection of VLANs or all VLANs. Use the
undo port trunk permit vlan
command to remove a trunk port from one VLAN, a selection of VLANs or all
VLANs.
A trunk port can belong to multiple VLANs. If the port trunk permit vlan
command is used many times, then the VLAN enabled to pass on trunk port is the
set of these
vlan_id_list
.
Related command: port link-type.

Table of Contents

Related product manuals