【NBR】NBR命令行常用命令有哪些呢

发布时间: 2013-10-09 点击量:1338 打印 字体:

一、查看类命令
sh  run---------------查看配置
sh  ip  flow   ip  all----查看内网电脑的使用的总流量情况(包括上行和下行)
sh  ip  flowrate inbound   all----查看内网电脑使用的上行总流量
sh  ip  flowrate outbound   all----查看内网电脑使用的下行总流量
sh  int  g0/0(f0/0)------------------查看内网口信息
sh  int  g0/1(f1/0)------------------查看外网口信息
sh  log----------------------------------查看日志
sh cpu----------------------------------查看CPU
sh  arp----------------------------------查看路由器学习到的ARP信息

二、限速类命令

游戏优先
ip bandwidth-auto-adjust total-bandwidth inbound 30000 outbound 30000 interface FastEthernet 1/0
ip bandwidth-auto-adjust auto-config interface FastEthernet 1/0
ip bandwidth-auto-adjust base-on-application interface FastEthernet 1/0
ip bandwidth-auto-adjust uptight-percent 60 interface FastEthernet 1/0 application

弹性带宽
ip bandwidth-auto-adjust iprange 192.168.0.1 192.168.0.232 inbound minimum 400 maximum 600 outbound minimum 600 maximum 1000 interface GigabitEthernet 0/1
ip bandwidth-auto-adjust ip 192.168.1.113 inbound minimum 8000 maximum 10000 outbound minimum 10000 maximum 12000 interface GigabitEthernet 0/1


固定限速(全局的)
ip bandwidth-auto-adjust total-bandwidth inbound 25000 outbound 25000 interface GigabitEthernet 0/1
ip rate-limit default inbound 500 outbound 1000 interface GigabitEthernet 1/0


基于ip段的限速
ip rate-limit iprange 192.168.1.4 192.168.1.254 inbound 300 outbound 700 interface GigabitEthernet 0/1
ip bandwidth-auto-adjust iprange 192.168.1.182 192.168.1.183 inbound minimum 400 outbound minimum 600 interface dialer 0

三、功能配置类命令
端口映射
ip nat inside source static tcp 192.168.33.22 80 125.77.116.217 80 permit-inside
ip nat inside source static tcp 192.168.1.251 3389 58.22.4.22 3389 permit-inside

00 分享 纠错
相关条目