Cisco Cisco IOS Software Release 12.4(3)

Seite von 10
Scalability for Stateful NAT
  Configuration Examples for SNAT in HSRP Mode
4
Cisco IOS Release: Multiple releases (see the Feature History table)
Configuration Examples for SNAT in HSRP Mode
This section provides the following configuration example:
Configuring SNAT in HSRP Mode: Example
Step 6
standby 
[group-number] name group-name
Example:
Router(config-if)# standby name SNATHSRP 
Configures the name of an HSRP group.
Step 7
standby 
group-number preempt delay minimum 
seconds reload seconds sync seconds
Example:
Router(config-if)# standby 1 preempt delay 
minimum 60 reload 60 sync 60
This command must be configured in order for SNAT to 
control HSRP state change until NAT information is 
completely exchanged.
Step 8
exit
Example:
Router(config-if)# exit
Returns to global configuration mode.
Step 9
ip nat stateful id 
id-number redundancy name 
mapping-id 
map-number [protocol udp
[as-queuing disable]
Example:
Router(config)# ip nat stateful id 1 redundancy 
snathsrp mapping-id 10 protocol udp as-queuing 
disable
Specifies SNAT on routers configured for HSRP. The 
optional UDP protocol and disabling of asymmetic queuing 
is also configured.
Step 10
ip nat pool 
name start-ip end-ip prefix-length 
prefix-length
Example:
Router(config)# ip nat pool snatpool1 10.1.1.1 
10.1.1.9 prefix-length 24
Defines a pool of IP addresses.
Step 11
ip nat inside source route-map
 name pool 
pool-name mapping-id map-number [overload]
Example:
Router(config)# ip nat inside source route-map 
rm-101 pool snatpool1 mapping-id 10 overload
Enables stateful NAT for the HSRP translation group.
Command or Action
Purpose