beautypg.com

Nat maplist, Nat commands, Syntax – Technicolor - Thomson ST585 V6 User Manual

Page 595: Example: related commands

background image

E-DOC-CTC-20061027-0004 v1.0

NAT Commands

571

nat maplist

Display the address mapping for a NAT enabled interface.

SYNTAX:

where:

EXAMPLE:

RELATED COMMANDS:

nat maplist

[intf = ]
[expand = <{disabled | enabled}>]

intf

The IP interface name.

Note

If not specified, the address mapping for all the NAT
enabled interfaces will be shown.

OPTIONAL

expand

Enable or disable expanded listing.
The default is

disabled

.

OPTIONAL

=>nat maplist
Idx Type Interface

Outside Address

Inside Address

Use

1 NAPT myPPP_ppp

100.100.100.1

unmapped

0

1 NAPT eth0

any:80

127.0.0.1:8080

0

2 NAPT eth0

any:1080

127.0.0.1:8080

0

3 NAPT eth0

any:8080

127.0.0.1:8080

0

=>maplist intf=myPPP_ppp expand=enabled
Idx Type Interface

Outside Address

Inside Address

Use

1 NAPT myPPP_ppp

100.100.100.1

unmapped

0

Access List................... 10.0.0.0/24
Foreign Address............... any
Protocol...................... any
Flags......................... Static
Description................... Outbound NAPT without defserver

=>

nat mapadd

Add an address mapping to a Network Address Translation (NAT) enabled
interface.

nat mapdelete

Delete an address mapping from a NAT enabled interface.