Command Manual – Multicast Protocol
Quidway S8500 Series Routing Switches
Chapter 7 MBGP Multicast Extension
Configuration Commands
Huawei Technologies Proprietary
7-11
Parameter
acl-number
: Specifies the ACL used in matching the destination address domain of
routing information, in the range of 2000 to 3999.
ip-prefix-name
: Specifies the IP prefix used in matching the destination address domain
of routing information, in the range of 1 to 19.
Protocol
: Specifies which kind of routing information shall be filtered out, with options
currently available include
direct
,
ospf
,
ospf-ase
,
ospf-nssa
,
rip, is-is
and
static
.
Description
Use the
filter-policy export
command to set to filter the advertised routes. Only those
pass through the filter can be advertised by BGP.
Use the
undo
filter-policy export
command to cancel route filtering.
By default, filtering the advertised routes is not enabled.
The command affects route advertising by BGP. If you specify the
protocol
parameter,
the router only filters the routes with the specified protocol imported, without influence
on the routes importing other protocols. Otherwise, the router filters the routes
importing any protocols.
Example
# Filter all BGP-advertised routes using ACL 2000.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] bgp 100
[Quidway-bgp] ipv4-family multicast
[Quidway-bgp-af-mul] filter-policy 2000 export
7.1.18 filter-policy import
Syntax
filter-policy gateway
ip-prefix-name import
undo filter-policy gateway
ip-prefix-name import
filter-policy
{
acl-number
|
ip-prefix ip-prefix-name
}
import
undo filter-policy
{
acl-number
| ip-prefix
ip-prefix-name
}
import
View
IPv4 multicast sub-address family view