Command Reference
Protocol-independent Configuration Commands
deny
Deny the route matching the prefix list.
permit
Permit the route matching the prefix list.
ip-prefix
Network address and mask. Network address can be any
valid IP address and the mask length is in the range of 0 to
32.
minimum-prefix-length
(Optional) Minimum length of the prefix (the starting length)
Note:
“ge” indicates the operation of “larger than” and
“equivalent to”.
maximum-prefix-length
(Optional) Maximum length of the prefix (the ending length)
Note:
“le” indicates the operation of “less than” and
“equivalent to”.
Default
configurati
on
None
Command
mode
Global configuration mode.
Usage
guidelines
The ip prefix-list command configures the prefix list, with the permit or deny keyword to determine the
action in case of matching.
You can execute this command to define an exact match, or use
“ge” or “le” to define a range match for
a prefix for flexible configuration.
“ge” indicates the range of minimum-prefix-length to 32; “le” indicates
the range of the mask length of the IP prefix to maximum-prefix-length;
“ge” and “le” indicates the range
of minimum-prefix-length to maximum-prefix-length, namely, mask length of IP prefix <
minimum-prefix-length < maximum-prefix-length <=32.
Examples
The following example filters the RIP routes the OSPF redistributes by the destination IP address
following the rule defined in the associated IP prefix list, for example, redistribute the routes whose
destination IP address is in the range 201.1.1.0/24.
Ruijie# configure terminal
Ruijie(config)# ip prefix-list pre1 permit
201.1.1.0/24
Ruijie(config)# router ospf
Ruijie(config-router)# distribute-list prefix pre1 out rip
Ruijie(config-router)# end
6.6 ip prefix-list description
Use this command to add the description of a prefix list. Use the
no
form of this command to delete the
description.
ip prefix-list
prefix-list-name
description
description-text
no
ip prefix-list
prefix-list-name
description
Parameter
Parameter
Description
Содержание 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...