Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

3troubleshootingjunos

.pdf
Скачиваний:
21
Добавлен:
09.06.2015
Размер:
32.13 Mб
Скачать

Troubleshooting JUNOS Platforms

PVC ManagReproductionm nt Protocol

For LMI—a rman nt virtual circuit (PVC) management protocol—interoperability, you might need to configure the LMI type to be either conformant to the ANSI T1-617 Annex D, or alternatively, to the ITU-T Q933 Annex A variant. The ANSI type is the

fordefault management type when encapsulation is set on the physical interface as F ame elay. JUNOS platforms do not support the Frame Relay Forum’s LMI

specification, which is a default for equipment made by other vendors; thus, watch for inte pe ability issues. To alter the management protocol, issue the following

c mmands:

[edit]

Notuser@hos # set interfaces so-0/1/1 encapsulation frame-relay user@hos # set interfaces so-0/1/1 lmi-type itu

Enabling Inverse ARP

You can configure Inverse ARP, as defined in RFC 2390, on the logical interface with the following command. By default, Inverse ARP is disabled.

[edit]

user@host# set interfaces so-0/1/1 unit 25 inverse-arp

Interface Troubleshooting • Chapter 5–71

Troubleshooting JUNOS Platforms

Not

Inverse ARP OpReproductionration

When a Frame Relay int rface com s up, the Frame Relay switch announces the configured DLCIs to the rout . Once these DLCIs become active, some vendors might attempt to map the remote Network Layer address (that is, the IP address) to the local DLCIs.

forOn the slide, Platform 1 learns about DLCIs 501 and 502 from the local Frame Relay switch. If the emote DLCIs are active, Platform 1 sends an Inverse ARP request over the active DLCIs to learn the IP addresses of the remote devices. Platform 1 then maps these Layer 2-to-Layer 3 addresses for use when routing packets between sites. Inverse ARP is not used on point-to-point interfaces.

With Inverse ARP you can resolve the IP addresses of directly connected Frame Relay peers. Thus, in the partial-mesh topology illustrated on the slide, reachability problems between Platform 2 and Platform 3 might exist. Note that these two stations are not directly connected through the Frame Relay cloud. You can resolve this problem in one of two ways: by configuring a full-mesh topology or by configuring a point-to-point operation on the logical interfaces. In the latter approach, each point-to-point link receives a unique IP number, whereas in the full-mesh scenario, all routers comprising the Frame Relay mesh share a common IP subnet. Defining Frame Relay connections as point-to-point eliminates the need for Inverse ARP and allows packets exchanged between Platform 2 and Platform 3 to route through Platform 1.

Chapter 5–72 • Interface Troubleshooting

Troubleshooting JUNOS Platforms

 

 

Reproduction

 

 

 

 

 

 

 

Physical Int rface Troubleshooting

 

 

To troubleshoot Frame lay, verify whether the problem is on the physical port or the

 

 

virtual circuit. You can troubleshoot using loops to determine where the problem lies.

 

 

To verify the physical port, use the show interfaces extensive command and

 

for

 

 

 

 

 

ensu e that no SONET/SDH, E3 and T3, or E1 and T1 alarm is present. If more than

 

 

one logical interface is configured, they will typically all be down if the port, cable, or

 

 

CSU/DSU device is faulty.

 

 

L gical Interface Troubleshooting

 

 

For problems on the logical interface level (that is, virtual circuit), check for the

 

 

following:

 

 

 

Not

Mismatched LMI type;

Incorrectly set encapsulation on one of the routers;

Correctly configured DLCI values;

DLCI-to-logical interface assignment; and

If keepalives are sending and receiving.

You should use the show interfaces brief command to verify settings, LMI

 

 

type, and packets sent and received. (LMI provides keepalive functionality in Frame

Relay.)

Interface Troubleshooting • Chapter 5–73

Troubleshooting JUNOS Platforms

 

Reproduction

 

 

 

 

Physical Interface Troubl shooting

The approach for troubl

shooting ATM is similar to that for Frame Relay—verify

whether the problem is

the physical port or the virtual circuit. To verify the physical

port, use the show interfaces extensive command, and ensure that no

for

 

 

 

SONET/SDH, E3 or T3, or alarm is present. If more than one logical interface is

configu ed, they will typically all be down if the port, cable, or CSU/DSU device is

faulty.

 

 

 

 

Y u also can use loopback testing to determine where the problem lies.

Logical Interface Troubleshooting

For problems on the logical interface level (that is, the virtual circuit), check for the

following:

 

 

 

 

Not

Correct operation of the Integrated Local Management Interface (ILMI)

 

protocol, if enabled;

Correct VPI and VCI;

Operation of the Layer 2 ATM virtual circuit without requiring (or involving)

 

IP functionality by using the ATM-based ping command; and

Correct VPI and VCI to logical interface mappings.

Continued on next page.

Chapter 5–74 • Interface Troubleshooting

Troubleshooting JUNOS Platforms

Logical Interface Troubleshooting (contd.)

You should use the show interfaces brief command to verify settings like VPI and VCI on the various logical interfaces. Another helpful command is show ilmi all.

The following is a typical point-to-point ATM interface configuration. This configuration includes support for the ILMI protocol and periodic OAM cell generation to provide keepalive functionality:

[edit interfaces at-0/2/0] user@host# show atm-options {

 

vpi 0 {

 

 

 

maximum-vcs 200;

 

}

 

 

}

ilmi;

 

 

 

 

 

unit 0 {

 

 

 

vci 100;

 

 

oam-period 10;

 

 

oam-liveness {

 

 

up-count 3;

 

 

down-count 3;

 

 

}

 

 

 

family inet {

 

 

address 10.0.16.1/24;

}

}

 

Reproduction

 

 

 

 

for

Not

 

 

 

Interface Troubleshooting • Chapter 5–75

Troubleshooting JUNOS Platforms

Not

ATM Pings

Reproductio

 

n

 

 

 

 

An ATM ping can be ith nd to nd or local segment.

Use the show interfaces Command

forErro s d ops on the VC statistics indicate a problem in the ATM cloud or with local cabling.

Veri ying that ILMI Works

The ATM Forum specified the use of the ILMI protocol for the address registration of ATM edge devices and keepalive functions on the user-to-network interface (UNI).

You can configure ILMI to communicate with directly attached ATM switches to enable querying of the IP addresses and port numbers of the switches. To display ILMI statistics, use the command show ilmi interface interface-name. The router uses VC 0:16 to communicate with the ATM switch. This VPI and VCI pair is well known.

To enable ILMI communications between the router and its directly attached ATM switches, include the ilmi statement at the [edit interfaces interface-name atm-options] hierarchy level:

[edit interfaces interface-name atm-options] user@host# set ilmi

Chapter 5–76 • Interface Troubleshooting

Troubleshooting JUNOS Platforms

Command Enhanc m nts

The JUNOS Software show interfaces command has several features that make dealing with multipoint int rfaces easier:

 

 

show interfaces brief: Includes VPI, VCI, and DLCI values for

 

 

 

logical interfaces, including status and keepalive settings.

 

 

show interfaces detail: Includes multipoint VPI and VCI to IP

 

for

Reproductionaddress mappings.

Not

 

 

 

 

 

Interface Troubleshooting • Chapter 5–77

Troubleshooting JUNOS Platforms

ATM Ping: End-to-End or S gment

You can use the atm option with the ping command to verify that the virtual circuit is

functional through the use of s

gm nt or end-to-end F5 (VC level) OAM cell flows. The

key point is that these pings do not involve IP or ICMP, and, as such, are used to test

the ATM layer itself. As shown

the slide, a segment-level ATM ping is returned by the

device te minating that VC segment; typically this device is the ingress ATM switch

po t, as shown in the case of Platform 2. In contrast, the end-to-end switch causes

the OAM cells toReproductionloop by the device, which terminates the VC, as shown in the case of

Plat rm 1 and Platform 3.

 

for

 

Not

 

Chapter 5–78 • Interface Troubleshooting

Troubleshooting JUNOS Platforms

 

 

 

Reproduction

 

 

 

 

 

 

 

 

Case Study

 

 

The slide highlights the topic we discuss next.

Not

for

 

 

 

 

 

 

 

Interface Troubleshooting • Chapter 5–79

Troubleshooting JUNOS Platforms

 

 

Reproduction

 

 

 

 

 

 

Interface Troubl shooting Flowchart

 

 

The purpose of the int

rface troubl shooting flow chart shown on the slide is simply to

 

 

provide a set of high-l

v l st ps and decision points designed to get you started on the

 

 

path of interface and transmission line troubleshooting. Note that reasonable people

 

 

for

 

 

 

 

 

might disag ee the exact ordering of the steps or on the particulars of the CLI

 

 

commands that could be used to help isolate an interface or circuit problem.

Not

 

 

 

Chapter 5–80 • Interface Troubleshooting