‘壹’ 华为p40怎么隔空投送
大家都知道,华为2019年度旗舰mate30系列曾给大家带来一项特殊技能——AI隔空操作。那今年的新机华为p40pro是否也可以支持隔空操作呢?感兴趣的朋友不要错过了。
华为p40pro支持隔空操作吗?
华为p40pro前置一颗姿态/景深摄像头,可支持隔空手势操作,当用户不方便触摸屏幕时,可通过隔空手势截屏或滑动屏幕。
华为p40pro隔空操作设置步骤:设置—辅助功能—快捷启动及手势—隔空手势,打开隔空滑动屏幕和隔空截屏开关。在使用隔空操作时,建议将手放置在前置摄像头前方,并与手机保持一定距离(最佳距离20-40cm),距离太近或太远,姿态感应器无法感知全部手掌,导致成功率低。
隔空投送,即AirDrop,为苹果公司iOS和Mac OS系统下特有的新功能,用于在多台设备之间分享文件,只要将文件拖动到使用隔空投送功能的好友的头像上,就能进行一对一的文件传输。
在2013年WWDC大会上,iOS7的设备上可以使用隔空投送实现共享传输的功能,但是IPhone 5 以下的版本都不能使用隔空投送的应用。
隔空投送实际上是利用Mac与Mac之间的点对点网络来进行的,本质上还是局域网传输,但是不需要路由器或者复杂地建立热点。使用“隔空投送”可以从“照片”、Safari 浏览器、“通讯录”等应用中共享内容。
(1)华为drop命令扩展阅读:
隔空投送通过蓝牙与wifi来进行传输。其中,蓝牙“握手”,wifi“传输”。整个传输过程,并不需要网络连接的参与。也就是说,即便iOS设备处于网络离线状态,依旧能通过隔空投送进行文件传输。
使用时需要注意:
1、确保要接收内容的用户就在附近,并且在蓝牙和 Wi-Fi 范围内。
2、检查自身与要接收内容的用户是不是均已打开 Wi-Fi 和蓝牙。如果有任一方打开了“个人热点”,请将它关闭。
3、检查要接收内容的用户有没有将“隔空投送”设置为仅接收来自联系人的内容。如接收人设置了,并且在其“通讯录”中,那么接收人需要在发送人联系人名片中填写发送人电子邮件地址或手机号码,才能使“隔空投送”正常工作。
‘贰’ 华为交换机命令中文意思
用户视图命令:
cd 改变当前路径
check 检查信息
clear
clock 设置系统时钟
cluster 执行集群命令
cluster-ftp 集群管理模块的FTP命令
compare 比较功能
configuration 配置互锁
拷贝文件
debugging 打开系统调试开关
delete 删除文件
dir 列出文件系统中的文件
display 显示当前系统信息
fixdisk 修复存储设备上丢失的数据块
format 格式化设备
ftp 建立一个FTP连接
hwtacacs-user
kill 释放用户接口
language-mode 设置语言环境
lldp
local-user 添加/删除/设置用户
lock 锁住用户终端
mkdir 创建新目录
more 显示文件的内容
move 移动文件
mtrace 跟踪到组播源
ntdp 运行NTDP命令
patch 补丁命令组
ping 检查网络连接或主机是否可达
pwd 显示当前的工作路径
quit 退出当前的命令视图
reboot 系统重启
refresh 软清除方式
rename 重命名文件或目录
reset 执行清除操作
rmdir 删除已经存在的目录
save 保存当前有效配置
schele 设定系统任务
screen-length 设置屏幕显示的行数
screen-width 设置屏幕宽度
send 向其他的用户终端接口传送信息
set
stack
start-script 在物理终端用户接口上执行一个指定脚本
startup 配置系统启动参数
super 指定当前用户优先级
system-view 进入系统视图
telnet 建立一个Telnet连接
terminal 设置终端特性
test-aaa 帐号测试
tftp 建立一个 TFTP 连接
trace 从链路层上trace路由器(交换机)到主机
tracert Trace route到主机
undelete 恢复删除的文件
undo 取消当前设置
unzip 解压缩文件
zip 压缩文件
系统视图命令:
aaa AAA
acl
alarm 进入告警视图
anti-attack 指定防攻击配置信息
application-apperceive 设置应用层联动信息
arp ARP 模块
arp-miss
arp-suppress 指定ARP抑制功能配置,缺省值是非使能
authentication 认证
autoconfig
bfd BFD
bgp 边界网关路由协议BGP
bootrom
bp
btv
bulk-file 设置批量统计文件名
bulk-stat 设置批量采集
capture-packet 镜像抓包
ccc 电路交叉连接
cfm 连通性故障管理
clear 取消当前设置
cluster 指定集群配置信息
command-privilege 设置命令权限
configuration 配置互锁
configuration-occupied 独享配置权限
cp-car
cpu-defend
cpu-defend-policy
cpu-usage
dhcp 动态主机配置协议
dhcp-snooping
dhcpv6 动态主机配置协议v6
diffserv 配置diffserv参数
display 显示优先级信息
dldp
dns 域名解析系统配置命令
domain 配置管理域
dot1x 802.1x配置信息
drop
drop-profile Drop配置模板
dsa 指定DSA模块配置信息
e-trunk E-Trunk
ecmp 多下一跳
efm EFM模块
erps 以太环网保护倒换
error-down 由于错误事件而shutdown接口
event 进入事件视图
execute 批处理命令
fib FIB 状态和配置信息
file 设置文件系统参数
ftp 设置FTP服务器参数
garp
gtsm 通用TTL安全保护机制
gvrp
header 定义登录标题
hwtacacs
hwtacacs-server
icmp
icmp-reply 打开ICMP快速应答
igmp IGMP配置信息
igmp-snooping
info-center 指定信息输出配置信息
interface 指定接口配置视图
ip 系统IP配置
ipv4
ipv6 使能IPv6功能
isis ISIS路由协议
keychain 密钥链表认证
l2-topology 二层拓扑
l2protocol-tunnel 二层协议隧道
lacp 链路聚合控制协议
lldp
load-balance 指定负载分担模式
loopback-detect
lspv LSP验证
mac-address
mac-authen 指定MAC认证配置信息
mac-forced-forwarding
mac-learning MAC学习
mac-spoofing-defend
matched UNDO命令是否可到上一级视图下进行匹配
mip 配置MIP节点的创建规则(MIP节点不是MA的边界,这是MA内
的一个观察点,可以对LT、LB作出回应)
mld-snooping
monitor-link
mpls 指定MPLS(Multiprotocol Label Switching)配置信息
mpls-qos 基于MPLS的服务质量
msdp 指定MSDP配置信息
mtrace 跟踪到组播源
multicast 组播信息
nap NAP协议
nd 邻居发现
ndp 邻居发现协议
nqa 网络质量分析
nqa-jitter 切换NQA jitter的版本
nqa-server 设置NQA服务器监听服务
ntdp 网络拓扑收集协议
ntp-service 指定NTP(网络时间协议)配置信息
oam-mgr Oam-mgr视图
observe-port
ospf OSPF路由协议
ospfv3 OSPFv3 IPv6版本
pim PIM 协议配置信息
ping 检查网络连接或主机是否可达
policy-based-route 指定一个策略进行策略路由
port-group 端口组
port-isolate
port-mirroring
portal 配置Portal本地服务器
portswitch 路由和交换式端口之间切换
pppoe
pw-template 指定PW模板的配置信息
qos
quit 退出当前的命令视图
radius-server 添加或删除RADIUS服务器模板
refresh 向接口板刷新路由
reset 重置操作
return 退到用户视图
rip RIP(路由信息协议)
ripng RIPng(下一代路由信息协议)
rmon 设置RMON配置信息
rmon2 设置RMON2配置信息
route 路由模块
route-policy 路由策略
route-policy-change 设置路由策略变化参数
router 配置路由器信息
rrpp 快速环网保护协议
rsa 指定RSA模块配置信息
scp 设置SCP服务器
screen-width 设置屏幕宽度
script-string 定义脚本命令操作
sep 智能以太保护
service 设置功能开关,缺省时关闭
set
sftp 设置SFTP服务属性
smart-link
snmp-agent 指定SNMP(Simple Network Management
Protocol)配置信息
ssh 设置SSH(secure shell)的属性
stack
static-lsp 静态LSP(Label Switched Path)
stelnet 设置Stelnet服务属性
stp 指定生成树协议配置信息
super 修改超级用户密码参数
sysname 设置主机名称
tcp 指定全局TCP配置信息
telnet 设置Telnet服务状态
temperature
test-aaa 帐号测试
test-packet 配置测试报文
tftp 建立一个 TFTP 连接
tftp-server TFTP服务器
time-range
trace 从链路层上trace路由器(交换机)到主机
tracert Trace route到主机
traffic
traffic-delete
traffic-filter
traffic-limit
traffic-mirror
traffic-policy
traffic-redirect
traffic-remark
traffic-statistic
trunk Trunk接口
ttl 报文生存时间
tunnel-selector 创建隧道策略选择器并进入隧道策略选择器视图
udp-helper UDP广播报文转换为单播报文进行中继
undo 取消当前设置
unknown-unicast 非已知单播
upgrade
user-bind 绑定用户
user-group 用户组
user-interface 配置用户终端接口
vlan 虚拟局域网
voice-vlan 语音VLAN
vrrp 指定VRRP的配置信息
web-auth-server Portal认证服务器
‘叁’ 50分悬赏:华为S8505 用telnet进入了,怎么样限制网速,最好有详细的命令
S8500中怎样用traffic-limit进行入端口流量限速
现象描述:
FAQ-S8500中怎样用traffic-limit进行入端口流量限速?
处理过程:
traffic-limit从字面上理解是流量限速,但是在我们操作手册和相关培训胶片中普遍称之为流量监管或者流量度量,这是因为traffic-limit的本质作用是对流量报文进行分类和服务参数映射。实际上,对入端口流量进行限速是traffic-limit的常见的应用之一,在用traffic-limit进行限速时请注意以下几点:
1、cir=pir设定为需要限制的速率。
2、cbs=ebs设定为cir=pir的数值的100-150倍。
3、exceed参数选择drop。
如果按照此要求需要设置的cbs和ebs值大于系统可允许配置的最大值则设置为系统允许的最大值即可。
这是研发测试结果的经验值,否则限速会不准确。
S8500 路由表项统计各个参数详解
现象描述:
S8500 路由表项中各个参数的具体解释
处理过程:
1、表项如下:
[JINHUA_S8505]disp ip routing-table statistics
Routing tables:
Proto route active added deleted freed
DIRECT 43 41 223 180 180
STATIC 1 1 2 1 1
BGP 0 0 0 0 0
RIP 0 0 0 0 0
IS-IS 0 0 0 0 0
OSPF 549 542 39785 39236 39236
O_ASE 3507 3506 1063810 1060303 1060303
O_NSSA 0 0 4491 4491 4491
AGGRE 0 0 0 0 0
Total 4100 4090 1108311 1104211 1104211
2、解释如下:
route:路由表中存在的路由条目数;
active:正在使用的路由条目数(例如等值路由,只有一个正在使用);
added:设备启动以来一共增加的路由条目数;
deleted:设备启动以来一共删除的路由条目数;
freed:设备启动以来被释放的路由条目数(正常应该是和deleted的数是相等的)。
注意: route=added-deleted
建议与总结:
中低端的3层switch的路由表项和此表项一样,可以作为参考。
‘肆’ 华为交换机命令 能不能帮我注释下每行 什么意思 非常感谢
ysname youqi
#
vlan batch 101 1000 2000 创建vlan 101 1000 2000
#
undo nap slave enable 关闭从节点设备所有接口的NAP从接口功能。
#
drop illegal-mac alarm 非法物理地址报警
drop illegal-mac enable 使能设备丢弃全0非法MAC地址报文的功能
#
dhcp enable 使能DHCP功能
#
acl number 3000 创建高级ACL 3000
description anti-virus
rule 5 deny tcp destination-port eq 445 拒绝TCP端口445
rule 10 deny udp destination-port eq 445 拒绝UDP端口445
rule 25 deny tcp destination-port eq 137 拒绝TCP端口137
rule 30 deny udp destination-port eq netbios-ns 拒绝UDP端口137
rule 35 deny tcp destination-port eq 138 拒绝TCP端口138
rule 40 deny udp destination-port eq netbios-dgm 拒绝UDP端口138
rule 50 deny udp destination-port eq netbios-ssn 拒绝UDP端口139
rule 55 deny tcp destination-port eq 1521 拒绝TCP端口1521
#
vlan 1000
description guanli
#
aaa aaa认证
authentication-scheme default 验证方式默认
authorization-scheme default 验证方式默认
accounting-scheme default 验证方式默认
domain default 普通用户默认域
domain default_admin 管理员默认域
local-user admin password cipher %@%@cI(OXYOfNLpyqx!7Il`1y/,<%@%@ 密码
local-user admin privilege level 3 权限等级
local-user admin service-type telnet 配置接入服务类型telnet
#
interface Vlanif1 vlan1接口
#
interface Vlanif101 vlan101接口
description yewu
ip address 192.168.9.1 255.255.255.0 vlan101地址
#
interface Vlanif1000 vlan1000接口
ip address 192.168.100.10 255.255.255.0 vlan1000地址
#
interface Vlanif2000 vlan2000接口
ip address 15.64.168.1 255.255.255.0 vlan2000地址
#
‘伍’ 有一段华为交换机的配置命令,烦请解释下各段的意思。
#
vlan batch 10 20 (创建vlan 10,20)
#
cluster enable (默认开启)
ntdp enable (默认开启)
ntdp hop 16 (默认开启)
ndp enable (默认开启)
#
dhcp enable (开启DHCP)
#
undo http server enable (开启网页web管理)
#
drop illegal-mac alarm
#
urpf
#
ip pool abc (创建DHCP 地址池 ABC)
ip pool 123 (创建DHCP地址池 123)
#
ip pool 123 (进入DHCP地址池123 )
gateway-list 192.168.20.1 (分配出去的网关地址 也是你vlan的地址)
network 192.168.20.0 mask 255.255.255.0 (分配出去的网段+子网掩码)
dns-list 192.168.2.8 192.168.2.1 (分配出去的DNS服务器地址)
#
ip pool abc (同上)
gateway-list 192.168.10.1 (同上)
network 192.168.10.0 mask 255.255.255.0 (同上)
dns-list 192.168.2.8 192.168.2.1 (同上)
#
interface Vlanif1 (进入vlan1)
ip address 192.168.2.2 255.255.255.0 (给VLAN1地址)
#
interface Vlanif10
ip address 192.168.10.1 255.255.255.0
dhcp select global (使这个VLAN 中接入的PC 能获取地址)
#
interface Vlanif20
ip address 192.168.20.1 255.255.255.0
dhcp select global
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type access (将G0口设置成ACCESS口)
port default vlan 10 加入到VLAN 10中
ntdp enable
ndp enable
bp enable
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 20 加入到vlan20中
ntdp enable
ndp enable
bp enable
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 10 加入到vlan10中
ntdp enable
ndp enable
bp enable
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 20
ntdp enable
ndp enable
bp enable
#
interface GigabitEthernet0/0/23
ntdp enable
ndp enable
bp enable
#
interface GigabitEthernet0/0/24
ntdp enable
ndp enable
bp enable
#
interface NULL0 垃圾箱 0 口 丢弃
#
ip route-static 0.0.0.0 0.0.0.0 192.168.2.1 默认路由 下一跳地址 192.168.2.1
ip route-static 192.168.0.0 255.255.0.0 192.168.2.1 目标地址 192.168.0.0 (目标地址的子网) 下一跳地址
#
snmp-agent
snmp-agent local-engineid 000007DB7F00000100004067
snmp-agent sys-info version v3
望采纳
‘陆’ 寻求华为3928交换机的配置指令
给你配置实例吧:
分给得太少了.
====================
‘S3900系列交换机端口限速配置流程’
使用以太网物理端口下面的line-rate命令,对该端口的出方向报文进行流量限速;结合acl,使用以太网物理端口下面的traffic-limit命令,对匹配指定访问控制列表规则的端口入方向数据报文进行流量限制。
【SwitchA相关配置】
1. 进入端口E1/0/1的配置视图
[SwitchA]interface Ethernet 1/0/1
2. 对端口E0/1的出方向报文进行流量限速,限制到3Mbps
[SwitchA- Ethernet1/0/1]line-rate 3000
3. 配置acl,定义符合速率限制的数据流
[SwitchA]acl number 4000
[SwitchA-acl-link-4000]rule permit ingress any egress any
4. 对端口E0/1的入方向报文进行流量限速,限制到1Mbps
[SwitchA- Ethernet1/0/1]traffic-limit inbound link-group 4000 1000 exceed drop
【补充说明】
line-rate命令直接对端口的所有出方向数据报文进行流量限制,而traffic-limit命令必须结合acl使用,对匹配了指定访问控制列表规则的数据报文进行流量限制。在配置acl的时候,也可以通过配置三层访问规则,来对指定的源或目的网段报文,进行端口的入方向数据报文进行流量限制。
端口出入方向限速的粒度为64Kbps。
此系列交换机的具体型号包括:S3924、S3928P/F/TP和S3952P。
‘柒’ 请教华为AR2200-S路由器配置命令,详解一下下面命令意思,谢谢!
dns服务器为221.5.203.98,下面就是些端口配置的信息了
‘捌’ 华为接入层S57配置成下面这样,具体详细的命令配置是怎样的谢谢各位大神!
这个他没有配置什么很复杂的,认证啊,STP啊 简单管理协议啊,等等,你远程我帮你配,
就是这样配的撒,基本上你都可以直接复制
‘玖’ 华为交换机命令大全
aaa 解释AAA
acl 解释 Specify ACL configuration information
alarm解释 Enter the alarm view
anti-attack 解释 Specify anti-attack configurations
application-apperceive 解释 Set application-apperceive information
arp 解释 ARP mole
arp-miss 解释 Specify ARP MISS configuration information
arp-suppress 解释 Specify arp suppress configuration information, default is disabled
authentication 解释 Authentication
autoconfig 解释 AutoConfig configuration information
bfd 解释 Specify BFD(Bidirectional Forwarding Detection)configuration information
bgp 解释 Border Gateway Protocol(BGP)
bootrom 解释 BootRom
bp 解释 BPDU message
btv 解释 Btv view
bulk-file 解释 Specify the file name of bulk statistics
bulk-stat 解释 Set bulk statistics
capture-packet 解释 Capture-packet
ccc 解释 Circuit cross connection
cfm 解释 Connectivity fault management
clear 解释 Cancel current configuration
cluster 解释 Specify the information for cluster configuration
command-privilege 解释 Specify the command level
cp-car 解释 Cpu car setting
cpu-defend 解释 Configure CPU defend policy
cpu-defend-policy 解释 Configure CPU defend policy
cpu-usage 解释 Set cpu usage configuration
dhcp 解释 Dynamic host configure protocol
dhcp-snooping 解释 DHCP snooping
dhcpv6 解释 DHCPv6
diffserv 解释 Specify diffserv parameters
display 解释 Display priority information
dldp 解释 Device link detection protocol
dns 解释 Specify domain name system
domain 解释 Default domain
dot1x 解释 802.1x configuration information
drop 解释 Discard attribute
drop-profile 解释 Drop profile
dsa 解释 Specify DSA mole configurations
e-trunk 解释 E-Trunk
ecmp 解释 ECMP
efm 解释 EFM mole
erps 解释 Ethernet ring protection switching
error-down 解释 The interface was shut down because of an error event
event 解释 Enter the event view
execute 解释 Batch command
fib 解释 FIB status and configuration information
file 解释 Specify file system configuration information
ftp 解释 Set the FTP server attributes
garp 解释 Generic Attribute Registration Protocol
gtsm 解释 The generalized TTL security mechanism
gvrp 解释 Generic VLAN Registration Protocol
header 解释 Define the login banner
hwtacacs 解释
hwtacacs-server 解释
icmp 解释 Specify ICMP configuration information
icmp-reply 解释 Enable ICMP reply fast
igmp 解释 Specify IGMP configuration information
igmp-snooping 解释 Specify parameters for IGMP-Snooping
info-center 解释 Specify message output configuration information
interface 解释 Specify the interface configuration view
ip 解释 Specify IP configurations for the system
ipv4 解释 Configure ip packet
ipv6 解释 Enable IPv6 functionality
isis 解释 Intermediate System to Intermediate System (ISIS) routes
keychain 解释 Keychain authentication
l2-topology 解释 Layer 2 topology
l2protocol-tunnel 解释 Layer 2 protocol tunnel
lacp 解释 Link aggregation control protocol
lldp 解释 Link Layer Discovery Protocol
load-balance 解释 Specify load balance mode
loopback-detect 解释 Loopback detect function
lspv 解释 Lsp verification
mac-address 解释 Mac address
mac-authen 解释 MAC authenticate configure information
mac-forced-forwarding 解释 Mac-Forced Forwarding
mac-learning 解释 MAC learning
mac-spoofing-defend 解释 MAC spoofing defend
matched 解释 Is Command can be matched by upper template
mip解释 Configure a rule used to create MIP
mld-snooping 解释 Specify parameters for MLD-Snooping
monitor-link 解释 Monitor link configuration information
mpls 解释 Specify MPLS(Multiprotocol Label Switching) configuration information
mpls-qos 解释 MPLS QoS
msdp 解释 Specify MSDP(Multicast Source Discovery Protocol) configuration information
mtrace 解释 Trace route to multicast source
multicast 解释 Multicast information
nap 解释 NAP protocol
nd 解释 Neighbor discovery
ndp 解释 Neighbor discovery protocol
nqa 解释 Network Quality Analysis(NQA)
nqa-jitter 解释 Switch NQA jitter version
nqa-server 解释 Specify NQA echo server
ntdp 解释 Network topology discovery protocol
ntp-service 解释 Specify NTP (Network Time Protocol) configuration information
oam-mgr 解释 Oam-mgr view
observe-port 解释 Configure observe port feature
ospf 解释 Open Shortest Path First (OSPF)
ospfv3解释 OSPF version 3 for IPv6
pim 解释 Specify PIM(Protocol Independent Multicast) configuration information
ping 解释 Ping function
policy-based-route 解释 Specify a policy for policy based routing
port-group 解释 Port-group
port-isolate 解释 Port isolate
port-mirroring 解释 Mirror port
portal 解释 Configure Portal local server
portswitch 解释 Switch port between router and switch mode
pppoe 解释 PPPOE
pw-template 解释 Specify PW template configuration
qos 解释 QoS configuration
quit 解释 Exit from current command view
radius-server 解释 Add or delete RADIUS server template
refresh 解释 Refresh routes to I/O board
reset 解释 Reset operation
return 解释 Exit to user view
rip 解释 RIP (Routing Information Protocol)
ripng 解释 RIPng (Routing information next generation protocol)
rmon 解释 Specify RMON configuration
rmon2 解释 Specify RMON2 configuration
route 解释 Routing Mole
route-policy 解释 Route-policy
route-policy-change 解释 Specify route policy change parameter
router 解释 Configure router information
rrpp 解释 Rapid ring protection protocol
rsa 解释 Specify RSA mole configuration information
scp 解释 Set SCP server
screen-width 解释 Set screen width
script-string 解释 Define a modem script-string
sep 解释 Smart ethernet protection
service 解释 Toggle service mode. By default it is off
set 解释 Set
sftp 解释 Set SFTP service attribute
smart-link 解释 Smart link configuration information
snmp-agent 解释 Specify SNMP (Simple Network Management Protocol) configuration information
ssh 解释 Set the SSH (secure shell) configuration attribute
stack 解释 Stack
static-lsp 解释 Static LSP configuration
stelnet 解释 Set Stelnet service attribute
stp 解释 Specify Spanning Tree Protocol (STP) configuration information
super 解释 Modify super password parameters
sysname 解释 Specify the host name
tcp 解释 Specify TCP(Transmission Control Protocol) configuration information
telnet 解释 Set the status of the Telnet service
temperature 解释 Device temperature
test-aaa 解释 Accounts test
test-packet 解释 Set the test packet
tftp 解释 Establish a TFTP connection
tftp-server 解释 TFTP server
time-range 解释 Specify time-range configuration information
trace 解释 Trace route (switch) to host on Data Link Layer
tracert 解释 Trace route to host
traffic 解释 Specify traffic configuration information
traffic-delete 解释 Delete sacl
traffic-filter 解释 Filter packets based on acl
traffic-limit 解释 Limit the rate of the packets based on acl
traffic-mirror 解释 Mirror packets based on acl
traffic-policy 解释 Apply specific traffic policy
traffic-redirect 解释 Redirect packets based on acl
traffic-remark 解释 Remark packets based on acl
traffic-statistic 解释 Count packets based on acl
trunk 解释 Trunk interface
ttl 解释 Time to live
tunnel-selector 解释 Tunnel-policy selector
udp-helper 解释 UDP Helper
undo 解释 Cancel current configuration
unknown-unicast 解释 Unknown unicast
upgrade 解释 Upgrade software online
user-bind 解释 User bind
user-group 解释 User group
user-interface 解释 Configure the user terminal interface
vlan 解释 Virtual LAN
voice-vlan 解释 Voice VLAN
vrrp 解释 Specify configuration information about VRRP
web-auth-server 解释 Portal authentication server
‘拾’ 华为交换机端口限速配置
S6506系列交换机:
1、全局模式下配置acl
[S6506_A]aclnumber 4000
[S6506_A-acl-link-4000]rule permit ingress any egress any
2、对端口的方入出向报文进行流量限速,限制到20Mbps
进入端口模式下:
qos
traffic-limit inbound link-group 4000 rule 020032
traffic-limit outbound link-group 4000 rule 020032
20032 Peak Information Rate:最大传输速率(单位:Kbps),必须是64Kbps的倍数
【SwitchA相关配置】
1.进入端口E0/1的配置视图[SwitchA]interface Ethernet 0/1
2.对端口E0/1的出方向报文进行流量限速,限制到3Mbps[SwitchA- Ethernet0/1]line-rate 3
3.配置acl,定义符合速率限制的数据流[SwitchA]acl number 4000[SwitchA-acl-link-4000]rule permit ingress any egress any
4.对端口E0/1的入方向报文进行流量限速,限制到1Mbps[SwitchA- Ethernet0/1]traffic-limit inbound link-group 4000 1 exceed drop
【补充说明】
line-rate命令直接对端口的所有出方向数据报文进行流量限制,而traffic-limit命令必须结合acl使用,对匹配了指定访问控制列表规则的数据报文进行流量限制。在配置acl的时候,也可以通过配置三层访问规则,来对指定的源或目的网段报文,进行端口的入方向数据报文进行流量限制。
端口出入方向限速的粒度为1Mbps。
此系列交换机的具体型号包括:S3026E/C/G/T、S3526E/C/EF、S3050C、S5012G/T和S5024G。
【SwitchA相关配置】
1.进入端口E1/0/1的配置视图[SwitchA]interface Ethernet 1/0/1
2.对端口E0/1的出方向报文进行流量限速,限制到3Mbps[SwitchA- Ethernet1/0/1]line-rate 3000
3.配置acl,定义符合速率限制的数据流[SwitchA]acl number 4000[SwitchA-acl-link-4000]rule permit ingress any egress any
4.对端口E0/1的入方向报文进行流量限速,限制到1Mbps[SwitchA- Ethernet1/0/1]traffic-limit inbound link-group 4000 1000 exceed drop
【补充说明】
line-rate命令直接对端口的所有出方向数据报文进行流量限制,而traffic-limit命令必须结合acl使用,对匹配了指定访问控制列表规则的数据报文进行流量限制。在配置acl的时候,也可以通过配置三层访问规则,来对指定的源或目的网段报文,进行端口的入方向数据报文进行流量限制。
端口出入方向限速的粒度为64Kbps。
此系列交换机的具体型号包括:S3924、S3928P/F/TP和S3952P。
‘S5600系列交换机端口限速配置流程’
使用以太网物理端口下面的line-rate命令,对该端口的出方向报文进行流量限速;结合acl,使用以太网物理端口下面的traffic-limit命令,对匹配指定访问控制列表规则的端口入方向数据报文进行流量限制。
【SwitchA相关配置】
1.进入端口E1/0/1的配置视图[SwitchA]interface Ethernet 1/0/1
2.对端口E0/1的出方向报文进行流量限速,限制到3Mbps[SwitchA- Ethernet1/0/1]line-rate 3000
3.配置acl,定义符合速率限制的数据流[SwitchA]acl number 4000[SwitchA-acl-link-4000]rule permit ingress any egress any
4.对端口E0/1的入方向报文进行流量限速,限制到1Mbps[SwitchA- Ethernet1/0/1]traffic-limit inbound link-group 4000 1000 exceed drop
【补充说明】
line-rate命令直接对端口的所有出方向数据报文进行流量限制,而traffic-limit命令必须结合acl使用,对匹配了指定访问控制列表规则的数据报文进行流量限制。在配置acl的时候,也可以通过配置三层访问规则,来对指定的源或目的网段报文,进行端口的入方向数据报文进行流量限制。
端口出入方向限速的粒度为64Kbps。
此系列交换机的具体型号包括:S5624P/F和S5648P。
SwitchA相关配置
1. [SwitchA]interface Ethernet 1/0/1 //进入端口E1/0/1的配置视图
2. [SwitchA- Ethernet1/0/1]qos lr outbound cir 204800 对端口E0/1的出方向报文进行流量限速,限制到200Mbps
3. [SwitchA- Ethernet1/0/1]qos lr inbound cir 204800 对端口E0/1的入方向报文进行流量限速,限制到200Mbps
华为s2300交换机如何配置端口限速 使用QOS命令来配置(网络带宽的10M、100M和1000M的单位是bps(即bit/s,位/秒),而我们通常所说的100M大小的文件,这里的单位是Byte,而1Byte=8bit,显然100M bit=(100/8)M Byte=12.5M Byte) qos lr命令用来在接口出方向上实施限速。 undo qos lr命令用来禁止接口出方向上的限速。
命令格式 qos lr cir cir cbs cbs undo qos lr cir cir 表示承诺信息速率。 整数形式,取值范围是64~接口自身带宽(例如Ethernet接口带宽为100000,GE接口带宽为1000000),单位是kbit/s。 cbs cbs 表示承诺突发尺寸。 整数形式,取值范围是8192~1040384,单位是byte。 8192Kbps=1M=1024Kbit. 使用实例1: 在接口GET 0/0/1上带宽限制为20M
<quidway>system-view
<quidway>Interface gigabitethernet 0/0/1
<quidway-gigabitethernet0/0/1>qos lr inbound cir 20480 cbs 1040384
<quidway-gigabitethernet0/0/1> qos lr outbound cir 20480 cbs 1040384
<quidway> display cur
<quidway> save