< Home

hwtacacs-server source-ip

Function

The hwtacacs-server source-ip command specifies the source IPv4 address used by a device to communicate with an HWTACACS server.

The undo hwtacacs-server source-ip command cancels the configuration.

By default, the device uses the IPv4 address of the actual outbound interface as the source IPv4 address encapsulated in HWTACACS packets.

Format

hwtacacs-server source-ip ip-address

hwtacacs-server source-ip source-loopback interface-number

undo hwtacacs-server source-ip

Parameters

Parameter Description Value

ip-address

Specifies the source IPv4 address for communication between the device and HWTACACS server.

The value is a valid unicast address in dotted decimal notation.

source-loopback interface-number

Specifies the IPv4 address of the loopback interface as the source IPv4 address for communication between the device and HWTACACS server.

The loopback interface must already exist.

Views

HWTACACS server template view

Default Level

3: Management level

Usage Guidelines

You can configure all HWTACACS packets sent by the device to use the same source IPv4 address. In this way, an HWTACACS server uses only one IPv4 address to communicate with the device.

If you run this command multiple times, only the latest configuration takes effect.

Example

# Specify the source IPv4 address 10.1.1.1 for communication between the device and HWTACACS server.

<sysname> system-view
[sysname] hwtacacs-server template test1
[sysname-hwtacacs-test1] hwtacacs-server source-ip 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >