Frame Relay over MPLS Configuration Example
The script provided in this section is one way to configure Frame Relay services over MPLS. Explanation notes are provided within the script. You must change the script for your specific configuration.
The topology example shown in Figure 119 further explains the configuration script.
NOTE: The route interface command is used toward the end of the configuration script. You can substitute the mpls-relay command, depending on the tunneling method best for your environment.
hostname "host 1"exception protocol ftp anonymous null!--------------------------------------------------------------------------!Configure CT3 interfaces in slot 4 for Frame Relay.!--------------------------------------------------------------------------!controller t3 4/0no shutdownclock source internal modulecablelength 5t1 1 clock source internal modulet1 1/1 timeslots 1-24 speed 64t1 2 clock source internal modulet1 2/1 timeslots 1-24 speed 64!controller t3 4/1no shutdownclock source internal modulecablelength 5t1 1 clock source internal modulet1 1/1 timeslots 1-24 speed 64t1 2 clock source internal modulet1 2/1 timeslots 1-24 speed 64!--------------------------------------------------------------------------!Create virtual router default.!--------------------------------------------------------------------------virtual-router defaultinterface loopback 0ip address 222.9.1.1 255.255.255.255!--------------------------------------------------------------------------!Configure Frame Relay interfaces.!--------------------------------------------------------------------------interface serial 4/0:1/1encapsulation frame-relay ietfinterface serial 4/0:1/1.1frame-relay interface-dlci 17 ietf!interface serial 4/0:2/1encapsulation frame-relay ietfinterface serial 4/0:2/1.1frame-relay interface-dlci 12 ietf!interface serial 4/1:1/1encapsulation frame-relay ietfframe-relay intf-type dceinterface serial 4/1:1/1.1frame-relay interface-dlci 17 ietf!interface serial 4/1:2/1encapsulation frame-relay ietfframe-relay intf-type dceinterface serial 4/1:2/1.1frame-relay interface-dlci 12 ietf!--------------------------------------------------------------------------!Create virtual router two. Configure MPLS.!--------------------------------------------------------------------------virtual-router twomplsmpls ldp tar send list 222.9.1.3interface loopback 0ip address 222.9.1.2 255.255.255.255ip router isisinterface atm 2/0atm clock inter modinterface atm 2/0.1atm pvc 1 1 11 aal5snapip address 10.10.11.2 255.255.255.0ip router isismplsmpls ldprouter isisnet 47.0005.80FF.F800.0000.0000.0004.0000.F209.0202.00mpls traffic-eng router-id loopback 0mpls traffic-eng level-1metric-style wide!--------------------------------------------------------------------------!Create virtual router three. Configure MPLS.!--------------------------------------------------------------------------virtual-router threemplsmpls ldp tar send list 222.9.1.2interface loopback 0ip address 222.9.1.3 255.255.255.255ip router isisinterface atm 2/0.2atm pvc 2 1 12 aal5snapip address 10.10.12.3 255.255.255.0ip router isismplsmpls ldprouter isisnet 47.0005.80FF.F800.0000.0000.0004.0000.F209.0303.00mpls traffic-eng router-id loopback 0mpls traffic-eng level-1metric-style wide!--------------------------------------------------------------------------!Create virtual router four.!--------------------------------------------------------------------------virtual-router fourinterface loopback 0ip address 222.9.1.4 255.255.255.255!--------------------------------------------------------------------------!Create virtual router five. Configure MPLS.!--------------------------------------------------------------------------virtual-router fivemplsinterface loopback 0ip address 222.9.1.5 255.255.255.255ip router isisinterface atm 2/1.1atm pvc 1 1 11 aal5snapip address 10.10.11.5 255.255.255.0ip router isismplsmpls ldpinterface atm 2/1.2atm pvc 2 1 12 aal5snapip address 10.10.12.5 255.255.255.0ip router isismplsmpls ldprouter isisnet 47.0005.80FF.F800.0000.0000.0004.0000.F209.0505.00mpls traffic-eng router-id loopback 0mpls traffic-eng level-1metric-style wide!--------------------------------------------------------------------------!Create MPLS tunnel from VR three to VR two. Route Frame Relay traffic via MPLS tunnel.!--------------------------------------------------------------------------vir threeinterface tunnel mpls:3tunnel destination 222.9.1.2interface serial 4/1:2/1.1route interface tunnel mpls:3 45vir twointerface tunnel mpls:2tunnel destination 222.9.1.3int ser 4/1:1/1.1route interface tunnel mpls:2 45