Setup guide

routing bgp
Property Description
enabled (yes | no; default: no) - enable or disable BGP
as (integer; default: 1) - autonomous system number
router-id (IP address; default: 0.0.0.0) - the Router identification in form of an IP address
redistribute-connected (yes | no) - if enabled, the router will redistribute the information about all
connected routes, i.e., routes to the networks that can be directly reached
redistribute-static (yes | no; default: no) - if enabled, the router will redistribute the information
about all static routes added to its routing database, i.e., routes that have been created using the /ip
route add command on the router
redistribute-rip (yes | no; default: no) - if enabled, the router will redistribute the information
about all routes learned by RIP protocol
redistribute-ospf (yes | no; default: no) - if enabled, the router will redistribute the information
about all routes learned by the OSPF protocol
state (read-only: disabled | running | terminating) - status of the BGP
disabled - not working, has been disabled
running - working
terminating - shutting down, flushing all route information
Notes
Usually, you want to redistribute connected and static routes, if any. Therefore change the settings
for these arguments and proceed to the BGP networks.
Example
To enable BGP protocol specifying that router 192.168.0.206, that belongs to the 65002 AS, should
redistribute the connected routes
[admin@Wandy] routing bgp>
[admin@Wandy] routing bgp> print
enabled: yes
as: 65002
router-id: 192.168.0.206
redistribute-static: no
redistribute-connected: yes
redistribute-rip: no
redistribute-ospf: no
state: running
[admin@Wandy] routing bgp>
BGP Network
routing bgp network
Description
BGP Networks is a list of the networks to be advertised.
Property Description