7-9
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter7 Starting Interface Configuration (ASA 5505)
Starting ASA 5505 Interface Configuration
What to Do Next
If you want to configure a switch port as a trunk port, see the “Configuring and Enabling Switch
Ports as Trunk Ports” section on page7-9.
To complete the interface configuration, see Chapter8, “Completing Interface Configuration
(Routed Mode),” or Chapter9, “Completing Interface Configuration (Transparent Mode).”
Configuring and Enabling Switch Ports as Trunk Ports
This procedure describes how to create a trunk port that can carry multiple VLANs using 802.1Q
tagging. Trunk mode is available only with the Security Plus license.
To create an access port, where an interface is assigned to only one VLAN, see the “Configuring and
Enabling Switch Ports as Access Ports” section on page 7-7.
Guidelines
This switch port cannot pass traffic until you assign at least one VLAN to it, native or non-native.
Detailed Steps
Command Purpose
Step1 interface ethernet0/port
Example:
hostname(config)# interface ethernet0/1
Specifies the switch port you want to configure, where port is 0
through 7.
Step2 To assign VLANs to this trunk, do one or more of the following:
switchport trunk allowed vlan vlan_range
Example:
hostname(config)# switchport trunk allowed
vlan 100-200
Identifies one or more VLANs that you can assign to the trunk
port, where the vlan_range (with VLANs between 1 and 4090)
can be identified in one of the following ways:
A single number (n)
A range (n-x)
Separate numbers and ranges by commas, for example:
5,7-10,13,45-100
You can enter spaces instead of commas, but the command is
saved to the configuration with commas.
You can include the native VLAN in this command, but it is not
required; the native VLAN is passed whether it is included in this
command or not.