码迷,mamicode.com
首页 > 其他好文 > 详细

H3C ISIS

时间:2016-04-14 16:17:42      阅读:403      评论:0      收藏:0      [点我收藏+]

标签:is

ISIS的简单配置:

[R1]isis

[R1-isis-1]network-entity 86.0001.1111.1111.1111.00

[R1]int vlan 100

[R1-Vlan-interface100]isis enable

[R1-Vlan-interface100]int vlan 200

[R1-Vlan-interface200]isis enable

[R1-Vlan-interface200]int lo 0

[R1-LoopBack0]isis enable


修改接口的优先级:(手工指定DIS)

[R1]int vlan 100

[R1-Vlan-interface100]isis dis-priority 100

缺省情况下,接口上的优先级为64。如果命令中不指定Level-1Level-2,则默认为Level-1Level-2都设置


查看接口信息:

[R1-Vlan-interface100]dis isis interface

路由引入:

[RouterD] isis 1

[RouterD–isis-1] address-family ipv4

[RouterD–isis-1-ipv4] import-route rip level-2


修改路由器的角色:

[R2]isis 1

[R2-isis-1]is-level level-1

缺省情况下,路由器的类型为level-1-2

注意:当路由器修改为level-1路由器时,他不会再接收level-2的路由,本地会有一条缺省路由指向level-2路由器


路由渗透:

[R1]isis 1

[R1-isis-1]address-family ipv4

[R1-isis-1-ipv4]import-route isis level-2 into level-1

可以使level-1的路由器接收到level-2的路由


ISIS的认证:

[R1]int g0/1

[R1-GigabitEthernet0/1]isis authentication-mode md5 plain 123

区域认证:

[R1]isis 1

[R1-isis-1]area-authentication-mode md5 plain h3c


ISIS与BFD的联动:(拓扑见QQ收藏)

[RouterA] bfd session init-mode active

[RouterA] interface gigabitethernet 2/1/1

[RouterA-GigabitEthernet2/1/1] isis bfd enable

[RouterA-GigabitEthernet2/1/1] bfd min-receive-interval 500

[RouterA-GigabitEthernet2/1/1] bfd min-transmit-interval 500

[RouterA-GigabitEthernet2/1/1] bfd detect-multiplier 7

[RouterB] bfd session init-mode active

[RouterB] interface gigabitethernet 2/1/1

[RouterB-GigabitEthernet2/1/1] isis bfd enable

[RouterB-GigabitEthernet2/1/1] bfd min-receive-interval 500

[RouterB-GigabitEthernet2/1/1] bfd min-transmit-interval 500

[RouterB-GigabitEthernet2/1/1] bfd detect-multiplier 8


ISIS的GE:(平滑重启)

[R1]isis 1

[R1-isis-1]graceful-restart

[R1-isis-1]graceful-restart t2 100 重启间隔,默认为300s

<R1>dis isis graceful-restart status


引入外部路由:

[R3]isis 1

[R3-isis-1]address-family ipv4

[R3-isis-1-ipv4]import-route rip level-2

[R3-rip-1]import-route isis allow-direct 没有这条命令本地路由不会重分发出去

缺省情况引入的路由类型为level-2


路由过滤:

[R1]acl basic 2000

[R1-acl-ipv4-basic-2000]rule deny source 4.4.4.4 0

[R1-acl-ipv4-basic-2000]rule permit source any

[R1-acl-ipv4-basic-2000]quit

[R1]isis

[R1-isis-1]address-family ipv4

[R1-isis-1-ipv4]filter-policy 2000 import


路由聚合:

[R1]isis

[R1-isis-1]address-family ipv4

[R1-isis-1-ipv4]summary 192.168.8.0 22 level-1-2


缺省路由配置:

[R1]isis

[R1-isis-1]address-family ipv4

[R1-isis-1-ipv4]default-route-advertise  

Level-1的缺省路由不需要配置,Level-2的缺省路由需要手工配置


修改管理距离:

[R1]isis 1

[R1-isis-1]address-family ipv4

[R1-isis-1-ipv4]preference 20   该命令只对路由器本地有效,不影响其他路由器

缺省情况下,IS-IS路由的优先级为15


修改路由的cost值:

[R1-isis-1]int g0/1

[R1-GigabitEthernet0/1]isis cost 13   默认下不指定类型修改的是level-1

缺省情况下,IS-IS在接口上的路由权值为10


修改发送hello的时间:

[R1]int g0/0

[R1-GigabitEthernet0/0]isis timer hello 15

缺省情况下,接口上Hello报文的发送间隔时间为10


<R1>reset isis peer 2222.2222.2222 1  清除指定邻居

<R1>reset isis all  清除所有

<R1>dis isis route  查看路由

<R1>dis isis peer   查看邻居

<R1>dis isis lsdb   查看数据库







H3C ISIS

标签:is

原文地址:http://llzzgg.blog.51cto.com/10535395/1763717

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!