Source NAT Configuration
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
625
Alcatel-Lucent
Beta
Beta
CLI Configuration Guide
T
O
A
TTACH
A
NAT P
OLICY
TO
AN
I
NTERFACE
Note:
Each interface can have only one ingress and one egress NAT policy.
E
XAMPLE
In the example below, HTTP requests initiated from internal network will be
translated and sent to external network. Returning HTTP responses are
automatically allowed and translated even if there is a filter to block:
ALU(config)# match-list m1
ALU2(config-match-list m1)# ip any any type ftp
ALU(config)# exit
ALU(config)# ip filter f1
ALU(config-filter f1)# match m1 deny
ALU(config)# exit
ALU(config)# ip nat n1
ALU(config-nat n1)# match m1 source-nat
ALU(config)# exit
ALU(config)# interface GigabitEthernet 7/0
ALU(config-if GigabitEthernet7/0)# ip filter in f1
ALU(config-if GigabitEthernet7/0)# ip nat out n1
Command (in ICM)
Description
ip nat
{
in
|
out
} <
nat policy-
name
>
Enter this command in the Interface
Configuration Mode.
This command is used to attach a NAT
policy to an interface in ‘in’ or ‘out’
direction.
The keyword "
in
" signifies that ingress
traffic is subjected to the NAT, only if all
classifiers in this NAT object are
matched.
The keyword "
out
" denotes that egress
traffic is subjected to the NAT, if all
classifiers in this NAT object are
matched.
Summary of Contents for OmniAccess 700
Page 38: ...Left running head Chapter name automatic 12 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 176: ...Left running head Chapter name automatic 150 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 260: ...Left running head Chapter name automatic 234 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 434: ...Left running head Chapter name automatic 408 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 464: ...Left running head Chapter name automatic 438 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 638: ...Left running head Chapter name automatic 612 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 940: ...Left running head Chapter name automatic 914 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 1002: ...Left running head Chapter name automatic 976 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 1120: ...Left running head Chapter name automatic 2 Beta Beta CLI Configuration Guide Alcatel Lucent ...