beautypg.com

Disconnecting a session on a port, Event tracking, Setting the syslog server – Tut Systems SMS2000 User Manual

Page 35: Displaying log messages

background image

System Administration

TUT Systems, Inc

Page 35 of 104

P/N 220-06288-20

To activate a port or range of ports as static or dynamic, or to deactivate one or more
ports, use this command:

set port port {[static [ip_address | ip_address netmask ip_mask |
ip_address/masklen] [vlan vlan_id]] | dynamic | disable]}


For example, to set port 800 to a static port with IP address 192.168.254.244 and subnet
mask 255.255.255.255, type:

sms2000%

set port 800 static 192.168.254.224

Disconnecting a Session on a Port

To disconnect a session on a port, use this command:

disc {session_id | active | group groupname | mac mac_address | snmp
tut_address | user username | vlan vlan_id}


For example, to disconnect the subscriber using slot 4, line 1 of the Expresso GS/MDU
Chassis, at 192.168.254.211, type:

sms2000%

disc snmp 192.168.254.211-004-001

Event Tracking

Setting the Syslog Server

To specify the host to which system log messages are sent or to disable this function, use
the following command:

set syslog {hostname facility| off}


For example, to send diagnostic syslog messages to the server 192.168.254.249, type:

sms2000%

set syslog 192.168.254.249 1


For example, to disable the syslog server, type

sms2000%

set syslog off

Note:

For more information on the set syslog command, including a list of valid

facilities, see the SMS2000 Command Reference.

Displaying Log Messages

To enable the display of log messages in the current telnet session on a local console or to
disable this function, use the following command: