华为3026交换机流量监控配置单
aqQ o,5U> 注明:此交换机为华为3026系列交换机,做流量监控的必须配置要求
aqQ o,5U> aqQ o,5U> <Quidway>display current-configuration 【显示交换机配置信息】
aqQ o,5U> #
aqQ o,5U> sysname Quidway
aqQ o,5U> #
aqQ o,5U> radius scheme system
aqQ o,5U> server-type huawei
aqQ o,5U> primary authentication 127.0.0.1 1645
aqQ o,5U> primary accounting 127.0.0.1 1646
aqQ o,5U> user-name-format without-domain
aqQ o,5U> domain system
aqQ o,5U> radius-scheme system
0G?*i_u\ access-limit disable
0G?*i_u\ state active
0G?*i_u\ vlan-assignment-mode integer
0G?*i_u\ idle-cut disable
0G?*i_u\ self-service-url disable
0G?*i_u\ messenger time disable
0G?*i_u\ domain default enable system
0G?*i_u\ #
0G?*i_u\ local-server nas-ip 127.0.0.1 key huawei
0G?*i_u\ #
0G?*i_u\ temperature-limit 0 42 65
0G?*i_u\ #
0G?*i_u\ am enable 【这里要开启】
0G?*i_u\ #
0G?*i_u\ vlan 1
0G?*i_u\ #
0G?*i_u\ interface Vlan-interface1 【设置交换机IP】
0G?*i_u\ ip address 交换机VLAN1IP 掩码地址
0G?*i_u\ #
0G?*i_u\ interface Aux0/0
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/1 【这里设置1口为出入口】
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/2 【以下2-24口彼此都做隔离】
0G?*i_u\ am isolate Ethernet0/3 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/3
0G?*i_u\ am isolate Ethernet0/2 Ethernet0/4 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/4
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/3 Ethernet0/5 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/5
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/4 Ethernet0/6 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/6
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/5 Ethernet0/7 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/7
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/6 Ethernet0/8 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/8
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/7 Ethernet0/9 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/9
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/8 Ethernet0/10 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/10
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/9 Ethernet0/11 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/11
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/10 Ethernet0/12 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/12
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/11 Ethernet0/13 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/13
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/12 Ethernet0/14 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/14
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/13 Ethernet0/15 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/15
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/14 Ethernet0/16 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/16
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/15 Ethernet0/17 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/17
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/16 Ethernet0/18 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/18
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/17 Ethernet0/19 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/19
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/18 Ethernet0/20 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/20
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/19 Ethernet0/21 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/21
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/20 Ethernet0/22 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/22
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/21 Ethernet0/23 to Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/23
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/22 Ethernet0/24
0G?*i_u\ #
0G?*i_u\ interface Ethernet0/24
0G?*i_u\ am isolate Ethernet0/2 to Ethernet0/23
0G?*i_u\ #
0G?*i_u\ interface NULL0
0G?*i_u\ # 【设置交换机网络关】
0G?*i_u\ ip route-static 0.0.0.0 0.0.0.0 网关IP preference 60
0G?*i_u\ # 【开启SNMP协议】
0G?*i_u\ snmp-agent
0G?*i_u\ snmp-agent local-engineid 800007DB000FE20183BF6877
0G?*i_u\ snmp-agent community write private
0G?*i_u\ snmp-agent community read olylinux 【设置public信息,可随意名称】
0G?*i_u\ snmp-agent sys-info contact
xxxx@126.com 0G?*i_u\ snmp-agent sys-info location BeiJing China
0G?*i_u\ snmp-agent sys-info version all
0G?*i_u\ snmp-agent trap enable standard
0G?*i_u\ snmp-agent trap enable configuration
0G?*i_u\ #
0G?*i_u\ user-interface aux 0
0G?*i_u\ user-interface vty 0 4 【设置远程登陆密码】
0G?*i_u\ user privilege level 3
0G?*i_u\ set authentication password simple 远程登陆密码
0G?*i_u\ #
0G?*i_u\ return
0G?*i_u\ 0G?*i_u\ 如何删除不用的规则
b$Ch2Qz0q 1.删除交换机VLAN1IP
b$Ch2Qz0q interface Vlan-interface1 【先进入】