O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required