H3C Technologies H3C S12500-X Series Switches User Manual

Page 48

Advertising
background image

36

1.

The source IP address specified for the HWTACACS scheme.

2.

The source IP address specified in system view for the VPN or public network, depending on where
the HWTACACS server resides.

3.

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

To specify a source IP address for all HWTACACS schemes of a VPN or the public network:

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 } [ vpn-instance

vpn-instance-name ]

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 a specific 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.

379B

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 after the timer expires, it sets the server to the blocked state and resends the request to
another HWTACACS server.

Real-time accounting timer (realtime-accounting)—Defines the interval for the device to send
real-time accounting updates to the HWTACACS accounting server for online users. To implement

real-time accounting, the device must periodically send real-time accounting packets for online

users to the accounting server.

Server quiet timer (quiet)—Defines the duration to keep an unreachable server in blocked state. If
a server is not reachable, the device changes the server's status to blocked, starts this timer for the
server, and tries to communicate with another server in active state. After the server quiet timer

expires, the device changes the status of the server back to active.

The status of HWTACACS servers controls the HWTACACS servers with which the device communicates

when the current servers are no longer available. You can specify one primary HWTACACS server and

multiple secondary HWTACACS servers, with the secondary servers functioning as the backup of the
primary servers. Typically, the device chooses servers based on the following rules:

When the primary server is in active state, the device communicates with the primary server.

Advertising