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