S9300 use traffic count function to locate the forwarding lost or block failure

Publication Date:  2012-10-19 Views:  126 Downloads:  0
Issue Description
BAS--(eth-trunk0)---S9306(g1/0/1)====DSLAM---dial user

The management IP of S9306 and dslam as static user of BAS, S9306 and dslam cannot ping BAS, S9306 and dslam can ping each other.
Alarm Information
NULL
Handling Process
1. DSLAM connect pc dail successfully, it means the link between pa and BAS is through, view the up and down port of 9306, whose errors is 0.
2. Check 9306 configuration, pass through the business vlan and management vlan, did not configure acl, configuration is no problem.
3. S9306 mac and arp table learning is normal, check in BAS, static user has been on-lline.
4. S9306 support stream count of outbound and inbound, and ETH-Trunk interface support too, provide best tools for location, specific count ways is as follows:

Firstly, define icmp data stream from BAS to dslam and dslam to BAS:
[S9306-acl-adv-3031]rule per icmp s 10.191.124.218 0  des 10.191.124.220 0
[S9306-acl-adv-3030]rule per icmp source 10.191.124.220 0 des 10.191.124.218 0
Then do the traffic count action, bind C/B peer, define the traffic count policy:
[S9306-behavior-tj]statistic enable
[S9306-1-trafficpolicy-BastoDSLAM]c BastoDSLAM b tj
[S9306-1-trafficpolicy-DSLAMtoBas]c DSLAMtoBas b tj
Then apply the policy on corresponding interface outbound, it must be correct, advertise BastoDSLAM policy on BAS inbound direction and DSLAM outbound direction, advertise DSLAMtoBas policy on BAS outbound direction and DSLAM inbound direction:
[S9306-1-Eth-Trunk0]traffic-policy BastoDSLAM in
[S9306-1-Eth-Trunk0]traffic-policy DSLAMtoBas out

Then ping dslam 5 packet on BAS, take traffic count view on 9306, find 4 direction of 2 interfaces are 5, it means 9306 forwarding is normal:
<RH-S9306-1> dis traffic po st int Eth-Trunk 0  out                            
                                                                               
Interface: Eth-Trunk0                                                         
Traffic policy outbound: 5to2                                                 
Rule number: 1                                                                
Current status: OK!                                                           
Board : 4                                                                     
Item                              Packets                       Bytes          
---------------------------------------------------------------------          
Matched                                 0                           0          
  +--Passed                             0                           0          
  +--Dropped                            0                           0          
    +--Filter                           0                           0          
    +--URPF                             -                           -          
    +--CAR                              0                           0          
Board : 5                                                                     
Item                              Packets                       Bytes          
---------------------------------------------------------------------          
Matched                             5                     540         
  +--Passed                        5                     540          
  +--Dropped                            0                           0          
    +--Filter                           0                           0          
    +--URPF                             -                           -          
    +--CAR                              0                           0

After check on BAS side, confirm BAS is abnormal.
Root Cause
1. Link failure
2. Configuration failure
3. S9306 forwarding problem
4. Other device problem
Suggestions
Make traffic count for inbound/outbond direction on S9300 interface at the same time, it is convenient to locate the problem.

END