Efficient Networks® Router family

Chapter 4: System Commands

Command Line Interface Guide

 

 

 

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-30of 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

<remote addr>a

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.

aDotted-decimal notation

Examples

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

Response

Command prompt.

Efficient Networks®

Page 4-51

Page 121
Image 121
Efficient Networks 107-0001-000 manual System selnat addpolicy, Specifies the destination IP address to which the policy