3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
874 CHAPTER 66: NAT-PT CONFIGURATION COMMANDS
protocol-type: Protocol type, including TCP and UDP.
ipv4-address-destination: Destination IPv4 address to be mapped.
ipv4-port-number: IPv4 port number, in the range of 1 to 12287.
ipv6-address-destination: IPv6 address to which the destination IPv4 address is
mapped
ipv6-port-number: IPv6 port number, in the range of 1 to 12287.
Description Use the
natpt v4bound static command to configure the static source
IPv4-to-IPv6 address mapping or the static destination IPv4-to-IPv6 address/port
mapping.
Use the
undo natpt v4bound static command to remove the static source
IPv4-to-IPv6 address mapping or the static destination IPv4-to-IPv6 address/port
mapping.
The ipv6-address prefix can be different from the NAT-PT prefix, but it is
recommended to be the same as the NAT-PT prefix.
Example # Configure the static mapping from the source IPv4 address 2.3.4.9 to the
destination IPv6 address 2001::1.
<Sysname> system-view
[Sysname] natpt v4bound static 2.3.4.9 2001::1
natpt v6bound dynamic
Syntax natpt v6bound dynamic { acl6 number acl6-number | prefix natpt-prefix }
{ address-group address-group [ no-pat ] | interface interface-type
interface-number }
undo natpt v6bound dynamic { acl6 number acl6-number | prefix natpt-prefix }
View System view
Parameter acl-number: IPv6 access control list (ACL) number, in the range of 2000 to 2999.
natpt-prefix: NAT-PT prefix, 96 bits in length.
address-group: IPv4 address pool number, in the range of 1 to 31.
interface-type: IPv4 interface type.
interface-number: IPv4 interface number.
no-pat: Specifies no port address translation. If the no-pat keyword is not
provided, port address translation will be performed.