Attribute - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – AAA & RADIUS & HWTACACS & EAD
Quidway S3900 Series Ethernet Switches-Release 1510

1.1.2 attribute

Syntax
attribute { ip ip-address | mac mac-address | idle-cut second | access-limit
max-user-number | vlan vlan-id | location { nas-ip ip-address port port-number |
port port-number } }*
undo attribute { ip | mac | idle-cut | access-limit | vlan | location }*
View
Local user view
Parameter
ip ip-address: Sets the IP address of the user.
mac mac-address: Sets the MAC address of the user. Where, mac-address is in
H-H-H format.
idle-cut second: Allows the local user to enable the idle-cut function. Where, second
is the idle time before cutting down, which ranges from 60 seconds to 7200 seconds.
access-limit max-user-number: Sets the maximum number of users who can access
the switch with current user name. Where, max-user-number ranges from 1 to 1024.
vlan vlan-id: Sets the VLAN attribute of the user (that is, which VLAN the user belongs
to). Where, vlan-id is an integer ranging from 1 to 4094.
location: Sets the port binding attribute of the user.
nas-ip ip-address: Sets the IP address of the access server to which the user is
bound to. Where, ip-address is in dotted decimal notation and is 127.0.0.1
(representing this device) by default. If the user is bound to a remote port, you must
specify the nas-ip parameter. If the user is bound to a local port, you need not specify
the nas-ip parameter.
port port-number: Sets the port bound with the user. Where, port-number is in the
following format: device ID/slot number/port number; the device ID ranges from 1 to 8,
the slot number ranges from 0 to 15 (if the bound port has no slot number, just input 0
for this item) and the port number ranges from 1 to 255.
Description
Use the attribute command to set the attributes of a user whose service type is
lan-access.
Use the undo attribute command to cancel attribute settings of the user.
Related command: display local-user.
Example
# Set the IP address of user1 to 10.110.50.1.
Huawei Technologies Proprietary
1-2
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents