Note ¯
Whenever possible, especially if you have 100 or more users, you should use RADIUS for user authentication rather than the user table. To use RADIUS see
Chapter 3, "Global Commands," and the RADIUS Administrator's Guide.
You can use the command line interface to create, edit, and delete four kinds of users:
Note ¯
After making changes to a user, you must reset the port that the user is using.
This command adds an entry to the user table for a network user.
add netuser Username [password Password]
| Username | A network username of 1 through 8 characters. |
| Password | A network user password of 0 through 16 characters. |
add user Username [password Password]
| Username | A login username of 1 through 8 characters. Usernames cannot begin with a quotation mark or a question mark. |
| Password | A login user password of 0 through 16 characters. |
| Username | Username of a login user or network user. |
This command writes any changes in the user table to the nonvolatile RAM of the PortMaster.
This command sets the IP address of the network user.
set user Username address|destination assigned|negotiated|Ipaddress
| Command> set user jaime destination assigned | |||
| Username: | jaime | Type: | Dial-in Network User |
| Address: | Assigned | Netmask: | 0.0.0.0 |
| Protocol: | PPP | Options: | Quiet, Listen |
| MTU: | 1500 | ||
set user Username compression on|off
| Command> set user joe compression on | |||
| Username: | joe | Type: | Dial-in Network User |
| Address: | Negotiated | Netmask: | 0.0.0.0 |
| Protocol: | SLIP | Options: | Quiet, Compression |
| MTU: | 1006 | ||
set user Username dialback|callback Locname|String|none
| Command> set user sam dialback 5551212 | |||
| Username: | sam | Type: | Login User |
| Host: | default | Login Service: | portmaster |
| Dialback No: | 5551212 | ||
| Command> set user mario dialback office | |||
| Username: | mario | Type: | Dialback Network User |
| Location: | office | ||
This command indicates the login host for the login user.
set user Username host default|prompt|Ipaddress
Setting the IP address to 0.0.0.0 sets the host to the default.
| Command> set user jack host 192.168.1.2 | |||
| Username: | jack | Type: | Login User |
| Host: | 192.168.1.2 | Login Service: | portmaster |
set user Username idle Number [minutes|seconds]
| Username | Name of a user. |
| idle Number | Timeout value from 0 to 240. The default value is 0. |
| minutes | Sets the idle time in minutes. This is the default. |
| seconds | Sets the idle time in seconds. |
set user Username ifilter [Filtername
| Username | Name of a user. |
| Filtername | Input filter name. The maximum is 15 characters. |
You remove the filter by entering the command without a filter name.
| Command> set user joe ifilter student.in | |||
| Username: | joe | Type: | Dial-in Network User |
| Address: | Negotiated | Netmask: | 0.0.0.0 |
| Protocol: | SLIP | Options: | Quiet, Compression |
| MTU: | 1006 | ||
| Packet Filters: | student.in/ | ||
set user host prompt - page 13-10
This command sets the IPX network number for the user's network connection.
set user Username ipxnet Ipxnetwork
| Username | Name of a network user. |
| Ipxnetwork | Number of IPX network to be used for a serial link-a 32-bit hexadecimal value. |
This command sets the IP address of the PortMaster serial port to the IP address of a network user.
set user Username local-ip-address Ipaddress
| Username | Name of a network user. |
| Ipaddress | IP address. A hostname is not accepted. |
Note ¯
The point-to-point connection is a network of two nodes and requires its own IP subnet.
| Username | Name of a network user. |
| Hex | A 32-bit hexadecimal number. The default is 0x00000000. |
The command set user Username map 0 disables the asynchronous mapping.
set user Username maxports Number
| Username | Name of a user. |
| Number | Number between 0 and 64. |
This command sets the maximum transmission unit (MTU) for the network user.
| Username | Name of a network user. |
| MTU | MTU value from 100 to 1500 bytes. |
This command defines the netmask of the user's system on the remote end of the connection.
set user Username netmask Ipmask
| Username | Name of a network user. |
| Ipmask | IP netmask in dotted decimal notation. |
| Command> set user jaime netmask 255.255.255.0 | |||
| Username: | jaime | Type: | Dial-in Network User |
| Address: | Assigned | Netmask: | 255.255.255.0 |
| Protocol: | SLIP | Options: | Quiet, Listen |
| MTU: | 1006 | ||
set user Username ofilter [Filtername
| Username | Name of a network user. |
| Filtername | Output filter name. The maximum is 15 characters. |
You remove the filter by entering the command without a filter name.
Note ¯
This command does not apply to login users.
This command sets the password for a login user or network user.
set user Username password Password
| Username | Username of a login user or network user. |
| Password | User password of 0 through 16 characters. |
| Command> set user marie password zasq2-ab | |||
| Username: | marie | Type: | Dial-in Network User |
| Address: | Negotiated | Netmask: | 0.0.0.0 |
| Protocol: | SLIP | Options: | Quiet, Listen |
| MTU: | 1006 | ||
This command sets the transport protocol for a network user.
set user Username protocol slip|ppp|x75-sync
| Username | Name of a network user. |
| slip | SLIP protocol. This is the default. |
| ppp | PPP protocol. |
| x75-sync | X.75 protocol. |
| Command> set user mario protocol ppp | |||
| Username: | mario | Type: | Dial-in Network User |
| Address: | Negotiated | Netmask: | 0.0.0.0 |
| Protocol: | PPP | Options: | Quiet, Listen |
| MTU: | 1500 | Async Map: | Ox00000000 |
This command selects the login service for the login user.
set user Username service netdata|portmaster|rlogin|telnet [Tport]
| Command> set user sam service rlogin | |||
| Username: | sam | Type: | Login User |
| Host: | default | Login Service: | rlogin (513) |
set user Username session-limit Minutes
| Username | Name of a user. |
| Minutes |
Session limit in minutes, any value from 0 to 240. The default is 0. |
This command shows the current users in the user table.
This command shows the configuration of the specified user.
| Username | A username of 1 through 8 characters. |
| Command> show user jack | |||
| Username: | jack | Type: | Login User |
| Host: | default | Login Service: | portmaster |