Alcatel-Lucent 6850-48 参考指南
BGP Commands
page 44-52
OmniSwitch CLI Reference Guide
September 2009
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.
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
A 32-bit IP address.
ip_mask
A 32-bit subnet mask that determines how many bits of the network
address denote the network number.
address denote the network number.
value
A MED attribute value. The valid range is 0–4294967295.
Defaults
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
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
command.
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 6.1; command was introduced.
Related Commands
parameter
default
value
0
Creates or deletes a BGP network.
Specifies the MED value when it is missing.