System selnat addpolicy, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 121: Parameters, Examples, Response, System selnat addpolicy -51

Advertising
background image

Efficient Networks

®

Router family

Command Line Interface Guide

Chapter 4: System Commands

Efficient Networks

®

Page 4-51

system selnat addpolicy

Configures selective NAT policies. Selective NAT translation is performed based on
destination address defined in the policy. For more information, refer to

Selective

NAT” on page 4-30

of the Technical Reference Guide.

Mgmt Class

Network (R/W)

Input Format

Two commands are used to create policies; the first (below) specifies translation of
the private address, the second will specify no translation is performed.

system selnat addpolicy <remote addr> <remote addr mask> trans

<public addr>

system selnat addpolicy <remote addr><remote addr mask> notrans

Parameters

Examples

Response

Command prompt.

<remote addr>

a

a

Dotted-decimal notation

Specifies the destination IP address to which the policy
will be applied.

<remote addr mask>

a

Speficies the destination IP network mask to which the
policy will be applied.

<public addr>

a

Specifies the resulting public address to which private ad-
dress will be translated.

This command will create a policy translating the source address to 64.35.6.1 for

packets destined for any address in the 12.16.32.0 subnet.

-> system selnat addpolicy 12.16.32.0 255.255.255.0 trans

64.35.6.1

This command creates a policy that speficies no translation is performed for

packets destined for the adress of 10.2.2.2.

-> system selnat addpolicy 10.2.2.2 255.255.255.0 notrans

Advertising