radius local-ip

Function

The radius local-ip command creates UDP sockets with the local port numbers 1645, 1646, and 3799 and with a specified or any local IP address.

The undo radius local-ip command deletes UDP sockets with the local port numbers 1645, 1646, and 3799 and with a specified or any local IP address.

By default, UDP sockets with the local port numbers 1645, 1646, and 3799 and with any local IP addresses are not created.

This command is supported only on the NetEngine 8000 F1A.

Format

radius local-ip all

radius local-ip ip-addr [ vpn-name ]

undo radius local-ip all

undo radius local-ip ip-addr [ vpn-name ]

Parameters

Parameter Description Value
ip-addr

Specifies a local IP address.

The value is in dotted decimal notation.

vpn-name

Specifies a local VPN instance.

The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces.

all

Indicates any local IP address.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-radius write

Usage Guidelines

Usage Scenario

For security purposes, if a socket is used to receive packets, the local and remote IP addresses of the socket must not be any. To meet this requirement, run the radius local-ip [<vpn-name>] command to set a local IP address and local VPN instance name for the UDP sockets with the local port numbers 1645, 1646, and 3799.

Precautions

A maximum of five radius local-ip <ip-addr> [ <vpn-name> ] command configurations are supported on a device.

The radius local-ip all and radius local-ip <ip-addr> [ <vpn-name> ] commands are not mutually exclusive, so that they can be both run on the same device.

The radius local-ip all and radius local-ip <ip-addr> [ <vpn-name> ] configurations take effect only for the UDP ports 1645, 1646, and 3799.

For security purposes, setting the all parameter is not recommended.

Example

# Delete the UDP sockets with the local port numbers 1645, 1646, and 3799 and with any local IP addresses.
<HUAWEI> system-view
[~HUAWEI] undo radius local-ip 192.168.92.148 huawei
Warning: This operation may cause the RADIUS authorization server and RADIUS proxy to be unavailable.
# Create UDP sockets with the local port numbers 1645, 1646, and 3799 and with the specified local IP address and VPN instance name.
<HUAWEI> system-view
[~HUAWEI] radius local-ip 192.168.92.148 huawei
# Delete the UDP sockets with the local port numbers 1645, 1646, and 3799 and with the specified local IP address and VPN instance name.
<HUAWEI> system-view
[~HUAWEI] undo radius local-ip all
Warning: This operation may cause the RADIUS authorization server and RADIUS proxy to be unavailable.
# Create UDP sockets with the local port numbers 1645, 1646, and 3799 and with any local IP addresses.
<HUAWEI> system-view
[~HUAWEI] radius local-ip all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >