R2511-HP MSR Router Series Terminal Access Command Reference(V5)

27
Use undo rta source-ip to cancel the source IP address configured.
Syntax
rta source-ip ip-address
undo rta source-ip
Default
No source IP address is configured globally for TCP connections.
Views
System view
Default command level
2: System level
Parameters
ip-address: Sets the source IP address for TCP connections. It cannot be a loopback address, such as
127.0.0.1.
Usage guidelines
You can use this command to configure an IP address other than the outbound interface’s IP address as
the TCP connection source IP address. Generally, the loopback interface or dialer interface of the router
is used as the TCP connection source IP address for dial-up backup and address hiding.
If a source IP address is also configured in a terminal template, this address is preferred as the source IP
address for the corresponding terminal to establish TCP connections.
After the global TCP connection source IP address is configured, a TCP connection must be re-established
for this address to take effect.
Examples
# Set the global TCP connection source IP address to 1.1.1.1.
<Sysname> system-view
[Sysname] rta source-ip 1.1.1.1
rta template
Use rta template to create a terminal template and enter terminal template view. If you specify an existing
terminal template, you will enter the corresponding terminal template view.
Use undo rta template to delete a terminal template.
Syntax
rta template template-name
undo rta template template-name
Views
System view
Default command level
2: System level
Parameters
template-name: Specifies a name for the terminal template, a string of 1 to 15 characters.