• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

03-安全策略命令参考

09-共享上网监控命令

本章节下载 09-共享上网监控命令  (150.54 KB)

docurl=/cn/Service/Document_Software/Document_Center/IP_Security/ACG/H3C_SecPath_ACG1000/Command/Command_Manual/H3C_ACG1000_CR(E6411_R6609)-800/03/202112/1510250_30005_0.htm

09-共享上网监控命令


1 共享上网监控

1.1  user-share check

user-share check enable命令用来开启共享检测功能。

user-share check disable命令用来关闭共享检测功能。

【命令】

user-share check { enable | disable }

【视图】

系统视图

【参数】

enable:开启共享检测功能。

disable:关闭共享检测功能。

【使用指导】

开启共享检测功能后,用户上网流量会进入共享用户检测流程,共享用户数量大于等于2的所有用户IP会在监控列表中显示。

【举例】

# 开启共享检测功能。

host# system-view

host(config)# user-share check enable

1.2  user-share deny

user-share deny enable terminal-count count  frozen-time time命令用来开启共享用户自动阻断功能,并设置阻断阈值和阻断时间。

user-share deny disable命令用来关闭共享用户自动阻断功能。

【命令】

user-share deny { enable terminal-count count  frozen-time time | disable }

【视图】

系统视图

【参数】

enable:开启共享用户自动阻断功能。

count:设置终端阈值,达到该阈值会将用户阻断,范围为2-20个。

time:设置终端冻结时长,范围为5-720分钟。

disable:关闭共享用户自动阻断功能。

【使用指导】

开启共享用户自动阻断功能后,共享用户数量达到终端阈值的用户IP会被冻结,在冻结时间内禁止上网。

【举例】

# 开启共享用户自动阻断功能,终端阈值为2个,冻结时长为5分钟。

host# system-view

host(config)# user-share deny enable terminal-count 2 frozen-time 5

1.3  user-share except permit

user-share except permit enable命令用来设置共享检测允许例外情况的配置。

user-share except permit disable命令用来关闭共享检测允许例外情况。

【命令】

user-share except permit { enable | disable|pc-terminal pc-count mobile-terminal mobile-count }

【视图】

系统视图

【参数】

enable:开启共享检测允许例外情况。

disable:关闭开启共享检测允许例外情况。

pc-count:设置PC终端个数,范围为1-20个。

mobile-count:设置移动终端个数,范围为1-20个。

【使用指导】

开启共享用户允许例外情况后,达到终端阻断阈值,但符合例外情况的共享用户不会被阻断,可正常上网。

【举例】

# 开启共享用户自动阻断功能,终端阈值为2个,冻结时长为5分钟。同时允许例外情况为1 台PC和一个移动终端的情况

host# system-view

host(config)# user-share deny enable terminal-count 2 frozen-time 5

host(config)# user-share except permit enable

host(config)# user-share except permit pc-terminal 1 mobile-terminal 1

1.4  user-share log switch

user-share log switch on命令用来开启共享用户自动阻断发送日志功能。

user-share log switch off命令用来关闭共享用户自动阻断发送日志功能。

【命令】

user-share log switch { on | off }

【视图】

系统视图

【参数】

on:共享用户被阻断后发送系统日志记录。

off:共享用户被阻断后不发送系统日志。

【使用指导】

开启共享用户自动阻断发送日志功能后,共享用户被阻断后会发送一条系统日志。

【举例】

# 开启共享用户自动阻断发送日志功能。

host# system-view

host(config)# user-share log switch on

1.5  user-share freeze ip

user-share freeze ip命令用来手动冻结指定用户。

【命令】

user-share freeze ip ip-address frozen-time time

【视图】

系统视图

【参数】

ip-address: 需要冻结的IP地址,如1.1.1.1

time:冻结时长

【使用指导】

使用此命令可手动冻结一个共享用户10分钟。

【举例】

# 手动冻结共享用户172.16.1.20。

host# system-view

host(config)# user-share freeze ip 172.16.1.20 frozen-time 10

1.6  user-share freeze tips

user-share freeze tips命令用来手动配置阻断提示信息。

【命令】

user-share freeze tips string

【视图】

系统配置视图

【参数】

string: 配置自定义阻断提示信息

【使用指导】

配置自定义阻断提示信息。

【举例】

# 配置自定义阻断提示信息。

host# system-view

host(config)# user-share freeze ip 172.16.1.20 frozen-time 10

host(config)# user-share freeze tips

Please input tips, Tag <terminal-number> indicates the number of terminals, <frozen-time> indicates the freezing time:

您因为共享终端被禁止访问网络!冻结时间<frozen-time>,分享终端<terminal-number>个,为保障你的合法上网权益,请不要将网络共享给他人使用!

1.7  user-share white ip

user-share white ip命令用来配置白名单ip。

【命令】

user-share white ip {host ip_adress range start_adress end_adress

【视图】

系统配置视图

【参数】

host:配置ip地址

range配置范围地址,包含起始地址start_adress和结束地址end_adress

【使用指导】

设置为白名单的IP对应的用户仍然会进行共享用户检测,但是达到阈值条件后不会被阻断。

【举例】

# 配置防共享白名单为172.16.1.20。

host# system-view

host(config)# user-share white ip 172.16.1.20

【相关命令】

·     display user-share white ip

1.8  user-share white server

user-share white server命令用来配置白名单portal服务器ip。

【命令】

user-share white server ip_adress

【视图】

系统配置视图

【参数】

ip_adress:配置Portal服务器ip地址

【使用指导】

在开启认证功能同时开启UA识别的环境下,由于认证portal服务器UA与终端类型不相同,会导致误识别,将Portal服务器IP设置为白名单可以避免误识别的情况。(目前UA识别方式默认是关闭的)

【举例】

# 将认证portal地址10.0.1.30配置为白名单。

host# system-view

host(config)# user-share white server 172.16.1.30

1.9  user-share white user

user-share white user命令用来配置白名单用户。

【命令】

user-share white user user_name

【视图】

系统配置视图

【参数】

user_name:白名单用户名,必须是已存在的用户

【使用指导】

在认证环境下或账号监听场景下可以配置白名单用户来实现共享检测白名单功能,在白名单中的用户不会被共享阻断。

【举例】

# 将认证user1加入白名单。

host# system-view

host(config)# user-share white user user1

1.10  user-share flashcookie

user-share flashcookie on命令开启基于webRTC+flash cookie识别技术共享检测。

user-share flashcookie off命令关闭基于webRTC+flash cookie识别技术共享检测。

【命令】

user-share flashcookie { on | off }

【视图】

系统视图

【参数】

on:开启基于webRTC+flash cookie识别技术共享检测。

off:关闭基于webRTC+flash cookie识别技术共享检测。

【使用指导】

防共享识别方式优化,提高防共享识别成功率,支持基于webRTC+flash cookie识别技术共享检测。

【举例】

# 开启基于webRTC+flash cookie识别技术共享检测。

host# system-view

host(config)# user-share flashcookie on

1.11  user-share timestamp

user-share timestamp on命令开启基于时间戳识别技术共享检测。

user-share timestamp off命令关闭基于时间戳识别技术共享检测。

【命令】

user-share timestamp { on | off }

【视图】

系统视图

【参数】

on:开启基于时间戳识别技术共享检测。

off:关闭基于时间戳识别技术共享检测。

【使用指导】

防共享识别方式优化,提高防共享识别成功率,支持基于时间戳识别技术共享检测。

【举例】

# 开启基于时间戳识别技术共享检测。

host# system-view

host(config)# user-share timestamp on

1.12  user-share useragent

user-share useragent on命令开启基于UA识别技术共享检测。

user-share useragent off命令关闭基于UA识别技术共享检测。

【命令】

user-share useragent { on | off }

【视图】

系统视图

【参数】

on:开启基于UA识别技术共享检测。

off:关闭基于UA识别技术共享检测。

【使用指导】

防共享识别方式优化,提高防共享识别成功率,支持基于UA识别技术共享检测。

【举例】

# 开启基于UA识别技术共享检测。

host# system-view

host(config)# user-share useragent on

1.13  user-share wechat

user-share wechat on命令开启基于微信长连接识别技术共享检测。

user-share wechat off命令关闭基于微信长连接识别技术共享检测。

【命令】

user-share wechat { on | off }

【视图】

系统视图

【参数】

on:开启基于微信长连接识别技术共享检测。

off:关闭基于微信长连接识别技术共享检测。

【使用指导】

防共享识别方式优化,提高防共享识别成功率,支持基于微信长连接识别技术共享检测。

【举例】

# 开启基于微信长连接识别技术共享检测。

host# system-view

host(config)# user-share wechat on

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们