Reference Guide

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 eect. The new metric takes
eect only after you disable and re-enable route redistribution for a specied 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
Congures 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, up to 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.
Example
OS10(conf-router-bgp-10)# template lunar
OS10(conf-router-bgp-template)# address-family ipv6 unicast
OS10(conf-router-template-af)# default-originate route-map rmap-bgp
Supported Releases 10.4.1.0 or later
334 Layer 3