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