12.07.2015 Views

Cisco IOS Wide-Area Networking Configuration Guide - Free Books

Cisco IOS Wide-Area Networking Configuration Guide - Free Books

Cisco IOS Wide-Area Networking Configuration Guide - Free Books

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring X.25 and LAPBX.25 and LAPB <strong>Configuration</strong> ExamplesX.25 Failover ExampleIn the following example, X.25 failover is configured on a network that is also configured for Annex G.If data-link connection identifier (DLCI) 13 or DLCI 14 on serial interface 1/0 goes down, dialerinterface 1 will serve as the secondary interface. After DLCI 13 or 14 comes back up and remains up for20 seconds, dialer interface 1 will reset, sending all calls back to the primary interface.interface serial1/0encapsulation frame-relayframe-relay interface-dlci 13x25-profile frame1exitframe-relay interface-dlci 14x25-profile frame1exit!interface dialer1encapsulation x25exitx25 route ^1234 interface serial1/0 dlci 13x25 route ^1234 interface serial1/0 dlci 14x25 route ^1234 interface dialer1!x25 profile frame1 dtex25 fail-over 20 interface dialer1exit!PVC Switching on the Same Router ExampleIn the following example, a PVC is connected between two serial interfaces on the same router. In thistype of interconnection configuration, the destination interface must be specified along with the PVCnumber on that interface. To make a working PVC connection, two commands must be specified, eachpointing to the other.interface serial 0encapsulation x25x25 ltc 5x25 pvc 1 interface serial 1 pvc 4!interface serial 1encapsulation x25x25 ltc 5x25 pvc 4 interface serial 0 pvc 1X.25 Route Address Pattern Matching ExampleThe following example shows how to route X.25 calls with addresses whose first four Data NetworkIdentification Code (DNIC) digits are 1111 to interface serial 3. This example also shows how to changethe DNIC field to 2222 in the addresses presented to equipment connected to that interface. The \1 in therewrite pattern indicates the portion of the original address matched by the digits following the 1111DNIC.x25 route ^1111(.*) substitute-dest 2222\1 interface serial 3Figure 47 shows a more contrived command intended to illustrate the power of the rewriting scheme.65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!