Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set protocols bgp max-med command sets that advertise routes with max-med attribute.

Command Syntax
set protocols bgp [vrf <vrf-name>] max-med [administrative med <AS-NUMBER>| on-startup [duration <period> | med <AS-NUMBER>]]
delete protocols bgp [vrf <vrf-name> max-med [administrative med <AS-NUMBER>| on-startup [duration <period> | med <AS-NUMBER>]]




vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

administrative med <AS-NUMBER>

Optional. Specifies a 4-byte AS number in asplain format (z), where z is a number from 0 to 4294967295. 

Note that this is administratively applied, for an indefinite period.

duration <period>Optional.  Specifies the time period for max-med, which will be effective on a startup. The value is an integer, in seconds,  that rangs from 5 to 86400 seconds.
med <AS-NUMBER>Optional. Specifies the Max MED value to be used on a startup. The value is an integer that rangs from 0 to 4294967295. 

• This example sets advertise routes with max-med attribute, where Max MED value is 120.

admin@XorPlus# set protocols bgp max-med administrative med 120
admin@XorPlus# commit
  • No labels