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

Synchronous Ports        6


This chapter describes how to use the command line interface to configure synchronous ports. Detailed command definitions follow a command summary table.

The command line interface can configure a PortMaster synchronous serial port for use with a leased line, Frame Relay, ISDN or Switched 56Kbps connection.

Examples in this chapter are from a PortMaster 2R, where the synchronous port is labeled W1. In contrast, the synchronous ports on PortMaster IRX Routers are labeled S1 through S4.

Note ¯ After making any configuration changes to a synchronous port, you must use the rest W1 command for the changes to take effect.

Displaying Synchronous Port Information

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

Summary of Synchronous Port Commands

The synchronous port commands in Table 6-1 configure synchronous serial ports. Commands marked with a leading bullet (·) can be used only for network hardwired ports.  
Synchronous Port Configuration

 

Command Syntax

 

·

add dlci|ipdlci|ipxdlci W1 Dlci [Ipaddress|Ipxnode]

- see page 6-8

·

delete dlci|ipdlci|ipxdlci W1 Dlci

- see page 6-8

 

reset W1

- see page 2-15

 

save ports

- see page 2-18

 

save W1

- see page 2-18

·

set W1 address Ipaddress

- see page 6-3

·

set W1 annex-d Seconds

- see page 6-4

 

set W1 cd on|off

- see page 6-5

 

set W1 compression on|off|stack|vj

- see page 6-6

·

set W1 destination Ipaddress [Ipmask]

- see page 6-7

·

set W1 dlcilist Dlci_list

- see page 6-8

 

set W1 extended on|off

- see page 6-10

 

set W1 group Group

- see page 6-10

 

set W1 hangup on|off

- see page 6-11

 

set W1 idletime Number [minutes|seconds]

- see page 6-12

·

set W1 ifilter [Filtername]

- see page 6-13

·

set W1 ipxnet Ipxnetwork

- see page 6-14

·

set W1 lmi [Seconds]

- see page 6-15

·

set W1 mtu MTU

- see page 6-16

·

set W1 netmask Ipmask

- see page 6-17

 

set W1 network dialin|dialout|twoway|hardwired

- see page 6-18

·

set W1 ofilter [Filtername]

- see page 6-19

 

set W1 ospf on|off

- see page 11-9

·

set W1 protocol slip|ppp|frame|x75-sync

- see page 6-20

·

set W1 rip on|off|broadcast|listen

- see page 10-19

 

set W1 route-filter incoming|outgoing Filtername

- see page 10-8

 

set W1 speed 9600|14400|19200|38400|57600|76800|115200|
56000|64000|1344k|1536k|2048k|t1|t1e|e1

- see page 6-21

 

show all

- see page 2-21

 

show W1

- see page 6-22

Synchronous Commands

These commands affect the synchronous interface of the PortMaster. Examples in this chapter are from a PortMaster 2R or 2ER, labeled W1. In contrast, the PortMaster IRX-114 uses S1 through S4 for synchronous ports. See Table 1-1, "Configurable Ports Available for Each PortMaster Model," on page 1-1 for the range of synchronous ports available on each PortMaster model.

Note ¯ Always set the port type to network for synchronous ports.

 

set W1 address

This command sets the local IP address of the network hardwired synchronous port to create a numbered interface.

set W1 address Ipaddress

Ipaddress

IP address in dotted decimal notation or 39-character hostname.

Usage

If the local IP address of the port is set to 0.0.0.0 for PPP, the PortMaster uses the Ether0 IP address for this end of the serial link. If the address is set to 0.0.0.0 for Frame Relay, the port is disabled.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 address 192.168.7.2
Port W1 local address changed from 0.0.0.0 to 192.168.7.2

See Also

set S0 address - page 5-10

set W1 annex-d

This command sets the Annex-D polling interval for a network hardwired synchronous port to allow the Frame Relay switch to monitor link status.

set W1 annex-d Seconds

Seconds

Keepalive interval in seconds, from 0 to 240. The default value is 10.

Usage

The Annex-D default value is 10 seconds. However, if your telephone company chooses another value, change this value as they instruct you. Enabling Annex-D (or LMI) causes the DLCI list to be completed automatically. Setting the interval to 0 (zero) seconds, or enabling LMI, disables Annex-D. You can display Annex-D activity using the set debug 0x51 command.

Note ¯ Check with your Frame Relay service provider to determine whether they use LMI or Annex-D; both can be referred to as LMI.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 annex-d 10
ANNEX-D keepalive timer for S1 changed from 0 to 10

See Also

set debug - page 17-5

set W1 dlci - page 6-8

set W1 lmi - page 6-15

set W1 cd

This command enables the PortMaster to monitor the presence of the data carrier detect (DCD) signal on a modem attached to the synchronous port to determine whether the line is in use.

set W1 cd on|off

on

Monitors presence of the DCD signal.

off

Does not monitor presence of the DCD. This is the default.

Usage

Modem control defaults to off for synchronous connections. In this default state, the PortMaster assumes the DCD signal is always high.

This command should be set to on only if you want to make use of the DCD signal from the attached device. When set to on, the PortMaster uses the signal to determine if the line is in use.

For leased lines or Frame Relay, this control is usually set to off, but can be turned on if the CSU/DSU is configured accordingly.

Example

Command> set w1 cd on
CD required for port W1 changed from off to on

See Also

set S0 cd - page 5-11

set W1 compression

This command sets Van Jacobson TCP/IP header compression and/or Stac LZS data compression on a synchronous port.

set W1 compression on|off

on

Enables compression. The PortMaster tries to negotiate both Van Jacobson and Stac LZS compression on PortMaster 3 and Office Router products, or Van Jacobson compression only on other PortMaster products. This is the default.

off

Disables compression.

stac

Enables Stac LZS data compression only. Stac LZS compression is supported only on PortMaster 3 and Office Router products.

vj

Enables Van Jacobson TCP/IP header compression only.

|stac|vj

Usage

Van Jacobson TCP/IP header compression can be used for SLIP and PPP connections. With SLIP, both sides need to be configured identically. For PPP connections, the PortMaster supports both bidirectional and unidirectional compression.

The PortMaster supports Stac LZS data compression only for PPP connections with bidirectional compression. Stac LZS data compression cannot be used for SLIP connections.

Example

Command> set w1 compression on
Compression for port w1 changed from off to on

See Also

set location compression - page 14-9

set S0 compression - page 5-13

set user compression - page 13-8

set W1 destination

This command sets the IP address and the netmask of the remote router for a network hardwired synchronous port connection.

set W1 destination Ipaddress [Ipmask]

Ipaddress

IP address or 39-character hostname of the remote router in dotted decimal notation.

Ipmask

IP mask in dotted decimal notation.

Usage

If the remote destination is set to 255.255.255.255 for PPP connections, the PortMaster attempts to learn the remote IP address. If set to 0.0.0.0, the port is disabled.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 destination 255.255.255.255
Port W1 destination changed from 0.0.0.0 to 255.255.255.255

See Also

set S0 destination - page 5-15

set S10 destination - page 8-10

set W1 dlci

Use these commands to add or delete data link connection identifiers (DLCIs) for Frame Relay service on a network hardwired synchronous port.

set W1 dlcilist Dlci_list

add dlci|ipdlci|ipxdlci W1 Dlci [Ipaddress|Ipxnode]

delete dlci|ipdlci|ipxdlci W1 Dlci

Note ¯ set W1 dlcilist and add dlci perform the same function except that the command add dlci does not a have 244-character limitation. ipdlci is a synonym for dlci.

Dlci_list

Space-separated list of DLCIs. Up to a maximum of 244 characters.

ipdlci or dlci

Use for IP connections.

ipxdlci

Use for IPX connections.

Dlci

DLCI number, from 1 to 1023. You can add or delete only one DLCI number at a time.

Ipaddress

Optional IP address of the router attached to the permanent virtual circuit (PVC) represented by the DLCI.

Ipxnode

IPX node address of the PortMaster attached to the permanent virtual circuit (PVC) represented by the DLCI. This value is the PortMaster MAC address-a 48-bit number.

Usage

If LMI or Annex-D is not used, you must enter the DLCI list manually. Your Frame Relay service provider might provide a DCLI list.

With LMI or Annex-D, DLCIs can be learned dynamically. When using Frame Relay, you can enter a list of DLCIs accessible through this interface via the Frame Relay network. The PortMaster attempts to use Inverse ARP requests to learn the IP addresses of routers attached to the permanent virtual circuits (PVCs) represented by these DLCIs. Alternatively, you can specify IP addresses by appending a colon (:) and IP address after the DLCI. If an address is specified, the PortMaster statically configures that entry into its ARP table for this interface.

Note ¯ These commands are used only for network hardwired synchronous ports.
The list of DLCIs used on a port always includes those created with the set W1 dlci command and those created with the add dlci W1 command.

 

Examples

Command> set w1 dlci 16 17 18
New DLCI List: 16 17 18

Command> set w1 dlci 16:192.168.2.1 17:192.168.2.3
New DCLI List: 16:192.168.2.1 17:192.168.2.3

Command> add dlci w1 16 192.168.2.3
New dlci successfully added

Command> delete dlci w1 16
DLCI successfully deleted

See Also

add dlci - page 14-29

set W1 annex-d - page 6-4
set W1 lmi - page 6-15

set W1 extended

This command sets the extended mode on or off for the synchronous port.

set W1 extended on|off

on

Turns extended mode on.

off

Turns extended mode off. This is the default.

Usage

When extended mode is on, the show command provides more detailed output.

Example

Command> set w1 extended on
Extended mode for port W1 changed from off to on

set W1 group

This command assigns synchronous ports to pools for use by V.25bis dial-out locations.

set W1 group Group

Group

Group number, from 0 to 100. Default is 0.

Usage

For pools to work, each port must be assigned to a dial group, and each location must specify a dial group. A group number is referenced by each location in the location table. See page 14-10 for more information.

Example

Command> set w1 group 1
Group number for port W1 changed from 0 to 1

See Also

set location group - page 14-10

set S0 group - page 5-20

set W1 hangup

This command controls whether the DTR signal on the synchronous port is dropped for 500ms to cause a hangup after the termination of a user session.

set W1 hangup on|off

on

DTR is dropped after the session terminates. This is the default.

off

DTR is not dropped after the session terminates.

Usage

Resetting the port administratively with the reset command always drops the DTR signal.

Example

Command> set w1 hangup on
DTR Hangup for port W1 changed from off to on

See Also

reset W1 - page 2-15

set W1 idletime

This command indicates how long the PortMaster should wait after activity stops on the synchronous port before disconnecting.

set W1 idletime Number [minutes|seconds]

Number

Idle time value in minutes or seconds, as specified. Any 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.

Usage

If the idle timeout value is set to 0, the idle timer is disabled.

If the value is set to 2 seconds or a longer interval, the port is reset after having no traffic for the designated time. RIP, keepalive, and Service Advertising Protocol (SAP) packets are not counted as traffic.

Example

Command> set w1 idletime 120
Idle timeout for W1 changed from 0 minutes to 120 minutes

See Also

set W1 cd - page 6-5

set W1 ifilter

This command sets an input packet filter for packets entering the PortMaster on a network hardwired synchronous port from a leased line or Frame Relay.

set W1 ifilter [Filtername

Filtername

Input filter name that is in the filter table. Maximum of
15 characters.

]

Usage

When an input filter is specified on a network hardwired synchronous port, all packets received from the interface are evaluated against the rule set for this filter. Only packets that are permitted by this filter are allowed to enter the PortMaster. If the filter is changed, the port must be reset for the change to take effect.

This setting is not used for dial-in and dial-out networking; filters for dial-in users are set in the user table or RADIUS, and filters for dial-out locations are set in the location table.

You remove the filter by entering the command without a filter name.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 ifilter internet.in
Input filter for port W1 changed from to internet.in

See Also

add filter - page 15-4

set W1 ofilter - page 6-19

show table filter - page 15-26

set W1 ipxnet

This command sets the IPX network number for the point-to-point connection on a network hardwired synchronous port.

set W1 ipxnet Ipxnetwork

Ipxnetwork

IPX network number. A 32-bit hexadecimal value.

Usage

IPX traffic can be passed through a port if you assign an IPX network number to the hardwired network connection. The serial link itself must have an IPX network number that is different from those at each end of the Ethernet.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 ipxnet OXC009C801
Port W1 ipxnet changed from 00000000 to OXC009C801

See Also

set Ether0 ipxnet - page 4-8

set ipx on - page 3-8

set S0 ipxnet - page 5-26

set W1 lmi

This command sets the Local Management Interface (LMI) polling interval for a network hardwired synchronous port to allow the Frame Relay switch to monitor link status.

set W1 lmi [Seconds]

Seconds

Keepalive interval in seconds, from 0 to 240. Default value is 10.

Usage

The LMI default value is 10 seconds. However, if your telephone company chooses another keepalive value, change this value as they instruct you. Annex-D keepalives are also available. Enabling LMI (or Annex-D) causes the data link connection identifier (DLCI) list to be completed automatically. Setting the interval to zero seconds, or
re-entering the command set W1 lmi, disables LMI. You can display LMI activity using the set debug 0x51 command.

Note ¯ Check with your Frame Relay service provider to determine whether they use LMI or Annex-D; both can be referred to as LMI.

 

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 lmi 10
LMI keepalive timer for W1 changed from 0 to 10

See Also

set debug - page 17-5

set W1 annex-d - page 6-4

set W1 dlci - page 6-8

set W1 mtu

This command sets the maximum transmission unit (MTU) for the network hardwired synchronous port.

set W1 mtu MTU

MTU

Valid values for MTU are between 100 and 1500 bytes.

Usage

The MTU defines the largest frame or packet that can be sent through this port. A packet that exceeds this value is automatically fragmented if IP, or discarded if IPX.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 mtu 1500
MTU for port W1 changed from 0 to 1500

See Also

set W1 protocol - page 6-20

set W1 netmask

This command sets the IP netmask of the remote router for a network hardwired synchronous port.

set W1 netmask Ipmask

Ipmask

IP netmask in dotted decimal notation.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 netmask 255.255.255.0
W1 netmask changed from 0.0.0.0 to 255.255.255.0

See Also

set Ether0 netmask - page 10-7

set S0 netmask - page 5-33

set W1 network

This command sets the network type for the synchronous port.

set W1 network dialin|dialout|twoway|hardwired

dialin

The port accepts dial-in network connections. The remote system is required to authenticate using PAP or CHAP. Dial-in network connections are controlled by the user table or the RADIUS server.

A remote host can connect to the port. This setting is used for ISDN or switched 56Kbps connections.

dialout

The port is available for dialing to remote destinations and initiating network connections to those destinations. Dial-out network connections are controlled by the location table.

The port is available for dial-out use by the location table using V.25bis dialing. This setting is used for ISDN or switched 56Kbps connections.

twoway

The port accepts dial-in network connections, as well as being available for dial-out to remote destinations.

hardwired

This setting is for ports being used in a dedicated network connection between two sites. No modem dialing or authentication is required. The port immediately begins running the specified protocol. The port is connected to a synchronous leased line or Frame Relay using a V.35 or suitable RS-232 cable. Refer to the appropriate hardware configuration guide for more information. You must also set the remote destination address with set W1 destination.

Usage

Network service parameters are set on the port when hardwired, in the user table or by RADIUS for dial-in users, and in the location table for dial-out locations.

Example

Command> set w1 network hardwired
Port type for port W1 changed from Netwrk to Network(hardwired)

See Also

set S0 network - page 5-34

set W1 ofilter

This command sets a packet filter for packets exiting the PortMaster on a network hardwired synchronous port.

set W1 ofilter [Filtername

Filtername

Output filter name that is in the filter table. Maximum of
15 characters.

]

Usage

When an output filter is specified, all packets being sent to the network hardwired port are evaluated against the rule set for this filter. Only packets permitted by this filter are allowed to leave the PortMaster. If the filter is changed, the port must be reset for the changes to take effect.

You remove the filter by entering the command without a filter name.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 ofilter w1.out
Output filter for port W1 changed from to w1.out

See Also

add filter - page 15-4

set W1 ifilter - page 6-13

show table filter - page 15-26

set W1 protocol

This command sets the transport protocol for a network hardwired synchronous port.

set W1 protocol slip|ppp|frame|x75-sync

slip

SLIP protocol.

ppp

PPP. Used for leased lines, ISDN, and switched 56Kbps connections.

frame

Frame Relay.

x75-sync

X.75 Protocol.

Usage

Select PPP for direct leased line connections between routers, for ISDN, or for switched 56Kbps. Select Frame Relay when attaching the port to a Frame Relay network via a Frame Relay switch.

Note ¯ This command is used only for network hardwired synchronous ports.

Example

Command> set w1 protocol ppp
Protocol for port W1 changed from frame relay to ppp

See Also

set debug - page 17-5

set W1 annex-d - page 6-4

set W1 lmi - page 6-15

set W1 speed

This command sets the reference speed for the synchronous port.

set W1 speed 9600|14400|19200|38400|57600|76800|115200|
56000|64000|1344k|1536k|2048k|t1|t1e|e1

9600|14400, and so on

Indicates DTE rate in bits per second.

t1, t1e, e1

Reference for T1, extended superframe T1, or E1 line types.

Usage

The true line speed is set by the external clock signal on the device to which the PortMaster is connected, or by the telephone company network. Speed or line type settings on synchronous ports are for administrative notation only and do not affect the operation of the port.

Example

Command> set w1 speed 64000
Speed for port W1 changed from 9600 to 64000

See Also

set S0 speed - page 5-45

show W1

Shows the current status and configuration for the port. This command can be used for asynchronous, synchronous, ISDN, and parallel ports on the PortMaster.

show W1

Example

Command> show w1

 

 

----------------------- Current Status - Port W1 ----------------------

Status:

ESTABLISHED

 

Input:

507781

Abort Errors:

56/1

Output:

882686

CRC Errors:

27

Pending:

0

Overrun Errors:

0

TX Errors:

0

Frame Errors:

0

Modem Status:

DCD+ CTS+

 

 

 

 

 

Active Configuration

Default Configuration

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

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

Port Type:

Netwrk

Netwrk (Hardwired)

Line Speed:

Ext 1536K

Ext Clock

 

Modem Control:

off

off

 

Remote Host:

172.16.0.37

255.255.255.255

 

Netmask:

255.255.255.0

255.255.255.0

 

Interface:

ptpW1 (PPP, Routing)

(PPP, Routing)

 

Mtu:

1500

0

 

Dial Group:

0

 

 

Explanation

Status

State of the port. Refer to the information on port status in Table 2-2, on page 2-22.

Input/Output/
Pending

Number of bytes input, output, or pending since last reboot.

TX Errors

Number of transmission errors since last reboot.

Abort Errors

Number of abnormal termination errors occurring since last reboot. A slash (/) in this field indicates two separate error counts-framing errors/device errors:

Framing errors-This count increments when the receiver chip reports either a framing error or an abnormal termination.

Device errors-This count increments when the frame size is 0 (zero) or greater than the maximum size of a PPP frame, or when frames overlap each other.

CRC Errors

Number of cyclic redundancy check (CRC) errors occurring since last reboot.

Overrun Errors

Number of overrun errors occurring since last reboot.

Frame Errors

Number of frame errors occurring since last reboot. A slash (/) in this field indicates two separate error counts-short frame errors/large frame errors:

Short frame errors-This count increments when a short frame is received.

Large frame errors-This count increments when a packet is too large and must be dropped.

Modem Status

The plus signs (+) on DCD and CTS indicate that the DCD and CTS signals on the port are asserted (high).

For modem status information for ISDN lines, refer to the ISDN connection chapter in the PortMaster Configuration Guide.

Active Configuration

The configuration currently active on the port.

Default Configuration

The configured port parameters, including available alternatives.

Port Type

The port type-login, device, or network.
(Security) indicates that security has been set for the port.
See
page 5-42.

Line Speed

Ext. indicates external line speed in kilobits per second.

Modem Control

Modem carrier detect signal setting.

Remote Host

IP address of remote host. If the destination address is set to 255.255.255.255 for PPP connections, the PortMaster attempts to learn the remote IP address.

Netmask

The netmask of the local network.

Interface

The interface specification used by the port.

Mtu

The maximum transmission unit (MTU) set for the port.

Dial Group

The dial group number allocated to the port.

 

 



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

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