Ext-Community-Type - HP 6125XLG Command Reference Manual

Blade switch mce command reference
Table of Contents

Advertisement

A routing policy specified in IPv4 VPN view or IPv6 view takes precedence over that specified in VPN
instance view. If you specify a routing policy in both IPv4 VPN view (or IPv6 VPN view) and VPN instance
view, the IPv4 VPN (IPv6 VPN) uses the policy specified in IPv4 VPN view (IPv6 VPN view).
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
# Apply export routing policy poly-2 to the IPv4 VPN of VPN instance vpn2.
<Sysname> system-view
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] ipv4-family
[Sysname-vpn-ipv4-vpn2] export route-policy poly-2
# Apply export routing policy poly-3 to the IPv6 VPN of VPN instance vpn3.
<Sysname> system-view
[Sysname] ip vpn-instance vpn3
[Sysname-vpn-instance-vpn3] ipv6-family
[Sysname-vpn-ipv6-vpn3] export route-policy poly-3

ext-community-type

Use ext-community-type to configure the type code of an OSPF extended community attribute.
Use undo ext-community-type to restore the default.
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 }
Default
The type codes for the OSPF extended community attributes of Domain ID, Router ID, and Route Type are
0x0005, 0x0107, and 0x0306.
Views
OSPF view
Predefined user roles
network-admin
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.
8

Advertisement

Table of Contents
loading

Table of Contents