Configuring Frame Relay on WAN interfaces involves several steps, including configuring the encapsulation type, configuring DLCIs, and defining virtual circuits (PVCs). Below is a basic example of how to configure Frame Relay on Cisco routers using Cisco IOS commands:
1. Configure Serial Interface:
First, you need to configure the serial interface that will be used for Frame Relay connections:
```bash Router(config)# interface serial interface_number ```
Replace `interface_number` with the number of the serial interface you want to configure (e.g., `serial0/0`).
2. Configure Encapsulation:
Next, specify the encapsulation type as Frame Relay:
```bash Router(config-if)# encapsulation frame-relay ```
This command configures the interface to use Frame Relay encapsulation.
3. Configure DLCIs:
Define the DLCIs for the virtual circuits on the interface:
```bash Router(config-if)# frame-relay interface-dlci dlci_number ```
Replace `dlci_number` with the DLCI value assigned to the virtual circuit. You need to configure DLCIs for each PVC on the interface.
4. Configure IP Addressing:
Assign IP addresses to the interface and configure other relevant parameters:
```bash Router(config-if)# ip address ip_address subnet_mask ```
Replace `ip_address` and `subnet_mask` with the appropriate values for the interface.
5. Configure Frame Relay Map:
Optionally, you can configure frame relay maps to associate IP addresses with DLCIs:
```bash Router(config)# frame-relay map ip ip_address dlci ```
This command maps the specified IP address to the corresponding DLCI.
6. Define Frame Relay PVCs:
Lastly, define the Frame Relay PVCs by mapping DLCIs to remote destinations:
```bash Router(config)# frame-relay pvc dlci interface Router(config-fr-pvc)# ip address ip_address ```
Replace `dlci` with the DLCI value, `interface` with the outgoing interface (e.g., `serial0/0`), and `ip_address` with the IP address of the remote destination.
7. Optional Commands:
- You may need to configure additional parameters such as frame relay traffic shaping, quality of service (QoS), or other advanced features depending on your network requirements.
8. Verification:
Verify the configuration using various show commands, such as `show frame-relay map`, `show frame-relay pvc`, and `show interfaces serial`.
9. Save Configuration:
Finally, save the configuration to ensure it persists across reboots:
```bash Router# write memory ```
Or
```bash Router# copy running-config startup-config ```
Both commands save the running configuration to the startup configuration.
Remember to repeat these steps for each serial interface and virtual circuit you want to configure with Frame Relay. Additionally, ensure that the configuration is consistent on both ends of the Frame Relay connection to establish proper communication.