disidelnikov Опубликовано 3 сентября, 2020 Добрый день! Имеется Cisco ASR1001-X. Оказалось, что при включении режима 'port-channel-aggregate' информация о том, как работает полиси на сабинтерфейсах, становится недоступной. Может, так и должно быть?.. Когда на интерфейсе Port-channel настроено 'load-balancing vlan', команда 'show policy-map interface po<N>.<XXX>' показывает множество полезных данных. Например, #show policy-map interface po1.345 Port-channel1.345 Service-policy input: 100M-in Class-map: class-default (match-any) 2017247303 packets, 1651281117041 bytes 5 minute offered rate 7598000 bps, drop rate 0000 bps Match: any police: cir 100000000 bps, bc 3125000 bytes conformed 2017247303 packets, 1651281117041 bytes; actions: transmit exceeded 0 packets, 0 bytes; actions: drop conformed 7598000 bps, exceeded 0000 bps Service-policy : DS-in Class-map: BE (match-any) 1984001579 packets, 1644829437937 bytes 5 minute offered rate 7578000 bps Match: dscp default (0) ... Если же для интерфейса Port-channel используется 'platform qos port-channel-aggregate', то команда 'show policy-map interface po<N>.<XXX>' показывает сплошные нули. Например: #show policy-map interface po2.532 Port-channel2.532 Service-policy input: 6M-in Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0000 bps, drop rate 0000 bps Match: any police: cir 6144000 bps, bc 192000 bytes conformed 0 packets, 0 bytes; actions: transmit exceeded 0 packets, 0 bytes; actions: drop conformed 0000 bps, exceeded 0000 bps Service-policy : DS-in Class-map: BE (match-any) 0 packets, 0 bytes 5 minute offered rate 0000 bps Match: dscp default (0) ... ...хотя трафик там точно есть. В связи с этим вопросы: * Так и должно быть (все счётчики по нулям)? * Как тогда в случае port-channel-aggregate контролировать работу QoS? Спасибо. Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...
jffulcrum Опубликовано 4 сентября, 2020 Цитата Restrictions for EtherChannel Flow-based Limited 1:1 Redundancy When you are using the Cisco ASR 1001-X, the following restrictions apply for collecting traffic statistics for VLAN egress on sub-interfaces. Obtaining input/output counters using SNMP is unsupported. This is because the Cisco ASR 1001-X has a built-in SPA. Restrictions that apply when obtaining traffic statistics for two types of interfaces are shown below: Physical sub-interfaces For the Cisco ASR 1001-X, statistics for the VLAN egress are available for physical sub-interfaces. The output counter is used from cpp, not from the built-in SPA hardware. To show VLAN egress statistics, use the show vlans vlan id command. Example # show vlans 10 VLAN ID: 10 (IEEE 802.1Q Encapsulation) > > Protocols Configured: Received: Transmitted: > IP 133 104 Port Channel sub-interfaces For the Cisco ASR 1001-X, showing traffic statistics for the VLAN egress is not supported for port channel sub-interfaces. cpp or the built-in SPA can not be used to give an output counter value for port channel sub-interfaces. Дизайн Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...
disidelnikov Опубликовано 4 сентября, 2020 6 hours ago, jffulcrum said: Дизайн Ясно. Спасибо большое за разъяснение. К счастью, в моём случае Cisco ASR 1001-X поддерживает минимальную статистику и для port channel sub-interfaces, хотя, конечно, о статистике QoS придётся забыть.:( У меня сейчас работает версия 16.6.5. Возможно, позже добавили в неё поддержку статистики для port channel sub-interface. Quote #show vlans 541 VLAN ID: 541 (IEEE 802.1Q Encapsulation) Protocols Configured: Received: Transmitted: IP 503806166 776287727 VLAN trunk interfaces for VLAN ID 541: Port-channel2.541 Port-channel2.541 (541) IP: 147.45.193.5 Total 503881088 packets, 305564956443 bytes input Total 776432661 packets, 891189052371 bytes output No subinterface configured with ISL VLAN ID 541 Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...