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