beautypg.com

Setting hwtacacs timers – H3C Technologies H3C S6300 Series Switches User Manual

Page 51

background image

36

If the source IP address of the packet is the IP address of a managed NAS, the server processes the

packet.

If the source IP address of the packet is not the IP address of a managed NAS, the server drops the
packet.

To communicate with the HWTACACS server, the source address of outgoing HWTACACS packets is

typically the IP address of an egress interface on the NAS. However, in some situations, you must change

the source IP address.
You can specify the source IP address for outgoing HWTACACS packets in HWTACACS scheme view or

in system view.

The IP address specified in HWTACACS scheme view applies to one HWTACACS scheme.

The IP address specified in system view applies to all HWTACACS schemes.

Before sending an HWTACACS packet, the NAS selects a source IP address in the following order:

1.

The source IP address specified for the HWTACACS scheme.

2.

The source IP address specified in system view.

3.

The IP address of the outbound interface specified by the route.

To specify a source IP address for all HWTACACS schemes:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify a source IP address
for outgoing HWTACACS

packets.

hwtacacs nas-ip { ipv4-address |
ipv6 ipv6-address }

By default, the IP address of the
HWTACACS packet outbound

interface is used as the source IP

address.

To specify a source IP address for an HWTACACS scheme:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter HWTACACS scheme
view.

hwtacacs scheme
hwtacacs-scheme-name

N/A

3.

Specify the source IP address
of outgoing HWTACACS

packets.

nas-ip { ipv4-address | ipv6
ipv6-address }

By default, the source IP address
specified by the hwtacacs nas-ip
command in system view is used. If

the source IP address is not

specified, the IP address of the
outbound interface is used.

Setting HWTACACS timers

The device uses the following timers to control communication with an HWTACACS server:

Server response timeout timer (response-timeout)—Defines the HWTACACS server response
timeout timer. The device starts this timer immediately after an HWTACACS authentication,

authorization, or accounting request is sent. If the device does not receive a response from the
server within the timer, it sets the server to blocked. Then, the device sends the request to another

HWTACACS server.