If you want most of your traffic to go through one provider. Then in default
you need to set different Set BGP Local Pref
RouterOS (Mikrotik)
/routing filter add action=accept address-family=ip chain=FROM-ONE-PROVIDER.RU comment="Accept DEFAULT" prefix=0.0.0.0/0 prefix-length=0 protocol=bgp set-bgp-local-pref=10 add action=accept address-family=ip chain=FROM-TWO-PROVIDER.RU comment="Accept DEFAULT" prefix=0.0.0.0/0 prefix-length=0 protocol=bgp set-bgp-local-pref=20
ONE-PROVIDER — set-bgp-local-pref=10
TWO-PROVIDER.RU — set-bgp-local-pref=20
Print ONE-PROVIDER
[g@router.galaxydata.ru] > interface monitor-traffic vlan-5-one-bgp name: vlan-1080-dataekb-bgp rx-packets-per-second: 2 232 rx-bits-per-second: 5.4Mbps fp-rx-packets-per-second: 0 fp-rx-bits-per-second: 0bps rx-drops-per-second: 0 rx-errors-per-second: 0 tx-packets-per-second: 0 tx-bits-per-second: 0bps fp-tx-packets-per-second: 0 fp-tx-bits-per-second: 0bps tx-drops-per-second: 0 tx-queue-drops-per-second: 0 tx-errors-per-second: 0
Print TWO-PROVIDER
[g@router.galaxydata.ru] > interface monitor-traffic vlan-6-two-bgp name: vlan-3904-domru-bgp rx-packets-per-second: 37 203 rx-bits-per-second: 102.3Mbps fp-rx-packets-per-second: 0 fp-rx-bits-per-second: 0bps rx-drops-per-second: 0 rx-errors-per-second: 0 tx-packets-per-second: 41 619 tx-bits-per-second: 164.3Mbps fp-tx-packets-per-second: 0 fp-tx-bits-per-second: 0bps tx-drops-per-second: 0 tx-queue-drops-per-second: 0 tx-errors-per-second: 0
Router Filter Print
[g@r.galaxydata.ru] > /routing filter print where chain=FROM-ONE-PROVIDER Flags: X - disabled 0 ;;; Accept DEFAULT chain=FROM-ONE-PROVIDER prefix=0.0.0.0/0 prefix-length=0 protocol=bgp address-family=ip invert-match=no action=accept set-bgp-local-pref=10 set-bgp-prepend-path=""
Router Filter Print
[g@r.galaxydata.ru] > /routing filter print where chain=FROM-TWO-PROVIDER Flags: X - disabled 0 ;;; Accept DEFAULT chain=FROM-TWO-PROVIDER prefix=0.0.0.0/0 prefix-length=0 protocol=bgp address-family=ip invert-match=no action=accept set-bgp-local-pref=20 set-bgp-prepend-path=""