1-22
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring Multiple Context Mode
Configuring Multiple Contexts
Step 3
To allocate an interface:
allocate-interface
interface_id
[
mapped_name
] [
visible
|
invisible
]
To allocate one or more subinterfaces:
allocate-interface
interface_id
.
subinterface
[
-
interface_id
.
su
binterface
] [
mapped_name
[
-
mapped_name
]]
[
visible
|
invisible
]
Example:
hostname(config-ctx)# allocate-interface
gigabitethernet0/1.100 int1
hostname(config-ctx)# allocate-interface
gigabitethernet0/1.200 int2
hostname(config-ctx)# allocate-interface
gigabitethernet0/2.300-gigabitethernet0/2.
305 int3-int8
Specifies the interfaces you can use in the context. Do not include
a space between the interface type and the port number.
Enter these commands multiple times to specify different ranges.
If you remove an allocation with the
no
form of this command,
then any context commands that include this interface are
removed from the running configuration.
Transparent firewall mode allows a limited number of interfaces
to pass through traffic; however, you can use a dedicated
management interface, Management
slot
/
port
(physical,
subinterface, redundant, or EtherChannel), as an additional
interface for management traffic. A separate management
interface is not available for the ASASM.
You can assign the same interfaces to multiple contexts in routed
mode, if desired. Transparent mode does not allow shared
interfaces.
The
mapped_name
is an alphanumeric alias for the interface that
can be used within the context instead of the interface ID. If you
do not specify a mapped name, the interface ID is used within the
context. For security purposes, you might not want the context
administrator to know which interfaces the context is using. A
mapped name must start with a letter, end with a letter or digit,
and have as interior characters only letters, digits, or an
underscore. For example, you can use the following names:
int0
,
inta
,
int_0
If you specify a range of subinterfaces, you can specify a
matching range of mapped names. Follow these guidelines for
ranges:
•
The mapped name must consist of an alphabetic portion
followed by a numeric portion. The alphabetic portion of the
mapped name must match for both ends of the range. For
example, enter the following range:
int0-int10
If you enter
gig0/1.1-gig0/1.5
happy
1-
sad
5
, for example,
the command fails.
•
The numeric portion of the mapped name must include the
same quantity of numbers as the subinterface range. For
example, both ranges include 100 interfaces:
gigabitethernet0/0.100-gigabitethernet0/0.199
int1-int100
If you enter
gig0/0.
100
-gig0/0.
199
int
1
-int
15
, for
example, the command fails.
Specify
visible
to see the real interface ID in the
show interface
command if you set a mapped name. The default
invisible
keyword shows only the mapped name.
Command
Purpose
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: ......