1-8
Cisco ASA Series CLI Configuration Guide
Chapter 1 Starting Interface Configuration (ASA 5505)
Starting ASA 5505 Interface Configuration
Caution
The ASA 5505 does not support Spanning Tree Protocol for loop detection in the network. Therefore
you must ensure that any connection with the ASA does not end up in a network loop.
Detailed Steps
Command
Purpose
Step 1
interface
ethernet0/
port
Example:
hostname(config)# interface ethernet0/1
Specifies the switch port you want to configure, where
port
is 0
through 7.
Step 2
switchport access vlan
number
Example:
hostname(config-if)# switchport access
vlan 100
Assigns this switch port to a VLAN, where
number
is the VLAN
ID, between 1 and 4090. See the
to configure the VLAN interface that you
want to assign to this switch port. To view configured VLANs,
enter the
show interface
command.
Note
You might assign multiple switch ports to the primary or
backup VLANs if the Internet access device includes
Layer 2 redundancy.
Step 3
(Optional)
switchport protected
Example:
hostname(config-if)# switchport protected
Prevents the switch port from communicating with other
protected switch ports on the same VLAN.
You might want to prevent switch ports from communicating with
each other if the devices on those switch ports are primarily
accessed from other VLANs, you do not need to allow
intra-VLAN access, and you want to isolate the devices from each
other in case of infection or other security breach. For example, if
you have a DMZ that hosts three web servers, you can isolate the
web servers from each other if you apply the
switchport
protected
command to each switch port. The inside and outside
networks can both communicate with all three web servers, and
vice versa, but the web servers cannot communicate with each
other.
Step 4
(Optional)
speed
{
auto
|
10
|
100
}
Example:
hostname(config-if)# speed 100
Sets the speed. The
auto
setting is the default. If you set the speed
to anything other than
auto
on PoE ports Ethernet 0/6 or 0/7, then
Cisco IP phones and Cisco wireless access points that do not
support IEEE 802.3af will not be detected and supplied with
power.
Step 5
(Optional)
duplex
{
auto
|
full
|
half
}
Example:
hostname(config-if)# duplex full
Sets the duplex. The
auto
setting is the default. If you set the
duplex to anything other than
auto
on PoE ports Ethernet 0/6 or
0/7, then Cisco IP phones and Cisco wireless access points that do
not support IEEE 802.3af will not be detected and supplied with
power.
Step 6
no shutdown
Example:
hostname(config-if)# no shutdown
Enables the switch port. To disable the switch port, enter the
shutdown
command.
Summary of Contents for 5505 - ASA Firewall Edition Bundle
Page 28: ...Glossary GL 24 Cisco ASA Series CLI Configuration Guide ...
Page 61: ...P A R T 1 Getting Started with the ASA ...
Page 62: ......
Page 219: ...P A R T 2 Configuring High Availability and Scalability ...
Page 220: ......
Page 403: ...P A R T 2 Configuring Interfaces ...
Page 404: ......
Page 499: ...P A R T 2 Configuring Basic Settings ...
Page 500: ......
Page 533: ...P A R T 2 Configuring Objects and Access Lists ...
Page 534: ......
Page 601: ...P A R T 2 Configuring IP Routing ...
Page 602: ......
Page 745: ...P A R T 2 Configuring Network Address Translation ...
Page 746: ......
Page 845: ...P A R T 2 Configuring AAA Servers and the Local Database ...
Page 846: ......
Page 981: ...P A R T 2 Configuring Access Control ...
Page 982: ......
Page 1061: ...P A R T 2 Configuring Service Policies Using the Modular Policy Framework ...
Page 1062: ......
Page 1093: ...P A R T 2 Configuring Application Inspection ...
Page 1094: ......
Page 1191: ...P A R T 2 Configuring Unified Communications ...
Page 1192: ......
Page 1333: ...P A R T 2 Configuring Connection Settings and QoS ...
Page 1334: ......
Page 1379: ...P A R T 2 Configuring Advanced Network Protection ...
Page 1380: ......
Page 1475: ...P A R T 2 Configuring Modules ...
Page 1476: ......
Page 1549: ...P A R T 2 Configuring VPN ...
Page 1550: ......
Page 1965: ...P A R T 2 Configuring Logging SNMP and Smart Call Home ...
Page 1966: ......
Page 2059: ...P A R T 2 System Administration ...
Page 2060: ......
Page 2098: ...1 8 Cisco ASA Series CLI Configuration Guide Chapter 1 Troubleshooting Viewing the Coredump ...
Page 2099: ...P A R T 2 Reference ...
Page 2100: ......