81
Use undo hwtacacs nas-ip to delete a source IP address for outgoing HWTACACS packets.
Syntax
hwtacacs nas-ip { ipv4-address | ipv6 ipv6-address } [ vpn-instance vpn-instance-name ]
undo hwtacacs nas-ip { ipv4-address | ipv6 ipv6-address } [ vpn-instance vpn-instance-name ]
Default
The source IP address of a packet sent to the server is the IP address of the outbound interface.
Views
System view
Predefined user roles
network-admin
Parameters
ipv4-address: Specifies an IPv4 address, which must be an address of the device. The IP address cannot
be 0.0.0.0, 255.255.255.255, a class D address, a class E address, or a loopback address.
ipv6 ipv6-address: Specifies an IPv6 address, which must be a unicast address of the device. The IP
address cannot be a loopback address or a link-local address.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the source IP address belongs,
where vpn-instance-name is a case-sensitive string of 1 to 31 characters. To configure a public-network
source IPv4 address, do not specify this option.
Usage guidelines
The source IP address of HWTACACS packets that a NAS sends must match the IP address of the NAS
that is configured on the HWTACACS server. An HWTACACS server identifies a NAS by IP address.
Upon receiving an HWTACACS packet, an HWTACACS server checks whether the source IP address of
the packet is the IP address of a managed NAS.
• 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.
You can specify up to 16 source IP addresses, including the following:
• Zero or one public-network source IPv4 address.
• Zero or one public-network source IPv6 address.
• Private-network source IP addresses.
A newly specified public-network source IP address overwrites the previous one. Each VPN can have at
most one private-network source IPv4 address and one private-network source IPv6 address.
When you use both the nas-ip command and hwtacacs nas-ip command, the following guidelines
apply:
• The setting configured by using the nas-ip command in HWTACACS scheme view is only for the
HWTACACS scheme.
• The setting configured by using the hwtacacs nas-ip command in system view is for all HWTACACS
schemes.
• The setting in HWTACACS scheme view takes precedence over the setting in system view.