Users Guide
Usage
Information
● To use special characters as a part of the description string, enclose the string in double quotes.
● To use comma as a part of the description string add double back slash before the comma.
● The no version of this command removes the description.
Example
OS10# configure terminal
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# neighbor 8.8.8.8
OS10(config-router-neighbor)# description n1_abcd
OS10(config-router-neighbor)# exit
OS10(config-router-bgp-100)# template t1
OS10(config-router-template)# description peer_template_1_abcd
Supported
Releases
10.4.1.0 or later
default-metric
Assigns a default-metric of redistributed routes to locally originated routes.
Syntax
default-metric number
Parameters number — Enter a number as the metric to assign to routes from other protocols, from 1 to
4294967295.
Default Disabled
Command Mode ROUTER-BGP
Usage
Information
Assigns a metric for locally-originated routes such as redistributed routes. After you redistribute routes in
BGP, use this command to reset the metric value — the new metric does not immediately take effect.
The new metric takes effect only after you disable and re-enable route redistribution for a specified
protocol. To re-enable route distribution use the redistribute {connected [route-map map-
name] | ospf process-id | static [route-map map-name]} command, or use the clear
ip bgp * command after you reset BGP. The no version of this command removes the default metric
value.
Example (IPv4)
OS10(conf-router-bgpv4-af)# default-metric 60
Example (IPv6)
OS10(conf-router-bgpv6-af)# default-metric 60
Supported
Releases
10.3.0E or later
default-originate
Configures the default route to a BGP peer or neighbor.
Syntax
default—originate [route-map route-map-name]
Parameters route-map route-map-name—(Optional) Enter a route-map name. A maximum of 140 characters.
Default Enabled
Command Mode
ROUTER-BGP-NEIGHBOR-AF
ROUTER-TEMPLATE-AF
Usage
Information
The no version of this command removes the default route.
Layer 3 847