The text of a manual · part 39 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 343 to 352
Pages 343 to 352 of 728, from WS5000 Series Switch System Reference Guide
The original document is the PDF (12 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol WS-5000
Page 343
CLI Command Reference
8-111
8.13 AAA User Database - Group Context The AAA user database group context contains commands to add, remove, and configure Radius user groups. This section describes the commands in the AAA user database group context. Table 8.16 AAA User Database -Group Context Commands Commands
Description
.. or end
Go back to the previous context.
exit
Go back to root context.
? or help
To get the command information logout or bye
Close this session add
Add a new group to the system adduser
Add a User to Group.
clear
Clears the screen emergencymode
Enable or disable Emergency Mode group
Select a Group to configure.
remove
Remove a RADIUS Group from the system remuser
Remove a User from Group show
Display current User Database settings.
8.13.1 add
User Database - Group Context Use add to add a new group to the system. Syntax add <group_name> Parameters group_name
Name of the Group.
Example WS5000.(Cfg).AAA.userdb.Group> add newgroup Adding RADIUS Group... Warning: Please commit these changes using Save command in AAA context. Status: Success. Group information Available Groups: 1. ws5k.
Page 344
8-112
WS 5000 Series System Reference
2. newgroup. Group information Available Policies for this group: WLAN Policies: StartTime Policy EndTime Policy Days Policy
: : :
0000 2359 Any
WS5000.(Cfg).AAA.userdb.Group.[newgroup]>
8.13.2 adduser
User Database - Group Context Use adduser to add a user to a group. Syntax adduser
<user> <group>
Parameters user
Adds a new user to the group group
The group name to which you want to add the new User.
Example WS5000.(Cfg).AAA.userdb.User> adduser new ws5k Configuring Userdb... Status : Success. Warning: Please commit these changes using Save command in AAA context.
8.13.3 group
User Database - Group Context Use group to select group to configure. Syntax group <group_name> Parameters group name
Displays the name of the group that you want to configure.
Example WS5000.(Cfg).AAA.userdb.Group> group ws5k Group information Available Policies for this group: WLAN Policies:
Page 345
CLI Command Reference
1. xyz. StartTime Policy EndTime Policy Days Policy
: : :
1000 2200 Sa-Su-Mo
WS5000.(Cfg).AAA.userdb.Group.[ws5k]>
8.13.4 remove
User Database - Group Context Use remove to remove a RADIUS group from the system. Syntax remove <group_name> [CR] Parameters group name
The RADIUS group that you want to remove from the system.
Example WS5000.(Cfg).AAA.userdb.Group> remove newgroup Removing Group... Status: Success. Group information Available Groups: 1. ws5k. Warning: Please commit these changes using Save command in AAA context.
8.13.5 remuser Use remuser to remove a user from a group Syntax remuser
<user> <group>
Parameters User user name that you want to remove from the group.
Group group name to which the user is associated.
Example WS5000.(Cfg).AAA.userdb.User> remuser abc ws5k Configuring Userdb... Status : Success. Warning: Please commit these changes using Save command in AAA context.
8-113
Page 346
8-114
WS 5000 Series System Reference
8.14 AAA User Database - User Context The AAA user database user context contains commands to add or remove a new user, add ore remove a new group and to configure the user database. Table 8.17 shows the AAA user database Table 8.17 AAA User Database User Context Commands Commands
Description
.. or end
Go back to the previous context.
exit
Go back to root context.
? or help
To get the command information logout or bye
Close this session add
Add a new user to the system adduser
Add a user to group.
clear
Clear the screen emergencymode
Enable or disable emergency mode remove
Remove a Radius user from the system remuser
Remove a user from group set
Configure the user database show
Display the user database
8.14.1 add
User Database - User Context Use add to add a new User to the system. Syntax add <user_name> Parameters user_name
Name of the User.
Example WS5000.(Cfg).AAA.userdb.User> add new Enter User Password : ****** Re-Enter User Password : ****** Adding RADIUS User... Status: Success. Warning: Please commit these changes using Save command in AAA context.
Page 347
CLI Command Reference
8.14.2 adduser
User Database - User Context Use adduser to add a user to a group Syntax adduser
<user> <group>
Parameters user
Adds a new user to the group group
The group name to which you want to add the new User.
Example WS5000.(Cfg).AAA.userdb.User> adduser new ws5k Configuring Userdb... Status : Success. Warning: Please commit these changes using Save command in AAA context.
8.14.3 remove
User Database - User Context Use remove to remove a RADIUS User from the system. Syntax remove <user_name> [CR] Parameters user_name
Removes the RADIUS user from the system
Example WS5000.(Cfg).AAA.userdb.User> remove new Removing User... Status: Success. Warning: Please commit these changes using Save command in AAA context.
8.14.4 remuser
User Database - User Context Use remuser to remove a user from a group Syntax remuser <user> <group>
8-115
Page 348
8-116
WS 5000 Series System Reference
Parameters user removes the user from the group.
group
The group name from which you want to remove the user.
Example WS5000.(Cfg).AAA.userdb.User> remuser abc ws5k Configuring Userdb... Status : Success. Warning: Please commit these changes using Save command in AAA context.
8.14.5 set
User Database - User Context Use set to set password for an existing user. Syntax set passwd
<username> [CR]
Parameters username
The user for which you intend to add a password.
Example WS5000.(Cfg).AAA.userdb.User> set passwd abc Enter New Password : ****** Re-Enter New Password : ****** Configuring Userdb... Status : Success. Warning: Please commit these changes using Save command in AAA context.
8.14.6 show
User Database - User Context Use show to display user database information. Syntax show users show groups <userid> Parameters users
Display user database information.
userid
Displays the group to which the user is associated.
Example WS5000.(Cfg).AAA.userdb.User> show users
Page 349
CLI Command Reference
Available Users: 1.abc. WS5000.(Cfg).AAA.userdb.User> show groups abc Available Groups for the User: 1.ws5k.
8-117
Page 350
8-118
WS 5000 Series System Reference
8.15 Access Port (APort) Context The Access Port context lets you name the RF devices (the radios in the Access Ports and converted Access Points) that exist on your WLAN. You can create Access Port instances by hand through the add command, or enable them to be created as Access Ports are discovered and adopted by the switch. Note For brevity, converted Access Points are referred to as “Access Ports” throughout this documentation. Table 8.18 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.18 Access Port (APort) Context Command Summary Command
Description
Ref.
.. or end
Terminate a current session and moves up a context, hierarchically.
page 8-7 exit
Terminate a current session and returns to the “root” prompt.
page 8-7
? or help
Get the command information.
page 8-7 logout or bye
Close this session.
page 8-8 clear
Clear the screen.
page 8-8 emergencymode
Enable or disable Emergency mode.
page 8-8 history
Display command history within a context or instance page 8-9 add
Creates a new Access Port instance, AP type specific.
page 8-118 port
Changes the context to the named Access Port instance, while displaying the Access Port’s details.
page 8-119 remove
Removes the named Access Port.
page 8-120 show
Shows the Access Port configuration values.
page 8-121
8.15.1 add
Port (APort) Context Creates a new Access Port instance (or two, for dual-radio APs). The first argument is the AP type. The rest of the arguments depend on the AP type. Syntax add AP100 <MAC> <name> [location] add AP200 <MAC> <a_name> <a_MAC> [b_name] add AP300 <MAC> <g_name> <g_MAC> [a_name] add AP3020-3021 <MAC> <name> [location] add AP4121 <MAC> <name> [location]
[b_MAC] [location] [a_MAC] [location]
Parameters
MAC
The Access Port’s (unique) MAC address.
Page 351
CLI Command Reference
8-119 a_MAC, b_MAC, g_MAC
For dual-radio APs, you must supply the MAC of (at least) the AP’s “first” radio. The MAC of the second radio is optional. The a_name, b_name, and g_name arguments refer to the 802.11x radio types.
name, a_name, b_name, g_name
Unique names that you give to the Access Port and/or its radios. The a_name, b_name, and g_name arguments refer to the 802.11x radio types. For single-radio APs, you only need to supply one name. For dual-radio APs, the name for the second radio is optional.
location
Optional, arbitrary string that identifies the Access Port’s location.
Example WS5000.(Cfg).APort> add AP100 00:10:5b:63:36:81 a_name BC Adding a new Access Port device... Status: Success. Access Ports -----------a_name
Radio MAC --------00:10:5B:63:36:81
Device MAC Type ------------00:10:5B:63:36:81 B
Access Port details... Name Device type Radio MAC Address Device MAC Address Port Type Description Status Tx Channel Current Tx Channel Policy Attached Tx Power Current Tx Power Location NIC Connected VLAN id VLAN Tags seen CCA Mode CCA Threshold Diversity No. of MUs associated Up Time Statistics gathering Tx Packets/second Antenna Indoor/Outdoor Antenna Correction MU Power Adjustment All Channels Valid Power Range
: a_name : AP100 : 00:10:5B:63:36:81 : 00:10:5B:63:36:81 : B : : Unavailable : Auto (once) : 0 : Default Access Port Policy : 20 dBm : 0 dBm : BC : None : None : None : 1 : 1 : Full : 0 : 0d:0h:0m : Enable : 0 : unknown : in : 0 : 0 : : 4-20
Status -----Unavailable
WS5000.(Cfg).APort.[a_name]>
8.15.2 port
Port (APort) Context Changes the context to the named Access Port instance, while displaying the Access Port’s details.
Page 352
8-120
WS 5000 Series System Reference
Note The system never needs to automatically assign a name to an 802.11g or a frequency-hopping (FH) radio since you’re compelled to supply names for these radios when you add their Access Port instances. Syntax port <APort_name> Parameters
APort_name
Selects the Access Port instance by name. Until you give an Access Port a name, it’s known by the space-separated concatenation of its device MAC address and its 802.11 type (A or B), all enclosed in quotes: "xx:xx:xx:xx:xx:xx [A | B]" For example: "00:A0:B0:C0:D0:E0 [A]"
Example WS5000.(Cfg).APort> port a_name Access Port details... Name Device type Radio MAC Address Device MAC Address Port Type Description Status Tx Channel Current Tx Channel Policy Attached Tx Power Current Tx Power Location NIC Connected VLAN id VLAN Tags seen CCA Mode CCA Threshold Diversity No. of MUs associated Up Time Statistics gathering Tx Packets/second Antenna Indoor/Outdoor Antenna Correction MU Power Adjustment All Channels Valid Power Range
: a_name : AP100 : 00:09:5B:63:33:81 : 00:09:5B:63:33:81 : B : : Unavailable : Auto (once) : 0 : Default Access Port Policy : 20 dBm : 0 dBm : BC : None : None : None : 1 : 1 : Full : 0 : 0d:0h:0m : Enable : 0 : unknown : in : 0 : 0 : : 4-20
WS5000.(Cfg).APort.[a_name]>
8.15.3 remove
Port (APort) Context Removes the named Access Port. For a list of Access Port names, invoke the show command.