< Home

hwtacacs-server source-ipv6

Function

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

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

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

Format

hwtacacs-server source-ipv6 ipv6-address

hwtacacs-server source-ipv6 source-loopback interface-number

hwtacacs-server source-ipv6 source-vlanif interface-number

undo hwtacacs-server source-ipv6

Parameters

Parameter

Description

Value

ipv6-address

Specifies the source IPv6 address for communicating with the HWTACACS server.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

source-loopback interface-number

Specifies the IPv6 address of the loopback interface as the source IPv6 address for communicating with the HWTACACS server.

The loopback interface must already exist.

source-vlanif interface-number

Specifies the IPv6 address of the VLANIF interface as the source IPv6 address for communicating with the HWTACACS server.

The VLANIF interface must already exist.

Views

HWTACACS server template view

Default Level

3: Management level

Usage Guidelines

After you specify the source IPv6 address in HWTACACS packets, the device uses this IPv6 address to communicate with the HWTACACS server.

If an interface connecting the device to a server has multiple IP addresses configured and can communicate with the server only through some of these IP addresses, one IP address among these reachable IP addresses needs to be specified as the source IP address based on the routing table to ensure that the device can communicate with the server.

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

Example

# Specify the source IPv6 address fc00::1 in HWTACACS packets.

<HUAWEI> system-view
[HUAWEI] hwtacacs-server template test1
[HUAWEI-hwtacacs-test1] hwtacacs-server source-ipv6 fc00::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >