No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Troubleshooting Of Ping Test Fail for S5720 When Enable Ospf ( V200R008C00SPC500)

Publication Date:  2017-11-24 Views:  2178 Downloads:  0
Issue Description

The ping test failed (from 10.148.X.132 to 10.198.X.138)
The ping is success (from 10.198.X.150 to 10.198.X.138)




 

Alarm Information

User B:
ping –S 10.148.X.150 10.198.X.138
  PING 10.148.X.138 from 10.198.X.150
    Request time out
    Request time out
    Request time out
    Request time out
    Request time out
User A:
Ping 10.198.X.138
Pinging 10.198.X.138 with 32 bytes of data:
Reply from 10.198.X.138: bytes=32 time<1ms TTL=60
Reply from 10.198.X.138: bytes=32 time<1ms TTL=60

Handling Process

1.Tracert the server from User B.

2.Since the packet lost at SW, enable traffic statistic in SW. The configuration just as below:

#
acl number 3002  
 rule 5 permit icmp source 10.148.X.132 0 destination 10.198.X.138 0        
 rule 10 permit icmp source 10.198.X.138 0 destination 10.148.X.132 0       
#                                                                              
traffic classifier tj operator and                                             
 if-match acl 3002                                                             
#
traffic behavior tj                                                            
 statistic enable                                                              
#                                                                              
traffic policy tj                                                              
 classifier tj behavior tj
#                                                                              
interface GigabitEthernet0/0/22                                                
 port link-type access                                                         
 port default vlan 258                                                         
 traffic-policy tj inbound                                                     
 traffic-policy tj outbound                                                    

interface GigabitEthernet0/0/47                                                
 description -== USG ==-                                                   
 port link-type access                                                         
 port default vlan 16                                                          
 traffic-policy tj inbound                                                     
 traffic-policy tj outbound                                                    

3.Run the command the command “ping 10.198.X.138 –t” at User B

4.Run the commands as below to check the statistic of packets:

display traffic policy statistics interface GigabitEthernet 0/0/47 inbound
display traffic policy statistics interface GigabitEthernet 0/0/47 outbound
display traffic policy statistics interface GigabitEthernet 0/0/22 inbound
display traffic policy statistics interface GigabitEthernet 0/0/22 outbound
The result just as below:

 [SW]display traffic policy stat interface GigabitEthernet 0/0/47  inbound
 Interface: GigabitEthernet0/0/47                                              
 Traffic policy inbound: tj                                                    
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                             4                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                             4                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------           
[SW]display traffic policy stat interface GigabitEthernet 0/0/47 outbound 
 Interface: GigabitEthernet0/0/47                                              
 Traffic policy outbound: tj                                                   
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
 [SW]display traffic policy stat interface GigabitEthernet 0/0/22 inbound   
 Interface: GigabitEthernet0/0/22                                              
 Traffic policy inbound: tj                                                    
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
 [SW]display traffic policy stat interface GigabitEthernet 0/0/22 outbound   
 Interface: GigabitEthernet0/0/22                                              
 Traffic policy outbound: tj                                                   
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                            10                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                            10                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------

5.There is no packets in GE0/0/47 outbound direction, and there is no packets in GE0/0/22 inbound direction. It look like the server did not reply the packets for ping test.

6.Run the command the command “ping 10.198.179.138 –t” at User A

7.Configure the traffic statistic for User A as below:

 #                                                                              
acl number 3003                                                                
 rule 5 permit icmp source 10.198.X.150 0 destination 10.198.X.138 0       
 rule 10 permit icmp source 10.198.X.138 0 destination 10.198.X.150 0      
#
traffic classifier tj operator and                                             
 undo if-match acl 3002    
 if-match acl 3003                                                       
#

8.Run the commands as below to check the statistic of packets:

display traffic policy statistics interface GigabitEthernet 0/0/47 inbound
display traffic policy statistics interface GigabitEthernet 0/0/47 outbound
display traffic policy statistics interface GigabitEthernet 0/0/22 inbound
display traffic policy statistics interface GigabitEthernet 0/0/22 outbound

The result just as below:
[SW]display traffic policy statistics interface GigabitEthernet 0/0/47 inbound
 Interface: GigabitEthernet0/0/47                                              
 Traffic policy inbound: tj                                                    
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                            22                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                            22                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
 [SW]display traffic policy statistics interface GigabitEthernet 0/0/47 outbound 
 Interface: GigabitEthernet0/0/47                                              
 Traffic policy outbound: tj                                                   
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                            32                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                            32                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
[SW]display traffic policy statistics interface GigabitEthernet 0/0/22 inbound 
  Interface: GigabitEthernet0/0/22                                              
 Traffic policy inbound: tj                                                    
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                            42                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                            42                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
[SW]display traffic policy statistics interface GigabitEthernet 0/0/22 outbound 
 Interface: GigabitEthernet0/0/22                                              
 Traffic policy outbound: tj                                                   
 Rule number: 2                                                                
 Current status: success                                                       
 Statistics interval: 300                                                      
---------------------------------------------------------------------          
 Board : 0                                                                     
---------------------------------------------------------------------          
 Matched          |      Packets:                            47                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Passed         |      Packets:                            47                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
---------------------------------------------------------------------          
   Dropped        |      Packets:                             0                
                  |      Bytes:                               -                
                  |      Rate(pps):                           0                
                  |      Rate(bps):                           -                
--------------------------------------------------------------------- 
9.There is no packets for User A lost in GE0/0/47 and GE0/0/22. So, should focus on the routing table.

10.From the result of tracert, the packets lost at 10.198.X.97. Start to check the ip routing of FW (10.198.0.97).

From the FW, there is default ip routing to outside. And here is ospf ip routing (10.198.X.128/26 segment) to server with next hop SW(10.X.16.2).

11.Check the ip routing table of SW.

There is ip routing (10.198.X.128/26) from SW to server. There is ip routing (10.198.0.0/16) from SW to outside users. But there is not any ip routing for the users (10.148.X.X).

12.Check the FW ip routing again, and there is already default ip routing in FW.

0.0.0.0/0   Static  60   0          RD   10.198.X.98   GigabitEthernet1/0/7  

That is mean the FW did not transfer this ip routing to SW successfully.

13.Check the configuration of FW for ospf again.
#                                                                              
ospf 1                                                                         
 import-route static                                                           
 area 0.0.0.0                                                                  
  network 10.2.X.1 0.0.0.0                                                     
  network 10.X.1.1 0.0.0.0                                                    
  network 10.X.16.1 0.0.0.0                                                   
  network 10.198.X.129 0.0.0.0                                               
#

FW import the static ip routing to ospf. And check the configuration for static ip routing.

14.The configuration of static ip routing for FW just as below:
#                                                                              
ip route-static 0.0.0.0 0.0.0.0 10.198.X.98                                  
ip route-static 10.47.0.0 255.255.0.0 10.198.X.98                            
ip route-static 10.198.0.0 255.255.0.0 10.198.X.98                           

15.Find the ip routing for 10.47.0.0 and 10.198.0.0 on SW as step 11. That is mean the default ip routing “ ip route-static 0.0.0.0 0.0.0.0 10.198.X.98” did not import ospf successfully. 
16.Confirm the command “ import-route static” again, it show this command can’t import default ip routing to ospf.
17.Root cause is clear now, It show as step 16.
18.There are two kind of solution:
A.Add the command “ip route-static 0.0.0.0 0.0.0.0 10.X.16.1” in SW.
B.Add the command “[FW-ospf-1 ] default-route-advertise”.
19.Here apply the solution A. And then the user B can ping the server 10.198.X.138.

 

Root Cause

Fail to import the default static ip routing to OSPF.

Solution

A.Add the command “ip route-static 0.0.0.0 0.0.0.0 10.X.16.1” in SW.

Suggestions

During the Troubleshooting, using different way to reduce the arrange of  possible root cause. That will be helpful for the work.

END