华为3026交换机流量监控配置单

注明:此交换机为华为3026系列交换机,做流量监控的必须配置要求 display current-configuration  【显示交换机配置信息】
#
 sy sname Quidway
#
radius scheme system
 server-type huawei
 primary authentication 127.0.0.1 1645
 primary accounting 127.0.0.1 1646
 user-name-format without-domaindomain system
 radius-scheme system
 access-limit disable
 state active
 vlan-assignment-mode integer
 idle-cut disable
 self-service-url disable
 messenger time disable domain default enable system
#
 local-server nas-ip 127.0.0.1 key huawei
#
 temperature-limit 0 42 65
#
 am enable   【这里要开启】
#
vlan 1
#
interface Vlan-interface1      【设置交换机IP】
 ip address 交换机VLAN1IP 掩码地址#
interface Aux0/0
#
interface Ethernet0/1          【这里设置1口为出入口】
#
interface Ethernet0/2           【以下2-24口彼此都做隔离】
 am isolate Ethernet0/3 to Ethernet0/24
#
interface Ethernet0/3
 am isolate Ethernet0/2 Ethernet0/4 to Ethernet0/24
#
interface Ethernet0/4
 am isolate Ethernet0/2 to Ethernet0/3 Ethernet0/5 to Ethernet0/24
#
interface Ethernet0/5
 am isolate Ethernet0/2 to Ethernet0/4 Ethernet0/6 to Ethernet0/24
#
interface Ethernet0/6
 am isolate Ethernet0/2 to Ethernet0/5 Ethernet0/7 to Ethernet0/24
#
interface Ethernet0/7
 am isolate Ethernet0/2 to Ethernet0/6 Ethernet0/8 to Ethernet0/24
#
interface Ethernet0/8
 am isolate Ethernet0/2 to Ethernet0/7 Ethernet0/9 to Ethernet0/24
#
interface Ethernet0/9
 am isolate Ethernet0/2 to Ethernet0/8 Ethernet0/10 to Ethernet0/24
#
interface Ethernet0/10
 am isolate Ethernet0/2 to Ethernet0/9 Ethernet0/11 to Ethernet0/24
#
interface Ethernet0/11
 am isolate Ethernet0/2 to Ethernet0/10 Ethernet0/12 to Ethernet0/24
#
interface Ethernet0/12
 am isolate Ethernet0/2 to Ethernet0/11 Ethernet0/13 to Ethernet0/24
#
interface Ethernet0/13
 am isolate Ethernet0/2 to Ethernet0/12 Ethernet0/14 to Ethernet0/24
#
interface Ethernet0/14
 am isolate Ethernet0/2 to Ethernet0/13 Ethernet0/15 to Ethernet0/24
#
interface Ethernet0/15
 am isolate Ethernet0/2 to Ethernet0/14 Ethernet0/16 to Ethernet0/24
#
interface Ethernet0/16
 am isolate Ethernet0/2 to Ethernet0/15 Ethernet0/17 to Ethernet0/24
#
interface Ethernet0/17
 am isolate Ethernet0/2 to Ethernet0/16 Ethernet0/18 to Ethernet0/24
#
interface Ethernet0/18
 am isolate Ethernet0/2 to Ethernet0/17 Ethernet0/19 to Ethernet0/24
#
interface Ethernet0/19
 am isolate Ethernet0/2 to Ethernet0/18 Ethernet0/20 to Ethernet0/24
#
interface Ethernet0/20
 am isolate Ethernet0/2 to Ethernet0/19 Ethernet0/21 to Ethernet0/24
#
interface Ethernet0/21
 am isolate Ethernet0/2 to Ethernet0/20 Ethernet0/22 to Ethernet0/24
#
interface Ethernet0/22
 am isolate Ethernet0/2 to Ethernet0/21 Ethernet0/23 to Ethernet0/24
#
interface Ethernet0/23
 am isolate Ethernet0/2 to Ethernet0/22 Ethernet0/24
#
interface Ethernet0/24
 am isolate Ethernet0/2 to Ethernet0/23
#
interface NULL0
#  【设置交换机网络关】
 ip route-static 0.0.0.0 0.0.0.0 网关IP preference 60
#  【开启SNMP协议】
 snmp-agent
 snmp-agent local-engineid 800007DB000FE20183BF6877
 snmp-agent community write  private
 snmp-agent community read  olylinux  【设置public信息,可随意名称】
 snmp-agent sys-info contact [email protected]
 snmp-agent sys-info location BeiJing China
 snmp-agent sys-info version all
 snmp-agent trap enable standard
 snmp-agent trap enable configuration
#
user-interface aux 0
user-interface vty 0 4     【设置远程登陆密码】
 user privilege level 3
 set authentication password simple 远程登陆密码
#
return 如何删除不用的规则1.删除交换机VLAN1IPinterface Vlan-interface1   【先进入】undo  ip address             2.删除网关undo route-static3.删除snmpundo snmp-agent4.删除相应的publicundo snmp-agent community olylinux  【删除了olylinux标识】5.保存配置退出管理模式,输入 save 按 y 即可 文章录入:csh    责任编辑:csh 

你可能感兴趣的:(华为3026交换机流量监控配置单)