You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
u1-VirtualBox(config)# do show interface enp0s3
Interface enp0s3 is up, line protocol is up
Link ups: 0 last: (never)
Link downs: 0 last: (never)
vrf: default
index 2 metric 0 mtu 1500 speed 1000 txqlen 1000
flags: <UP,LOWER_UP,BROADCAST,RUNNING,MULTICAST>
Type: Ethernet
HWaddr: 08:00:27:74:86:7c
inet 10.0.0.31/24
inet6 fe80::373b:c15e:2bcd:7c1b/64
Interface Type Other
Interface Slave Type None
protodown: off
u1-VirtualBox(config)# router bgp 1
u1-VirtualBox(config-router)# neighbor 10.0.0.31 remote-as 2
% Can not configure the local system as neighbor <--------- Its OK
u1-VirtualBox(config-router)# do show running-config
Building configuration...
Current configuration:
!
frr version 10.1.1
frr defaults traditional
hostname u1-VirtualBox
no ip forwarding
no ipv6 forwarding
!
router bgp 1
exit
but if i want check bgp config via bgpd -C -f <path> then its ok
config dry-run is unfortunately only a syntax check, not a semantic check for the config. At some point in the future, we will be able to do better config checks through YANG and the validation stage there, but this needs a lot more work (even after basic YANG works, validation must be implemented) and won't happen anytime soon. Sorry about that, but right now there is no way to catch this before actually configuring.
but if i want check bgp config via bgpd -C -f <path> then its ok
conf file:
result:
The text was updated successfully, but these errors were encountered: