Setup guide
network (IP address/mask; default: 0.0.0.0/0) - network to advertise
Notes
You can add to the list as many networks as required.
The router is not checking whether the network is in the routing table, it always advertises all the
routes that are specified here.
Note the difference with OSPF, that use network list for different purpose - to determine where to
send updates.
Example
To advertise the network 159.148.150.192/27:
[admin@modux] routing bgp network> add network=159.148.150.192/27
[admin@modux] routing bgp network> print
# NETWORK
0 159.148.150.192/27
[admin@modux] routing bgp network>
BGP Peers
routing bgp peer
Description
You need to specify the BGP peer with whom you want to exchange the routing information. The
BGP exchanges routing information only if it can establish a TCP connection to its peer. You can
add as many peers as required.
Property Description
remote-address (IP address; default: 0.0.0.0) - address of the remote peer
remote-as (integer; default: 0) - AS number of the remote peer
multihop (yes | no; default: no) - if enabled, allows BGP sessions, even when the neighbour is not
on a directly connected segment. The multihop session is not established if the only route to the
multi-hop peer's address is the default route (0.0.0.0/0)
route-reflect (yes | no; default: no) - defines whether to redistribute further the routes learned from
router of the same AS or not. If enabled, can significantly reduce traffic between routers in the same
AS
prefix-list-in (name; default: "") - name of the filtering prefix list for receiving routes
prefix-list-out (name; default: "") - name of the filtering prefix list for advertising routes
state (read-only: connected | not-connected) - the status of the BGP connection to the peer
routes-received - the number of received routes from this peer
Example
To enable routing information exchange with the neighbour (non-multihop) 192.168.0.254 that
belongs to 65002 AS:
[admin@Wandy] routing bgp peer> add remote-address=192.168.0.254 remote-as=217
[admin@Wandy] routing bgp peer> print
# REMOTE-ADDRESS REMOTE-AS MULTIHOP ROUTE-REFLECT PREFIX-LIS... PREFIX-LI...