artplanet Posted April 15, 2020 Posted April 15, 2020 (edited) Собственно - не делал никаких настроек на N3K, и данная серия считает пакеты и байты по int vlan N3K-C3064PQ-10GE, NXOS: version 7.0(3)I7(8) show interface vlan 700 counters ---------------------------------------------------------------------------------- Port InOctets InUcastPkts ---------------------------------------------------------------------------------- Vlan700 2956698475 39089828 ---------------------------------------------------------------------------------- Port InMcastPkts InBcastPkts ---------------------------------------------------------------------------------- Vlan700 -- -- ---------------------------------------------------------------------------------- Port OutOctets OutUcastPkts ---------------------------------------------------------------------------------- Vlan700 7685312037 49096076 ---------------------------------------------------------------------------------- Port OutMcastPkts OutBcastPkts ---------------------------------------------------------------------------------- Vlan700 -- -- N9K-C93180YC-EX, NXOS: version 9.3(3) show int vlan 700 counters ---------------------------------------------------------------------------------- Port InOctets InUcastPkts ---------------------------------------------------------------------------------- Vlan700 0 0 ---------------------------------------------------------------------------------- Port InMcastPkts InBcastPkts ---------------------------------------------------------------------------------- Vlan700 -- -- ---------------------------------------------------------------------------------- Port OutOctets OutUcastPkts ---------------------------------------------------------------------------------- Vlan700 0 0 ---------------------------------------------------------------------------------- Port OutMcastPkts OutBcastPkts ---------------------------------------------------------------------------------- Vlan700 -- -- на N9K внутри int vlan нет параметр counters (и на n3k тоже нет) Вопрос - как включить счетчики на n9k Edited April 15, 2020 by artplanet Вставить ник Quote
jffulcrum Posted April 15, 2020 Posted April 15, 2020 На 9К надо танцевать вприсядку, чтобы включить SVI counters: https://www.cisco.com/c/en/us/support/docs/switches/nexus-9000-series-switches/119032-nexus9k-tcam-00.html То есть надо что-то поджать, и отдать на SVI, потому что в дефолте под это ресурса не выделено. Вставить ник Quote
artplanet Posted April 15, 2020 Author Posted April 15, 2020 Печаль тоска hardware access-list tcam region ? egr-cntacl Egress CNTACL egr-copp Egress copp Tcam region size egr-l2-qos Egress L2 QOS egr-l3-vlan-qos Egress L3/VLAN QOS egr-racl Egress RACL egr-sup Egress SUP ing-cntacl Egress CNTACL ing-flow-redirect Egress region in ACX ing-fstat Ingress FSTAT ing-ifacl Ingress PACL ing-l2-qos Ingress L2 QOS ing-l2-span-filter Ingress L2 SPAN filter ing-l3-span-filter Ingress L3 SPAN filter ing-l3-vlan-qos Ingress L3/VLAN QOS ing-nbm Ingress NBM ing-racl Ingress RACL ing-rbacl Ingress RBACL ing-redirect Ingress Redirect ing-sup Ingress SUP nat Ingress NAT span SPAN tcp-nat TCP NAT region within NAT region vacl VACL у меня нет svi как и по команде show system internal access-list globals нет упоминаний о SVI show system internal access-list globals slot 1 ======= Atomic Update : ENABLED Default ACL : DENY Bank Chaining : DISABLED Fabric path DNL : DISABLED NS Buffer Profile: Burst optimized Min Buffer Profile: all EOQ Class Stats: qos-group-0 NS MCQ3 Alias: qos-group-3 Ing PG Share: ENABLED IPG in Shape: DISABLED Classify ns-only : DISABLED Ing PG Min: NOT-DISABLED Ing PG Headroom reservation: 100 OQ Drops Type: both OQ Stats Type: [c1]: q 1 both [c2]: q 2 both [c3]: q 3 both [c4]: q 4 both [c5]: q 5 both [c6]: q 6 both [c7]: q 7 both [c8]: q 8 both [c9]: q 9 both peak count type: port counter 0 classes: 255 counter 1 classes: 0 OOBST Max records: 1000 DPP Aging Period: 5000 DPP Max Number of Packets: 120 AFD ETRAP Aging Period: 50 AFD ETRAP Byte Count: 1048555 AFD ETRAP Bandwidth Threshold: 500 ACL Inner Header Match : DISABLED VXLAN OAM Dynamic Entry Move: TRUE VXLAN XConnect ACL Programmed: FALSE DOT1X Entry Move: TRUE DOT1X Entry ACL Programmed: TRUE DOT1X Multi Auth ACL Entry Programmed: FALSE Multicast NLB enabled: FALSE TCAM Template Initialised: TRUE LOU Threshold Value : 5 -------------------------------------------------------------------------------------- INSTANCE 0 TCAM Region Information: -------------------------------------------------------------------------------------- Ingress: -------- Region TID Base Size Width -------------------------------------------------------------------------------------- NAT 13 0 0 1 Ingress PACL 1 0 0 1 Ingress VACL 2 0 0 1 Ingress RACL 3 0 2304 1 Ingress RBACL 4 0 0 1 Ingress L2 QOS 5 2304 256 1 Ingress L3/VLAN QOS 6 2560 512 1 Ingress SUP 7 3072 512 1 Ingress L2 SPAN ACL 8 3584 256 1 Ingress L3/VLAN SPAN ACL 9 3840 256 1 Ingress FSTAT 10 0 0 1 SPAN 12 4096 512 1 Ingress REDIRECT 14 0 0 1 Netflow/Analytics Filter TCAM 21 4608 512 1 Ingress NBM 30 0 0 1 Ingress Flow-redirect 39 0 0 1 Ingress RACL Lite 42 0 0 1 Ingress PACL IPv4 Lite 41 0 0 1 Ingress PACL IPv6 Lite 43 0 0 1 Ingress CNTACL 44 0 0 1 ------------------------------------------------------------------------------------- Total configured size: 5120 Remaining free size: 0 Note: Ingress SUP region includes Redirect region Egress: -------- Region TID Base Size Width -------------------------------------------------------------------------------------- Egress VACL 15 0 0 1 Egress RACL 16 0 1792 1 Egress CNTACL 17 0 0 1 Egress SUP 18 1792 256 1 Egress L2 QOS 19 0 0 1 Egress L3/VLAN QOS 20 0 0 1 Egress CoPP 37 0 0 1 Egress CNTACL 45 0 0 1 ------------------------------------------------------------------------------------- Total configured size: 2048 Remaining free size: 0 Вставить ник Quote
artplanet Posted April 15, 2020 Author Posted April 15, 2020 пока что нашел команду hardware profile svi flex-stats-enable но она требует ребута. попробую завтра на стенде протестировать. Вставить ник Quote
GrandPr1de Posted April 16, 2020 Posted April 16, 2020 “hardware profile svi flex-stats-enable” would enable only ingress unicast counters on the SVI. Egress or non-unicast counters will still not work due to hardware limitations. This knob also disables L2 VLAN egress counters. CSCvk10357 is an enhancement request that hasn’t seen any movement in almost 2 years, unlikely to ever be resolved on this platform. Вставить ник Quote
artplanet Posted April 16, 2020 Author Posted April 16, 2020 да - входящий считается - исходящие не считаются :-( Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.