5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1038
11-23 default metric
Use this command to set the value of the Multi Exit Discriminator (MED) attribute on redistributed routes
(either BGP, IPv4 VRF, or IPv6 routes, depending on the mode) when no metric has been specified in the
command
“redistribute (BGP Router Config)”
.
Use the
no
command to delete the default for the metric of redistributed routes.
default-metric vulue
no default-metric
Parameters
vulue
The value to set as the MED. The range is 1 to 4,294,967,295.
Default
The default is as follows: metric is not set and MED is not included in redistributed routes.
Command Mode
•
BGP Router Config
•
IPv4 VRF Address Family Config
•
IPv6 Address Family Config Config
11-24 default-originate (BGP Router Config)
To configure BGP to originate a default route to a specific neighbor, use the neighbor default-originate
command in BGP router configuration mode. By default, a neighbor-specific default has no MED and the
Origin is IGP. Attributes may be set using an optional route map. A neighbor-specific default is only
advertised if the Adj-RIB-Out does not include a default learned by other means, either from the
command or a default learned from a peer. This type of default origination is not
conditioned on the presence of a default route in the routing table. This form of default origination does
not install a default route in the BGP routing table (it will not appear in the
command), nor
does it install a default route in the Adj-RIB-Out for the update group of peers so configured (it will not
appear in the
“show ip bgp neighbors advertised-routes”
command).
Origination of the default route is not subject to a prefix filter configured with the command
.
A route map may be configured to set attributes on the default route sent to the neighbor. if the route map
includes a
match ip-address
term, that term is ignored. lfthe route map includes
match community
or
match as-path
terms, the default route is not advertised. lfthere is no route map with the route map name
given, the default route is not advertised.
Issue this command in Peer Template Configuration Mode to add it to a peer template.
Use the
no
command to prevent BGP from originating a default route to a specific neighbor.
default-originate [route-map map-name]
no default-originate
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...