B-9
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Appendix B Sample Configurations
Example 3: Shared Resources for Multiple Contexts
•
Example 3: Department 1 Context Configuration, page B-10
•
Example 3: Department 2 Context Configuration, page B-11
Example 3: System Configuration
You must first enable multiple context mode using the
mode multiple
command. The mode is not stored
in the configuration file, even though it endures reboots. Enter the
show mode
command to view the
current mode.
hostname Ubik
password pkd55
enable password deckard69
asdm image disk0:/asdm.bin
boot system disk0:/image.bin
mac-address auto
admin-context admin
interface gigabitethernet 0/0
no shutdown
interface gigabitethernet 0/0.200
vlan 200
no shutdown
interface gigabitethernet 0/1
shutdown
interface gigabitethernet 0/1.201
vlan 201
no shutdown
interface gigabitethernet 0/1.202
vlan 202
no shutdown
interface gigabitethernet 0/1.300
vlan 300
no shutdown
context admin
allocate-interface gigabitethernet 0/0.200
allocate-interface gigabitethernet 0/1.201
allocate-interface gigabitethernet 0/1.300
config-url disk0://admin.cfg
context department1
allocate-interface gigabitethernet 0/0.200
allocate-interface gigabitethernet 0/1.202
allocate-interface gigabitethernet 0/1.300
config-url ftp://admin:[email protected]/dept1.cfg
context department2
allocate-interface gigabitethernet 0/0.200
allocate-interface gigabitethernet 0/1.203
allocate-interface gigabitethernet 0/1.300
config-url ftp://admin:[email protected]/dept2.cfg
Example 3: Admin Context Configuration
hostname Admin
interface gigabitethernet 0/0.200
nameif outside
security-level 0
ip address 209.165.201.3 255.255.255.224
no shutdown
interface gigabitethernet 0/0.201
nameif inside
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: ......