Configuring An Ethernet Interface As A Trunk Port - Cisco IE-4000 Software Configuration Manual

Industrial ethernet switch
Hide thumbs Also See for IE-4000:
Table of Contents

Advertisement

Configuring VLANs
How to Configure VLANs
Creating an Extended-Range VLAN with an Internal VLAN ID
Command
1.
show vlan internal usage
2.
configure terminal
3.
interface interface-id
4.
shutdown
5.
exit
6.
vtp mode transparent
7.
vlan vlan-id
8.
exit
9.
interface interface-id
10.
no shutdown
11.
end

Configuring an Ethernet Interface as a Trunk Port

Command
1.
configure terminal
2.
interface interface-id
3.
switchport mode {dynamic {auto |
desirable} | trunk}
4.
switchport access vlan vlan-id
5.
switchport trunk native vlan vlan-id
6.
end
Purpose
Displays the VLAN IDs being used internally by the switch. If the VLAN ID
that you want to use is an internal VLAN, the display shows the routed
port that is using the VLAN ID. Enter that port number in Step 3.
Enters global configuration mode.
Specifies the interface ID for the routed port that is using the VLAN ID,
and enters interface configuration mode.
Shuts down the port to free the internal VLAN ID.
Returns to global configuration mode.
Sets the VTP mode to transparent for creating extended-range VLANs.
Note:
This step is not required for VTP version 3.
Enters the new extended-range VLAN ID, and enters VLAN configuration
mode.
Exits from VLAN configuration mode, and returns to global configuration
mode.
Specifies the interface ID for the routed port that you shut down in Step
4, and enters interface configuration mode.
Reenables the routed port. It will be assigned a new internal VLAN ID.
Returns to privileged EXEC mode.
Purpose
Enters global configuration mode.
Specifies the port to be configured for trunking, and enters interface
configuration mode.
Configures the interface as a Layer 2 trunk (required only if the interface
is a Layer 2 access port or tunnel port or to specify the trunking mode).
dynamic auto—Sets the interface to a trunk link if the neighboring
interface is set to trunk or desirable mode. This is the default.
dynamic desirable—Sets the interface to a trunk link if the
neighboring interface is set to trunk, desirable, or auto mode.
trunk—Sets the interface in permanent trunking mode and negotiate
to convert the link to a trunk link even if the neighboring interface is
not a trunk interface.
(Optional) Specifies the default VLAN, which is used if the interface stops
trunking.
Specifies the native VLAN for IEEE 802.1Q trunks.
Returns to privileged EXEC mode.
286

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie-5000Ie-4010

Table of Contents