The text of a manual · part 37 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 323 to 332
Pages 323 to 332 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 323
CLI Command Reference
8-91
Parameters
None Example WS5000.(Cfg).AAA> ldap LDAP information LDAP Server IP 157.235.205.4 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
8.6.7 policy
Context To configure acceess policy for a group, use the policy command. Syntax policy Parameters
None Example WS5000.(Cfg).AAA> policy WS5000.(Cfg).AAA.Policy>
8.6.8 proxy
Context To configure proxies and proxy parameters, use the proxy command. Syntax proxy Parameters
None Example WS5000.(Cfg).AAA> proxy Proxy information Available Proxy Servers: 1.symbol. WS5000.(Cfg).AAA.Proxy>
Page 324
8-92
WS 5000 Series System Reference
8.6.9 save
Context To restart the AAA Server with the new configuration settings, use the save command. Syntax save [CR] Parameters
None Example WS5000.(Cfg).AAA> save Configuring AAA server... Status : Success. AAA database update status: ----------------------------AAA Server Status
Disabled
Database Type local
8.6.10 set
Context To configure the AAA Server database type, use the set command. Syntax set dbtype <value> Parameters value the value can be either ldap or local
Example WS5000.(Cfg).AAA> set dbtype ldap Configuring AAA server... Status : Success. AAA database update status: ----------------------------AAA Server Status
Disabled
Database Type ldap Warning: Please commit these changes using Save command in AAA context.
Page 325
CLI Command Reference
8-93
8.6.11 show
Context Table 8.8 lists the show commands. Table 8.8 Show Commands Command
Description show
Display context specific attributes show eap-config
Display EAP information show ldap
Display LDAP information show certs
Display Certificate information show clients
Display Clients or details of a specific Client show radius-acct
Display RADIUS Accounting Server information show proxy
Display Proxy or details of a specific Proxy show aaa-server
Display AAA information
8.6.12 userdb
Context To configure a user database for the AAA server, use the userdb command.This command leads you to userdb context. Refer to AAA User Database Context for more information on userdb. Syntax userdb Parameters
None Example
Refer to AAA User Database Context for more information on userdb.
Page 326
8-94
WS 5000 Series System Reference
8.7 AAA Client Context Table 8.9 shows the AAA client context commands. Table 8.9 AAA Client 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 Client.
clear
Clears the screen.
emergencymode
Enable or disable Emergency Mode.
remove
Remove the Radius client server.
show
Display the current list of clients.
8.7.1 add
Client Context To add a new client, use the add command. Syntax add <client_name> <ip_address> <netmask> <secret> Parameters client_name
Name of the new client added.
ip_address
IP address of the new client netmask
Subnet mask of the new client’s IP address.
secret
USed to encrypt packets between the RADIUS server (switch) and the RADIUS client.
Example WS5000.(Cfg).AAA.Client> add new 1.1.1.1 255.0.0.0 secret Adding Client... Status: Success. Client information Available Client Servers: 1. myclient. 2. new. Warning: Please commit these changes using Save command in AAA context.
Page 327
CLI Command Reference
8.7.2 remove
Client Context To remove a RADIUS client from the WS5000 Series Switch, use the remove command. Syntax remove <client_name> [CR] Parameters
Client_name
Name of AAA client
Example WS5000.(Cfg).AAA.Client> remove new Removing Client... Status: Success. Client information Available Client Servers: 1. myclient Warning: Please commit these changes using Save command in AAA context.
8.7.3 show
Client Context To display list of clients or attributes of a specific client, use the show command. Syntax show, Display context specific attributes show clients Parameters clients
Display Clients or details of a specific Client
Example WS5000.(Cfg).AAA.Client> show client Client information Available Client Servers: 1.switch. WS5000.(Cfg).AAA.Client> show client switch Client information Client IP Client Secret Client Netmask
157.235.208.186 WS5000 255.255.255.0
8-95
Page 328
8-96
WS 5000 Series System Reference
8.8 AAA EAP Context Table 8.10 shows the AAA EAP context commands. Table 8.10 AAA EAP 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 import
Import Server and CA Certificates for EAP Server.
peap
Configure PEAP setting.
set
Configure the EAP Server.
show
Display current EAP settings.
ttls
Configure TTLS setting.
8.8.1 import
EAP Context To set server and CA Certificate paths, use the import command. Syntax Import <servcert/cacert> <path> Parameters servcert use servcert if server certificate is being imported.
cacert use cacert if ca certificate is being imported.
Example WS5000.(Cfg)> aaa AAA database update status: ----------------------------AAA Server Status Database Type
Active local
WS5000.(Cfg).AAA> eap EAP Configurations : ----------------------------EAP Type peap Private key password WS5000
Page 329
CLI Command Reference
8-97
WS5000.(Cfg).AAA.EAP> import cacert root.pem Configuring AAA EAP server... Status : Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.EAP> show cert CA Certficate ------------Issuer /C=IN/ST=Karnataka/L=Bangalore/O=Symbol Technologies India P vt Ltd/OU=Testing and Validation/CN=ROOT/emailAddress=KumarBes@symbol.com Serial Number AB111ABF223AA1A1 Valid From Jan 3 08:20:34 2006 GMT Valid Till Feb 2 08:20:34 2006 GMT WS5000.(Cfg).AAA.EAP>
8.8.2 peap
EAP Context To configure PEAP parameters, use the peap command. Syntax peap Parameters
None Example WS5000.(Cfg).AAA.EAP> peap PEAP Configurations : ----------------------------PEAP Type mschapv2 WS5000.(Cfg).AAA.EAP.PEAP>
8.8.3 set
EAP Context To set the EAP type and private key password, use the set command. Syntax set eaptype <peap/ttls> set keypassword <password> Parameters Eaptype set EAP authentication type to peap or ttls
Keypassword set password used to protect the certificate being imported
Page 330
8-98
WS 5000 Series System Reference
Example WS5000.(Cfg).AAA.EAP> set eaptype peap Configuring AAA EAP server... Status : Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.EAP> WS5000.(Cfg).AAA.EAP> set eaptype ttls Configuring AAA EAP server... Status : Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.EAP> WS5000.(Cfg).AAA.EAP> set keypassword 123 Configuring AAA EAP server... Status : Success. Warning: Please commit these changes using Save command in AAA context. WS5000.(Cfg).AAA.EAP>
8.8.4 show Use the show command to display context specific attributes. Syntax show [display_parameter] Parameters eap-config
Display EAP information.
certs
Display Certificate information.
peap-config
Display PEAP information.
ttls-config
Display TTLS information.
Example WS5000.(Cfg).AAA.EAP> show eap-config EAP Configurations : ----------------------------EAP Type ttls Private key password 123 WS5000.(Cfg).AAA.EAP>
8.8.5 ttls
Context Use ttls context to configure TTLS parameters. Syntax ttls Parameters
None
Page 331
CLI Command Reference
Example WS5000.(Cfg).AAA.EAP> ttls TTLS Configurations : ----------------------------TTLS Type mschapv2 WS5000.(Cfg).AAA.EAP.TTLS>
8-99
Page 332
8-100
WS 5000 Series System Reference
8.9 AAA LDAP Context Table 8.11 shows the AAA LDAP context commands. Table 8.11 AAA LDAP 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 set
Configure LDAP server show
Display current LDAP settings.
8.9.1 set
LDAP Context To configure a LDAP server components, use the set command. Syntax set <config_parameter> <parameter_value> Parameters config_parameter
LDAP server parameter to be configured.
parameter_value
Value for the LDAP server parameter
Table 8.12 shows the configurable attributes/parametes Table 8.12 Configurable Attributes Using the set Command Config Parameter
Description
Usage ip
Assign Server IP.
Set ip <param_value> port
Assign Server Port Number
Set port <param_value> passwd
Assign Password.
set passwd <param_value> login
Assign Login Attribute.
set login <param_value> passattr
Assign Password Attribute.
set passattr <param_value> filter
Assign Group Membership Filter.
set filter <param_value> groupname
Assign Group Name Filter.
set groupname <param_value> membership
Assign Group Membership Attribute.
set membership <param_value>