
B-3
Cisco Security Appliance Command Line Configuration Guide
OL-6721-01
Appendix B Sample Configurations
Example 1: Multiple Mode Firewall With Outside Access
hostname Farscape
password passw0rd
enable password chr1cht0n
admin-context admin
interface gigabitethernet 0
shutdown
interface gigabitethernet 0.3
no shutdown
interface gigabitethernet 1
no shutdown
interface gigabitethernet 1.4
no shutdown
interface gigabitethernet 1.5
no shutdown
interface gigabitethernet 1.6
no shutdown
interface gigabitethernet 1.7
no shutdown
interface gigabitethernet 1.8
no shutdown
context admin
allocate-interface gigabitethernet 0.3
allocate-interface gigabitethernet 1.4
config-url disk0://admin.cfg
context customerA
description This is the context for customer A
allocate-interface gigabitethernet 0.3
allocate-interface gigabitethernet 1.5
config-url disk0://contexta.cfg
context customerB
description This is the context for customer B
allocate-interface gigabitethernet 0.3
allocate-interface gigabitethernet 1.6
config-url disk0://contextb.cfg
context customerC
description This is the context for customer C
allocate-interface gigabitethernet 0.3
allocate-interface gigabitethernet 1.7-gigabitethernet 1.8
config-url disk0://contextc.cfg
Example 1: Admin Context Configuration
The host at 10.1.1.75 can access the context using SSH, which requires a key to be generated using the
crypto key generate command.
hostname Admin
domain isp
interface gigabitethernet 0.3
nameif outside
security-level 0
ip address 209.165.201.2 255.255.255.224
no shutdown
interface gigabitethernet 1.4
nameif inside
security-level 100
ip address 10.1.1.1 255.255.255.0
no shutdown
passwd secret1969
enable password h1andl0
route outside 0 0 209.165.201.1 1
ssh 10.1.1.75 255.255.255.255 inside
Commentaires sur ces manuels