3-7
Default Level
2: System level
Parameters
ip-address
: IP address in dotted decimal notation. It must be an address of the device and cannot be
all 0s address, all 1s address, a class D address, a class E address or a loopback address.
Description
Use the
nas-ip
command to set the IP address for the device to use as the source address of the
HWTACACS packets to be sent to the server.
Use the
undo nas-ip
command to remove the configuration.
By default, the source IP address of a packet sent to the server is the IP address of the outbound port.
Note that:
z
Specifying a source address for the HWTACACS packets to be sent to the server can avoid the
situation where the packets sent back by the HWTACACS server cannot reach the device as the
result of a physical interface failure.
z
If you configure the command for more than one time, the last configuration takes effect.
z
The
nas-ip
command in HWTACACS scheme view is only for the current HWTACACS scheme,
while the
hwtacacs nas-ip
command in system view is for all HWTACACS schemes. However,
the
nas-ip
command in HWTACACS scheme view overwrites the configuration of the
hwtacacs
nas-ip
command.
Related commands:
hwtacacs nas-ip
.
Examples
# Set the IP address for the device to use as the source address of the HWTACACS packets to
10.1.1.1.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] nas-ip 10.1.1.1
primary accounting (HWTACACS scheme view)
Syntax
primary accounting
ip-address
[
port-number
]
undo primary accounting
View
HWTACACS scheme view
Default Level
2: System level
Parameters
ip-address
: IP address of the server, a valid unicast address in dotted decimal notation. The default is
0.0.0.0.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...