Add IP Route(ADD IPRT)

Function

A configuration command that adds an IP route.

Note

1. This command applies to only the GFGUA/GOGUA/GFGUB/GOGUB/GFGUG.

2. The gateway address and the IP address of an FE/GE port of the subrack must be on the same network segment.

3. The port IP address and the destination IP address in the BSC route cannot be on the same network segment. If they are on the same network segment, the destination IP address is invalid.

Parameters

ID Name Description
SRN Subrack No.

Meaning:Subrack No.

Value range:0~11

Explanation: This parameter specifies the subrack number of an IP-based interface board.

Default value:None

SN Slot No.

Meaning:Slot No.

Value range:0~27

Explanation: This parameter specifies the slot number of an IP-based interface board.

Default value:None

IPADDR IP address

Meaning:IP address

Value range:0.0.0.0-255.255.255.255

Explanation: This parameter specifies the destination IP address of the route. This IP address is the network segment IP address. This destination IP address AND the NON of the subnet mask must be 0.

Default value:None

MASK Subnet mask

Meaning:Subnet mask

Value range:0.0.0.0-255.255.255.255

Explanation: This parameter specifies the destination IP address mask of a route.

Default value:None

GATEWAY Gateway IP address

Meaning:Gateway IP address

Value range:0.0.0.0-255.255.255.255

Explanation: This parameter specifies the IP address of the next-hop route.

Default value:None

ROUTEPRI Route PRI

Meaning:Route PRI

Value range:1~255

Explanation: This parameter specifies the priority of a route.

Default value:1

Example

Add an IP route (Subrack No. = 0; Slot No. = 14; IP address = 35.35.35.0; Subnet mask = 255.255.255.0; Gateway IP address = 5.5.5.7):
ADD IPRT: SRN=0, SN=14, IPADDR="35.35.35.0", MASK="255.255.255.0", GATEWAY="5.5.5.7";
Related reference
Remove IP Route(RMV IPRT)
List IP Route(LST IPRT)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.