10 11 月, 2013
ISIS跟OSPF很相似,但大家往往对这个协议很陌生,因为大多数企业不会涉及到ISIS,即使ISP广泛使用它,但也很少会遇到ISIS发生问题,在此文中,主要总结建立邻居的详细过程。
基础概念
1. ISIS是个什么协议
ISO(国际标准化组织,发布众多标准,如OSI七层模型,现在的ISO 9001认证等)在1990年发布了10589标准,后被ITU(国际电信联盟)定义为ISIS。它最开始被用于为CLNS(Connectionless Network Service, 无连接网络服务,非IP环境)以及ITU发布的其他路由协议提供路由信息。由于良好的扩展性,所以后续被IETF加入了很多扩展功能,使其支持IP。
2. CLNS编制
CLNS利用NSAP(Network Service Access Point,网络服务)来编织,NSAP中定义了一堆名词,每次看完都会忘,索性就不要记了,对于IP工程师来说,一般不会涉及这些知识,只要知道在路由器中如何编制就可以了,如果确实需要,那么回头再查资料即可。
一个例子带过:
完整阅读
7 11 月, 2013
flow record test
match ipv4 dscp
match ipv4 source address
match ipv4 destination address
collect counter bytes
collect counter packets
collect policy qos classification hierarchy
>>>for flex netflow qos feature need config "platform qos performance-monitor" and reload
完整阅读
7 11 月, 2013
There have 2 path between PE. And customer found 1st path have 5G traffics, 2nd path only have 300M traffics. After checked, customer have Eompls business.
And amount of traffics belong to l2VPN. In general, Loadbalancing in an MPLS network on Cisco routers is typically based upon the data that follows the bottom MPLS label. Refer to All traffic from one PW follows the same path, so have this issue.
Workaround:
We can use Flow Aware Transport (FAT) PW feature (from 4.2.1).
http://www.cisco.com/en/US/partner/docs/routers/asr9000/software/asr9k_r5.1/lxvpn/command/reference/b_vpn_cr51xasr9k_chapter_011.html#wp3812296210
完整阅读
2 11 月, 2013
首先MAC原生支持python2.7,只要打开terminal,输入python就ok了。
如何需要在Eclipse中使用python,可以进行简单的配置:
1. 首先去Elipse下载应用程序,解压后放入应用程序就可以了
http://www.eclipse.org/downloads/
2. 打开Elipse,选择 hlep -> Install New Software

完整阅读
22 10 月, 2013
之前讨论过在XR上,当我们遇到与本设备交互的TCP/UDP和RAW有问题时,可以用下面方法抓下来,然后分析《How to decode TCP, UDP and RAW for IOS-XR》。在76/65上,可以用Netdr,ELAM,CPU span,PB capture,那在咱们的ASR9k上是否有类似好用的工具?答案当然是肯定的,在咱们ASR9k上有两个方法可以抓punt到CPU的包:
在4.3.1以后,XR支持NP Monitor
详细的可以看下面文章: https://supportforums.cisco.com/docs/DOC-29010
这里要注意的是:Note that a captured packet will be DROPPED!
所以一定要注意在选择monitor的counter时,要选择真正的drop counter,而不要把正常的counter给monitor了,那样数据转发就会受影响了。暂时没有测试环境,没法贴出详细测试步骤,文档写的很清楚,详细看上面的文档。
在ASR9k上通过SPP Monitor抓包
下面是一个抓包实例:
完整阅读