BGP Antctl commands #6209
Labels
area/component/antctl
Issues or PRs releated to the command line interface component
area/transit/bgp
Issues or PRs related to BGP support.
antctl
agent command to -get effective BGPPolicy name.
It is nice to also have some basic info about it like LocalASN, RouterID, ListenPort.
antctl get bgppolicy
(orget bp
)get ASN, RouterID and ListenPort directly from local BGP server corresponding to effective BGPPolicy.
It can be helpful in debugging when BGP server is not running properly or its configuration is different from effective BGPPolicy due to some unknown reason.
antctl get bgpserver
(orget bs
)get BGP Peers(known by their Address) added to effective BGPPolicy.
It is nice to also have ASN and State of each BGP Peer which can be
unknown
,idle
,active
,established
etc.antctl get bgppeers
get routes advertised by effective BGPPolicy.
It is nice to also have Advertisement type for each advertised routes.
AdvertisementType
can beegress
,service
,pod
orall
(defaultall
)antctl get bgproutes --type <AdvertisementType>
The text was updated successfully, but these errors were encountered: