The filter-policy export command configures a device to use an export policy to filter the routes to be advertised so that only the routes that match the export policy are advertised.
The undo filter-policy export command restores the default configuration.
The filter-policy import command configures a device to filter received routes.
The undo filter-policy import command restores the default configuration.
By default, received routes or the routes to be advertised are not filtered.
filter-policy { acl-number | ip-prefix ip-prefix-name | acl-name acl-name } { import | export [ direct | isis process-id | ospf process-id | rip process-id | static ] }
undo filter-policy [ acl-number | ip-prefix ip-prefix-name | acl-name acl-name ] { import | export [ direct | isis process-id | ospf process-id | rip process-id | static ] }