cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2293
Views
0
Helpful
6
Replies

OSPF does not come up between SW 3850 and router juniper MX960

tuananh141296
Level 1
Level 1

Hello,

i configure Switch 3850 (stack 2 sw) and router juniper mx960 to run ospf bui it did not run. they connected directly, port was up.

this is the configuration of sw and router:

switch 3850:

ip routing

!
interface GigabitEthernet1/1/2
no switchport
ip address 10.254.2.114 255.255.255.252
ip ospf network point-to-point

!

router ospf 1
router-id 10.254.2.114
network 10.254.2.112 0.0.0.3 area 0

router mx960:

admin@re0# show interfaces ge-0/0/5
description ge-0/0/5-Sw3850;
unit 0 {
family inet {
address 10.254.2.113/30;
}
}

admin@re0# show routing-instances LOCAL
instance-type vrf;
interface ge-0/0/5.0;
vrf-target target:xxxx:xxxx;
vrf-table-label;
protocols {
ospf {
traceoptions {
file debug_ospf_adj files 2;
flag hello send receive detail;
flag error detail;
}
area 0.0.0.0 {
interface ge-0/0/5.0 {
interface-type p2p;
}
}
}
}

show ospf neighbor on router and sw3850:

admin@re0# run show ospf neighbor instance LOCAL
Address                   Interface              State             ID                Pri                  Dead
10.254.2.114           ge-0/0/5.0              Init        10.254.2.114       1                      33

Sw3850#show ip ospf neighbor
Sw3850#

Sw3850#show ip ospf traffic gigabitEthernet 1/1/2


Interface GigabitEthernet1/1/2

Last clearing of interface traffic counters never

OSPF packets received/sent
Type Packets Bytes
RX Invalid 0 0
RX Hello 0 0
RX DB des 0 0
RX LS req 0 0
RX LS upd 0 0
RX LS ack 0 0
RX Total 0 0

TX Failed 0 0
TX Hello 478 36328
TX DB des 0 0
TX LS req 0 0
TX LS upd 0 0
TX LS ack 0 0
TX Total 478 36328

OSPF header errors
Length 0, Auth Type 0, Checksum 0, Version 0,
Bad Source 0, No Virtual Link 0, Area Mismatch 0,
No Sham Link 0, Self Originated 0, Duplicate ID 0,
Hello 0, MTU Mismatch 0, Nbr Ignored 0,
LLS 0, Unknown Neighbor 0, Authentication 0,
TTL Check Fail 0

OSPF LSA errors
Type 0, Length 0, Data 0, Checksum 0

when i monitor interface ge-0/0/5 on router mx960, the result is:

 

admin@re0# run monitor traffic interface ge-0/0/5 no-resolve detail
Address resolution is OFF.
Listening on ge-0/0/5, capture size 1514 bytes

08:25:44.896765 Out IP (tos 0xc0, ttl 1, id 59482, offset 0, flags [none], proto: OSPF (89), length: 80) 10.254.2.113 > 224.0.0.5: OSPFv2, Hello, length 60 [len 48]
Router-ID 10.254.2.113, Backbone Area, Authentication Type: none (0)
Options [External, LLS]
Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.252, Priority 128
Neighbor List:
10.254.2.114
LLS: checksum: 0xfff6, length: 3
Extended Options (1), length: 4
Options: 0x00000001 [LSDB resync]
08:25:47.137826 In IP (tos 0xc0, ttl 1, id 44903, offset 0, flags [none], proto: OSPF (89), length: 76) 10.254.2.114 > 224.0.0.5: OSPFv2, Hello, length 56 [len 44]
Router-ID 10.254.2.114, Backbone Area, Authentication Type: none (0)
Options [External, LLS]
Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.252, Priority 1
LLS: checksum: 0xfff6, length: 3
Extended Options (1), length: 4
Options: 0x00000001 [LSDB resync]

The hello packets that were sent by sw3850 were received on router mx960. But the hello packets that were sent by router mx960 were not received on sw3850.

How can i fix this issue ?

Thanks for any help !

6 Replies 6

Peter Paluch
Cisco Employee
Cisco Employee

Hi,

Do you believe you could run debug ip ospf adj and debug ip ospf hello on the 3850 and post the results here? It might be indeed that the 3850 is, for whatever reason, not receiving the OSPF Hello packets from the Juniper, or that it has troubles with some of the parameters that need to match.

If these debugs do not show anything then I suggest configuring a SPAN session on the 3850, capture all packets on the Gi1/1/2 and analyze them in Wireshark - we could be facing some obscure issue with IP checksums or a similar peculiarity.

Best regards,
Peter

I ran debug ip ospf adj and debug ip ospf hello on Switch 3850, and it just announce that it was sent the hello packet.

I haven't ever configuring a SPAN session on the 3850. because this switch is very important, so I don't dare to do what I am not sure.

johnlloyd_13
Level 9
Level 9

hi,

kindly post a show version output from your 3850.

note the base license does NOT support OSPF.

see helpful link:

http://www.cisco.com/c/en/us/products/collateral/switches/catalyst-3850-series-switches/qa_c67-722110.html

This is the version of Switch. It supports ip service.

Switch Ports Model              SW Version        SW Image              Mode  
------ ----- -----              ----------        ----------            ----  
     1 32    WS-C3850-24T       03.02.03.SE       cat3k_caa-universalk9 INSTALL
     2 32    WS-C3850-24T       03.02.03.SE       cat3k_caa-universalk9 INSTALL

I checked your website, but I could not define that the switch is WS-C3850-24T-L, WS-C3850-24T-S or WS-C3850-24T-E. But I dont think that is the reason b/c I can configure ip routing on this switch.

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Can you post the Lo0 config from the MX960 and the 3850?

Also, for testing purposes, can you simply run OSPF on the global routing table and not vrf instance?

edit

set protocol ospf area 0 interface ge-0/0/5

set protocol ospf area 0 interface lo0

commit

HTH

I tried to configure ospf on the global routing table, and it made the same result. @@.

Review Cisco Networking for a $25 gift card