中心AP配置入侵防御实验

简介: 华为中心AP配置入侵防御实验


配置入侵防御示例

组网图形

图1 入侵防御组网图

image.png


  • 组网需求
  • 配置思路
  • 操作步骤
  • 中心AP的配置文件

组网需求

如图1所示,某企业部署了WLAN网络,内网用户可以访问Internet的Web服务器。现需要在中心AP上配置入侵防御功能,具体要求如下:

保护内网用户,避免内网用户访问Internet的Web服务器时受到攻击。例如,含有恶意代码的网站对内网用户发起攻击。

配置思路

  1. 配置WLAN基本业务。
  2. 配置入侵防御模板“profile_ips_pc”,保护内网用户。通过配置签名过滤器来满足安全需要。
  3. 创建攻击防御模板“defence_1”,并引用入侵防御模板“profile_ips_pc”,保护内网用户免受来自Internet的攻击。
  4. 配置WLAN业务VAP引用攻击防御模板,使入侵防御功能生效。

操作步骤

  1. 配置WLAN基本业务。
  2. 使能安全引擎。

[AP] defence engine enable

  1. 创建入侵防御模板“profile_ips_pc”,保护内网用户。

[AP] profile type ips name profile_ips_pc

[AP-profile-ips-profile_ips_pc] description profile for intranet users

[AP-profile-ips-profile_ips_pc] collect-attack-evidence enable

Warning: Succeeded in configuring attack evidence collection for the IPS functio

n. The function is used for fault locating. This function may deteriorate system

performance. Exercise caution before using the function.                      

Attack evidences can be collected only when a log storage device with sufficient

storage space is available.                                                    

After all required attack evidences are collected, disable the function.        

Our company alone is unable to transfer or process the communication contents or

personal data.  You are advised to enable the related functions based on the ap

plicable laws and regulations in terms of purpose and scope of usage. When the c

ommunication contents or personal data are being transferred or processed,  you

are obliged to take considerable measures to ensure that these contents are full

y protected. Continue? [Y/N]: y

[AP-profile-ips-profile_ips_pc] signature-set name filter1

[AP-profile-ips-profile_ips_pc-sigset-filter1] target client

[AP-profile-ips-profile_ips_pc-sigset-filter1] severity high

[AP-profile-ips-profile_ips_pc-sigset-filter1] protocol HTTP

[AP-profile-ips-profile_ips_pc-sigset-filter1] quit

[AP-profile-ips-profile_ips_pc] quit

  1. 提交配置。

[AP] engine configuration commit

  1. 创建攻击防御模板“defence_1”,引用入侵防御模板“profile_ips_pc”。

[AP] defence-profile name defence_1

[AP-defence-profile-defence_1] profile type ips profile_ips_pc

[AP-defence-profile-defence_1] quit

  1. 在VAP模板上引用攻击防御模板“defence_1”。

[AP] wlan

[AP-wlan-view] vap-profile name wlan-vap

[AP-wlan-vap-prof-wlan-vap] defence-profile defence_1

[AP-wlan-vap-prof-wlan-vap] quit

  1. 验证配置结果。在中心AP上执行命令display profile type ips name profile_ips_pc,查看入侵防御配置文件的配置信息。

[AP-wlan-view] display profile type ips name profile_ips_pc

  IPS Profile Configurations:                                                    

----------------------------------------------------------------------        

Name                              : profile_ips_pc                            

Description                       : profile for intranet users                

Referenced                        : 1                                          

State                             : committed                                  

AttackEvidenceCollection          : enable                                    

                                                                               

SignatureSet                      : filter1                                    

  Target                          : client                                    

  Severity                        : high                                      

  OS                              : N/A                                        

  Protocol                        : HTTP                                      

  Category                        : N/A                                        

  Action                          : default                                    

  Application                     : N/A                                        

                                                                               

Exception:                                                                    

ID       Action                                        Name                    

----------------------------------------------------------------------        


DNS Protocol Check:                                                            

                                                                               

HTTP Protocol Check:                                                  

----------------------------------------------------------------------    

中心AP的配置文件

#

defence engine enable

sysname AP

#

profile type ips name profile_ips_pc

description profile for intranet users

collect-attack-evidence enable

signature-set name filter1

 target client

 severity high

 protocol HTTP

#  

vlan batch 100 to 101

#

dhcp enable

#

defence-profile name defence_1                                                  

 profile type ips profile_ips_pc  

#

interface Vlanif100

ip address 10.23.100.1 255.255.255.0

dhcp select interface

#

interface Vlanif101

ip address 10.23.101.1 255.255.255.0

dhcp select interface

#

interface GigabitEthernet0/0/1

port link-type trunk

port trunk pvid vlan 100

port trunk allow-pass vlan 100 to 101

#

interface GigabitEthernet0/0/24

port link-type trunk

port trunk allow-pass vlan 101

#

management-vlan 100

#

wlan

security-profile name wlan-security

 security wpa2 psk pass-phrase %^%#m"tz0f>~7.[`^6RWdzwCy16hJj/Mc!,}s`X*B]}A%^%# aes

ssid-profile name wlan-ssid

 ssid wlan-net

vap-profile name wlan-vap

 service-vlan vlan-id 101

 ssid-profile wlan-ssid

 security-profile wlan-security

 defence-profile defence_1

regulatory-domain-profile name domain1

ap-group name ap-group1

 regulatory-domain-profile domain1

 radio 0

  vap-profile wlan-vap wlan 1

 radio 1

  vap-profile wlan-vap wlan 1

ap-id 1 type-id 19 ap-mac 60de-4476-e360 ap-sn 210235554710CB000042

 ap-name area_1

 ap-group ap-group1

 radio 0

  channel 20mhz 6

  eirp 127

 radio 1

  channel 20mhz 149

  eirp 127

#

return



相关文章
|
10月前
|
数据采集 监控 数据可视化
常用爬虫工具大盘点,附带基础知识点详解
在数据驱动时代,爬虫工具是高效获取公开网络数据的核心利器。从八爪鱼等可视化入门工具,到Requests/Scrapy等Python进阶方案,再到Selenium、Scrapy-Redis等专业级框架,覆盖不同技术门槛与场景需求。使用须恪守robots协议,尊重版权与隐私,合法合规采集。
|
11月前
|
存储 弹性计算 缓存
阿里云99元服务器怎么样?2026年阿里云企业入门级服务器配置及性能测评
阿里云 99 元 / 年的服务器属于 ECS 经济型 e 实例,凭借 “新老用户同享、续费不涨价” 的特点,成为个人开发者与小微企业入门上云的高性价比选择。该实例聚焦轻量计算场景,以 2 核 2G 算力、3M 固定带宽与 40G 存储为核心配置,兼顾基础性能与成本控制,以下从配置细节、性能表现、适用场景及购买规则展开解析。
|
9月前
|
人工智能 自然语言处理 前端开发
零基础小白如何用AI生成网站打造个人品牌官网
零基础也能快速建个人官网!AI生成网站工具(如lynxcode)支持自然语言描述需求,一键生成含介绍、作品、博客等模块的完整页面,免代码、免部署。三步搞定:明确定位→AI生成初版→微调优化。技术只是工具,内容与坚持才是核心。
|
9月前
|
存储 缓存 监控
淘宝商品上下架状态监测API技术实现指南
本方案基于淘宝API实现商品状态监控,支持竞品追踪、库存预警与价格策略分析。通过`taobao.item.get`接口实时获取`status`字段(在售/未上架/已删除),结合Python定时任务、Redis状态比对与异常重试机制,高效稳定运行,兼顾性能与合规性。(239字)
|
12月前
|
Linux 虚拟化 iOS开发
PC软件多系统兼容性测试覆盖策略与不同系统适配方案对比
文章围绕PC软件多系统兼容性测试展开,指出需覆盖Windows、macOS、Linux三大系统并制定适配策略。介绍全系统矩阵测试、虚拟化环境模拟与云真机平台测试三类主流方案及其优劣,通过对比提出混合策略为高性价比实践方向,还给出常见问题的解决办法,助力开发者保障软件跨系统稳定运行。
|
12月前
|
云安全 人工智能 安全
亚太厂商唯一,阿里云以应用身份服务IDaaS入选全球Gartner® Access Management 魔力象限
Gartner® 最新发布2025《Magic Quadrant™ for Access Management》报告,阿里云以云安全应用身份服务 IDaaS入选该魔力象限,成为近5年唯一入选的亚太厂商,为中国内陆、出海、国际Go China的各类企业客户,提供统一身份管理能力。
百万级高并发mongodb集群性能数十倍提升优化实践(上篇)
本文是oppo互联网某百亿级数据量/百万级高并发mongodb集群线上真实优化案例,荣获mongodb中文社区2019年度一等奖。
百万级高并发mongodb集群性能数十倍提升优化实践(上篇)
|
SQL 网络协议 应用服务中间件
使用NGINX作为HTTPS正向代理服务器
NGINX主要设计作为反向代理服务器,但随着NGINX的发展,它同样能作为正向代理的选项之一。正向代理本身并不复杂,而如何代理加密的HTTPS流量是正向代理需要解决的主要问题。本文将介绍利用NGINX来正向代理HTTPS流量两种方案,及其使用场景和主要问题。
使用NGINX作为HTTPS正向代理服务器
|
iOS开发
iOS App Store 上传项目报错 缺少隐私政策网址 (URL) 解决方法
iOS App Store 上传项目报错 缺少隐私政策网址 (URL) 解决方法
iOS App Store 上传项目报错 缺少隐私政策网址 (URL) 解决方法
|
NoSQL 测试技术 API
从程序员到架构师开发运维场景实战篇:一人一套测试环境
一人一套测试环境 本篇开始讲第16次架构经历:一人一套测试环境。同样,先介绍业务场景。 业务场景:测试环境何时能释放出来使用 当时,公司的基础设施使用的是虚拟机,而且还未迁移到容器。