Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4178738
  • 博文数量: 601
  • 博客积分: 15410
  • 博客等级: 上将
  • 技术积分: 6884
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-16 08:11
个人简介

独学而无友,则孤陋而寡闻!

文章分类

全部博文(601)

文章存档

2020年(1)

2018年(4)

2017年(7)

2016年(42)

2015年(25)

2014年(15)

2013年(36)

2012年(46)

2011年(117)

2010年(148)

2009年(82)

2008年(37)

2007年(41)

分类: 系统运维

2012-11-09 15:50:52

1、查找IP在哪一个端口:
 (1)查路由表:disp ip rou, 找到路由IP。
 (2)查arp信息:disp arp ,一般能同时找到interface和vlan id。

  1. display arp
  2. Type: S-Static D-Dynamic A-Authorized
  3. IP Address MAC Address VLAN ID Interface Aging Type
  4. 10.72.233.233 0000-0000-0000 220 GE3/0/2 N/A D
  5. 10.72.232.145 0000-0000-0000 230 GE3/0/2 N/A D
  6. 10.72.233.185 0000-0000-0000 240 GE3/0/2 N/A D
  7. 10.72.255.14 0000-0000-0000 103 GE3/0/11 N/A D
  8. 10.72.255.10 0000-0000-0000 102 GE3/0/12 N/A D
  9. 10.72.255.30 0000-0000-0000 107 GE3/0/13 N/A D
 (3)如果上面没有vlan信息,则再disp vlan,查看vlan对应的端口。

2、查找某个端口有哪些IP,
 (1)disp arp inter gig 3/0/2 找到端口上的IP,
 (2)根据路由表找到IP段

3、H3C端口流量查看:
 disp inter gig
 注意参数:(1)input和output;(2)后面的百分数

4、限速,2M,对应200K,不允许超出该流量,注意carl数量有限制,最多是100多点:

  1. qos carl 11 source-ip-address range 10.72.15.0 to 10.72.17.255 per-address
  2. qos carl 12 destination-ip-address range 10.72.15.0 to 10.72.17.255 per-address
  3. qos carl 13 source-ip-address range 10.72.21.0 to 10.72.23.255 per-address

  4. interface GigabitEthernet0/2

  5. qos car inbound carl 11 cir 2000 cbs 200000 ebs 0 green pass red discard
  6. qos car inbound carl 13 cir 2000 cbs 200000 ebs 0 green pass red discard



阅读(1306) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~