R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

155
Parameters
inside-ip: Specifies the IP address of an internal server.
port port-number: Specifies the port number of an internal server, in the range of 1 to 65535, excluding
FTP port 20.
weight weight-value: Specifies the weight of the internal server. The value range is 1 to 1000, and the
default value is 100. An internal server with a larger weight receives a larger percentage of connections
in the internal server group.
Examples
# Add a member with IP address 10.1.1.2 and port number 30 to internal server group 1.
<Sysname> system-view
[Sysname] nat server-group 1
[Sysname-nat-server-group-1] inside ip 10.1.1.2 port 30
Related commands
nat server-group
local-ip-address
Use local-ip-address to add a private IP address member to a NAT port block group.
Use undo local-ip-address to delete a private IP address member from a NAT port block group.
Syntax
local-ip-address start-address end-address [ vpn-instance vpn-instance-name ]
undo local-ip-address start-address [ vpn-instance vpn-instance-name ]
Default
No private IP address member exists in a port block group.
Views
NAT port block group view
Predefined user roles
network-admin
Parameters
start-address end-address: Specifies the start IP address and end IP address of a private IP address
member. The end IP address cannot be smaller than the start IP address. If the start and end IP addresses
are the same, you specifies only one private IP address.
vpn-instance vpn-instance-name: Specifies the VPN to which the private IP address member belongs. The
vpn-instance-name argument represents the name of the MPLS L3VPN, a case-sensitive string of 1 to 31
characters. Do not specify this parameter if the private IP address member does not belong to any VPN.
Usage guidelines
You can add multiple private IP address members to a port block group, but they cannot overlap.
Private IP address members in different port block groups can overlap.
For static NAT444 mappings in one port block group, the number of private IP addresses cannot be
larger than the number of assignable port blocks. Otherwise, some private IP addresses cannot obtain
port blocks.