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