F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
132
• IPv6 address and port number of the server.
To configure a static NAPT-PT mapping for an IPv6 server:
Ste
p
Command
1. Enter system view.
system-view
2. Configure a static address and port number
mapping for an IPv6 server.
natpt v4bound static v6server protocol protocol-type
ipv4-address ipv4-port-number ipv6-address
ipv6-port-number
Displaying and maintaining NAT-PT
Task Command
Remarks
Display all NAT-PT configuration
information.
display natpt all [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display NAT-PT address pool
configuration information.
display natpt address-group [ | { begin
| exclude | include }
regular-expression ]
Available in any view.
Display the static and dynamic NAT-PT
address mappings.
display natpt address-mapping [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Display NAT-PT statistics.
display natpt statistics [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Clear NAT-PT statistics. reset natpt statistics Available in user view.
The reset natpt statistics command cannot clear the statistics of total sessions and total address
mappings.
NAT-PT configuration examples
Configuring dynamic mapping on the IPv6 side
Network requirements
As shown in Figure 83, Router B with IPv6 address 2001::2/64 on an IPv6 network wants to access
Router A with IPv4 address 8.0.0.2/24 on an IPv4 network, whereas Router A cannot actively access
Router B.
To meet the preceding requirements, you need to configure LB that is deployed between the IPv4 network
and IPv6 network as a NAT-PT device, and configure dynamic mapping policies on the IPv6 side on LB
so that IPv6 hosts can access IPv4 hosts but IPv4 hosts cannot access IPv6 hosts.