Korenix Technology Co., Ltd.
Industrial
Layer 3 Managed Ethernet Switch
_____________________________________________________________________________
Industrial Layer 3 Managed Ethernet SwitchUser Manual
Page: 830/1568
7.11.2.33 default-metric
This command is used to set a default metric for routes redistributed into Border Gateway Protocol
(BGP), use the default-metric command in Router BGP Config Mode. To remove the configured value
and return BGP to default operation, use the no form of this command.
Syntax
default-metric <number>
no default-metric
<number>
: Default metric value applied to the redistributed route. The range of values for this
argument is from 1 to 4294967295.
Default Setting
The metric of redistributed connected and static routes is set to 0.
Command Mode
Router BGP Config Mode
7.11.2.34 redistribute
This command is used to redistribute routes from one routing domain into another routing domain, use
the redistribute command in router configuration mode. To disable redistribution, use the no form of this
command.
Syntax
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 <0-4294967295>][match {internal | external 1 | external 2 |
nssa-external 1 | nssa-external 2}] [route-map <route-map-name>]
protocol
: Source protocol from which routes are being redistributed. It can be one of the following
keywords: connected, ospf, static, rip.
route-map-name
: Identifier of a configured route map. The route map should be examined to filter
the networks to be advertised.
Default Setting
None
Command Mode
Router BGP Config Mode