40
To set the username format and traffic statistics units 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.
Set the format of usernames
sent to the HWTACACS
servers.
user-name-format
{
keep-original
|
with-domain
|
without-domain
}
By default, the ISP domain name
is included in a username.
4.
(Optional.) Set the data flow
and packet measurement
units for traffic statistics.
data-flow-format
{
data
{
byte
|
giga-byte
|
kilo-byte
|
mega-byte
}
|
packet
{
giga-packet
|
kilo-packet
|
mega-packet
|
one-packet
} }
*
By default, traffic is counted in
bytes and packets.
Specifying the source IP address for outgoing HWTACACS packets
The source IP address of HWTACACS packets that a NAS sends must match the IP address of the
NAS configured on the HWTACACS server. An HWTACACS server identifies a NAS by IP address.
When the HWTACACS server receives a packet, it checks whether the source IP address of the
packet is the IP address of a managed NAS.
•
If it is the IP address of a managed NAS, the server processes the packet.
•
If it 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. For example, when VRRP is configured for stateful failover, configure
the virtual IP of the uplink VRRP group as the source 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 whose servers are
in a VPN or the public network.
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 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 primary 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
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...