Version 7.2 311 Mediant MSBR
Reference Guide 46. nat-translation
46 nat-translation
This command configures the NAT Translation table, which lets you define network address
translation (NAT) rules for translating source IP addresses per VoIP interface (SIP control
and RTP media traffic) into NAT IP addresses (global - public) when the device is located
behind NAT.
Syntax
(config-network)# nat-translation <Index>
(nat-translation-<Index>)#
Command Description
src-end-port
Configures the optional ending port range (0-65535) of the
IP interface, used as matching criteria for the NAT rule.
src-interface-name
Assigns an IP network interface (configured in the IP
Interfaces table) to the rule. Outgoing packets sent from
the specified network interface are NAT'ed.
src-start-port
Configures the optional starting port range (0-65535
IP interface, used as matching criteria for the NAT rule.
target-end-port
Configures the optional ending port range (0-65535) of the
global address.
Configures the global (public) IP address.
target-start-port
Configures the optional starting port range (0-65535
global address.
Command Mode
Privileged User
Example
This example configures a NATed IP address (202.1.1.1) for all traffic sent from IP network
interface "voice":
# configure network
(config-network)# nat-translation 0
(nat-translation-0)# src-interface-name voice
(nat-translation-0)# target-ip-address 202.1.1.1