14-17
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.
Description
Use the
ext-community-type
command to configure the type code of an OSPF extended community
attribute.
Use the
undo ext-community-type
command to restore the default.
By default, the type codes for the OSPF extended community attributes of Domain ID, Router ID, and
Route Type are 0x0005, 0x0107, and 0x0306 respectively.
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
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
: IP ACL number, in the range 2000 to 3999.
ip-prefix-name
: IP address prefix list name, a string of 1 to 19 characters.
direct
: Filters direct routes to be advertised.
isis process-id
: Filters ISIS routes to be advertised that are from a specified ISIS process. The
process-id
argument is in the range 1 to 4294967295.