cisco ccnp eigrp

eigrp:enhanced interior gateway routing protocol
1,dynamic,IGP:interior gateway protocol(运行于AS内部),无类,only cisco,DV:distance vector
2,metric=(10000000/bw+delay/10)*256
3,触发更新和增量更新
4,用组播(224.0.0.10)和单播代替广播
5,支持等价和不等价负载均衡
6,通过发送hello包建邻居:hello time<5s  或 hello time >=60s  ,dead time 是 hello time 的三位,eigrp hello包需要K值相同,AS号相同。
7,建邻居的必要条件是:AS号一致,K值相同,认证一致
8,建邻居完之后要发确认包ACK,有序,优选最小开销,基于DUAL算法,支持多种网络层
9,eigrp三张表:eigrp neighbor table(show ip eigrp neighbor);eigrp topology table(show ip eigrp topology all-links);eigrp route table(show ip route eigrp)
10,eigrp五种包:hello;update;query;reply;ack
11,eigrp下发默认路由三种方法
   (1)写一条默认路由,然后宣告此默认路由(如果要求对方也能回应,对方也应该写一条默认路由)
        ip route 0.0.0.0 0.0.0.0 se 1/1
        router eigrp 100
        network 0.0.0.0
        ip route 192.168.10.0 255.255.255.0 se 1/0
   (2)写一条默认路由,然后重分发eigrp
        ip route 0.0.0.0 0.0.0.0 se 1/1
        redistribute static
    (3) 写一条默认路由,然后宣告此设备连接外网络的端口,最后配置默认网关
        ip route 0.0.0.0 0.0.0.0 se 1/1
        router eigrp 100
        network 202.119.248.66 0.0.0.0
        ip default-network 202.119.248.0
12,查看接口配置IP地址的情况:show ip int brief
   查看具体接口的delay,bandwidth:show int se 1/1
   查看具体接口的配置情况:show ip int se 1/1
   查看具体接口的配置情况(看hello):show run int se 1/1
13,修改hello包时间间隔
   int fa 0/0
   ip hello-interval eigrp 100 20(hello包的时间间隔不能超过邻居的死亡时间)
   修改了hello时间,hold时间是不会跟着自动修改的,需要手动修改
   ip hold-time eigrp 100 180
14,eigrp被动接口:只有loopback才能设为被动接口passive-interface
   router eigrp 100
   passive-interface loopback
   debug eigrp packets
   undug all

15.ACL也能阻止hello包
   access-list 100 deny eigrp any any
   access-list 100 permit ip any any
   int fa 0/0
   ip access-group 100 in
   show ip access-list
   ACL对于自已无效
16,手动关闭eigrp自动汇总
    router eigrp 100
    no auto-summary
    手动汇总,在谁上面就在谁上面做,在所有的路由出接口上配
    手动汇总是找路由共同点,当明细路由全部消失之后,汇总路由才会消失
    int fa 0/0
    ip summary-address eigrp 100 172.16.0.0 255.255.252.0
17,eigrp宣告
    主类宣告:network 192.168.1.0;network 12.0.0.0;network 172.16.0.0
    正掩码宣告:network 12.12.12.0 255.255.255.0
    通配符宣告:network 12.12.12.0 0.0.0.255
    精确宣告:network 12.12.12.2 0.0.0.0
    宣告所有接口,全0宣告:network 0.0.0.0 0.0.0.0
18, eigrp和管理距离是:D:90;D*EX:170;汇总是5
19,eigrp meteric 有5个K值
    bandwidth   带宽K1    1
    delay       延迟K3    1
    reliability 可靠性K4  0
    loading     负载K2    0
    mtu         最大传达输单元K5  0
    show ip protocols
20,metric=256*(10000000/BW+delay之和/10)
    show ip route eigrp:查看metric
    show int fa 0/0    :查看bw delay
    仅影响到选路由,不会更改实际的
    负载均衡,支持等价与不等价,由metric值决定,最多支持六条负载均衡,可以改(包是按照variance值来发包的1:N)
    不等价指metric不相同
    eigrp不等价条件是进入路由表
    进入路由表的条件是n*FD(min)>FS(可行后继)的FD
    router eigrp 100
    variance n
    成为可行后继的条件即进入topology表的条件是AD<fd(min)
    P 172.16.0.0/22, 1 successors, FD is 156160, serno 13
        via 192.168.10.103 (156160/128256), FastEthernet0/0
        via 12.12.12.2 (2809856/2297856), Serial1/1
    P 172.16.0.0/16, 1 successors, FD is 156160, serno 12
        via 192.168.10.103 (156160/128256), FastEthernet0/0
        via 12.12.12.2 (2809856/2297856), Serial1/1
    修改邻居,也就是AD 的值
    再在本路由器上面修改variance值
21,eigrp认证
    eigrp 仅支持MD5密文认证
    key chain cisco
    key 1
    key-string cisco
    exit
    key2
    key-string juniper
    exit
    int fa 0/0
    ip authentication mode eigrp 100 md5
    ip authentication key-chain eigrp 100 cisco
22,PAT:端口地址翻释
    nat
    1,inside local
    2,outside local
    3,inside global
    4,outside global
    1,先定义内外端口
    2,配置ACL
    3,应用到具体端口
    show ip nat translations
    配置完之后对方不需要静态路由,nat是双向的
23,查看DCE
    show controllers serial 1/1
    show run | b r e
    查看汇总管理距离
    只能在汇总的路由器上面
    show ip route 172.16.0.0 255.255.252.0
    路由方向与数据包方向相反
    clear ip route *
    clear ip eig 100 neighbors
    查看EIGRP中宣告的端口
    show ip eigrp int
24,发现协议
    cdp run
    show cdp neighbors
    stub末节
    router eigrp 100
    eigrp stub
    update是发送路由更新
    query是发送查询包
    还原接口:default int se 1/2
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章