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