[Top] [Table Of Contents] [Prev] [Next] [Index]
9 out of 25 total pages
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 virtual synchronous port on the PortMaster 4 as follows:
- ISDN Primary Rate Interface (PRI) ports S0 on T1 or E1 lines configured for ISDN PRI service or fractional PRI service.
- T1 or E1 serial WAN ports W1 on T1 or E1 lines configured for full T1 or E1, fractional T1 or E1, or channelized T1 or E1 service. These ports can be used for leased line, Frame Relay, ISDN, or switched 56Kbps connections.
- You must use the W1 designation to configure a synchronous WAN port and the S0 designation to configure an ISDN PRI port.
Note ¯
After making any configuration changes to a synchronous port, you must use the reset slot command for the changes to take effect.
-
Displaying Synchronous Port Information
- To display information about your synchronous port configuration, use the following commands:
Summary of Synchronous Port Commands
- The synchronous port commands in Table 6-1 configure synchronous ISDN serial ports. Commands marked with a leading bullet (·) can be used only for network hardwired ports.
Table 6-1 Synchronous Port Configuration
|
Command Syntax
|
|
---|
·
| add dlci|ipxdlci W1 Dlci [Ipaddress|Ipxnode]
| - see page 6-3
|
·
| delete dlci|ipxdlci W1 Dlci
| - see page 6-4
|
| reset S0|W1
| - see page 2-13
|
| save ports
| - see page 2-15
|
·
| set W1 address Ipaddress
| - see page 6-5
|
·
| set W1 annex-d Seconds
| - see page 6-5
|
| set W1 cd on|off
| - see page 6-6
|
| set W1 compression on|off|stack|vj
| - see page 6-7
|
·
| set W1 crossbar-ip Ipaddress
| - see page 7-5
|
·
| set W1 destination Ipaddress [Ipmask]
| - see page 6-8
|
| set S0|W1 extended on|off
| - see page 6-8
|
| set S0|W1 group Group
| - see page 6-9
|
| set W1 hangup on|off
| - see page 6-9
|
| set W1 idletime Number [minutes|seconds]
| - see page 6-10
|
·
| set W1 ifilter [Filtername]
| - see page 6-10
|
·
| set W1 ipxnet Ipxnetwork
| - see page 6-11
|
·
| set W1 lmi [Seconds]
| - see page 6-12
|
·
| set W1 mtu MTU
| - see page 6-13
|
·
| set W1 netmask Ipmask
| - see page 6-13
|
| set S0|W1 network dialin|dialout|twoway|hardwired
| - see page 6-14
|
·
| set W1 ofilter [Filtername]
| - see page 6-15
|
| set W1 ospf on|off
| - see page 8-7
|
·
| set S0|W1 protocol slip|ppp|frame|x75-sync
| - see page 6-15
|
·
| set W1 rip on|off|broadcast|listen|v2 {broadcast|multicast|on|v1-compatibility}
| - see page 7-17
|
| set W1 route-filter incoming|outgoing [Filtername]
| - see page 7-8
|
| set W1 speed 9600|14400|19200|38400|57600|76800|115200| 56000|64000|1344k|1536k|2048k|t1|t1e|e1
| - see page 6-16
|
| show all
| - see page 2-19
|
| show W1
| - see page 6-17
|
Synchronous Commands
- These commands affect the synchronous interface of the PortMaster. You must use W1 to configure a synchronous WAN port and S0 to configure an ISDN PRI port.
Note ¯
Always set the port type to network for synchronous ports.
-
add W1 dlci
- This command adds data link connection identifiers (DLCIs) for Frame Relay service on a network hardwired synchronous port.
add dlci|ipxdlci W1 Dlci :[Ipaddress|Ipxnode]
dlci
| Use for IP connections.
|
Dlci
| DLCI number, from 1 to 1023. You can add or delete only one DLCI number at a time.
|
ipxdlci
| Use for IPX connections.
|
: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.
|
- With Local Management Interface (LMI) or Annex-D polling, DLCIs can be learned dynamically. However, 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.
- 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 ¯
The PortMaster 4 supports IPX protocols on ComOS releases 4.1 and later.
-
Note ¯
This command is used only for network hardwired synchronous ports.
-
Example
Command 1> add dlci w1 16 192.168.2.3
New dlci successfully added
See Also
add dlci - page 11-23
set W1 annex-d - page 6-5
set W1 lmi - page 6-12
delete W1 dlci
- This command deletes data link connection identifiers (DLCIs) for Frame Relay service on a network hardwired synchronous port.
delete dlci|ipxdlci W1 Dlci
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.
|
-
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 add dlci W1 command.
Example
Command 1> delete dlci w1 16
DLCI successfully deleted
See Also
add dlci - page 11-23
set W1 annex-d - page 6-5
set W1 lmi - page 6-12
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 hostname--a string of up to 39 characters.
|
- 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 C0 address - page 5-6
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.
|
- 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.
- set W1 lmi - page 6-12
set W1 cd
- This command enables the PortMaster to monitor the presence of the data carrier detect (DCD) signal on a modem attached to a 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.
|
- 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.
- set C0 cd - page 5-7
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. This is the default.
|
off
| Disables compression.
|
stac
| Enables Stac LZS data compression only.
|
vj
| Enables Van Jacobson TCP/IP header compression only.
|
|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.
Example
Command 1> set w1 compression on
Compression for port w1 changed from off to on
See Also
set location compression - page 11-6
set C0 compression - page 5-9
set user compression - page 10-6
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 hostname--a string of up to 39 characters. Enter the IP address of the remote router in dotted decimal notation.
|
Ipmask
| IP netmask in dotted decimal notation.
|
- 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 1> set w1 destination 255.255.255.255
Port W1 destination changed from 0.0.0.0 to 255.255.255.255
See Also
set C0 destination - page 5-10
set S0|W1 extended
- This command sets the extended mode on or off for the synchronous port.
set S0|W1 extended on|off
on
| Turns extended mode on.
|
off
| Turns extended mode off. This is the default.
|
- When extended mode is on, the show command provides more detailed output.
set S0|W1 group
- This command assigns synchronous ports to pools for use by V.25bis dial-out locations.
set S0|W1 group Group
Group
| Group number, from 0 to 100. Default is 0.
|
- 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 11-7 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 11-7
set C0 group - page 5-14
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.
|
- Resetting the port administratively with the reset command always drops the DTR signal.
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.
|
- 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.
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.
|
]
- 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 12-3
set W1 ofilter - page 6-15
show table filter - page 12-18
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.
|
- 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-13
set C0 ipxnet - page 5-18
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.
|
- 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 14-6
set W1 annex-d - page 6-5
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.
|
- 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-15
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 7-7
set C0 netmask - page 5-23
set S0|W1 network
- This command sets the network type for the synchronous port.
set S0|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 an RJ-45 cable. Refer to the PortMaster 4 Installation Guide for more information. You must also set the remote destination address with set W1 destination .
|
- 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 C0 network - page 6-14
set S0|W1 ofilter
- This command sets a packet filter for packets exiting the PortMaster on a network hardwired synchronous port.
set S0 |W1 ofilter [Filtername
Filtername
| Output filter name that is in the filter table. Maximum of 15 characters.
|
]
- 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 12-3
set W1 ifilter - page 6-10
show table filter - page 12-18
set S0|W1 protocol
- This command sets the transport protocol for a network hardwired synchronous port.
set S0 |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.
|
- 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 14-6
set W1 annex-d - page 6-5
set W1 lmi - page 6-12
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.
|
- 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.
show W1
- Shows the current status and configuration for synchronous WAN ports on the PortMaster 4.
show W1
Example
Command> show w70
|
|
|
----------------------- Current Status - Port W70 ----------------------
|
Status:
| ESTABLISHED
|
|
Input:
| 507781
|
Abort Errors:
| 0
|
Output:
| 882686
|
CRC Errors:
| 0
|
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
|
|
|
Modem Control:
| off
|
|
|
Interface:
| Unassigned (FRM,Listen) (FRM,Routing)
|
Mtu:
| 1500
| 0
|
|
Dial Group:
| 0
|
|
|
IP DLCI's:
| DLCI
| Address
|
|
| ------
| -----------
|
|
| 16
| 192.168.1.2
|
|
Explanation
Status
| State of the port. Refer to the information on port status in Table 2-3 on page 2-20.
|
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).
|
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-29.
|
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.
|
See Also
- show S0 - page 2-36
-
[Top] [Table Of Contents] [Prev] [Next] [Index]
9 out of 25 total pages
spider@livingston.com
Copyright © 1999, Lucent Technologies. All rights
reserved.