Name

ip nat stateful id — global

Synopsis

ip nat stateful id id-number {redundancy name | {{primary ip-primary |
backup ip-backup} peer ip-peer} mapping-id map-number}
no ip nat stateful id id-number {redundancy name | {{ primary ip-primary |
backup ip-backup} peer ip-peer} mapping-id map-number}

Configures

Stateful Network Address Translation (SNAT)

Default

None

Description

This command enables Stateful NAT, providing failover capabilities. For a complete explanation, see the NAT section in Chapter 13.

id-number

A unique number given to the stateful translation group.

redundancy name

Establishes HSRP as the method for redundancy.

primary ip-primary

Manually sets the IP address of the primary router.

backup ip-backup

Manually sets the IP address of the backup router.

peer ip-peer

Manually sets the IP address of the peer router in the translation group.

mapping-id map-number

Specifies whether the local stateful NAT translation router will distribute a set of locally created entries to the peer SNAT router.

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.