peer source port

Function

The peer source port command configures TCP connection parameters for an RBS.

The undo peer command deletes the TCP connection parameters configured for an RBS.

By default, no TCP connection parameters are configured for an RBS.

Format

peer peer-ip-address source source-ip-address port port-id

undo peer peer-ip-address

Parameters

Parameter Description Value
peer-ip-address

Specifies the IP address of the backup device.

The value is in dotted decimal notation.

source-ip-address

Specifies the IP address of the master device.

The value is in dotted decimal notation.

port-id

Specifies a TCP port number.

The value is an integer ranging from 1024 to 55535.

Views

Remote backup service view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
rbs write

Usage Guidelines

Usage Scenario

To enable a device to use a TCP connection to send user information on the master device to the backup device, run the peer source port command to configure TCP connection parameters for an RBS. The parameters include the IP addresses of the master and backup devices and the interface number for the TCP connection.

Prerequisites

An RBS has been created using the remote-backup-service command.

Precautions

The IP addresses of the master and backup devices must have been configured on their own interfaces, sub-interfaces, or logical interfaces (such as loopback interfaces) and can ping each other.

The interface numbers configured for a TCP connection must be the same on the master and backup devices.

Example

# Configure TCP connection parameters for the RBS named rbs, with the IP addresses of the master and backup devices respectively set to 10.1.1.2 and 10.1.1.1 and the interface number set to 2046.
<HUAWEI> system-view
[~HUAWEI] remote-backup-service rbs
[*HUAWEI-rm-backup-srv-rbs] peer 10.1.1.1 source 10.1.1.2 port 2046
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >