Command Reference
Protocol-independent Configuration Commands
Usage
guideline
You should set the metric according to the actual network topology, because the routing depends on
the metric of routes. Attentions should be paid to the upper and lower limits of the routing protocols
when you execute the set metric, + metric or
– metric commands. When the RIP protocol redistributes
the routes of other protocols, the range of the metric after increase or decrease is 1 to 16.
You can redistribute the routes from one routing process to another routing process. For example,
you can redistribute the route in the OSPF routing domain and then advertise it to the RIP routing
domain, and vice versa. The mutual route redistribution can be implemented between all the IP
routing protocols.
For route redistribution, route maps are usually used to control the mutual route redistribution
between two routing domains.
One or more match or set commands can be executed to configure a route map. If the match
command is not used, all the routes will be matched. If the set command is not used, no operation will
be performed.
Examples
The following example enables the OSPF routing protocol to redistribute the RIP routes and sets the
default metric to 40.
Ruijie(config)# router ospf
Ruijie(config-router)# redistribute rip subnets route-map
redrip
Ruijie(config-router)# network
192.168.12.0 0.0.0.255
area
0
Ruijie(config-router)# exit
Ruijie(config)# route-map
redrip
permit
10
Ruijie(config-route-map)# set metric
40
Related
commands
Command
Description
match interface
Match the interface.
match ip address
Match the IP address.
match ip next-hop
Match the next-hop IP address.
match ip route-source
Match the source IP address.
match metric
Match the metric.
match route-type
Match the route type.
match tag
Match the tag.
set metric-type
Set the metric type.
set tag
Set the tag.
6.38 set metric-type
Use
set metric-type
to set the type of the routes to be redistributed. Use the
no
form of this
command to remove the setting.
set metric-type
type
no set metric-type
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...