FRRouting 配置bgp

 

 

[root@host-10-10-18-195 frr-stable-7.3]# vtysh

Hello, this is FRRouting (version 7.3-MyOwnFRRVersion).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

host-10-10-18-195# configure terminal 
host-10-10-18-195(config)# router bgp 195
host-10-10-18-195(config-router)# bgp router-id 10.10.18.195
host-10-10-18-195(config-router)# bgp bestpath as-path multipath-relax
host-10-10-18-195(config-router)# neighbor fabric peer-group
host-10-10-18-195(config-router)# neighbor fabric remote-as external
host-10-10-18-195(config-router)# neighbor 10.10.16.81 peer-group fabric
host-10-10-18-195(config-router)# neighbor 10.10.16.82 peer-group fabric
host-10-10-18-195(config-router)# address-family l2vpn evpn
host-10-10-18-195(config-router-af)# neighbor fabric activate
host-10-10-18-195(config-router-af)# exit-address-family
host-10-10-18-195(config-router)# !
host-10-10-18-195(config-router)# !
host-10-10-18-195(config-router)# show bgp l2vpn evpn 
% Unknown command: show bgp l2vpn evpn 
host-10-10-18-195(config-router)# exit
host-10-10-18-195(config)# show bgp l2vpn evpn 
% Unknown command: show bgp l2vpn evpn 
host-10-10-18-195(config)# exit
host-10-10-18-195# show bgp l2vpn evpn 
No prefixes displayed, 0 exist
host-10-10-18-195# write
Note: this version of vtysh never writes vtysh.conf
Building Configuration...
Configuration saved to /etc/frr/zebra.conf
Configuration saved to /etc/frr/bgpd.conf
Configuration saved to /etc/frr/staticd.conf
host-10-10-18-195# show bgp l2vpn evpn 
No prefixes displayed, 0 exist
host-10-10-18-195# 
host-10-10-18-195# show running-config
Building configuration...

Current configuration:
!
frr version 7.3-MyOwnFRRVersion
frr defaults traditional
hostname host-10-10-18-195
!
router bgp 195
 bgp router-id 10.10.18.195
 bgp bestpath as-path multipath-relax
 neighbor fabric peer-group
 neighbor fabric remote-as external
 neighbor 10.10.16.81 peer-group fabric
 neighbor 10.10.16.82 peer-group fabric
 !
 address-family l2vpn evpn
  neighbor fabric activate
 exit-address-family
!
line vty
!
end
host-10-10-18-195# 

猜你喜欢

转载自www.cnblogs.com/dream397/p/12328129.html