Switch 7700 Command reference Guide, v2.0

Table Of Contents
AAA Configuration Commands 361
attribute Syntax
attribute { ip ip-address | mac mac-address | idle-cut second |
access-limit max-user-number | vlan vlanid | location [ nas-ip
ip-address ] port portnum }
undo attribute {ip | mac | idle-cut | access-limit | vlan |location }
View
Local user view
Parameter
idle-cut second: Allows/Disallows the local users to enable the idle-cut
function. (The specific data for this function depends on the configuration of the
ISP domain where the users locate.) The argument
minute defines the idle-cut
time, which is in the range of 60 to 7200 seconds.
access-limit max-user-number: Defines the maximum number of users that
the current ISP domain can accommodate. The argument
max-user-number is in
the range of 1 to 4096.
ip: Specifies the IP address of a user.
mac mac-address: Specifies the MAC address of a user. Where, mac-address
takes on the hexadecimal format of X-X-X.
vlan vlanid: Sets the VLAN attribute of user, in other words, the VLAN to which
a user belong. The argument
vlanid is an integer in the range of 1 to 4094.
location: Sets the port binding attribute of user.
nas-ip ip-address: The IP address of the access server in the event of binding a
remote port with a user. The argument
ip-address is an IP address in dotted
decimal format and defaults to 127.0.0.1.
port portnum: Sets the port with which a user is bound. The argument portnum
is represented by “SlotNumber SubSlotNumber PortNumber”. If any of these three
items is absent, the value 0 will be used to replace it.
Description
Use the attribute command to configure some attributes for specified local
user.
Use the undo attribute command to cancel the attributes that have been
defined for this local user.
It should be noted that the argument nas-ip must be defined for a user bound
with a remote port, which is unnecessary, however, in the event of a user bound
with a local port.
Related command: display local-user.
Example
Configure the IP address 10.110.50.1 to the user JohnQ.
[SW7700-user-JohnQ]ip 10.110.50.1