Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 38 of 81

WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 333 to 342

Pages 333 to 342 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 333

CLI Command Reference

8-101

Table 8.12 Configurable Attributes Using the set Command Config Parameter

Description

Usage basedn

Assign Base DN.

set basedn <param_value> binddn

Assign Bind DN.

set binddn <param_value>

Example WS5000.(Cfg).AAA.LDAP> set ip 1.1.1.1 Configuring LDAP Server...Success. LDAP information LDAP Server IP 1.1.1.1 LDAP Server Port 389 LDAP Bind DN cn=Manager,o=symbol,c=India LDAP Base DN o=symbol,c=India LDAP Password Attribute userPassword LDAP Login Attribute (uid=%{Stripped-User-Name:-%{User-Name} }) LDAP Group Membership Filter (|(&(objectClass=GroupOfNames)(member=% {Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn}))) LDAP Password LDAP Group Name Attribute LDAP Group Membership Attribute secret cn radiusGroupName

Warning: Please commit these changes using Save command in AAA context.

8.9.2 show

LDAP Context To display LDAP information, use the show ldap command. Syntax show or show ldap Parameters ldap

Displays LDAP information.

Example WS5000.(Cfg).AAA.LDAP> show ldap LDAP information LDAP Server IP LDAP Server Port LDAP Bind DN LDAP Base DN LDAP Password Attribute LDAP Login Attribute }) LDAP Group Membership Filter

157.235.205.4 389 cn=Manager,o=symbol,c=India o=symbol,c=India userPassword (uid=%{Stripped-User-Name:-%{User-Name} (|(&(objectClass=GroupOfNames)(member=%

Page 334

8-102

WS 5000 Series System Reference

{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn}))) LDAP Password LDAP Group Name Attribute LDAP Group Membership Attribute secret cn radiusGroupName

Page 335

CLI Command Reference

8.10 AAA Policy Context AAA Policy Context shows the AAA policy context commands. Table 8.13 AAA Policy 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 WLAN to a group clear

Clears the screen emergencymode

Enable or disable Emergency Mode remove

Remove a Policy for a group.

set set time of access policy to a Group show

Display current information on all policies information

8.10.1 add

Policy Context To add a new WLAN to a group, use the add command. Syntax add wlan <group> <wlan-name> Parameters group

Name of the group to which you add the WLAN wlan-name

Name of the WLAN for the group

Example WS5000.(Cfg).AAA.Policy> add wlan ws5k xyz Adding Access Policy... Status: Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.Policy>

8.10.2 remove

Policy Context To remove a policy from a group, use the remove command.

8-103

Page 336

8-104

WS 5000 Series System Reference

Syntax remove <group> <wlan> Parameters group

Name of the group to which you add the WLAN wlan

Name of the WLAN for the group

Example WS5000.(Cfg).AAA.Policy> remove ws5k NewWlan Configuring Policies.. Status : Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.Policy> show policies ws5k Policy information Available Policies for this group: WLAN Policies: 1. xyz. Days Policy: Sa-Su-Mo StartTime Policy: 1000 EndTime Policy: 2200

8.10.3 set

Policy Context To set new time restrictions to a group, use the set command. Syntax set days <group> <attribute> set time <group> <starttime> <endtime> Parameters group

Name of the group.

attribute

Day attribute for the group.

starttime

Start time for the group.

endtime

End time for the group.

Choose days restrictions as follows: For All Days, specify all For weekdays, specify weekdays For specific days, type the days separated by space eg : For Mo, Tu, Fr -- Type Mo<space>Tu<space>Fr Use the following Codes Mo Monday Tu Tuesday We Wednesday

Page 337

CLI Command Reference

Th Fr Sa Su

Thursday Friday Saturday Sunday

Use the following time format : hhmm Example WS5000.(Cfg).AAA.Policy> set days ws5k Sa Su Mo Adding Access Policy... Status: Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.Policy> set time ws5k 1000 2200 Adding Access Policy... Status: Success. Warning: Please commit these changes using Save command in AAA context.

8.10.4 show

Policy Context To view access policies attached to a group, use the show command. Syntax show policies [groupname] Parameters groupname

Name of the group to which you add the WLAN

Example WS5000.(Cfg).AAA.Policy> show policies ws5k Policy information Available Policies for this group: WLAN Policies: 1. NewWlan. 2. xyz. Days Policy: Sa-Su-Mo StartTime Policy: 1000 EndTime Policy: 2200

8-105

Page 338

8-106

WS 5000 Series System Reference

8.11 AAA Proxy Context Table 8.11 shows the AAA proxy context commands. Table 8.14 AAA Proxy 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 Radius Proxy clear

Clears the screen emergencymode

Enable or disable Emergency Mode remove

Remove a Proxy Server set

Configure the Proxy Server.

show

Display current Proxy settings.

8.11.1 add

Proxy Context Use add to add a new Proxy. Syntax add <proxy_name> <suffix> <ip_address> <port> <secret> Parameters proxy_name

The name of the new proxy being added.

suffix

Suffix auth-server_ip

AuthIP port

Port secret

Secret code to access the proxy.

Example WS5000.(Cfg).AAA.Proxy> add NewProxy symbol.com 1.1.1.1 1812 secret Adding Proxy... Status: Success. Proxy information Available Proxy Servers: 1. NewProxy. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.Proxy>

Page 339

CLI Command Reference

8.11.2 remove

Proxy Context Use remove to remove a Proxy from the system. Syntax remove <proxyname> [CR] Parameters proxy_name

The name of the new proxy being removed.

Example WS5000.(Cfg).AAA.Proxy> remove NewProxy Removing Proxy... Status: Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.Proxy>

8.11.3 set

Proxy Context Use set to set Proxy configurations. Syntax set retry-delay <retry delay:5-10> set retry-count <retry count:3-6> Parameters retry_delay

The delay period you set for the proxy to attempt a retry.

retry_count

To count the number of retries attempted.

Example WS5000.(Cfg).AAA.Proxy> set retry-delay 6 Configuring AAA Proxy server... Status : Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.Proxy> set retry-count 3 Configuring AAA Proxy server... Status : Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.Proxy>

8-107

Page 340

8-108

WS 5000 Series System Reference

8.11.4 show

Proxy Context Use d to display the current Proxy settings. Syntax show show proxy show config-proxy Parameters proxy

Display Proxy or details of a specific Proxy config-proxy

Display details of Proxy

Example WS5000.(Cfg).AAA.Proxy> show config-proxy Proxy information ----------------Retry Count Retry Delay

3 6 (seconds)

WS5000.(Cfg).AAA.Proxy> show proxy NewProxy Proxy information Proxy Suffix Proxy Auth Server IP Proxy Secret Proxy Port symbol.com 1.1.1.1 secret 1812

Page 341

CLI Command Reference

8-109

8.12 AAA User Database Context Table 8.15 shows the AAA user database context commands. Table 8.15 AAA User Database 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 clear

Clears the screen emergencymode

Enable or disable Emergency Mode group

Configure Groups.

user

Configure Users.

8.12.1 group

User Database - Group Context This is a sub-context of userdb context. Use group to configure Group parameters.You can add and remove Groups, using the group command. Use AAA.userdb.Group context to • add a new group to the system

• add a user to group

• remove a RADIUS group from the system

• remove a user from group

Syntax group [CR] Parameters

None Example WS5000.(Cfg).AAA.userdb.Group> add newGroup1 Adding RADIUS Group... Warning: Please commit these changes using Save command in AAA context. Status: Success. Group information Available Groups: 1. newGroup1. Group information Available Policies for this group:

Page 342

8-110

WS 5000 Series System Reference

WLAN Policies: StartTime Policy EndTime Policy Days Policy

: : :

0000 2359 Any

WS5000.(Cfg).AAA.userdb.Group.[newGroup1]>

Note You need to enter into the Group sub-context level to add/remove a User/ Group.

8.12.2 user

User Database - User Context This is a sub-context of userdb context.To add and remove users, use the user command.Use AAA.userdb.Group context to •

Add a new user to the system

•

Add a User to Group.

•

Remove a RADIUS User from the system

•

Remove a User from Group

•

Configure the Userdb

Syntax user [CR] Parameters

None Example WS5000.(Cfg).AAA.userdb.User> add newUser1 Enter User Password : ****** Re-Enter User Password : ****** Adding RADIUS User... Status: Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.userdb.User>

Note You need to enter into the Group sub-context level to add/remove a User/ Group.