Configuring Frame Relay
Configure a Frame Relay interface by entering Interface Configuration mode. The procedure that follows is an example of a Frame Relay configuration on a serial interface. All tasks are mandatory unless otherwise noted.
To configure a Frame Relay interface:
- From Configuration mode, enter the physical interface on which you want to configure Frame Relay.
host1(config)#interface serial 3/1:2/1- Select Frame Relay as the encapsulation method for the interface.
host1(config-if)#encapsulation frame-relay ietf- (Optional) Assign a text description or an alias to the major interface.
host1(config-if)#frame-relay description boston01- (Optional) Enable SNMP link status processing on the major interface.
host1(config-if)#snmp trap frame-relay link-status- Configure the interface as a DTE, DCE, or NNI.
host1(config-if)#frame-relay intf-type dte- Configure the LMI type.
host1(config-if)#frame-relay lmi-type ansi- (Optional) Configure Frame Relay counters and timers.
host1(config-if)#frame-relay lmi-n391dte 20- Configure the cyclic redundancy check (CRC).
host1(config-if)#crc 32- Create a subinterface.
host1(config)#interface serial 3/1:2/1.1- (Optional) Assign a text description or an alias to the subinterface.
host1(config-subif)#frame-relay description westford011- (Optional) Enable SNMP link status processing on the subinterface.
host1(config-subif)#snmp trap frame-relay link-status- Add a circuit to a subinterface.
host1(config-subif)#frame-relay interface-dlci 17 ietf- Assign a local IP address to the circuit.
host1(config-subif)#ip address 192.32.10.2 255.255.255.0- (Optional) Use show commands to verify that your configuration changes are correct by checking the state of the interfaces.
host1#show frame-relay lmihost1#show frame-relay maphost1#show frame-relay pvc- (Optional) Disable the local management interface.
host1#no frame-relay keepalive- (Optional) Disable the interface.
host1(config-if)#shutdowncrc
- Use to set the number of bits used for CRC.
- The CRC is an error-checking technique that uses a calculated numeric value to detect errors in transmitted data.
- 16 and 32 indicate the number of bits per frame that are used to calculate the frame check sequence (FCS).
- A 32-bit CRC transmits longer streams at faster rates and therefore provides better ongoing error detection, such as for an OC12/STM4 POS module.
- The default is 16. You must configure CRC (CRC16 or CRC32) to match the configuration on the other side of the Frame Relay connection.
- Example
host1(config-if)#crc 32Use the no version to set the CRC to the default value. encapsulation frame-relay ietf
- Use to specify Frame Relay as the encapsulation method for the interface.
- The router uses IETF format (RFC 2427 encapsulation).
- Example
host1(config-if)#encapsulation frame-relay ietfUse the no version to remove Frame Relay configuration from an interface. frame-relay description
- Use to assign a text description or an alias to a Frame Relay interface or subinterface.
- You can use this command to help you identify the interface and keep track of interface connections.
- The description or alias can be a maximum of 80 characters.
- Use the show frame-relay interface or show frame-relay subinterface command to display the text description.
- Examples
host1(config-if)#frame-relay description boston01host1(config-subif)#frame-relay description toronto011Use the no version to remove the text description or alias. frame-relay interface-dlci ietf
- Use to configure a Frame Relay permanent virtual circuit (PVC) over a subinterface.
- The ietf keyword is mandatory and indicates RFC 2427 encapsulation.
- Define a DLCI in the range 161007.
- To configure a Frame Relay PVC, you must specify a DLCI.
- Frame Relay service is offered in the form of PVCs. A PVC is a data-link connection that is predefined on both ends of the connection. A network operator assigns the endpoints of the circuit. Although the actual path taken through the network may vary from time to time, the beginning and end of the circuit do not change. This type of circuit behaves like a dedicated point-to-point circuit.
- PVCs are identified by DLCIs. A DLCI is a 10-bit channel number that is attached to data frames to tell a Frame Relay network how to route the data. Frame Relay is statistically multiplexed, which means that only one frame can be transmitted at a time, but many logical connections can coexist on a single physical line. The DLCI allows the data to be logically tied to one of the connections, so that when the data gets to the network, the network knows where to send it.
- DLCIs on the same physical line must match. However, DLCIs have local significance; that is, if the DLCIs are not on the same physical line, the end devices at two different ends of a connection may use a different DLCI to refer to the same connection.
- The router does not support switched virtual circuits (SVCs). An SVC is an any-to-any connection that can be established or removed as needed. With SVCs, you initiate calls using Frame Relay by requesting a destination address and assigning a DLCI, which is established for the duration of the call.
- Example
host1(config-subif)#frame-relay interface-dlci 17 ietfUse the no version to remove DLCI/PVC assignment. frame-relay intf-type
- Use to configure a Frame Relay interface circuit to operate as data communications equipment (DCE), data terminal equipment (DTE), or NNI.
- Frame Relay provides packet-switching data communications between user devices and network equipment across the interface. User devices are referred to as DTE.
- Network equipment that interfaces with a DTE is referred to as a DCE.
- NNI provides a connection between two Frame Relay subnetworks.
- If your router is connected to a Frame Relay switch, configure the interface as a DTE. If your router is connected by a point-to-point line, configure one end as the DTE and the other as the DCE.
- Example
host1(config-if)#frame-relay intf-type dteUse the no version to set the default of DTE. frame-relay keepalive
- Use to enable the LMI on the interface.
- You can specify the keepalive interval in seconds.
- Make sure the value on the DTE is less than the value set on the DCE.
- The default is 10 seconds.
- Example
host1#no frame-relay keepaliveUse the no version to disable LMI on the interface. frame-relay lmi-n391dte
- Use to configure LMI counters and timers.
- LMI counters and timers have configurable ranges that allow you to control the state of the Frame Relay interface. In general, accept the default values for the timers and counters, unless you need to modify them according to a special arrangement with your customers.
- Some commands have DTE and DCE versions. Use the dte version of the command if the interface is operating as a DTE. Use the dce version of the command if the interface is operating as a DCE. Use both versions of the command if the interface is operating as an NNI.
- Use the frame-relay lmi-n391dte command to set the N391 full-status polling counter. When you set this counter to a number, n, the nth request is a full-status request. The range is 1255 event messages. The default is 6 event messages.
- Use the frame-relay lmi-n392dte or frame-relay lmi-n392dce command to set the N392 error threshold counter, which specifies the number of errors within N393 events that will place the interface in an operationally down state. The range is 110. The default for the DTE version is 3. The default for the DCE version is 2.
- Use the frame-relay lmi-n393dte or frame-relay lmi-n393dce command to set the N393 monitored events counter to specify the diagnostic window used to verify link integrity. Detection of N392 errors within the window of N393 samples places the interface in an operationally down state. The range is 110 events. The default for the DTE version of the command is 4 events. The default for the DCE version is 2 events.
- Use the frame-relay lmi-t391dte command to set the T391 link integrity polling timer interval between status inquiries issued by the DTE. The network checks that the DTE polls within the verification interval, T392. The range is 530 seconds. The default is 10 seconds.
- Use the frame-relay lmi-t392dce command to set the T392 polling verification timer that specifies the maximum interval (in seconds) between the receipt of status inquiries from the DTE equipment before it considers it as an error event. The range is 530 seconds. The default is 15 seconds.
- Example
host1(config-if)#frame-relay lmi-n391dte 20Use the no version to remove the current setting and set the default. frame-relay lmi-type
- Use to configure one of the local management interface types.
- LMI provides configuration and status information relating to the virtual circuits operating over Frame Relay.
- LMI specifies polling mechanisms to receive incremental and full-status updates from the network.
- E-series routers conform to the following LMI specifications:
- ansiANSI T1.617 Annex D
- q933aITU-T Q.933 Annex A
- ciscoOriginal Group of Four specification developed by DEC, Northern Telecom, Stratacom, and Cisco
- noneSuppresses LMI
host1(config-if)#frame-relay lmi-type ansiUse the no version to return to the default LMI type. interface pos
host1(config)#interface pos 0/1Use the no version to remove the POS interface. interface serial
- Use to configure a serial interface in the appropriate format by selecting a previously configured physical interface on which you want to configure Frame Relay. For example, for a channelized T3 interface use slot/port:channel/subchannel.
- Use to configure a Frame Relay subinterface in the appropriate format by selecting a previously configured physical interface. For example, for a T3-Frame interface use slot/port.subinterface; for a channelized T1/channelized E1 interface use slot/port.channel-group.subinterface.
NOTE: Before you configure Frame Relay, see the appropriate chapter in this guide for details on configuring physical interfaces.
- slotRouter chassis slot
- portCT3, T3, or E3 module I/O port
- channelT1 (DS1) channel
- subchannelSet of DS0 timeslots. See the Fractional T1 section in JUNOSe Physical Layer Configuration Guide, Chapter 1, Configuring Channelized T3 Interfaces
- subinterfaceUser-assigned nonnegative number that identifies a Frame Relay subinterface
host1(config-if)#interface serial 3/1:2/1.1Use the no version to remove the subinterface or the serial interface. ip address
host1(config-subif)#ip address 192.32.10.2 255.255.255.0Use the no version to remove an IP address or to disable IP processing. pos description
- Use to assign a text description or an alias to a POS HDLC interface.
- You can use this command to help you identify the interface and keep track of interface connections.
- The description or alias can be a maximum of 80 characters.
- Use the show interfaces pos command to display the text description. For details, see Monitoring POS in Chapter 9, Configuring Packet over SONET.
- Example
host1(config-if)#pos description austin01 pos interfaceUse the no version to remove the text description or alias. serial description
- Use to assign a text description or an alias to a serial HDLC interface.
- You can use this command to help you identify the interface and keep track of interface connections.
- The description or alias can be a maximum of 80 characters.
- Use the show interfaces serial command to display the text description. For example, for a channelized T3 interface, see Monitoring Interfaces in JUNOSe Physical Layer Configuration Guide, Chapter 1, Configuring Channelized T3 Interfaces.
- Example
host1(config-if)#serial description ottawa012 hdlc channelUse the no version to remove the text description or alias. shutdown
host1(config-if)#shutdownUse the no version to restart a disabled interface. snmp trap frame-relay link-status
- Use to enable SNMP link status processing for a Frame Relay major interface or subinterface.
- To enable SNMP link status processing for a Frame Relay major interface, you must issue the command from Interface Configuration mode.
- To enable SNMP link status processing for a Frame Relay subinterface, you must issue the command from Subinterface Configuration mode.
- Examples
host1(config-if)#snmp trap frame-relay link-statushost1(config-subif)#snmp trap frame-relay link-statusUse the no version to disable SNMP link status processing for a Frame Relay major interface or subinterface.