Command Reference Guide
218 ● nat oubound 3Com Router 5000 Family and Router 6000 Family
Command Reference
nat oubound
Purpose Use the nat outbound command to associate an ACL with an address pool,
indicating that the address specified in the
acl-number can be translated by using
address pool
group-number.
Use the undo nat outbound command to remove the corresponding address
translation.
Syntax nat outbound acl-number [ address-group group-number [ no-pat ] ]
undo nat outbound acl-number [ address-group group-number [ no-pat ] ]
Parameters address-group
Configures address translation by means of address
pool. If the address pool is not specified, use the IP
address of the interface as the translated address, that
is, the "easy ip" feature.
no-pat
Uses simple address translation, which means only to
translate the address of the packet but not use port
information.
acl-number
ACL index. Valid values are 2000 to 3999 (the
advanced ACL can be used).
group-number
The number of a defined address pool.
Example Enable the hosts of the 10.110.10.0/24 network segment to perform address
translation by selecting the addresses from 202.110.10.10 to 202.110.10.12 as the
translated address. Suppose that the interface Serial0/0/0 connects to ISP.
[3Com] acl number 2001
[3Com-acl-basic-2001] rule permit source 10.110.10.0 0.0.0.255
[3Com-acl-basic-2001] rule deny
# Configure the address pool.
[3Com] nat address-group 1 202.110.10.10 202.110.10.12
# Allow address translation and use the addresses of address pool 1 for
address translation. During translation, the information of TCP/UDP
port is used.
[3Com-Serial0/0/0] nat outbound 2001 address-group 1
# Delete the corresponding configuration.
[3Com-Serial0/0/0] undo outbound 2001 address-group 1
# Configuration of simple address translation (Not using the TCP/UDP
port information to perform the address translation)
[3Com-Serial1/0/0] nat outbound 2001 address-group 1 no-pat
# Delete the corresponding configuration.
[3Com-Serial0/0/0] undo nat outbound 2001 address-group 1 no-pat
# The configuration that can be used when performing address
translation by using the IP address of interface Serial0/0/0 directly.
[3Com-Serial0/0/0] nat outbound 2001
# Delete the corresponding configuration.
[3Com-Serial0/0/0] undo nat outbound 2001