User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 806
Format default-metric <number>
no default-metric
Default No default metric is set and no MED is included in redistributed routes
Mode Router BGP Config Mode
IPv6 Address Family Config Mode
IPv4 VRF Address Family
6.10.2.50. redistribute
This command is used to redistribute routes from outside into BGP routing domain. BGP can redistribute local
(connected), static, and OSPF routes.
A default route cannot be redistributed unless the default-information originate command is issued.
If a route map is configured, match as-path and match community terms are ignored. If no route map is
configured with the name given, no prefixes are redistributed.
To disable redistribution, use the no form of this command.
Format redistribute <protocol> [metric <0-4294967295>] [match {internal | external 1 | external 2 | nssa-
external 1 | nssa-external 2}] [route-map <route-map-name>]
no redistribute <protocol> [metric] [match {internal | external 1 | external 2 | nssa-external 1 | nssa-
external 2}] [route-map <route-map-name>]
Default BGP redistributes no route
Fields
Definition
<number>
Default metric value applied to the redistributed route. The range of values for
this argument is from 1 to 4294967295.
Fields
Definition
Protocol
Source protocol from which routes are being redistributed. It can be one of the
following keywords: connected, ospf, static, connected.
metric <0-4294967295>
When this option is specified, BGP advertises the prefix with the MED path
attribute set to the configured value. If this option is not specified but a default
metric is configured by default-information originate command, the MED is set
to the default metric. If a default metric is not configured, the prefix is advertised
without a MED attribute.
Match
Use this option to redistribute specific types of OSPF routes.
route-map-name
Identifier of a configured route map. The route map should be examined to filter
the networks to be redistributed. A route map can be used to set attributes on
redistribution routes.