Prev | Current Page 260 | Next

Yusuf Bhaiji

"Network Security Technologies and Solutions"

1
hostname(config-ctx)# allocate-interface Management0/0
hostname(config-ctx)# config-url flash:/admin.cfg
hostname(config-ctx)# context customerA
hostname(config-ctx)# allocate-interface Ethernet0.100 int1
hostname(config-ctx)# allocate-interface Ethernet0.102 int2
hostname(config-ctx)# allocate-interface Ethernet0.103-Ethernet0.108 int3-int8
hostname(config-ctx)# config-url ftp://joe:password@10.1.1.1/configs/
customerA.cfg
hostname(config-ctx)# context customerB
hostname(config-ctx)# allocate-interface Ethernet1.200 int1
hostname(config-ctx)# allocate-interface Ethernet1.202-Ethernet1.203 int2-int3
hostname(config-ctx)# allocate-interface Ethernet1.205-Ethernet1.210 int5-int10
hostname(config-ctx)# config-url flash:/customerB.cfg
Example 6-2 shows how to change between contexts and the system execution space in privileged EXEC mode
to perform configuration and monitoring tasks within each context. The system execution space is the admin
context from where you can switch between the contexts. Ensure the location, because the configuration
changes made are applicable to the current position (within the context). For example, when the show
running-config command is executed, it will display only the current configuration of that context and not the
running configurations of all contexts (system plus all contexts).


Pages:
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272