Displaying Ip Routing Policy; Ip Routing Policy Configuration Example; Configuring To Filter Received Routing Information - Huawei Quidway S3900 Series Operation Manual

Hide thumbs Also See for Quidway S3900 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Table 5-4 Configure an IPv4 ip-prefix list
Operation
Enter system view
Configure
ip-prefix list
Note:
If more than one ip-prefix item are defined, the match mode of at least one item should
be the permit mode.

5.5 Displaying IP Routing Policy

After the above configuration, execute the display command in any view to display
and verify the routing policy configuration.
Table 5-5 Display and debug a route policy
Operation
Display route-policy
information
Display
prefix list information

5.6 IP Routing Policy Configuration Example

5.6.1 Configuring to Filter Received Routing Information

I. Network requirements
Switch A communicates with Switch B. OSPF protocol is enabled on both switches.
The router ID of Switch A is 1.1.1.1 and that of Switch B is 2.2.2.2.
Command
system-view
ip ip-prefix ip-prefix-name
[
index
an
IPv4
{ permit | deny } network len
[
greater-equal | less-equal
less-equal ]
Command
display
[ route-policy-name ]
address
display
[ ip-prefix-name ]
Huawei Technologies Proprietary
5-7
Chapter 5 IP Routing Policy Configuration
Required
By default, no ip-prefix list is
specified. If all the list items
are in deny mode, all
routing information will be
index-number
]
denied by the filter list. You
are recommended to define
greater-equal
the item permit 0.0.0.0 0
greater-equal
less-equal
multiple items in the deny
mode so as to permit all
other IPv4 routes.
route-policy
You can execute the display
command in any view.
ip
ip-prefix
Description
0
32
after
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents