|
Command or Action |
Purpose |
|
enable
Example:
Device> enable
|
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
|
configure terminal
Example:
Device# configure terminal
|
Enters global configuration mode. |
|
interface type number
Example:
Device(config)# interface gigabitethernet 0/1/3
|
Configures an interface and enters interface configuration mode. |
|
ip address ip-address mask
Example:
Device(config-if)# ip address 10.1.1.1 255.255.255.0
|
Sets a primary IP address for an interface. |
|
ip nat outside
Example:
Device(config-if)# ip nat outside
|
Marks the interface as connected to the outside. |
|
exit
Example:
Device(config-if)# exit
|
Exits interface configuration mode and enters global configuration mode. |
|
redundancy
Example:
Device(config)# redundancy
|
Configures redundancy and enters redundancy configuration mode. |
|
application redundancy
Example:
Device(config-red)# application redundancy
|
Configures application redundancy and enters redundancy application configuration mode. |
|
group id
Example:
Device(config-red-app)# group 1
|
Configures a redundancy group and enters redundancy application group configuration mode. |
|
asymmetric-routing always-divert enable
Example:
Device(config-red-app-grp)# asymmetric-routing always-divert enable
|
Diverts the traffic to the active device. |
|
end
Example:
Device(config-red-app-grp)# end
|
Exits redundancy application group configuration mode and enters privileged EXEC mode. |
|
configure terminal
Example:
Device# configure terminal
|
Enters global configuration mode. |
|
ip nat pool name start-ip end-ip {mask | prefix-length prefix-length}
Example:
Device(config)# ip nat pool pool1 prefix-length 24
|
Defines a pool of global addresses.
-
Enters IP NAT pool configuration mode.
|
|
exit
Example:
Device(config-ipnat-pool)# exit
|
Exits IP NAT pool configuration mode and enters global configuration mode. |
|
ip nat inside source list acl-number pool name redundancy redundancy-id mapping-id map-id
Example:
Device(config)# ip nat inside source list pool pool1 redundancy 1 mapping-id 100
|
Enables NAT of the inside source address and associates NAT with a redundancy group by using the mapping ID. |
|
access-list standard-acl-number permit source-address wildcard-bits
Example:
Device(config)# access-list 10 permit 10.1.1.1 255.255.255.0
|
Defines a standard access list for the inside addresses that are to be translated. |
|
end
Example:
Device(config)# end
|
Exits global configuration mode and enters privileged EXEC mode. |