[j-nsp] Problem with local interface switching
Angel Bardarov
angel.bardarov at btc-net.bg
Mon Mar 12 05:34:36 EST 2007
Hi,
I have forwarding problem with frame relay PVCs. I need to do local
switching between 2 FR PVCs. The configurations seem to be correct and
everything is "up" but no actual traffic is switched. I tried with Junos
versions 7.4R2.6 and 8.1R1.5.The topology is:
|CE1(edge-a1)|---------|PE1(edge-a1)|------------|CE2(edge-a2)|
e1-2/0/1.20-------e1-2/0/0.20|ds-2/0/4.20--------ds-2/0/4.20
192.168.30.2/24------------ccc-------------------192.168.30.1/30
And the configurations:
CE2:
lab at edge-a2-RE0# show interfaces ds-2/0/4:1
dce;
encapsulation flexible-frame-relay;
lmi {
lmi-type ansi;
}
unit 20 {
point-to-point;
dlci 20;
family inet {
address 192.168.30.1/24;
}
}
CE1:
lab at edge-a1-RE0# show interfaces e1-2/0/1
description FR_PAC1;
dce;
encapsulation flexible-frame-relay;
lmi {
lmi-type itu;
}
unit 20 {
dlci 20;
family inet {
address 192.168.30.2/24;
}
}
PE1:
lab at edge-a1-RE0# show interfaces e1-2/0/0
description FR_to_PAC1;
encapsulation flexible-frame-relay;
lmi {
lmi-type itu;
}
unit 20 {
encapsulation frame-relay-ccc;
point-to-point;
dlci 20;
}
lab at edge-a1-RE0> show interfaces ds-2/0/4:1
encapsulation flexible-frame-relay;
lmi {
lmi-type ansi;
}
unit 20 {
encapsulation frame-relay-ccc;
point-to-point;
dlci 20;
}
I configured first the local switching as l2circuit:
lab at edge-a1-RE0> show configuration protocols l2circuit local-switching
interface e1-2/0/0.20 {
end-interface {
interface ds-2/0/4:1.20;
}
}
lab at edge-a1-RE0> show l2circuit connections interface e1-2/0/0.20 extensive
Layer-2 Circuit Connections:
Legend for connection status (St)
EI -- encapsulation invalid NP -- interface h/w not present
MM -- mtu mismatch Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down
CM -- control-word mismatch Up -- operational
VM -- vlan id mismatch CF -- Call admission control failure
OL -- no outgoing label XX -- unknown
NC -- intf encaps not CCC/TCC
CB -- rcvd cell-bundle size bad
Legend for interface status
Up -- operational
Dn -- down
Local Switch e1-2/0/0.20
Interface Type St Time last up # Up trans
e1-2/0/0.20(vc 0) _* loc Up*_ Mar 12 12:02:49
2007 1
Local interface: e1-2/0/0.20, _*Status: Up*_, Encapsulation: FRAME
RELAY
Local interface: ds-2/0/4:1.20, _*Status: Up*_, Encapsulation:
FRAME RELAY
Time Event Interface/Lbl/PE
Mar 12 12:02:49 2007 status update timer
Mar 12 12:02:49 2007 status update timer
Mar 12 12:02:48 2007 rmt intf up ds-2/0/4:1.20
Mar 12 12:02:48 2007 loc intf up e1-2/0/0.20
Mar 12 12:02:47 2007 rmt intf up e1-2/0/0.20
Mar 12 12:02:47 2007 loc intf up ds-2/0/4:1.20
I have pings running from CE1 to CE2 and viceversa, the interfaces that
are part of local switch have input traffic but don't have output:
lab at edge-a1-RE0> show interfaces ds-2/0/4:1.20
Logical interface ds-2/0/4:1.20 (Index 131) (SNMP ifIndex 151)
Flags: Point-To-Point SNMP-Traps Encapsulation: FR-CCC
Input packets : 225
Output packets: 0
Protocol ccc, MTU: 1504
Flags: None
DLCI 20
Flags: Active, DCE-Configured
Total down time: 0 sec, Last down: Never
_*Input packets : 225 *_
_*Output packets: 0
*_
lab at edge-a1-RE0> show interfaces e1-2/0/0.20
Logical interface e1-2/0/0.20 (Index 123) (SNMP ifIndex 134)
Flags: Point-To-Point SNMP-Traps Encapsulation: FR-CCC
Bandwidth: 1984kbps
Input packets : 86
Output packets: 0
Protocol ccc, MTU: 1504
Flags: None
DLCI 20
Flags: Active, DCE-Configured
Total down time: 0 sec, Last down: Never
_* Input packets : 86 *_
_* Output packets: 0*_
I configured traceoptions with flag "all":
lab at edge-a1-RE0# run show log fr.txt
Mar 12 12:15:10 edge-a1-RE0 clear-log[4510]: logfile cleared
Mar 12 12:15:17.246187 intf e1-2/0/0.20 (local switching), updated
from configuration
Mar 12 12:15:17.246334 intf ds-2/0/4:1.20 (local switching), updated
from configuration
Mar 12 12:15:17.457040 vc_iflchange intf ds-2/0/4:1.20
Mar 12 12:15:17.457155 vc_iflchange intf e1-2/0/0.20
Mar 12 12:15:17.459531 vc_ifachange : Triggering VC status update timer
for intf e1-2/0/0.20
Mar 12 12:15:17.459549 Triggering VC status update timer for intf
e1-2/0/0.20
Mar 12 12:15:17.459574 vc_ifachange: vc (Neighbor : local, VC-ID : 0),
ifl e1-2/0/0.20: status intf Up -> intf Up
Mar 12 12:15:17.459805 vc_ifachange : Triggering VC status update timer
for intf ds-2/0/4:1.20
Mar 12 12:15:17.459811 Triggering VC status update timer for intf
ds-2/0/4:1.20
Mar 12 12:15:17.459820 vc_ifachange: vc (Neighbor : local, VC-ID : 0),
ifl ds-2/0/4:1.20: status intf Up -> intf Up
Mar 12 12:15:17.517984 Recomputing the status of the VC for interface :
e1-2/0/0.20
Mar 12 12:15:17.518032 Recomputing the status of the VC for interface :
ds-2/0/4:1.20
I tried with following configuration but again no success:
lab at edge-a1-RE0# show protocols connections
interface-switch fr {
interface e1-2/0/0.20;
interface ds-2/0/4:1.20;
}
Does anybody have any clue what may be the problem? Is it a bug or I'm
missing something?
/Best regards,
Angel Bardarov
Senior Specialist
Backbone Networks
Fixed Networks Architecture and Engineering Department
Bulgarian Telecommunications Company Plc.
Gurko 4 St., Sofia 1000, Bulgaria
//+ 359 2 9320823/
More information about the juniper-nsp
mailing list