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