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