网络技术

问题:交换机配置基于流分类的流量统计 - 正航科技

时间:2019-01-28 14:18来源:互联网 作者:正航 点击:
[Switch] interface gigabitethernet 0/0/2 [Switch-GigabitEthernet0/0/2] port link-type access [Switch-GigabitEthernet0/0/2] port default vlan 3000 [Switch] interface gigabitethernet 0/0/3 [Switch-GigabitEthernet0/0/3] port link-type trunk [
[Switch] interface gigabitethernet 0/0/2
[Switch-GigabitEthernet0/0/2] port link-type access
[Switch-GigabitEthernet0/0/2] port default vlan 3000
[Switch] interface gigabitethernet 0/0/3
[Switch-GigabitEthernet0/0/3] port link-type trunk
[Switch-GigabitEthernet0/0/3] port trunk allow-pass vlan 3000
[Switch] interface vlanif 3000
[Switch-Vlanif3000] ip address 106.3.45.1 24
[Switch] acl number 3000
[Switch-acl-number-3000] rule permit source-mac 008c-fa06-be38 ffff-ffff-ffff

[Switch] traffic classifier c1
[Switch-classifier-c1] if-match acl 3000
[Switch] traffic behavior b1
[Switch-behavior-b1] statistic enable
[Switch] traffic policy p1
[Switch-trafficpolicy-p1] classifier c1 behavior b1
[Switch] interface gigabitethernet 0/0/2
[Switch-GigabitEthernet0/0/2] traffic-policy p1 inbound

重庆机柜托管 重庆云服务器
(责任编辑:正航)
免责声明:本网站部分文章和信息来源于国际互联网由程序自动整理,本网转载出于传递更多信息和学习之目的,并不意味着赞同其观点或证实其内容的真实性。 如转载稿涉及版权等问题,请立即联系管理员,我们会予以更改或删除相关文章,保证您的权利。