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