华为BGP认证:基于Keychain的BGP认证


BGP认证配置,以R1为例:

[R1]keychain key mode periodic daily 
[R1-keychain]key-id 1
[R1-keychain-keyid-1]algorithm md5
[R1-keychain-keyid-1]key-string huawei
[R1-keychain-keyid-1]send-time daily 08:00 to 18:00
[R1-keychain-keyid-1]receive-time daily 08:00 to 18:00

R1基本配置:

[R1]dis ip int bri

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 3

The number of interface that is DOWN in Physical is 10

The number of interface that is UP in Protocol is 3

The number of interface that is DOWN in Protocol is 10

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              10.0.12.1/24         up         up        

GigabitEthernet0/0/1              unassigned           down       down      

GigabitEthernet0/0/2              unassigned           down       down      

GigabitEthernet2/0/0              unassigned           down       down      

GigabitEthernet2/0/1              unassigned           down       down      

GigabitEthernet2/0/2              unassigned           down       down      

GigabitEthernet2/0/3              unassigned           down       down      

GigabitEthernet4/0/0              unassigned           down       down      

GigabitEthernet4/0/1              unassigned           down       down      

GigabitEthernet4/0/2              unassigned           down       down      

GigabitEthernet4/0/3              unassigned           down       down      

LoopBack0                         10.0.1.1/32          up         up(s)     

NULL0 

R1主要配置:

[R1]keychain key mode periodic daily 

[R1-keychain]key-id 1

[R1-keychain-keyid-1]algorithm md5

[R1-keychain-keyid-1]key-string huawei

[R1-keychain-keyid-1]send-time daily 08:00 to 18:00

[R1-keychain-keyid-1]receive-time daily 08:00 to 18:00

[R1-keychain-keyid-1]bgp 100

[R1-bgp]peer 10.0.12.2 keychain key


R2基本配置:

[R2]dis ip int bri

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 4

The number of interface that is DOWN in Physical is 9

The number of interface that is UP in Protocol is 4

The number of interface that is DOWN in Protocol is 9

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              10.0.12.2/24         up         up        

GigabitEthernet0/0/1              10.0.23.2/24         up         up        

GigabitEthernet0/0/2              unassigned           down       down      

GigabitEthernet2/0/0              unassigned           down       down      

GigabitEthernet2/0/1              unassigned           down       down      

GigabitEthernet2/0/2              unassigned           down       down      

GigabitEthernet2/0/3              unassigned           down       down      

GigabitEthernet4/0/0              unassigned           down       down      

GigabitEthernet4/0/1              unassigned           down       down      

GigabitEthernet4/0/2              unassigned           down       down      

GigabitEthernet4/0/3              unassigned           down       down      

LoopBack0                         10.0.2.2/32          up         up(s)     

NULL0                             unassigned           up         up(s) 

R2主要配置:

[R2]keychain key mode periodic daily 

[R2-keychain]key-id 1

[R2-keychain-keyid-1]algorithm md5

[R2-keychain-keyid-1]key-string huawei

[R2-keychain-keyid-1]send-time daily 08:00 to 18:00

[R2-keychain-keyid-1]receive-time daily 08:00 to 18:00

[R2-keychain-keyid-1]bgp 100

[R2-bgp]peer 10.0.12.1 keychain key


在R1上查看BGP邻居信息:


<< 上一篇

RIP、OSPF和BGP分别采用什么传输协议,为什么?

下一篇 >>

几个典型的蓝屏故障的原因和解决办法

版权声明

除非注明,文章均由 有意思吧 整理发布,欢迎转载。

转载请注明本文地址:http://u148.cn/?id=32

相关文章

我要评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。