beautypg.com

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

Page 594: Example: related commands

background image

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

NAT Commands

570

nat mapdelete

Delete an address mapping from a NAT enabled interface.

SYNTAX:

where:

EXAMPLE:

RELATED COMMANDS:

nat mapdelete

intf =
index =

intf

The IP interface name.

REQUIRED

index

The map index.

Tip

Use the command

:nat maplist to obtain a list

of the mapindexes.

REQUIRED

=>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

=>nat mapdelete intf=myPPP_ppp index=1
=>nat maplist
Idx Type Interface

Outside Address

Inside Address

Use

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

=>

nat mapadd

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

nat maplist

Display the address mapping for a NAT enabled interface.