[Top] [Table Of Contents] [Prev] [Next] [Index]
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.
To display information about your configuration, use the following 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.
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
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.
Command> set w1 address 192.168.7.2
Port W1 local address changed from 0.0.0.0 to 192.168.7.2
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
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.
Command> set w1 annex-d 10
ANNEX-D keepalive timer for S1 changed from 0 to 10
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
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.
Command> set w1 cd on
CD required for port W1 changed from off to on
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
|stac|vj
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.
Command> set w1 compression on
Compression for port w1 changed from off to on
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]
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.
Command> set w1 destination 255.255.255.255
Port W1 destination changed from 0.0.0.0 to 255.255.255.255
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.
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.
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
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
When extended mode is on, the show command provides more detailed output.
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
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.
Command> set w1 group 1
Group number for port W1 changed from 0 to 1
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
Resetting the port administratively with the reset command always drops the DTR signal.
Command> set w1 hangup on
DTR Hangup for port W1 changed from off to on
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]
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.
Command> set w1 idletime 120
Idle timeout for W1 changed from 0 minutes to 120 minutes
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
]
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.
Command> set w1 ifilter internet.in
Input filter for port W1 changed from to internet.in
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
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.
Command> set w1 ipxnet OXC009C801
Port W1 ipxnet changed from 00000000 to OXC009C801
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]
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.
Command> set w1 lmi 10
LMI keepalive timer for W1 changed from 0 to 10
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
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.
Command> set w1 mtu 1500
MTU for port W1 changed from 0 to 1500
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
Note ¯
This command is used only for network hardwired synchronous ports.
Command> set w1 netmask 255.255.255.0
W1 netmask changed from 0.0.0.0 to 255.255.255.0
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
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.
Command> set w1 network hardwired
Port type for port W1 changed from Netwrk to Network(hardwired)
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
]
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.
Command> set w1 ofilter w1.out
Output filter for port W1 changed from to w1.out
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
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.
Command> set w1 protocol ppp
Protocol for port W1 changed from frame relay to ppp
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
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.
Command> set w1 speed 64000
Speed for port W1 changed from 9600 to 64000
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
[Top] [Table Of Contents] [Prev] [Next] [Index]
spider@livingston.com
Copyright © 1998, Lucent Technologies. All rights
reserved.