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