4-10
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 4 Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance
Configuring Switch Ports as Access Ports
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) To set the duplex, enter the following command:
hostname(config-if)#
duplex
{
auto
|
full
|
half
}
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
To enable the switch port, if it is not already enabled, enter the following command:
hostname(config-if)#
no shutdown
To disable the switch port, enter the
shutdown
command.
The following example configures five VLAN interfaces, including the failover interface which is
configured using the
failover lan
command:
hostname(config)#
interface vlan 100
hostname(config-if)#
nameif outside
hostname(config-if)#
security-level 0
hostname(config-if)#
ip address 10.1.1.1 255.255.255.0
hostname(config-if)#
no shutdown
hostname(config-if)#
interface vlan 200
hostname(config-if)#
nameif inside
hostname(config-if)#
security-level 100
hostname(config-if)#
ip address 10.2.1.1 255.255.255.0
hostname(config-if)#
no shutdown
hostname(config-if)#
interface vlan 300
hostname(config-if)#
nameif dmz
hostname(config-if)#
security-level 50
hostname(config-if)#
ip address 10.3.1.1 255.255.255.0
hostname(config-if)#
no shutdown
hostname(config-if)#
interface vlan 400
hostname(config-if)#
nameif backup-isp
hostname(config-if)#
security-level 50
hostname(config-if)#
ip address 10.1.2.1 255.255.255.0
hostname(config-if)#
no shutdown
hostname(config-if)#
failover lan faillink vlan500
hostname(config)#
failover interface ip faillink 10.4.1.1 255.255.255.0 standby 10.4.1.2
255.255.255.0
hostname(config)#
interface ethernet 0/0
hostname(config-if)#
switchport access vlan 100
hostname(config-if)#
no shutdown
hostname(config-if)#
interface ethernet 0/1
hostname(config-if)#
switchport access vlan 200
hostname(config-if)#
no shutdown
hostname(config-if)#
interface ethernet 0/2
hostname(config-if)#
switchport access vlan 300
hostname(config-if)#
no shutdown
hostname(config-if)#
interface ethernet 0/3
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......