85
Examples
# Set the traffic statistics unit for data flows and that for packets to kilobytes and kilo-packets,
respectively, in HWTACACS scheme
hwt1
.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] data-flow-format data kilo-byte packet kilo-packet
Related commands
display hwtacacs
display hwtacacs
Use
display hwtacacs
to display the configuration of HWTACACS schemes or the statistics for the
HWTACACS servers specified in HWTACACS schemes.
Syntax
In standalone mode:
display hwtacacs
[
hwtacacs-scheme-name
[
statistics
] ]
[
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
In IRF mode:
display hwtacacs
[
hwtacacs-scheme-name
[
statistics
] ]
[
chassis
chassis-number
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
hwtacacs-scheme-name
: HWTACACS scheme name. If you do not specify an HWTACACS scheme,
this command displays the configuration of all HWTACACS schemes.
statistics
: Displays the statistics for the HWTACACS servers specified in the HWTACACS scheme.
Without this keyword, the command displays the configuration of the HWTACACS scheme.
slot
slot-number
: Specifies a card by its slot number. The
slot-number
argument represents the slot
number of the card. If you do not specify a card, this command displays the HWTACACS scheme
configuration on MPUs. (In standalone mode.)
chassis
chassis-number
slot
slot-number
: Specifies a card on an IRF member device. The
chassis-number
argument represents the member ID of the IRF member device, and the
slot-number
argument represents the slot number of the card. If you do not specify this option, the
command displays the HWTACACS scheme configuration on all member devices. (In IRF mode.)
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the configuration of HWTACACS scheme
gy
.