Filter-Policy Export - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

Examples
# Use IP prefix list my-prefix-list to filter inbound Type-3 LSAs. Use basic ACL 2000 to filter
outbound Type-3 LSAs in OSPF Area 1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] filter prefix-list my-prefix-list import
[Sysname-ospf-100-area-0.0.0.1] filter 2000 export

filter-policy export

Use
filter-policy export
Use
undo filter-policy export
Syntax
filter-policy { ipv4-acl-number | prefix-list prefix-list-name } export
[ bgp | direct | { isis | ospf | rip } [ process-id ] | static ]
undo filter-policy export [ bgp | direct | { isis | ospf | rip } [ process-id ]
| static ]
Default
OSPF does not filter redistributed routes.
Views
OSPF view
Predefined user roles
network-admin
Parameters
ipv4-acl-number
redistributed routes by destination address.
prefix-list-name
characters, to filter redistributed routes by destination address.
: Filter redistributed BGP routes.
bgp
: Filter redistributed direct routes.
direct
: Filter redistributed IS-IS routes.
isis
: Filter redistributed OSPF routes.
ospf
: Filter redistributed RIP routes.
rip
process-id
only when the
: Filter redistributed static routes.
static
Usage guidelines
If you do not specify any parameters, the command filters all redistributed routes.
When you specify an ACL, follow these guidelines:
If the ACL does not exist or has no rules, OSPF does not filter any redistributed routes.
If a rule in the ACL is applied to a VPN instance, the rule will deny all redistributed routes.
to configure OSPF to filter redistributed routes.
: Specifies an IPv4 ACL by its number in the range of 2000 to 3999 to filter
: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63
: Specifies a process by its ID in the range of 1 to 65535. This argument is available
argument is rip, ospf or isis.
protocol
to remove the configuration.
82

Advertisement

Table of Contents
loading

Table of Contents