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