
19
View
OSPF view
Default level
2: System level
Parameters
domain-id
type-code1
: Specifies the type code for the OSPF extended community attribute of Domain ID.
Valid values are 0x0005, 0x0105, 0x0205, and 0x8005.
router-id
type-code2
: Specifies the type code for the OSPF extended community attribute of Router ID.
Valid values are 0x0107 and 0x8001.
route-type
type-code3
: Specifies the type code for the OSPF extended community attribute of Route Type.
Valid values are 0x0306 and 0x8000.
Examples
# Configure the type codes of OSPF extended community attributes Domain ID, Router ID, and Route Type
as 0x8005, 0x8001, and 0x8000, respectively, for OSPF process 100.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] ext-communityroute-type domain-id 8005
[Sysname-ospf-100] ext-communityroute-type router-id 8001
[Sysname-ospf-100] ext-communityroute-type route-type 8000
filter-policy export
Description
Use the
filter-policy export
command to configure BGP to filter all or certain types of routes to be
advertised.
Use the
undo filter-policy export
command to remove the configuration.
If you do not specify routing protocol parameters for the
filter-policy export
command, all routes to be
advertised are filtered.
By default, BGP does not filter routes to be advertised.
Only routes that survive the filtering are advertised by BGP.
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
undo filter-policy
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
View
BGP-VPN instance view
Default level
2: System level
Parameters
acl-number
: Specifies the IP ACL number, ranging from 2000 to 3999.