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