guzan 发表于 2013-5-24 09:12:59

CCNP学习之路由协议ISIS

IS-IS
所有连续的L2或者L1-2构成IS-IS的逻辑骨干区。
IIHIS-IS间的HELLO包
Integrated IS-IS NSAP Address Structure
--IDP-------------------------DSP--------------------AFIIDI    High-Order DSP          System ID   NSEL
|<--------Variable-Lenagth----->|<----6Bytes--->|1Byte|         Area Address
IDP(Initial Domain Part)AFI(Authority Format ID)    49(私有,16进制)
IDI(Initial Domain ID)      47.000547.0006
DSP(Domain Sepcific Part)HODSP(Area)               System ID(IP/MAC)NSAP-Selector(0x00)      
如:Public IP202.1.3.10202.001.003.010
2020.0100.3010

NSAP地址规划
必须要以一个字节开始,以一个字节结束。如:49.0001.0000.0c22.2222.00
R1(config)#router isisR1(config-router)#net 49.0001.1111.1111.1111.00   //配置NET地址R1(config-router)#log-adjacency-changes all    //当邻居DOWN时log提示R1(config)#interface s1/0   //将接口通告进ISISR1(config-if)#ip route isis
R1(config-if)#isis metric 5//修改metric值选路R1(config-if)#isis circuit-type level-1/1-2/2-only//将层次细化到某个接口

R1#show clns neighbors   //查看ISIS邻居R1#show isis hostname   //查看System ID与Hostname映射表R1#show isis database   //查看ISIS数据库R1#show isis databaseverbose//查看ISIS数据库明细R1#show clns is-neighborsR1#show clns interfaceR1#show clns protocol
清除ISIS邻居:R1#clear isis *          //清除ISIS所有信息R1#clear clns neighbors   //清除ISIS邻居信息

ISIS优化:R2(config)#router isisR2(config-router)#is-type level-1
R3(config)#router isisR3(config-router)#is-type level-2

Route Leaking(路由泄漏)
R1(config-router)#redistribute isis ip level-2 into level-1 distribute-list 100R1(config)#access-list 100 permit ip 3.3.3.0 0.0.0.0 any
封装:
UDP RIPIP EIGRPIP OSPFL2H ISIS
组播地址:Level-1: 01:80:C2:00:00:14Level-2: 01:80:C2:00:00:15
IS-IS PDUS(IS-IS报文):
Hello(ESH,ISH,IIH)LSPPSNP(Partial sequence number PDU)      LSR/ACKCSNP(Complete sequence number PDU)   DBD

IS-IS Network Type:
               PSNP               CSNPBroadcast      Request(LSR)       由DIS每10S发一次Point-to-Point   ACK                邻居建立只发一次
DIS选举方式:1.Highest interface priority(较高优先级)   642.Highest SNPA(MAC) breaks ties

ISIS配置实验:
R2(s1/0)------(s1/0)R1(s1/1)------(s1/0)R3
配置脚本:
----R1----------------------------------------------------------------------
R1#sh runBuilding configuration...
Current configuration : 1307 bytes!version 12.2service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R1!!ip subnet-zero!!no ip domain lookup!ip cef!!voice call carrier capacity active!!!interface Loopback0ip address 1.1.1.1 255.255.255.0ip router isis!interface FastEthernet0/0no ip addressshutdownduplex half!interface Serial1/0ip address 12.1.1.1 255.255.255.0ip router isisserial restart_delay 0!      interface Serial1/1ip address 13.1.1.1 255.255.255.0ip router isisserial restart_delay 0!router isisnet 49.0001.1111.1111.1111.00log-adjacency-changes all!ip classlessno ip http server!!      call rsvp-sync!!mgcp profile default!dial-peer cor custom!!gatekeepershutdown!!line con 0exec-timeout 0 0logging synchronousline aux 0line vty 0 4!!end
---R2-----------------------------------------------------------
R2#sh runBuilding configuration...
Current configuration : 1280 bytes!version 12.2service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R2!!ip subnet-zero!!no ip domain lookup!ip cef!!voice call carrier capacity active!!!interface Loopback0ip address 2.2.2.2 255.255.255.0ip router isis!interface FastEthernet0/0no ip addressshutdownduplex half!interface Serial1/0ip address 12.1.1.2 255.255.255.0ip router isisserial restart_delay 0!      router isisnet 49.0001.2222.2222.2222.00log-adjacency-changes all!ip classlessno ip http server!!      call rsvp-sync!!mgcp profile default!dial-peer cor custom!!!!gatekeepershutdown!!line con 0exec-timeout 0 0logging synchronousline aux 0line vty 0 4!!end

----R3-----------------------------------------------------------
R3#sh runBuilding configuration...
Current configuration : 1280 bytes!version 12.2service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R3!!ip subnet-zero!!no ip domain lookup!ip cef!!voice call carrier capacity active!!!interface Loopback0ip address 3.3.3.3 255.255.255.0ip router isis!interface FastEthernet0/0no ip addressshutdownduplex half!interface Serial1/0ip address 13.1.1.3 255.255.255.0ip router isisserial restart_delay 0!      router isisnet 49.0001.3333.3333.3333.00log-adjacency-changes all!ip classlessno ip http server!!!!!      call rsvp-sync!!mgcp profile default!dial-peer cor custom!!!!gatekeepershutdown!!line con 0exec-timeout 0 0logging synchronousline aux 0line vty 0 4!!end
-------------------------------------------------------------------------------
测试:R3# ping 2.2.2.2
Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 48/92/160 msR3#

yxixi 发表于 2013-5-24 12:14:11

佛曰,色即是空,空即是色!今晚,偶想空一下

小雪崩 发表于 2013-5-24 12:31:05

美女未抱身先走,常使色狼泪满襟。。。。。。

zzl001 发表于 2013-5-24 13:28:47

如果跟导师讲不清楚,那么就把他搞胡涂吧!

olga 发表于 2013-5-24 16:22:20

好好 学习了 确实不错

sxyzy 发表于 2013-5-24 16:58:14

怀揣两块,胸怀500万!

我爱小虾 发表于 2013-5-24 17:22:20

关羽五绺长髯,风度翩翩,手提青龙偃月刀,江湖人送绰号——刀郎。
页: [1]
查看完整版本: CCNP学习之路由协议ISIS