Configuring ATM
Configuring ATM
This chapter describes the tasks for configuring Frame Relay on a router or access server. For further general information about Frame Relay, see the Wide-Area Networking Overview chapter at the beginning of this book. The following new features are included in this chapter:
For a complete description of the Frame Relay commands mentioned in this chapter, refer to the Frame Relay Commands chapter in the Cisco IOS Wide-Area Networking Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online. See the following chapters in other Cisco publications for information on the topics indicated below: To. . . Send DDR traffic over Frame Relay Refer to the. . . Configuring Legacy DDR Spokes and Configuring Legacy DDR Hubs chapters in the Dial-on-Demand Routing Configuration part in the Cisco IOS Dial Services Configuration Guide: Terminal Services. Loading and Maintaining System Images, Microcode, and Firmware chapter in the Cisco IOS Configuration Fundamentals Configuration Guide. Using Configuration Tools chapter in the Cisco IOS Configuration Fundamentals Configuration Guide.
Install software on a new router or access server by downloading from a central server over an interface that supports Frame Relay Use AutoInstall over Frame Relay
Configure transparent bridging between Configuring Transparent Bridging chapter in the Cisco IOS devices over a Frame Relay network Bridging and IBM Networking Configuration Guide. Configure source-route bridging between SNA devices over a Frame Relay network Configure serial tunnel (STUN) and block serial tunnel encapsulation between devices over a Frame Relay network Configuring Source-Route Bridging chapter in the Cisco IOS Bridging and IBM Networking Configuration Guide. Configuring Serial Tunnel and Block Serial Tunnel chapter in the Cisco IOS Bridging and IBM Networking Configuration Guide.
Configure access between SNA devices Configuring SNA Frame Relay Access Support chapter in over a Frame Relay network the Cisco IOS Bridging and IBM Networking Configuration Guide.
WC-113
Configure Voice over Frame Relay Using FRF.11 and FRF.12 Configure Frame Relay traffic shaping (additional information)
Configuring Voice over Frame Relay chapter in the Cisco IOS Multiservice Applications Configuration Guide. Configuring Frame Relay and Frame Relay Traffic Shaping chapter in the Cisco IOS Quality of Service Solutions Configuration Guide.
Connect routers and access servers directly to the Frame Relay switch. Connect routers and access servers directly to a channel service unit/digital service unit (CSU/DSU), which then connects to a remote Frame Relay switch.
Note
Routers can connect to Frame Relay networks either by direct connection to a Frame Relay switch or through CSU/DSUs. However, a single router interface configured for Frame Relay can only be configured for one of these methods. The CSU/DSU converts V.35 or RS-449 signals to the properly coded T1 transmission signal for successful reception by the Frame Relay network. Figure 13 illustrates the connections between the different components.
Figure 13 Typical Frame Relay Configuration
V.35 Router
DSU/CSU
4-wire T1
V.35
Router
The Frame Relay interface actually consists of one physical connection between the network server and the switch that provides the service. This single physical connection provides direct connectivity to each device on a network.
WC-114
Enabling Frame Relay Encapsulation on an Interface (Required) Configuring Dynamic or Static Address Mapping (Required) Configuring the LMI (Optional) Configuring Frame Relay SVCs (Optional) Configuring Frame Relay Traffic Shaping (Optional) Customizing Frame Relay for Your Network (Optional) Monitoring and Maintaining the Frame Relay Connections (Optional)
The tasks described in the following sections are used to enhance or customize your Frame Relay:
See the Frame Relay Configuration Examples section at the end of this chapter for ideas of how to configure Frame Relay on your network. See the Frame Relay Commands chapter in the Cisco IOS Wide-Area Networking Command Reference for information about the Frame Relay commands listed in the following tasks. Use the index or search online for documentation of other commands.
Purpose Specifies the interface, and enters interface configuration mode. Enables and specifies Frame Relay encapsulation method.
Frame Relay supports encapsulation of all supported protocols in conformance with RFC 1490, allowing interoperability between multiple vendors. Use the Internet Engineering Task Force (IETF) form of Frame Relay encapsulation if your router or access server is connected to another vendors equipment across a Frame Relay network. IETF encapsulation is supported either at the interface level or on a per-VC basis. Shut down the interface prior to changing encapsulation types. Although shutting down the interface is not required, it ensures that the interface is reset for the new encapsulation. For an example of enabling Frame Relay encapsulation on an interface, see the IETF Encapsulation Examples section later in this chapter.
WC-115
Inverse ARP is enabled by default for all protocols it supports, but can be disabled for specific protocol-DLCI pairs. As a result, you can use dynamic mapping for some protocols and static mapping for other protocols on the same DLCI. You can explicitly disable Inverse ARP for a protocol-DLCI pair if you know that the protocol is not supported on the other end of the connection. See the Disabling or Reenabling Frame Relay Inverse ARP section later in this chapter for more information. See the following sections for further details on configuring dynamic or static address mapping:
Purpose Maps between a next hop protocol address and DLCI destination address. Defines a DLCI used to send ISO CLNS frames. Defines a DLCI destination bridge.
The supported protocols and the corresponding keywords to enable them are as follows:
WC-116
You can greatly simplify the configuration for the Open Shortest Path First (OSPF) protocol by adding the optional broadcast keyword when doing this task. Refer to the frame-relay map command description in the Cisco IOS Wide-Area Networking Command Reference and the examples at the end of this chapter for more information about using the broadcast keyword. For examples of establishing static address mapping, refer to the section Static Address Mapping Examples later in this chapter.
For information on using Enhanced Local Management Interface with traffic shaping, see the Configuring Frame Relay Traffic Shaping section later in this chapter. For an example of configuring the LMI, see the Pure Frame Relay DCE Example section later in this chapter.
The router is powered up or the interface changes state to up. The line protocol is down but the line is up. The interface is a Frame Relay DTE. The LMI type is not explicitly configured. Status Request Status Messages LMI Autosense Configuration Options
See the following sections for additional information concerning activating LMI autosense:
Status Request
When LMI autosense is active, it sends out a full status request, in all three LMI flavors, to the switch. The order is ANSI, ITU, cisco but is done in rapid succession. Unlike previous software capability, we can now listen in on both DLCI 1023 (cisco LMI) and DLCI 0 (ANSI and ITU) simultaneously.
WC-117
Status Messages
One or more of the status requests will elicit a reply (status message) from the switch. The router will decode the format of the reply and configure itself automatically. If more than one reply is received, the router will configure itself with the type of the last received reply. This is to accommodate intelligent switches that can handle multiple formats simultaneously.
LMI Autosense
If LMI autosense is unsuccessful, an intelligent retry scheme is built in. Every N391 interval (default is 60 seconds, which is 6 keep exchanges at 10 seconds each), LMI autosense will attempt to ascertain the LMI type. For more information about N391, see the frame-relay lmi-n391dte command in the Frame Relay Commands chapter of the Cisco IOS Wide-Area Networking Command Reference. The only visible indication to the user that LMI autosense is underway is when debug frame lmi is turned on. Every N391 interval, the user will now see three rapid status enquiries coming out of the serial interface. One in ANSI, one in ITU and one in cisco LMI-type.
Configuration Options
No configuration options are provided; LMI autosense is transparent to the user. You can turn off LMI autosense by explicitly configuring an LMI type. The LMI type must be written into NVRAM so that next time the router powers up, LMI autosense will be inactive. At the end of autoinstall, a frame-relay lmi-type xxx statement is included within the interface configuration. This configuration is not automatically written to NVRAM; you must explicitly write the configuration to NVRAM by using the copy system:running-config or copy nvram:startup-config commands.
Setting the LMI Type (Required) Setting the LMI Keepalive Interval (Required) Setting the LMI Polling and Timer Intervals (Optional)
Purpose Sets the LMI type. Writes the LMI type to NVRAM.
WC-118
For an example of setting the LMI type, see the Pure Frame Relay DCE Example section later in this chapter.
Purpose Sets the LMI keepalive interval. To disable keepalives on networks that do not utilize LMI, use the no keepalive interface configuration command. For an example of how to specify an LMI keepalive interval, see the Two Routers in Static Mode Example section later in this chapter.
Purpose Sets the DCE and Network-to-Network Interface (NNI) error threshold. Sets the DCE and NNI monitored events count. Sets the polling verification timer on a DCE or NNI interface. Sets a full status polling interval on a DTE or NNI interface. Sets the DTE or NNI error threshold. Sets the DTE and NNI monitored events count.
frame-relay lmi-n393dce events frame-relay lmi-t392dce seconds frame-relay lmi-n391dte keep-exchanges frame-relay lmi-n392dte threshold frame-relay lmi-n393dte events
See the Frame Relay Commands chapter in the Cisco IOS Wide-Area Networking Command Reference for polling and timing interval commands.
WC-119
SVCs can coexist with PVCs in the same sites and routers. For example, routers at remote branch offices might set up PVCs to the central headquarters for frequent communication, but set up SVCs with each other as needed for intermittent communication. As a result, any-to-any communication can be set up without any-to-any PVCs. On SVCs, quality of service (QoS) elements can be specified on a call-by-call basis to request network resources. SVC support is offered in the Enterprise image on Cisco platforms that include a serial or HSSI interface. You must have the following services before Frame Relay SVCs can operate:
Frame Relay SVC support by the service providerThe service providers switch must be capable of supporting SVC operation. Physical loop connectionA leased line or dedicated line must exist between the router (DTE) and the local Frame Relay switch.
For examples of configuring Frame Relay SVCs, see the SVC Configuration Examples section later in this chapter.
Operating SVCs
SVC operation requires that the Data Link layer (Layer 2) be set up, running ITU-T Q.922 Link Access Procedures to Frame mode bearer services (LAPF), prior to signalling for an SVC. Layer 2 sets itself up as soon as SVC support is enabled on the interface, if both the line and the line protocol are up. When the SVCs are configured and demand for a path occurs, the Q.933 signalling sequence is initiated. Once the SVC is set up, data transfer begins. Q.922 provides a reliable link layer for Q.933 operation. All Q.933 call control information is transmitted over DLCI 0; this DLCI is also used for the management protocols specified in ANSI T1.617 Annex D or Q.933 Annex A. You must enable SVC operation at the interface level. Once it is enabled at the interface level, it is enabled on any subinterfaces on that interface. One signalling channel, DLCI 0, is set up for the interface, and all SVCs are controlled from the physical interface.
Configuring SVCs on a Physical Interface (Required) Configuring SVCs on a Subinterface (Optional) Configuring a Map Class (Required) Configuring a Map Group with E.164 or X.121 Addresses (Required) Associating the Map Class with Static Protocol Address Maps (Required) Configuring LAPF Parameters (Optional)
For examples of configuring Frame Relay SVCs, see the SVC Configuration Examples section later in this chapter.
WC-120
Purpose Specifies the physical interface. Specifies the interface IP address, if needed. Enables Frame Relay encapsulation on the interface. Assigns a map group to the interface. Enables Frame Relay SVC support on the interface.
Purpose Specifies a subinterface configured for SVC operation. Specifies the subinterface IP address, if needed. Assigns a map group to the subinterface.
map-group group-name
Specify the map class name. (Required) Specify a custom queue list for the map class. (Optional) Specify a priority queue list for the map class. (Optional) Enable BECN feedback to throttle the output rate on the SVC for the map class. (Optional) Set nondefault QoS values for the map class (no need to set the QoS values; default values are provided). (Optional)
To configure a map class, use the following commands beginning in global configuration mode:
WC-121
Command
Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 Step 9 Step 10 Step 11 Step 12 Step 13
map-class frame-relay map-class-name
Purpose Specifies Frame Relay map class name and enters map class configuration mode. Specifies a custom queue list to be used for the map class. Assigns a priority queue to VCs associated with the map class. Enables the type of BECN feedback to throttle the frame-transmission rate. Specifies the inbound committed information rate (CIR). Specifies the outbound committed information rate (CIR).
2 2
frame-relay mincir in bps frame-relay mincir out bps frame-relay bc in bits frame-relay bc out bits frame-relay be in bits frame-relay be out bits
2 2 2 2
Sets the minimum acceptable incoming CIR. Sets the minimum acceptable outgoing CIR. Sets the incoming committed burst size (Bc). Sets the outgoing committed burst size (Bc). Sets the incoming excess burst size (Be). Sets the outgoing excess burst size (Be).
2
This command replaces the frame-relay becn-response-enable command, which will be removed in a future Cisco IOS release. If you use the frame-relay becn-response-enable command in scripts, you should replace it with the frame-relay adaptive-shaping becn command. The in and out keywords are optional. Configuring the command without the in and out keywords will apply that value to both the incoming and outgoing traffic values for the SVC setup. For example, frame-relay cir 56000 applies 56000 to both incoming and outgoing traffic values for setting up the SVC.
You can define multiple map classes. A map class is associated with a static map, not with the interface or subinterface itself. Because of the flexibility this association allows, you can define different map classes for different destinations.
Purpose Specifies the map group associated with specific source and destination addresses for the SVC.
WC-122
Purpose Specifies a destination protocol address and a Frame Relay map class name from which to derive QoS information.
The ietf keyword specifies RFC 1490 encapsulation; the broadcast keyword specifies that broadcasts must be carried. The trigger keyword, which can be configured only if broadcast is also configured, enables a broadcast packet to trigger an SVC. If an SVC already exists that uses this map class, the SVC will carry the broadcast.
Purpose Selects not to send FRMR frames at the LAPF Frame Reject procedure.
By default, the Frame Reject frame is sent at the LAPF Frame Reject procedure.
Note
Manipulation of Layer 2 parameters is not recommended if you do not know well the resulting functional change. For more information, refer to the ITU-T Q.922 specification for LAPF. If you must change Layer 2 parameters for your network environment and you understand the resulting functional change, use the following commands as needed:
Command
frame-relay lapf k number frame-relay lapf n200 retries frame-relay lapf n201 bytes frame-relay lapf t200 tenths-of-a-second frame-relay lapf t203 seconds
Purpose Sets the LAPF window size k. Sets the LAPF maximum retransmission count N200. Sets maximum length of the Information field of the LAPF I frame N201. Sets the LAPF retransmission timer value T200. Sets the LAPF link idle timer value T203 of DLCI 0.
WC-123
Enabling Frame Relay Encapsulation on an Interface (earlier in this chapter) Defining VCs for Different Types of Traffic Enabling Frame Relay Traffic Shaping on the Interface Enabling Enhanced Local Management Interface Specifying a Traffic Shaping Map Class for the Interface Defining a Map Class with Queueing and Traffic Shaping Parameters Defining Access Lists Defining Priority Queue Lists for the Map Class Defining Custom Queue Lists for the Map Class Rate Enforcement on a Per-VC BasisThe peak rate for outbound traffic. The value can be set to match CIR or another value. Dynamic Traffic Throttling on a Per-VC BasisWhen BECN packets indicate congestion on the network, the outbound traffic rate is automatically stepped down; when congestion eases, the outbound traffic rate is increased. This feature is enabled by default. Enhanced Queueing Support on a Per-VC BasisEither custom queueing or priority queueing can be configured for individual VCs.
The following Frame Relay traffic shaping capabilities were introduced with Cisco IOS Release 11.2:
Note
Frame Relay traffic shaping is not effective for Layer 2 PVC switching using the frame-relay route command. For examples of configuring Frame Relay traffic shaping, see the Frame Relay Traffic Shaping Examples section later in this chapter.
WC-124
To enable Frame Relay traffic shaping on the specified interface, use the following command in interface configuration mode: Command
frame-relay traffic-shaping
Note
The default committed information rate (CIR) of 56K will apply in the following situations: When traffic shaping is enabled (by using the frame-relay traffic-shaping command), but a map class is not assigned to the VC When traffic shaping is enabled (by using the frame-relay traffic-shaping command) and a map class is assigned to the VC, but traffic-shaping parameters have not been defined in the map class To configure a map class with traffic shaping and per-VC queueing parameters, see the sections Specifying a Traffic Shaping Map Class for the Interface and Defining a Map Class with Queueing and Traffic Shaping Parameters.
Frame Relay traffic shaping must be enabled on the interface. The traffic shaping for a circuit is adapted to ForeSight.
WC-125
The UNI connecting to the router is Consolidated Link Layer Management (CLLM) enabled, with the proper time interval specified.
Frame Relay Router ForeSight is enabled automatically when you use the frame-relay traffic-shaping command. However, you must issue the map-class frame-relay command and the frame-relay adaptive-shaping foresight command before the router will respond to ForeSight and apply the traffic shaping effect on a specific interface, subinterface, or VC.
Purpose Specifies the physical interface. Enables Frame Relay encapsulation on the interface. Enables ELMI.
Note
ELMI enables automated exchange of Frame Relay QoS parameter information between the Cisco router and the Cisco switch. Routers can base congestion management and prioritization decisions on known QoS values, such as the Committed Information Rate (CIR), Committed Burst Size (Bc), and Excess Burst Size (Be). The router senses QoS values from the switch and can be configured to use those values in traffic shaping. This enhancement works between Cisco routers and Cisco switches (BPX and IGX platforms). It is not necessary to configure traffic shaping on the interface to enable ELMI, but you may want to do so in order to know the values being used by the switch. If you want the router to respond to the QoS information received from the switch by adjusting the output rate, you must configure traffic shaping on the interface. To configure traffic shaping, use the frame-relay traffic-shaping command in interface configuration mode For an example of configuring a Frame Relay interface with QoS autosense enabled, see the section Enhanced Local Management Interface Example later in this chapter.
WC-126
You can override the default for a specific DLCI on a specific subinterface by using the class VC configuration command to assign the DLCI explicitly to a different class. See the Configuring Frame Relay Subinterfaces section for information about setting up subinterfaces. For an example of assigning some subinterface DLCIs to the default class and assigning others explicitly to a different class, see the Frame Relay Traffic Shaping Examples section later in this chapter.
Purpose Specifies a map class to define. Defines the traffic rate for the map class. Specifies a custom queue list. Specifies a priority queue list. Selects BECN or ForeSight as congestion backward-notification mechanism to which traffic shaping adapts.
1.
This command replaces the frame-relay becn-response-enable command, which will be removed in a future Cisco IOS release. If you use the frame-relay becn-response-enable command in scripts, you should replace it with the frame-relay adaptive-shaping software command.
For an example of map class backward compatibility and interoperability, see the Backward Compatibility Example section later in this section.
WC-127
Configuring Frame Relay End-to-End Keepalives Configuring PPP over Frame Relay Configuring Frame Relay Subinterfaces Configuring Frame Relay Switching Disabling or Reenabling Frame Relay Inverse ARP (multipoint communication only) Creating a Broadcast Queue for an Interface Configuring Payload Compression Configuring Standard-Based FRF.9 Compression Configuring TCP/IP Header Compression Configuring Real-Time Header Compression with Frame Relay Encapsulation Configuring Discard Eligibility Configuring DLCI Priority Levels
WC-128
switch is not end-to-end, end-to-end keepalives are the only source of information about the remote router. End-to-end keepalives verify that data is getting through to a remote device via end-to-end communication. Each PVC connecting two end devices needs two separate keepalive systems, because the upstream path may not be the same as the downstream path. One system sends out requests and handles responses to those requeststhe send sidewhile the other system handles and replies to requests from the device at the other end of the PVCthe receive side. The send side on one device communicates with the receive side on the other device, and vice versa. The send side sends out a keepalive request and waits for a reply to its request. If a reply is received before the timer expires, a send side, Frame Relay end-to-end keepalives is recorded. If no reply is received before the timer expires, an error event is recorded. A number of the most recently recorded events are examined. If enough error events are accumulated, the keepalive status of the VC is changed from up to down, or if enough consecutive successful replies are received, the keepalive status of the VC will be changed from down to up. The number of events that will be examined is called the event window. The receive side is similar to the send side. The receive side waits for requests and sends out replies to those requests. If a request is received before the timer expires, a success event is recorded. If a request is not received, an error event is recorded. If enough error events occur in the event window, the PVC state will be changed from up to down. If enough consecutive success events occur, the state will be changed from down to up. End-to-end keepalives can be configured in one of four modes: bidirectional, request, reply, or passive-reply.
In bidirectional mode, both the send side and receive side are enabled. The devices send side sends out and waits for replies to keepalive requests from the receive side of the other PVC device. The devices receive side waits for and replies to keepalive requests from the send side of the other PVC device. In request mode, only the send side is enabled, and the device sends out and waits for replies to its keepalive requests. In reply mode, only the receive side is enabled, and the device waits for and replies to keepalive requests. In passive-reply mode, the device only responds to keepalive requests, but does not set any timers or keep track of any events.
Because end-to-end keepalives allow traffic flow in both directions, they can be used to carry control and configuration information from end-to-end. Consistency of information between end hosts is critical in applications such as those relating to prioritized traffic and Voice Over Frame Relay. While SVCs can convey such information within end-to-end signaling messages, PVCs will benefit from a bidirectional communication mechanism. End-to-end keepalives are derived from the Frame Relay LMI protocol and work between peer Cisco communications devices. The key difference is that rather than run over the signaling channel, as is the case with LMI, end-to-end keepalives run over individual data channels. Encapsulation of keepalive packets is proprietary; therefore, the feature is available only on Cisco devices running a software release that supports the Frame Relay End-to-End Keepalive feature. You must configure both ends of a VC to send keepalives. If one end is configured as bidirectional, the other end must also be configured as bidirectional. If one end is configured as request, the other end must be configured as reply or passive-reply. If one end is configured as reply or passive-reply, the other end must be configured as request To configure Frame Relay end-to-end keepalives, use the following commands beginning in global configuration mode:
WC-129
Command
Step 1 Step 2
Router(config)# map-class frame-relay map-class-name Router(config-map-class)# frame-relay end-to-end keepalive mode {bidirectional | request | reply | passive-reply}
Purpose Specifies a map class for the VC. Specifies Frame Relay end-to-end keepalive mode.
The four modes determine the type of keepalive traffic each device sends and responds to:
In bidirectional mode, the device will send keepalive requests to the other end of the VC and will respond to keepalive requests from the other end of the VC. In request mode, the device will send keepalive requests to the other end of the VC. In reply mode, the device will respond to keepalive requests from the other end of the VC. In passive-reply mode, the device will respond to keepalive requests from the other end of the VC, but will not track errors or successes.
For an example of configuring bidirectional or request modes with default values, see the sections End-to-End Keepalive Bidirectional Mode with Default Configuration Example or End-to-End Keepalive Request Mode with Default Configuration Example, and for an example of configuring request mode with modified values, see the section End-to-End Keepalive Request Mode with Modified Configuration Example later in this chapter. You can modify the end-to-end keepalives default parameter values by using any of the following map-class configuration commands: Command
Router(config-map-class)# frame-relay end-to-end keepalive error-threshold {send | receive} count Router(config-map-class)# frame-relay end-to-end keepalive event-window {send | receive} count Router(config-map-class)# frame-relay end-to-end keepalive success-events {send | receive} count
Purpose Modifies the number of errors needed to change the keepalive state from up to down. Modifies the number of recent events to check for errors. Modifies the number of consecutive success events required to change the keepalive state from down to up. Modifies the timer interval.
WC-130
Bit count
Table 6 lists the Frame Relay frame format components illustrated in Figure 14.
Table 6 PPP Frame Relay Frame Format Descriptions
Description A single byte that indicates the beginning or end of a frame. A two-byte field that indicates the logical connection that maps to the physical channel; the DLCI. A single byte that calls for transmission of user data. PPP over Frame Relay uses a value of 0X03, which indicates the frame is an unnumbered information (UI) frame. Network layer protocol IDa single byte that uniquely identifies a PPP packet to Frame Relay. Identifies the PPP packet type.
Figure 15 shows remote users running PPP to access their Frame Relay corporate networks.
12708
WC-131
Figure 15
PPP session
Async
Corporate HQ
ISDN
For an example of configuring PPP over Frame Relay, see the section PPP over Frame Relay Examples or PPP over Frame Relay DCE Example later in this chapter.
WC-132
12706
Configuring Transparent Bridging for Frame Relay (Optional) Configuring a Backup Interface for a Subinterface (Optional)
For a selection of subinterface configuration examples, see the Subinterface Examples section later in this chapter.
Purpose Creates a point-to-point or multipoint subinterface. Configures Frame Relay encapsulation on the serial interface.
WC-133
For an example of configuring Frame Relay subinterfaces, see the Subinterface Examples section later in this chapter.
Addressing on Point-to-Point Subinterfaces Addressing on Multipoint Subinterfaces Accepting Inverse ARP for Dynamic Address Mapping on Multipoint Subinterfaces Configuring Static Address Mapping on Multipoint Subinterfaces
For subinterface addressing examples, see the Static Address Mapping Examples section later in this chapter. Figure 16 shows subinterfaces on a partially meshed Frame Relay network.
WC-134
Figure 16
Using Subinterfaces to Provide Full Connectivity on a Partially Meshed Frame Relay Network
Network C: Partially meshed Frame Relay network with full connectivity (configuring subinterfaces)
S3299
WC-135
Note
This command is typically used on subinterfaces; however, it can also be applied to main interfaces. The frame-relay interface-dlci command is used to enable routing protocols on main interfaces that are configured to use Inverse ARP. This command is also helpful for assigning a specific class to a single PVC on a multipoint subinterface. For an explanation of the many available options for this command, refer to the Cisco IOS Wide-Area Networking Command Reference. If you define a subinterface for point-to-point communication, you cannot reassign the same subinterface number to be used for multipoint communication without first rebooting the router or access server. Instead, you can simply avoid using that subinterface number and use a different subinterface number instead.
Accepting Inverse ARP for Dynamic Address Mapping on Multipoint Subinterfaces Configuring Static Address Mapping on Multipoint Subinterfaces
You can configure some protocols for dynamic address mapping and others for static address mapping.
Inverse ARP is enabled by default for all protocols it supports, but can be disabled for specific protocol-DLCI pairs. As a result, you can use dynamic mapping for some protocols and static mapping for other protocols on the same DLCI. You can explicitly disable Inverse ARP for a protocol-DLCI pair if you know the protocol is not supported on the other end of the connection. See the Disabling or Reenabling Frame Relay Inverse ARP section later in this chapter for more information. Because Inverse ARP is enabled by default for all protocols that it supports, no additional command is required to configure dynamic address mapping on a subinterface. For an example of configuring Frame Relay multipoint subinterfaces with dynamic address mapping, see the Frame Relay Multipoint Subinterface with Dynamic Addressing Example section later in this chapter.
WC-136
Purpose Maps between a next hop protocol address and DLCI destination address. Defines a DLCI used to send ISO CLNS frames. Defines a DLCI destination bridge.
The supported protocols and the corresponding keywords to enable them are as follows:
The broadcast keyword is required for routing protocols such as OSI protocols and the Open Shortest Path First (OSPF) protocol. See the frame-relay map command description in the Cisco IOS Wide-Area Networking Command Reference and the examples at the end of this chapter for more information about using the broadcast keyword. For an example of establishing static address mapping on multipoint subinterfaces, see the Two Routers in Static Mode Example, AppleTalk Routing Example, DECnet Routing Example, and IPX Routing Example sections later in this chapter.
For an example of Frame Relay transparent bridging, see the section Transparent Bridging Using Subinterfaces Example later in this chapter.
Note
WC-137
Point-to-Point Subinterfaces
To configure transparent bridging for point-to-point subinterfaces, use the following commands beginning in global configuration mode: Command
Step 1 Step 2 Step 3 Step 4 Step 5
interface type number encapsulation frame-relay
Purpose Specifies an interface. Configures Frame Relay encapsulation on the interface. Specifies a subinterface. Associates a DLCI with the subinterface. Associates the subinterface with a bridge group.
Point-to-Multipoint Interfaces
To configure transparent bridging for point-to-multipoint subinterfaces, use the following commands beginning in global configuration mode: Command
Step 1 Step 2 Step 3 Step 4 Step 5
interface type number encapsulation frame-relay interface type number:subinterface-number multipoint frame-relay map bridge dlci [broadcast] [ietf] bridge-group bridge-group
Purpose Specifies an interface. Configures Frame Relay encapsulation. Specifies a subinterface. Defines a DLCI destination bridge. Associates the subinterface with a bridge group.
WC-138
To configure a backup interface for a Frame Relay subinterface, use the following commands beginning in global configuration mode: Command
Step 1 Step 2 Step 3 Step 4 Step 5 Step 6
interface type number encapsulation frame-relay interface type number.subinterface-number point-to-point frame-relay interface-dlci dlci backup interface type number backup delay enable-delay disable-delay
Purpose Specifies the interface. Configures Frame Relay encapsulation. Configures the subinterface. Specifies DLCI for the subinterface. Configures backup interface for the subinterface. Specifies backup enable and disable delay.
Frame Relay DTE (the router or access server) Frame Relay DCE switch
Figure 17 illustrates Frame Relay switched networks. Routers A, B, and C are Frame Relay DTEs connected to each other via a Frame Relay network.
Figure 17 Frame Relay Switched Network
Frame Relay network DLCI 50 Router A DLCI 60 Network interface DLCI 70 Router B DLCI 80 DTE Implements the Router C user interface DTE
DTE
To configure Frame Relay switching, perform the tasks in the following sections:
Configuring Frame Relay Switching Configuring a Frame Relay DTE Device, DCE Switch, or NNI Support Specifying the Static Route
For an example of Frame Relay switching, see the section Frame Relay Switching Examples later in this chapter.
S1463a
WC-139
For a selection of Frame Relay switching examples, see the Frame Relay Switching Examples section later in this chapter.
For an example of configuring a DTE device or DCE switch, see the Hybrid DTE/DCE PVC Switching Example section later in this chapter. For an example of configuring NNI support, see the Pure Frame Relay DCE Example section later in this chapter.
For an example of specifying a static route, see the section Pure Frame Relay DCE Example later in this chapter.
Note
Static routes cannot be configured over tunnel interfaces on the Cisco 800 series, 1600 series, and 1700 series platforms. Static routes can only be configured over tunnel interfaces on platforms that have the Enterprise feature set.
WC-140
Disable Inverse ARP for a selected protocol and DLCI pair when you know that the protocol is not supported on the other end of the connection. Reenable Inverse ARP for a protocol and DLCI pair if conditions or equipment change and the protocol is then supported on the other end of the connection.
Note
If you change from a point-to-point subinterface to a multipoint subinterface, then change the subinterface number. Frame Relay Inverse ARP will be on by default, and no further action is required. You do not need to enable or disable Inverse ARP if you have a point-to-point interface, because there is only a single destination and discovery is not required. To select Inverse ARP or disable it, use one of the following commands in interface configuration mode:
Command
frame-relay inverse-arp protocol dlci
Purpose Enables Frame Relay Inverse ARP for a specific protocol and DLCI pair, only if it was previously disabled. Disables Frame Relay Inverse ARP for a specific protocol and DLCI pair.
WC-141
To create a broadcast queue, use the following command in interface configuration mode: Command
frame-relay broadcast-queue size byte-rate packet-rate
To configure payload compression on a specified point-to-point interface or subinterface, use the following command in interface configuration mode: Command
frame-relay payload-compress packet-by-packet
Selecting FRF.9 Compression Method Configuring FRF.9 Compression Using Map Statements Configuring FRF.9 Compression on the Subinterface
WC-142
If the router contains a compression service adapter, compression is performed in the CSA hardware (hardware compression). If the CSA is not available, compression is performed in the software installed on the VIP2 card (distributed compression). If the VIP2 card is not available, compression is performed in the routers main processor (software compression).
Purpose Specifies the interface. Specifies Frame Relay as encapsulation type. Enables FRF.9 compression.
Purpose Specifies the subinterface type and number. Specifies Frame Relay as encapsulation type. Enables FRF.9 compression.
encapsulation frame-relay
WC-143
For this algorithm to function, packets must arrive in order. If packets arrive out of order, the reconstruction will appear to create regular TCP/IP packets but the packets will not match the original. Because priority queueing changes the order in which packets are transmitted, enabling priority queueing on the interface is not recommended. See the following sections for configuring or disabling TCP/IP header compression:
Configuring an Individual IP Map for TCP/IP Header Compression Configuring an Interface for TCP/IP Header Compression Disabling TCP/IP Header Compression
Note
If you configure an interface with Cisco encapsulation and TCP/IP header compression, Frame Relay IP maps inherit the compression characteristics of the interface. However, if you configure the interface with IETF encapsulation, the interface cannot be configured for compression. Frame Relay maps will have to be configured individually to support TCP/IP header compression.
An interface configured to support TCP/IP header compression cannot also support priority queueing or custom queueing. TCP/IP header compression requires Cisco encapsulation. If you need to have IETF encapsulation on an interface as a whole, you can still configure a specific IP map to use Cisco encapsulation and TCP header compression. In addition, even if you configure the interface to perform TCP/IP header compression, you can still configure a specific IP map not to compress TCP/IP headers. You can specify whether TCP/IP header compression is active or passive. Active compression subjects every outgoing packet to TCP/IP header compression. Passive compression subjects an outgoing TCP/IP packet to header compression only if a packet had a compressed TCP/IP header when it was received. To configure an IP map to use Cisco encapsulation and TCP/IP header compression, use the following command in interface configuration mode:
Command
frame-relay map ip ip-address dlci [broadcast] cisco tcp header-compression {active | passive}
Purpose Configures an IP map to use Cisco encapsulation and TCP/IP header compression. Default is cisco.
For an example of how to configure TCP header compression on an IP map, see the FRF.9 Compression Configuration Examples section later in this chapter.
WC-144
To apply TCP/IP header compression to an interface, you must use the following commands in interface configuration mode: Command
Step 1 Step 2
encapsulation frame-relay frame-relay ip tcp header-compression [passive]
Purpose Configures Cisco encapsulation on the interface. Enables TCP/IP header compression.
Note
If an interface configured with Cisco encapsulation is later configured with IETF encapsulation, all TCP/IP header compression characteristics are lost. To apply TCP/IP header compression over an interface configured with IETF encapsulation, you must configure individual IP maps, as described in the section Configuring an Individual IP Map for TCP/IP Header Compression. For an example of how to configure TCP header compression on an interface, see the FRF.9 Compression Configuration Examples section later in this chapter.
Purpose Disables TCP/IP header compression on all Frame Relay IP maps that are not explicitly configured for TCP header compression. Disables TCP/IP header compression on a specified Frame Relay IP map.
or
frame-relay map ip ip-address dlci nocompress tcp header-compression
For examples of turning off TCP/IP header compression, see the Disabling Inherited TCP/IP Header Compression Example and Disabling Explicit TCP/IP Header Compression Example sections later in this chapter.
WC-145
Although RTP header compression uses Frame Relay encapsulation, this feature is further described in the Configuring IP Multicast Routing chapter in the Cisco IOS IP and IP Routing Configuration Guide. The commands for configuring this feature appear in the IP Multicast Routing Commands chapter of the Cisco IOS IP and IP Routing Command Reference.
You can create DE lists based on the protocol or the interface, and on characteristics such as fragmentation of the packet, a specific TCP or User Datagram Protocol (UDP) port, an access list number, or a packet size. See the frame-relay de-list command in the Cisco IOS Wide-Area Networking Command Reference for further information. To define a DE group specifying the DE list and DLCI affected, use the following command in interface configuration mode: Command
frame-relay de-group group-number dlci
Mixing batch and interactive traffic over the same DLCI. Traffic from sites with high-speed access being queued at destination sites with lower speed access. Define a global priority list. Enable Frame Relay encapsulation, as described in the Enabling Frame Relay Encapsulation on an Interface section earlier in this chapter.
Before you configure the DLCI priority levels, perform the following tasks:
WC-146
Configuring Frame Relay Monitoring and Maintaining the Frame Relay Connections
Define dynamic or static address mapping, as described in the Configuring Dynamic or Static Address Mapping section earlier in this chapter. Make sure that you define each of the DLCIs to which you intend to apply levels. You can associate priority-level DLCIs with subinterfaces. Configure the LMI, as described earlier in this chapter.
Note
DLCI priority levels provide a way to define multiple parallel DLCIs for different types of traffic. DLCI priority levels do not assign priority queues within the router or access server. In fact, they are independent of the devices priority queues. However, if you enable queueing and use the same DLCIs for queueing, then high-priority DLCIs can be put into high-priority queues. To configure DLCI priority levels, use the following command in interface configuration mode:
Command
frame-relay priority-dlci-group group-number high-dlci medium-dlci normal-dlci low-dlci
Purpose Enables multiple parallel DLCIs for different Frame Relay traffic types, associates and sets level of specified DLCIs with same group.
Note
If you do not explicitly specify a DLCI for each of the priority levels, the last DLCI specified in the command line is used as the value of the remaining arguments. At a minimum, you must configure the high-priority and the medium-priority DLCIs.
Purpose Clears dynamically created Frame Relay maps, which are created by the use of Inverse ARP. Displays information about Frame Relay DLCIs and the LMI. Displays LMI statistics. Displays the current Frame Relay map entries. Displays PVC statistics. Displays configured static routes. Displays Frame Relay traffic statistics. Displays information about the status of LAPF. Displays all the SVCs under a specified map list.
show interfaces serial type number show frame-relay lmi [type number] show frame-relay map show frame-relay pvc [type number [dlci]] show frame-relay route show frame-relay traffic show frame-relay lapf show frame-relay svc maplist
WC-147
IETF Encapsulation Examples Static Address Mapping Examples Subinterface Examples SVC Configuration Examples Frame Relay Traffic Shaping Examples Backward Compatibility Example Booting from a Network Server over Frame Relay Example Frame Relay End-to-End Keepalive Examples PPP over Frame Relay Examples Frame Relay Switching Examples FRF.9 Compression Configuration Examples TCP/IP Header Compression Examples Disabling TCP/IP Header Compression Examples
IETF Encapsulation on the Interface Example IETF Encapsulation on a per-DLCI Basis Example
WC-148
Two Routers in Static Mode Example AppleTalk Routing Example DECnet Routing Example IPX Routing Example
WC-149
Subinterface Examples
The following sections provide Frame Relay subinterface examples and variations appropriate for different routed protocols and bridging:
Basic Subinterface Example Frame Relay Multipoint Subinterface with Dynamic Addressing Example IPX Routes over Frame Relay Subinterfaces Example Unnumbered IP over a Point-to-Point Subinterface Example Transparent Bridging Using Subinterfaces Example
WC-150
For subinterface serial 0.1, the router at the other end might be configured as follows:
ipx routing interface serial 2 multipoint ipx network 1 frame-relay map ipx 1.000.0c02.5f4f 200 broadcast
WC-151
WC-152
Traffic Shaping with Three Point-to-Point Subinterfaces Example Traffic Shaping with ForeSight Example Enhanced Local Management Interface Example
WC-153
WC-154
WC-155
The following configuration shows a Frame-Relay interface enabled with QoS autosense. The router receives messages from the Cisco switch, which is also configured with QoS autosense enabled. When Enhanced Local Management Interface is configured in conjunction with traffic shaping, the router will receive congestion information through BECN or router ForeSight congestion signaling and reduce its output rate to the value specified in the traffic shaping configuration.
interface serial0 no ip address encapsulation frame-relay frame-relay lmi-type ansi frame-relay traffic-shaping frame-relay QoS-autosense ! interface serial0.1 point-to-point no ip address frame-relay interface-dlci 101
WC-156
The frame-relay map command is used to map an IP address into a DLCI address. To boot over Frame Relay, you must explicitly give the address of the network server to boot from, and a frame-relay map entry must exist for that site. For example, if file gs3-bfx.83-2.0 is to be booted from a host with IP address 131.108.126.111, the following commands must be in the configuration:
boot system gs3-bfx.83-2.0 131.108.13.111 ! interface Serial 1 ip address 131.108.126.200 255.255.255.0 encapsulation frame-relay frame-relay map ip 131.108.126.111 100 broadcast
In this case, 100 is the DLCI that can get to host 131.108.126.111. The remote router must have the following frame-relay map entry:
frame-relay map ip 131.108.126.200 101 broadcast
This entry allows the remote router to return a boot image (from the network server) to the router booting over Frame Relay. Here, 101 is a DLCI of the router being booted.
End-to-End Keepalive Bidirectional Mode with Default Configuration Example End-to-End Keepalive Request Mode with Default Configuration Example End-to-End Keepalive Request Mode with Modified Configuration Example
WC-157
router1(config)# map-class frame-relay vcgrp1 router1(config-map-class)# frame-relay end-to-end keepalive mode bidirectional ! router2 router2(config) interface serial 1/1.1 point-to-point router2(config-if) ip address 10.1.1.2 255.255.255.0 router2(config-if) frame-relay interface-dlci 16 router2(config-if) frame-relay class vceek router1(config-if) exit ! router2(config)# map-class frame-relay vceek router2(config-map-class)# frame-relay end-to-end keepalive mode bidirectional
WC-158
! router2 router2(config) interface serial 1/1.1 point-to-point router2(config-if) ip address 10.1.1.2 255.255.255.0 router2(config-if) frame-relay interface-dlci 16 router2(config-if) frame-relay class group_3 router1(config-if) exit ! router2(config)# map-class frame-relay group_3 router2(config-map-class)# frame-relay end-to-end keepalive mode reply
PPP over Frame Relay DTE Example PPP over Frame Relay DCE Example
Note
By default, the encapsulation type for a virtual template interface is PPP encapsulation; therefore, encapsulation ppp will not show up when you view the routers configuration.
WC-159
Note
By default, the encapsulation type for a virtual template interface is PPP encapsulation; therefore, encapsulation ppp will not show up when viewing the routers configuration.
PVC Switching Configuration Example Pure Frame Relay DCE Example Hybrid DTE/DCE PVC Switching Example Switching over an IP Tunnel Example
WC-160
Figure 19
Router A
200 S2 201 DCE
Router C
S1474a
Cisco LMI
The following example shows one router with two interfaces configured as DCEs. The router switches frames from the incoming interface to the outgoing interface on the basis of the DLCI alone.
Configuration for Router A
frame-relay switching ! interface Ethernet0 ip address 131.108.160.58 255.255.255.0 ! interface Serial1 no ip address encapsulation frame-relay keepalive 15 frame-relay lmi-type ansi frame-relay intf-type dce frame-relay route 100 interface Serial2 frame-relay route 101 interface Serial2 clockrate 2000000 ! interface Serial2 encapsulation frame-relay keepalive 15 frame-relay intf-type dce frame-relay route 200 interface Serial1 frame-relay route 201 interface Serial1 clockrate 64000
200 201
100 101
WC-161
Router A
S2 200
NNI
DCE S1
100
DTE
DTE
S2310
Router B
Router D
WC-162
! interface serial 1 no ip address encapsulation frame-relay frame-relay intf-type dce frame-relay lmi-type ansi frame-relay route 100 interface serial 2 200 ! interface serial 2 no ip address encapsulation frame-relay frame-relay intf-type nni frame-relay lmi-type q933a frame-relay route 200 interface serial 1 100 clockrate 2048000 ! interface serial 3 no ip address shutdown
WC-163
DTE
DTE S3
DCE 102
S1 Router B
The following example shows one router configured with both DCE and DTE interfaces (Router B acts as a hybrid DTE/DCE Frame Relay switch). It can switch frames between two DCE ports and between a DCE port and a DTE port. Traffic from the Frame Relay network can also be terminated locally. In the example, three PVCs are defined as follows:
Serial 1, DLCI 102 to serial 2, DLCI 201DCE switching Serial 1, DLCI 103 to serial 3, DLCI 301DCE/DTE switching Serial 2, DLCI 203 to serial 3, DLCI 302DCE/DTE switching
WC-164
Note
Static routes cannot be configured over tunnel interfaces on the Cisco 800 series, 1600 series, and 1700 series platforms. Static routes can only be configured over tunnel interfaces on platforms that have the Enterprise feature set.
WC-165
Figure 22
IP network
S0 200 300
Router D
S1 DCE
DTE
DTE
S2308
Router B
Router C
The following example shows two routers configured to switch Frame Relay PVCs over a point-to-point IP tunnel, which is the IP network configuration depicted in Figure 22.
Configuration for Router A
frame-relay switching ! interface ethernet0 ip address 108.131.123.231 255.255.255.0 ! interface ethernet1 ip address 131.108.5.231 255.255.255.0 ! interface serial0 no ip address shutdown : Interfaces not in use may be shut down; shutdown is not required. ! interface serial1 ip address 131.108.222.231 255.255.255.0 encapsulation frame-relay frame-relay map ip 131.108.222.4 400 broadcast frame-relay route 100 interface Tunnel1 200 ! interface tunnel1 tunnel source Ethernet0 tunnel destination 150.150.150.123
WC-166
FRF.9 Compression for Subinterfaces Using the frame-relay map Command Example FRF.9 Compression for Subinterfaces Example
Note
Shut down the interface or subinterface prior to adding or changing compression techniques. Although not required, shutting down the interface ensures it is reset for the new data structures.
FRF.9 Compression for Subinterfaces Using the frame-relay map Command Example
The following example shows a subinterface being configured for FRF.9 compression using the frame-relay map command.
interface serial2/0/1 ip address 172.16.1.4 255.255.255.0 no ip route-cache encapsulation frame-relay IETF no keepalive frame-relay map ip 172.16.1.1 105 IETF payload-compression FRF9 stac
WC-167
IP Map with Inherited TCP/IP Header Compression Example Using an IP Map to Override TCP/IP Header Compression Example
Note
Shut down the interface or subinterface prior to adding or changing compression techniques. Although not required, shutting down the interface ensures that it is reset for the new data structures.
Use of the show frame-relay map command will display the resulting compression and encapsulation characteristics; the IP map has inherited passive TCP/IP header compression:
Router> show frame-relay map Serial 1 (administratively down): ip 131.108.177.177 dlci 177 (0xB1,0x2C10), static, broadcast, CISCO TCP/IP Header Compression (inherited), passive (inherited)
This example also applies to dynamic mappings achieved with the use of inverse-arp on point-to-point subinterfaces where no Frame Relay maps are configured.
WC-168
Use of the show frame-relay map command will display the resulting compression and encapsulation characteristics; the IP map has not inherited TCP header compression:
Serial 1 (administratively down): ip 131.108.177.177 dlci 177 (0xB1,0x2C10), static, broadcast, CISCO
Note
Shut down the interface or subinterface prior to adding or changing compression techniques. Although not required, shutting down the interface ensures that it is reset for the new data structures.
Disabling Inherited TCP/IP Header Compression Example Disabling Explicit TCP/IP Header Compression Example
The following examples illustrate the use of different commands to disable TCP/IP header compression.
Note
Shut down the interface or subinterface prior to adding or changing compression techniques. Although not required, shutting down the interface ensures that it is reset for the new data structures.
WC-169
Use of the show frame-relay map command will display the resulting compression and encapsulation characteristics:
Router> show frame-relay map Serial 1 (administratively down): ip 131.108.177.177 177 dlci 177(0xB1, 0x2C10), static, broadcast CISCO (administratively down): ip 131.108.177.178 178 dlci 178(0xB2,0x2C20), static broadcast CISCO TCP/IP Header Compression (enabled)
Serial 1
As a result, header compression is disabled for the first map (with DLCI 177), which inherited its header compression characteristics from the interface. However, header compression is not disabled for the second map (DLCI 178), which is explicitly configured for header compression.
Use of the show frame-relay map command will display the resulting compression and encapsulation characteristics:
Router> show frame-relay map Serial 1 (administratively down): ip 131.108.177.177 177 dlci 177(0xB1,0x2C10), static, broadcast CISCO (administratively down): ip 131.108.177.178 178 dlci 178(0xB2,0x2C20), static broadcast CISCO
Serial 1
The result of the commands is to disable header compression for the first map (with DLCI 177), which inherited its header compression characteristics from the interface, and also explicitly to disable header compression for the second map (with DLCI 178), which was explicitly configured for header compression.
WC-170