Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
BGP Commands
page 44-50
OmniSwitch CLI Reference Guide
September 2009
ip bgp network local-preference
Defines the local preference value for a route generated by the ip bgp network command. This value will 
override the default local preference value; it is used when announcing this network to internal peers.
ip bgp network network_address ip_mask local-preference value
no ip bgp network network_address ip_mask local-preference 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.
value
The local preference 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 local preference of the specified network to its default 
setting.
• You can specify that this route use the default local preference value for the AS by specifying zero (0). 
In this case the local preference for this route will take the default local preference value set for this AS 
(defined in the
command).
Examples
-> ip bgp network 172.22.2.115 255.255.255.0 local-preference 600
-> no ip bgp network 172.22.2.115 255.255.255.0 local-preference 600
Release History
Release 6.1; command was introduced.
Related Commands
parameter
default
value
0
Creates or deletes a BGP network.
Sets the default local preference for this AS.