SubhaITsolution

01975-000064
(+880) 1975-000064 (+880) 1975-000064 Subhaitsolution@gmail.com 1/E,Plot-64,Zoo Road, Mirpur-1, Dhaka, Bangladesh

Juniper VS MikroTik – BGP commands

Juniper Command MikroTik Command
show bgp summary routing bgp peer print brief
show bgp neighbor routing bgp peer print status
show route advertising-protocol bgp 172.31.254.2 routing bgp advertisements print peer=peer_name
show route receive-protocol bgp 172.31.254.2 ip route print where received-from=peer_name
show route protocol bgp ip route print where bgp=yes
clear bgp neighbor 172.31.254.2 soft-inbound routing bgp peer refresh peer_name
clear bgp neighbor 172.31.254.2 soft routing bgp peer resend peer_name
set routing-options autonomous-system 1 /routing bgp instance
set default as=2
set protocols bgp group EBGP type external
set protocols bgp group EBGP peer-as 2
set protocols bgp group EBGP neighbor 172.31.254.2
/routing bgp peer
add name=PEER-1 remote-address=172.31.254.1 remote-as=1
set policy-options policy-statement REDIS-CONNECTED term 1 from protocol direct
set policy-options policy-statement REDIS-CONNECTED term 1 then accept
set protocols bgp group EBGP export REDIS-CONNECTED
/routing bgp network
add network=100.100.88.0/24
add network=100.100.87.0/24
add network=100.100.86.0/24
set routing-options static route 0.0.0.0/0 discard
set protocols bgp group EBGP export SEND-DEFAULT
set policy-options policy-statement SEND-DEFAULT term 1 from protocol static
set policy-options policy-statement SEND-DEFAULT term 1 from route-filter 0.0.0.0/0 exact
set policy-options policy-statement SEND-DEFAULT term 1 then accept
/routing bgp peer
add default-originate-always name=PEER-1 remote-address=172.31.254.1 remote-as=1
Scroll to Top