1-8
Cisco ASA Series CLI Configuration Guide
Chapter 1 Completing Interface Configuration (Routed Mode)
Completing Interface Configuration in Routed Mode
• PPPoE and DHCP are not supported on the ASASM.
Prerequisites
• Set up your interfaces depending on your model:
–
ASA 5510 and higher—Chapter 1, “Starting Interface Configuration (ASA 5510 and Higher).”
–
ASA 5505—Chapter 1, “Starting Interface Configuration (ASA 5505).”
–
ASASM—Chapter 1, “Configuring the Switch for Use with the ASA Services Module.”
• In multiple context mode, you can only configure context interfaces that you already assigned to the
context in the system configuration according to the “Configuring Multiple Contexts” section on
page 1-15.
• In multiple context mode, complete this procedure in the context execution space. To change from
the system to a context configuration, enter the changeto context name command.
Detailed Steps
Command Purpose
Step 1
For the ASA 5510 and higher:
interface {{redundant number |
port-channel number |
physical_interface}[.subinterface] |
mapped_name}
For the ASA 5505 or ASASM:
hostname(config)# interface {vlan number |
mapped_name}
Example:
hostname(config)# interface
gigabithethernet 0/0
If you are not already in interface configuration mode, enters
interface configuration mode.
The redundant number argument is the redundant interface ID,
such as redundant 1.
The port-channel number argument is the EtherChannel interface
ID, such as port-channel 1.
See the “Enabling the Physical Interface and Configuring
Ethernet Parameters” section for a description of the physical
interface ID.
Append the subinterface ID to the physical or redundant interface
ID separated by a period (.).
In multiple context mode, enter the mapped_name if one was
assigned using the allocate-interface command.
Step 2
nameif name
Example:
hostname(config-if)# nameif inside
Names the interface.
The name is a text string up to 48 characters, and is not
case-sensitive. You can change the name by reentering this
command with a new value. Do not enter the no form, because
that command causes all commands that refer to that name to be
deleted.
Step 3
Do one of the following: