quagga 删除 network

localhost.localdomain# show running-config
Building configuration...

Current configuration:
!
frr version 7.3-MyOwnFRRVersion
frr defaults traditional
hostname localhost.localdomain
!
router bgp 81
 bgp router-id 10.10.16.81
 bgp bestpath as-path multipath-relax
 neighbor fabric peer-group
 neighbor fabric remote-as external
 neighbor 10.10.18.195 peer-group fabric
 !
 address-family ipv4 unicast
  network 10.81.81.0/24
 exit-address-family
 !
 address-family l2vpn evpn
  neighbor fabric activate
  advertise-all-vni
 exit-address-family
!
line vty
!
end
localhost.localdomain# config
localhost.localdomain(config)# router bgp 81
localhost.localdomain(config-router)# no network 10.81.81.0/24
localhost.localdomain(config-router)# exit
localhost.localdomain(config)# exit
localhost.localdomain# show running-config
Building configuration...

Current configuration:
!
frr version 7.3-MyOwnFRRVersion
frr defaults traditional
hostname localhost.localdomain
!
router bgp 81
 bgp router-id 10.10.16.81
 bgp bestpath as-path multipath-relax
 neighbor fabric peer-group
 neighbor fabric remote-as external
 neighbor 10.10.18.195 peer-group fabric
 !
 address-family l2vpn evpn
  neighbor fabric activate
  advertise-all-vni
 exit-address-family
!
line vty
!
end
localhost.localdomain# 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
localhost.localdomain#

 

posted on 2020-02-20 12:54  tycoon3  阅读(462)  评论(0编辑  收藏  举报

导航