Got it

How to enable traffic statistics on the subinterface of S6720 switches?

Created: Sep 19, 2017 12:56:57Latest reply: Oct 12, 2018 01:50:32 6100 15 0 0 1
  Rewarded HiCoins: 0 (problem resolved)

Hi there, Community friends!


This post enquires about the procedure of how to enable traffic statistics on the subinterface of  . Please see more details below.


Huawei S6720


SAMPLE


interface 40GE0/0/1

training enable

undo portswitch

#

interface 40GE0/0/1.3

description sub

dot1q termination vid 3

ip binding vpn-instance metro

ip address x.x.x.x x.x.x.x

arp broadcast enable

#


Huawei Versatile Routing Platform Software

VRP (R) software, Version 5.170 (S6720 V200R010C00SPC600)

Copyright (C) 2000-2016 HUAWEI TECH CO., LTD

HUAWEI S6720-54C-EI-48S-DC Routing Switch uptime is 0 week, 5 days, 8 hours, 54 minutes


ISSUE DESCRIPTION


Please provide some information as to how to enable traffic statistics on the subinterface of S6720 switches.


Thanks!

  • x
  • convention:

Featured Answers
debugger
Created Jan 2, 2018 08:08:37

Hi friend!

You can configure the traffic policy with a behavior of statistics.

Please see below:


[Switch] acl 4000
[Switch-acl-L2-4000] rule permit xx

[Switch] traffic classifier c1 operator and
[Switch-classifier-c1] if-match acl 4000

[Switch] traffic behavior b1
[Switch-behavior-b1] statistic enable
[Switch-behavior-b1] quit

[Switch] traffic policy p1
[Switch-trafficpolicy-p1] classifier c1 behavior b1

[Switch] interface gigabitethernet 0/0/1.x
[Switch-GigabitEthernet0/0/1] traffic-policy p1 inbound
[Switch-GigabitEthernet0/0/1] quit
View more
  • x
  • convention:

All Answers
gululu
gululu Created Sep 20, 2017 00:51:41

please wait
View more
  • x
  • convention:

Come on!
mangix
mangix Created Sep 21, 2017 06:00:43

statistics enable
View more
  • x
  • convention:

New_Commer--->切换到此号
AGregory
AGregory Created Sep 23, 2017 05:24:50

[sw.axs.mrh.03-40GE0/0/2.51]ipv4 statistic enable both
Error: This port does not support this command.
View more
  • x
  • convention:

user_2844477
user_2844477 Created Oct 17, 2017 20:56:08

Posted by user_2856063 at 2017-09-23 05:24 [sw.axs.mrh.03-40GE0/0/2.51]ipv4 statistic enable both Error: This port does not support this ...
Have you tried applying this command on the master interface and see if it collects statistics on subinterfaces? like this...

interface XGigabitEthernet0/0/7
undo portswitch
ipv4 statistic enable both
ipv6 statistic enable both

interface XGigabitEthernet0/0/7.10
dot1q termination vid 10
View more
  • x
  • convention:

AGregory
AGregory Created Oct 19, 2017 12:35:41

Posted by user_2844477 at 2017-10-17 20:56 Have you tried applying this command on the master interface and see if it collects statistics on ...
It's enabled on main interface, no stats on subs.
View more
  • x
  • convention:

AGregory
AGregory Created Dec 29, 2017 18:52:08

@gululu Any news about this issue ?
View more
  • x
  • convention:

user_2844477
user_2844477 Created Dec 30, 2017 10:04:27

I'm also interested in this case. I would appreciate help.
View more
  • x
  • convention:

debugger
debugger Created Jan 2, 2018 08:08:37

Hi friend!

You can configure the traffic policy with a behavior of statistics.

Please see below:


[Switch] acl 4000
[Switch-acl-L2-4000] rule permit xx

[Switch] traffic classifier c1 operator and
[Switch-classifier-c1] if-match acl 4000

[Switch] traffic behavior b1
[Switch-behavior-b1] statistic enable
[Switch-behavior-b1] quit

[Switch] traffic policy p1
[Switch-trafficpolicy-p1] classifier c1 behavior b1

[Switch] interface gigabitethernet 0/0/1.x
[Switch-GigabitEthernet0/0/1] traffic-policy p1 inbound
[Switch-GigabitEthernet0/0/1] quit
View more
  • x
  • convention:

user_2844477
user_2844477 Created Jan 18, 2018 01:29:21

Posted by debugger at 2018-01-02 08:08 you can configure the traffic policy with a behavior of statistic.[Switch] acl 4000[Switch-acl-L2-4 ...
Hi.

The problem using this approach is that you are not able to get information about traffic statistics using SNMP, right?
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.