Command Reference
Protocol-independent Configuration Commands
Ruijie(config)# route-map set_lopref
Ruijie(config-route-map)# match community 1 exact-match
Ruijie(config-route-map)# set local-preference 20
Related
commands
Command
Description
match as-path
Match the AS_PATH attribute.
match metric
Match the metric.
match origin
Match the source.
set as-path prepend
Set the AS_PATH attribute.
set metric
Set the metric.
set metric-type
Set the metric type.
6.15 match interface
Use
match interface
command to redistribute the routes whose next hop is the specified interface.
Use the
no
form of this command to remove the setting.
match interface
interface-type interface-number
[
…interface-type interface-number
]
no match interface
[interface-type interface-number
[
…interface-type interface-number
]]
Parameter
description
Parameter
Description
interface-type
Interface type
interface-number
Interface number
Default
configuration
None.
Command
mode
Route map configuration mode.
Usage
guidelines
This command can be followed by multiple interfaces.
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 route map can be configured very flexibly for route redistribution and policy-based routing. No
matter how the route map is used, the configuration principle is the same, except that different
command sets are used. Even if it is used on the route redistribution, different routing protocols can
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...