3com S7906E Guía De Referencia
1-29
You can configure an export routing policy when a finer control on the VPN instance routes to be
redistributed is required, that is, when the control provided by the extended community attribute is not
enough. An export routing policy may deny routes that are permitted by the export target attribute.
By default, all VPN instance routes permitted by the export target attribute can be redistributed.
Examples
# Apply export routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] export route-policy poly-1
ext-community-type
Syntax
ext-community-type { domain-id type-code1 | router-id type-code2 | route-type type-code3 }
undo ext-community-type { domain-id | router-id | route-type }
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.
router-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