Cisco Cisco IOS Software Release 12.4(3)
Scalability for Stateful NAT
How to Configure SNAT in HSRP Mode
3
Cisco IOS Release: Multiple releases (see the Feature History table)
Perform this task to configure an HSRP router with SNAT.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface ethernet interface-number port-number
4.
standby delay minimum min-seconds reload reload-seconds
5.
standby [group-number] ip [ip-address [secondary]]
6.
standby [group-number] name group-name
7.
standby [group-number] preempt [delay {minimum seconds reload seconds sync seconds}]
8.
exit
9.
ip nat stateful id id-number redundancy name mapping-id map-number [protocol udp]
[as-queuing disable]
[as-queuing disable]
10.
ip nat pool name start-ip end-ip prefix-length prefix-length
11.
ip nat inside source route-map name pool pool-name mapping-id map-number [overload]
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables higher privilege levels, such as privileged EXEC
mode.
mode.
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface ethernet
interface-number port-number
Example:
Router(config)# interface ethernet 1/1
Enters interface configuration mode.
Step 4
standby
delay minimum min-seconds reload
reload-seconds
Example:
Router# standby delay minimum 30 reload 60
Configures the delay period between the initialization of
HSRP groups.
HSRP groups.
•
This command must be configured in order for SNAT to
control HSRP state change until NAT information is
completely exchanged.
control HSRP state change until NAT information is
completely exchanged.
Step 5
standby
group-name ip [ip-address [secondary]]
Example:
Router(config-if)# standby SNATHSRP ip 10.1.1.1
Enables the HSRP protocol.