Patton electronic SmartNode 4110 Series manual Activate NAT/NAPT, Node cfg#context ip router

Models: SmartNode 4110 Series

1 664
Download 664 pages 15.88 Kb
Page 139
Image 139

SmartWare Software Configuration Guide

11 • NAT/NAPT configuration

 

 

Activate NAT/NAPT

To activate a NAT/NAPT component, bind its NAPT profile to an IP interface. This binding identifies the global interface of the respective NAT/NAPT component. All other IP interfaces are local relative to this NAT/ NAPT.

Note If both a NAPT profile and an ACL profile are bound to the same IP inter- face, the ACL (Access Control List) acts on the local side of the NAT/ NAPT component.

Procedure: To activate a NAT/NAPT component

Mode: Configure

Step

Command

Purpose

 

 

 

1

node(cfg)#context ip router

Selects the IP router context

 

 

 

2

node(ctx-ip)[router]#interface

The NAPT profile shall be used on the interface name

 

name

 

 

 

 

3

node(if-ip)[name]#use profile

Defines that the NAPT profile profile shall be used on

 

napt profile

the interface name

 

 

 

Example: Configuring NAPT Interface

The following example shows how to activate a NAT/NAPT component with the NAPT profile access on the IP interface lan.

node(cfg)#context ip router node(ctx-ip)[router]#interface lan node(if-ip)[lan]#use profile napt access

Displaying NAT/NAPT configuration information

Two commands are available to display an existing NAPT profile. There is no command yet to display the dynamic entries of a NAT/NAPT component.

Procedure: To display NAT/NAPT configuration information

Mode: Configure

Step

Command

Purpose

 

 

 

1

node(cfg)#show profile napt

Displays the available NAPT profiles

 

 

 

2

node(cfg)#show profile napt

Displays the NAPT profile name

 

name

or

 

or

Displays the NAPT profile bound to the IP interface

 

node(cfg)#show napt interface

name

 

name

 

 

 

 

NAT/NAPT configuration task list

139

Page 139
Image 139
Patton electronic SmartNode 4110 Series manual Activate NAT/NAPT, Displaying NAT/NAPT configuration information