BGP Commands
ip bgp network metric
Configures the Multi-Exit Discriminator (MED) attribute value for an network generated by the ip bgp
network command. This value is used when announcing this network to internal peers; it indicates the
best exit point from the AS.
ip bgp network network_address ip_mask metric value
no ip bgp network network_address ip_mask metric value
Syntax Definitions
network_address
ip_mask
value
Defaults
parameter
value
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
Use the no form of this command to return the metric for this network to its default value.
•
The default value of zero indicates that a MED will not be sent for this network. When a MED value is
missing for a route, BGP will determine a MED value based upon the settings specified in the
bestpath med missing-as-worst
Examples
-> ip bgp network 172.22.2.115 255.255.255.0 metric 100
-> no ip bgp network 172.22.2.115 255.255.255.0 metric 100
Release History
Release 7.1.1; command was introduced.
Related Commands
ip bgp network
ip bgp bestpath med missing-
as-worst
OmniSwitch CLI Reference Guide
A 32-bit IP address.
A 32-bit subnet mask that determines how many bits of the network
address denote the network number.
A MED attribute value. The valid range is 0–4294967295.
default
0
command.
Creates or deletes a BGP network.
Specifies the MED value when it is missing.
March 2011
ip bgp network metric
ip bgp
page 19-53