[Top] [Table Of Contents] [Prev] [Next] [Index]

Global Commands        3


This chapter describes how to use the command line interface for global configuration. Detailed command definitions follow a command summary table. Detailed command definitions and summary tables are also provided for RADIUS, ChoiceNet, and SNMP configuration commands.

The command line interface can be used to configure global settings, allowing you to set default and alternate hosts, set gateways and metrics, set the name service used by the PortMaster, and set the administrative password of the PortMaster.

Displaying Global Information

To display information about your configuration, use the following global commands:

Summary of Global Commands

 Table 3-1 contains the global configuration commands that affect the entire PortMaster.  
Table 3-1 Global Configuration

Command Syntax

 

clear alarm

- see page 3-32

set assigned_address Ipaddress

- see page 3-3

set call-check on|off

- see page 3-4

set chap on|off

- see page 3-5

set default on|off|broadcast|listen

- see page 10-18

set dhcp-server Ipaddress

- see page 3-6

set domain String|none

- see page 3-7

set gateway Ipaddress [Metric]

- see page 10-12

set ipx on|off

- see page 3-8

set ipxgateway Network|Node Metric

- see page 3-9

set loghost Ipaddress

- see page 3-10

set maximum pmconsole Number

- see page 3-11

set nameserver [1|2] Ipaddress

- see page 3-12

set namesvc dns|nis

- see page 3-13

set netbios on|off

- see page 3-14

set pap on|off

- see page 3-15

set password [Password]

- see page 3-16

set pool Number

- see page 3-17

set pots on|off

- see page 3-17

set reported_ip Ipaddress

- see page 3-18

set serial-admin on|off

- see page 3-19

set syslog Logtype {[disabled] [Facility.Priority]}

- see page 3-20

set telnet Tport

- see page 3-22

set user-netmask on|off

- see page 10-13

show alarms

- see page 3-37

show all

- see page 2-21

show global

- see page 2-27

show pots

- see page 3-23

Global Commands

These commands are used to configure everything on the PortMaster except for interfaces, routing protocols, and tables.

set assigned_address

This command sets the base IP address of the assigned address pool.

set assigned_address Ipaddress

Ipaddress

Base IP address assigned. Set Ipaddress to 0.0.0.0 to deselect the assigned address.

Usage

The PortMaster allocates a pool of addresses starting at the assigned base address and counting up. The total number of addresses is equal to the number of ports configured for network dial-in. If someone dials in and requests an unused address from the pool, that is assigned. If someone dials in and requests any address, the next address from the pool is assigned. If someone disconnects, their address is placed at the end of the pool for reuse.

Note ¯ You must use the command save all and reboot the PortMaster after setting or changing the base IP address.

 

Example

Command> set assigned 172.16.200.220
First Assigned address changed from 0.0.0.0 to 172.16.200.220

See Also

set pool - page 3-17

set user destination - page 13-6

set call-check

This command provides the choice of supporting or disabling the call-check feature on PortMaster products that support ISDN PRI or in-band signaling.

set call-check on|off

on

Enables the call-check feature on the PortMaster connected to the PRI or in-band signaling interface.

off

Disables the call-check feature. This is the default.

Caution ¯ To support the call-check feature, you must configure RADIUS Call-Check-User entries; otherwise, the PortMaster issues a busy signal to every call.

For more information about enabling RADIUS call-check features, refer to ComOS 3.8 Release Notes.

Usage

ComOS 3.8 and later supports the call-check feature to enable services without authenticating the user at the point of entry. This feature is useful when you want to provide guest access or establish tunnels based on dial number information services. Call checking can be done against the calling number ID (CNID) or calling line ID (CLID) or both. The RADIUS attributes are Called-Station-Id and Calling-Station-Id, respectively.

If the call-check feature is set to on, the PortMaster sends a ringing message to the switch while the service information is being looked up in RADIUS.

RADIUS either rejects the message with a busy signal, acknowledges the call and allows the call to be completed with no special service type determined during the call, or, allows the creation of a netdata clear channel TCP connection to the destination specified in the RADIUS accept record.

Example

Command> set call-check on

Call Check changed from off to on

 

Command> show global

Alt. Acct. Server: 0.0.0.0

PPP Authentication: PAP: on CHAP: off

ISDN Switch Type: (Call Check Enabled)

End Point Disc: None

set chap

This command provides the choice of supporting or disabling the Challenge Handshake Authentication Protocol (CHAP) authentication for dial-in users.

set chap on|off

on

If PPP is detected on a port, the PortMaster prompts the user to authenticate with CHAP. This is the default.

off

CHAP authentication is disabled.

Usage

If you do not want to support CHAP authentication, you must set CHAP to off. With both PAP and CHAP off, the only authentication method allowed is a username-password login.

Example

Command> set chap off
CHAP authentication changed from on to off

See Also

set location chap - page 14-8

set pap - page 3-15

show global - page 2-27

 

set dhcp-server

This command configures a PortMaster to forward a Dynamic Host Configuration Protocol (DHCP) request from a dial-in client of a cable modem to be forwarded to the specified DHCP server.

set dhcp-server Ipaddress

Ipaddress

IP address or 39-character hostname.

Usage

In ComOS version 3.7.2 and later, this command is used to support Cable Modem Telephone Return Interface Specification (CMTRIS) developed by Multimedia Cable Network System (MCNS) Partners Limited. This specification requires that a cable modem using the telephone interface as an upstream channel be able to request and receive the cable interface address and configuration information using a DHCP request.

ComOS modifies the received DHCP request by removing the broadcast address and replacing it with the DHCP server's address. This enables the DHCP server to direct the response to the dial-in client of the cable modem. The DHCP server sends configuration information to the dial-in client of the cable modem to be used to configure the cable interface.

ComOS does not add routes to its table when forwarding or returning DHCP requests. It transparently forwards and returns DHCP requests from dial-in clients to the specified server.

For more information about using this command, refer to the PortMaster Configuration Guide.

To view DHCP relaying information, use the command set console, followed by the command set debug 0x81.

To disable DHCP reply information, set the IP address to 0.0.0.0.

Note ¯ This command does not support DHCP requests from the Ethernet or requests from a PortMaster 2Ei or Office Router OR-U.

 

Note ¯ The PortMaster router does not allow for the forwarding of a packet to the broadcast address 255.255.255.255.

See Also

set console - page 2-19

set debug Hex - page 17-5

set domain

This command sets the domain name to use with hostname lookups.

set domain String|none

String

Domain name. Maximum of 31 characters.

none

Disables the domain feature.

Usage

Enter the domain name of your network in this command, after you have selected Network Information Service (NIS) or Domain Name System (DNS) as your name service and have set a name server address.

Example

Command> set domain edu.edu
Domain changed from to edu.edu

See Also

set namesvc - page 3-13

set nameserver - page 3-12

set ipx

This command enables or disables PortMaster support for the Novell Internet Packet Exchange (IPX) protocol.

set ipx on|off

on

Enables support for the IPX protocol.

off

Disables support for the IPX protocol. This is the default.

Usage

To enable support for IPX, you must use this command. After changing the IPX setting, you must use the save all command and reboot the PortMaster before the change takes effect.

Example

Command> set ipx on
IPX will be enabled after next reboot

See Also

set Ether0 ipxframe - page 4-7

set Ether0 ipxnet - page 4-8

set location ipxnet - page 14-14

set S0 ipxnet - page 5-26

set W1 ipxnet - page 6-14

show modules - page 2-31

set ipxgateway

This command sets a static default route for all IPX packets not routed by a more specific route.

set ipxgateway Network|Node Metric

Network

32-bit hexadecimal address of the IPX network of the gateway router.

Node

48-bit hexadecimal node address of the gateway router. This is usually the MAC address of the gateway router.

Metric

An integer with a value between 1 and 15 that determines the hop count.

Usage

When troubleshooting IPX routing problems, you can reset the IPX gateway be resetting the network and node numbers to zeros. For more information on troubleshooting IPX routing problems, refer to the PortMaster Troubleshooting Guide.

Example

Command> set ipxgateway tyche:010101010101 1

IPX Gateway set to tyche:010101010101, metric = 1

 

Command> set ipxgateway 00000000:000000000000

IPX gateway reset

set loghost

This command sets the IP address or name of the host to which the PortMaster sends syslog messages.

set loghost Ipaddress

Ipaddress

Loghost IP address or 39-character hostname. Set Ipaddress to 0.0.0.0 to deselect the host.

Usage

Informational syslog messages are sent to the host with the following defaults:

Example

Command> set loghost 192.168.200.2
Loghost changed from 0.0.0.0 to 192.168.200.2

See Also

set syslog - page 3-20

set maximum pmconsole

This command sets the maximum number of concurrent connections for management applications allowed into the PortMaster.

set maximum pmconsole Number

Number

The maximum number of concurrent connections to allow.
Default is 1; maximum is 10.

Usage

The programs PMVision, ChoiceNet, pmconsole, pminstall, pmreadconf, pmreadpass, pmcommand, pmreset, and other applications connect to TCP port 1643 on the PortMaster. If you set the maximum number of connections to 2 or higher, more than one program can connect at the same time.

If you use ChoiceNet to download filters dynamically, the maximum number of connections should be set to 10.

Note ¯ If two or more GUIs are used to configure the PortMaster at the same time, each might not see the change made by the others.

All 1643 network connections must disconnect from the PortMaster for the new settings to take effect. Use the reset nHandle command to reset network handles. To view open network connections, use the show netconns command.

Example

Command> set maximum pmconsole 2

See Also

set serial-admin - page 3-19

set telnet - page 3-22

set nameserver

This command sets the name server IP address.

set nameserver [1|2] Ipaddress

1

Sets the primary name server. This is the default.

2

Sets an alternate name server.

Ipaddress

IP address. Set Ipaddress to 0.0.0.0 to deselect the name server.

Usage

This command sets the server used for DNS or NIS hostname lookups. Setting Ipaddress to 0.0.0.0 cancels the setting.

Example

Command> set nameserver 172.16.200.2
Name Server changed from 0.0.0.0 to 172.16.200.2

See Also

set domain - page 3-7

set namesvc - page 3-13

set namesvc

This command sets the service (NIS or DNS) used for resolving hostnames.

set namesvc dns|nis

dns

Uses the Domain Name System (DNS) for hostname lookups.

nis

Uses the Network Information Service (NIS) for hostname lookups.

Usage

A name service should be selected only if users are prompted for hosts that require a name service for resolution to an IP address, or to display hostnames instead of addresses in the administrative command line interface. If the service is set to DNS, the PortMaster sends DNS server information to PPP dial-in users as specified in RFC 1877.

Example

Command> set namesvc dns
Name Service changed from NIS to DNS

See Also

set domain - page 3-7

set nameserver - page 3-12

set netbios

This command sets the NetBIOS parameter for use with IPX.

set netbios on|off

on

The PortMaster broadcasts type 20 packets.

off

Type 20 packets are not broadcast across the router.
The default is off.

Usage

Full NetBIOS protocol compliance requires that this command be set to on. The PortMaster then propagates and forwards type 20 broadcast packets across your IPX network. Be aware of this behavior before changing from the default of netbios off.

Example

Command> set netbios on
NetBIOS changed from off to on

See Also

set ipx - page 3-8

set pap

This command provides the choice of accepting either Password Authentication Protocol (PAP) or CHAP authentication for dial-in users, or CHAP only.

set pap on|off

on

If PPP is detected on a port, the PortMaster prompts the user to authenticate with PAP. If PAP is refused, the user is prompted to authenticate with CHAP. This is the default.

off

The PortMaster does not request or accept PAP authentication.

Usage

With PAP set to off, the default is to support CHAP. If you do not want to support CHAP authentication, you must disable CHAP (see page 3-5).

Example

Command> set pap off
PAP authentication changed from on to off

See Also

set chap - page 3-5

show global - page 2-27

set password

This command sets the PortMaster administrative password.

set password [Password]

Password

String of up to 15 characters. Default is no password.

Usage

When shipped, the PortMaster has no password. You must enter a password to protect the PortMaster administrative features. Using the command set password without a Password value erases the administrative password.

The password string cannot start with a question mark.

Example

Command> set password supercalifragil
!root password changed from to supercalifragil

set pool

This command explicitly sets the size of the assigned pool of IP addresses.

set pool Number

Number

The number of IP addresses to allocate to the pool.
The valid range is from 0 to 64.

Usage

After you set or change the pool size of IP addresses, you must reboot the PortMaster for the change to take effect.

Example

Command> set pool 12
Assigned address pool size changed from 0 to 12

See Also

set assigned-address - page 3-3

set pots

This command enables or disables the analog PHONE port on the Office Router
OR-ST-AP and OR-U-AP.

set pots [on|off

on

Enables the analog PHONE port. This is the default.

off

Disables the analog PHONE port.

]

Usage

To receive data over voice (DOV) calls on the OR-ST-AP or the OR-U-AP units, you must set the PHONE port to off.

 

To display the status of the analog PHONE port, enter the command set pots with no parameters.

Example

Command> set pots off

Pots port disabled

 

Command> set pots on

Pots port enabled

set reported_ip

This command reports an IP address different from the Ether0 address used during PPP negotiation and Serial Line Internet Protocol (SLIP) startup.

set reported_ip Ipaddress

Ipaddress

IP address. Set Ipaddress to 0.0.0.0 to disable the command.

Usage

The IP address of any PortMaster device can be used with this command. This feature is valuable for sites that require a number of PortMaster devices to appear as a single IP address to other networks. With PPP, this information is placed in the startup message, and the PortMaster devices report this address to other networks. With SLIP, this information is placed in the startup message.

Setting Ipaddress to 0.0.0.0 cancels the setting.

Example

Command> set reported_ip 172.16.200.1
Reported IP address changed from 0.0.0.0 to 172.16.200.1

See Also

set Ether0 address - page 4-3

set user local-ip-address - page 13-14

set serial-admin

This command enables or disables administrative logins on the serial ports of the PortMaster.

set serial-admin on|off

on

Enables administrative logins on serial ports. This is the default.

off

Disables administrative logins on serial ports.

Usage

If administrative logins-!root-are disabled, you can still use port S0 (or C0) for !root login by setting the console DIP switch to the up position.

Example

Command> set serial-admin off
Serial Administration changed from on to off

set syslog

This command changes the syslog settings for logged events.

set syslog Logtype {[disabled] [Facility.Priority]}

Logtype

Sets logging for the following five areas. Use the following keywords:

 

admin-logins

!root and administrative logins.

 

user-logins

Nonadministrative logins. You might want to disable this type of logging if you already use RADIUS accounting.

 

packet-filters

Packets that match filter rules with the log keyword.

 

commands

Every command entered at the command line interface.

 

termination

More detailed information on how user sessions terminate.

disabled

Turns off logging for the Logtype specified.

Facility.Priority

Sets the facility and priority to be assigned to syslog messages. See Table 3-2 on page 3-21 and Table 3-3 on page 3-21 for Facility and Priority keywords. Enter the Facility and Priority keywords separated by a period with no spaces.

Usage

The keywords to use for Facility and Priority are shown in Table 3-2 and Table 3-3. Lucent recommends that you use the auth facility or local0 through local7 facilities for receiving syslog messages from PortMaster products, but all the facilities listed in Table 3-2 are provided. See your operating system documentation for information on configuring syslog on your host.

syslog Facility Keywords

Facility

Facility Number

Facility

Facility Number

kern

0

cron

15

user

1

local0

16

mail

2

local1

17

daemon

3

local2

18

auth

4

local3

19

syslog

5

local4

20

lpr

6

local5

21

news

7

local6

22

uucp

8

local7

23

Priority

Priority Number

Typical Use

emerg

0

System is unusable.

alert

1

Action must be taken immediately.

crit

2

Critical messages.

err

3

Error messages.

warning

4

Warning messages.

notice

5

Normal but significant message.

info

6

Informational message.

debug

7

Debug-level messages.

syslog Priority Keywords

Example

Command> set syslog commands local0.debug
Syslog setting for commands changed from disabled to local0.debug

See Also

set loghost - page 3-10

set telnet

This command sets the Telnet administrative port.

set telnet Tport

Tport

Telnet administrative port-a decimal 16-bit number from 0 to 65535. Default is 23.

Usage

This command allows the administrator to use the Telnet protocol to maintain the PortMaster. The value is a number from 0 to 65535. If set to 0, the PortMaster disables the Telnet administration function. Ports numbered 10000 through 10100 are reserved for outbound users and should not be used for this function.

Example

Command> set telnet 23
Setting Telnet Administration port to 23

See Also

set maximum pmconsole - page 3-11

set serial-admin - page 3-19

telnet - page 2-41

show pots

This command displays the status of the analog PHONE port and the B channel associated with it.

show pots

Usage

This command is supported on the Office Routers OR-U-AP and OR-ST-AP.

Example

Command> show pots

Pots port status

Pots port enabled

State idle

See Also

set pots - page 3-17

RADIUS Client Commands

The RADIUS commands in Table 3-4 configure the PortMaster to use a RADIUS server. RADIUS is consulted if a port is set for security on and a user is not found in the PortMaster user table.  
Table 3-4 RADIUS Client Configuration

Command Syntax

 

set accounting [1|2] Ipaddress [Uport]

- see page 3-24

set alternate_auth_server Ipaddress [Uport]

- see page 3-26

set authentication_server Ipaddress[Uport]

- see page 3-27

set secret String

- see page 3-28

The following commands configure the PortMaster as a RADIUS client. For RADIUS server configuration information, see the RADIUS Administrator's Guide.

set accounting

This command designates a host as the primary or alternate RADIUS accounting server.

set accounting [1|2] Ipaddress [Uport]

1

Designates the primary RADIUS server. This is the default.

2

If present, designates a host as the alternate accounting server.

Ipaddress

IP address or 39-character hostname running a RADIUS accounting server on UDP port 1646. Set Ipaddress to 0.0.0.0 to deselect the accounting server.

Uport

Integer between 0 and 65535 that specifies the UDP port to be used for RADIUS accounting. Setting the port number to 0 or not specifying a port number, sets the UDP port to 1646.

Usage

You can designate both primary and alternate RADIUS accounting servers. The accounting server daemon must be present on the host before the RADIUS accounting server will function correctly.

Note ¯ Do not assign the authentication server and the alternate authentication server to the same IP address.

 

A PortMaster uses one of the following criteria to determine whether to send accounting packets to a secondary accounting server instead of the primary accounting server:

Examples

Command> set accounting 10.0.0.3

Accounting Server changed from 0.0.0.0 1646 to 10.0.0.3 1646

 

Command> set accounting 10.0.0.3 1813

Accounting Server changed from 10.0.0.3 1646 to 10.0.0.3 1813

 

Command> set accounting 2 10.0.0.4 1813

Alternate Accounting Server changed from 0.0.0.0 1646 to 10.0.0.4 1813

See Also

set authentication_server - page 3-27

set secret - page 3-28

set alternate_auth_server

This command sets the alternate RADIUS authentication server, which is used if the primary server does not respond.

set alternate_auth_server Ipaddress [Uport]

Ipaddress

RADIUS alternate authentication server IP address or 39-character hostname. Set Ipaddress to 0.0.0.0 to deselect the alternate authentication server.

Uport

Integer between 0 and 65535 that specifies the UDP port to be used for RADIUS accounting. Setting the port number to 0 or not specifying a port number, sets the UDP port to 1645.

Usage

This address must be different from that of the primary RADIUS authentication server.

Example

Command> set alternate 10.0.0.4

Alternate Authentication Server changed from 0.0.0.0 1645 to 10.0.0.4 1645

 

Command> set alternate 10.0.0.4 1812

Alternate Authentication Server changed from 10.0.0.4 1645 to 10.0.0.4 1812

See Also

set authentication_server - page 3-27

set authentication_server

This command sets the primary RADIUS authentication server.

set authentication_server Ipaddress

Ipaddress

IP address or 39-character hostname for a host running a RADIUS authentication server on UDP port 1645. Set Ipaddress to 0.0.0.0 to deselect the primary authentication server.

Uport

Integer between 0 and 65535 that specifies the UDP port to be used for RADIUS accounting. Setting the port number to 0 or not specifying a port number, sets the UDP port to 1645.

[Uport]

Usage

For more information about setting up a RADIUS authentication server, refer to the RADIUS Administrator's Guide.

Example

Command> set authentication 10.0.0.3

Authentication Server changed from 0.0.0.0 1645 to 10.0.0.3 1645

 

Command> set authentication 10.0.0.3 1812

Authentication Server changed from 10.0.0.3 1645 to 10.0.0.3 1812

See Also

set accounting - page 3-24

set alternate_auth_server - page 3-26

set secret - page 3-28

set S0 security - page 5-42

set secret

This command sets the RADIUS shared secret.

set secret String

String

Shared secret, which has a maximum of 15 printable, nonspace ASCII characters. The string cannot begin with a question mark.

Usage

This value functions as the user's password in a RADIUS Access-Request, and must match the secret used by the RADIUS server.

Example

Command> set secret expli7%QZixZZy7
Authentication Secret successfully changed

See Also

set authentication_server - page 3-27

set S0 security - page 5-42

ChoiceNet Client Commands

The ChoiceNet commands in Table 3-5 configure the PortMaster to use a ChoiceNet server.  
Table 3-5 ChoiceNet Client Configuration

Command Syntax

 

set choicenet [1|2] Ipaddress [Uport]

- see page 3-29

set choicenet-secret String

- see page 3-30

set debug choicenet on|off

- see page 17-4

The following commands configure the PortMaster as a ChoiceNet client. For ChoiceNet server configuration, see the ChoiceNet Administrator's Guide.

set choicenet

This command designates a host as the primary or alternate ChoiceNet server.

set choicenet [1|2] Ipaddress [Uport]

1

Designates the primary ChoiceNet server. This is the default.

2

If present, designates a host as the alternate ChoiceNet server.

Ipaddress

IP address or 39-character hostname of the host running a ChoiceNet server on UDP port 1647. Set Ipaddress to 0.0.0.0 to deselect the ChoiceNet server.

Uport

Integer between 0 and 65535 that specifies the UDP port to be used for RADIUS accounting. Setting the port number to 0 or not specifying a port number, sets the UDP port to 1647.

Usage

You can designate both primary and alternate ChoiceNet servers, but do not set them to the same IP address.

Example

Command> set choicenet 10.0.0.5

ChoiceNet Server changed from 0.0.0.0 1647 to 10.0.0.5 1647

 

Command> set choicenet 10.0.0.5 6047

ChoiceNet Server changed from 10.0.0.5 1647 to 10.0.0.5 6047

set choicenet-secret

This command sets the ChoiceNet secret.

set choicenet-secret String

String

Shared secret. Maximum length is 15 printable, nonspace ASCII characters. The string cannot begin with a question mark.

Usage

The shared secret is used to authenticate communications between the PortMaster and the ChoiceNet server.

Example

Command> set choicenet-secret vizkaRg76poj
ChoiceNet Secret successfully changed

See Also

set choicenet - page 3-29

SNMP Commands

The commands in Table 3-6 allow you to configure the PortMaster as a Simple Network Management Protocol (SNMP) agent. Use SNMP writes only if you understand the risks involved.  
SNMP Commands

Command Syntax

 

add snmphost reader|writer any|none|Ipaddress

- see page 3-31

clear alarm alarm-id|all

- see page 3-32

delete snmphost reader|writer|Ipaddress

- see page 3-33

save snmp

- see page 3-34

set snmp on|off

- see page 3-35

set snmp readcommunity|writecommunity String

- see page 3-36

set sysname String

- see page 2-20

show alarms [Alarm-id]

- see page 3-37

show table snmp

- see page 3-38

add snmphost

This command allows you to control SNMP security by specifying the addresses of the read or write hosts that are permitted to access SNMP information.

add snmphost reader|writer any|none|Ipaddress

reader

Adds a read host.

writer

Adds a write host.

any

All hosts using the correct read or write community string are permitted to read or write SNMP information.

none

No SNMP reads or writes are accepted by the PortMaster.

Ipaddress

The IP address or hostname-up to 39 characters-of the read or write host.

Usage

The specification of read and write hosts allows another level of security beyond the community strings. If SNMP hosts are specified, each host wanting to access SNMP information must possess the correct community string and must also be on the read or write host list.

Example

Command> add snmphost reader 192.168.1.99
New SNMP reader 192.168.1.99 successfully added
Command> add snmphost writer none

See Also

delete snmp host - page 3-33

save snmp - page 3-34

set snmp - page 3-35

show table snmp - page 3-38

clear alarm

This command deletes recorded instances of SNMP traps-notifications of certain events.

clear alarm Alarm-id|all

Alarm-id

Number that identifies a specific instance of an alarm. Use the show alarms command to display alarm IDs.

all

All alarms.

Usage

A recorded instance of an alarm remains unless you use the command clear alarm.

 

Command> clear alarm 4763864

Command> show alarms

Alarm Id

Age

Severity

Alarm Message

--------

------

---------

------------------------------------

4764168

19:11

0

Modem failure: card(0) modem(8)

4772816

19:11

0

Modem failure: card(0) modem(9)

Examples  

Command> clear alarm all

Command> show alarms

 

Alarm Id

Age

Severity

Alarm Message

--------

------

-------

----------------------------------------

See Also

show alarms - page 3-37

delete snmphost

This command deletes read or write hosts that are allowed to access SNMP information.

delete snmphost reader|writer Ipaddress

reader

Use to delete a read host.

writer

Use to delete a write host.

Ipaddress

The IP address or hostname of the read or write host.

Example

Command> delete snmphost reader 192.168.1.99
SNMP reader 192.168.1.99 successfully deleted

See Also

add snmphost - page 3-31

save snmp

This command saves the settings of the SNMP parameters in the SNMP table.

save snmp

Usage

This command writes the SNMP table settings to the nonvolatile RAM of the PortMaster. You can also use save all.

Example

Command> save snmp
SNMP table successfully saved

See Also

set snmp - page 3-35

set snmp

This command allows you to enable or disable PortMaster support for SNMP monitoring.

set snmp on|off

on

Enables support for SNMP.

off

Disables support for SNMP. This is the default.

Usage

To enable support for SNMP, you must use set snmp on.

Note ¯ After enabling or disabling SNMP, you must use the save snmp or save all command and reboot the PortMaster before the change takes effect.

Example

Command> set snmp on
SNMP will be enabled after next reboot

See Also

add snmphost - page 3-31

save snmp - page 3-34

show modules - page 2-31

show table snmp - page 3-38

set snmp readcommunity|writecommunity

This command sets the read and write community strings used for SNMP security.

set snmp readcommunity|writecommunity String

readcommunity

Sets the read community.

writecommunity

Sets the write community.

String

String up to 16 characters long. Default for read is public; default for write is private.

Note ¯ Use of the default write community string (private) is strongly discouraged. Because it is the default, it is known to all users and therefore provides no security. You should use some other value for the write community string.

Usage

Community strings allow you to control access to the Management Information Base (MIB) information on selected SNMP devices (such as the PortMaster).

A host must know the read community string to read the MIB information, and must know the write community string to set information on the SNMP agent.

Example

Command> set snmp read public
SNMP read community changed to: public

See Also

add snmphost - page 3-31

save snmp - page 3-34

set snmp - page 3-35

show table snmp - page 3-38

show alarms

This command displays instances of SNMP traps-notifications of certain events-that have occurred.

show alarms|[Alarm-id]

Alarm-id

Number that identifies a specific instance of an alarm.

Usage

An alarm is an instance of a trap. The command show alarms generates a list of all traps that have occurred-except for recurring traps which are summarized and identified by an asterisk (*). If SNMP is enabled and a reader is specified, the reader receives traps for PRI, modem, T1 expansion card, and BRI failures.

Examples

For Line0 or Line1:

Command> show alarms

Alarm Id

Age

Severity

Alarm Message

--------

------

---------

--------------------------------------

4763864

19:11

0

T1 line(0) down

4764168

19:09

0

Modem failure: card(0) modem(8)

4772816

19:09

0

Modem failure: card(0) modem(9)

 

Command> show alarms 4763864

 

------------------------ Alarm Details --------------------------

Alarm Id: 4763864

Alarm Message: T1 line(0) down

Age in minutes: 19:11

Alarm repeated: 1 times

Severity: 0

Reported: SNMP

For line2, on the T1 expansion card:

Command> show alarms

Alarm Id

Age

Severity

Alarm Message

--------

------

---------

------------------------------------------

2851352

0

0

T1 line(2) down

 

Command> show alarm 2851352

------------------------ Alarm Details --------------------------

Alarm Id: 2851352

Alarm Message: T1 line(2) down

Age in minutes: 0

Alarm repeated: 1 times

Severity: 0

Reported: SNMP

See Also

clear alarm - page 3-32

show table snmp

This command shows the settings in the SNMP table.

show table snmp

Usage

The SNMP table is used to check the settings for the SNMP read and write communities, which should be set so that configuration information is not changed by unauthorized users.

Example

Command> show table snmp
SNMP Readers (public): Any
SNMP Writers (private): None

See Also

save snmp - page 3-34

set snmp - page 3-35



[Top] [Table Of Contents] [Prev] [Next] [Index]

spider@livingston.com
Copyright © 1998, Lucent Technologies. All rights reserved.