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