Apply Extcommunity - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
View
Routing policy view
Parameters
external: IS-IS external route.
internal: IS-IS internal route.
type-1: Type-1 external route of OSPF.
type-2: Type-2 external route of OSPF.
Description
Use the apply cost-type command to set a cost type for routing information.
Use the undo apply cost-type command to remove the clause configuration.
No cost type is set for routing information by default.
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If a route
matches tag 8, set the cost type for the route to IS-IS internal route.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8
[Sysname-route-policy] apply cost-type internal

6.1.6 apply extcommunity

Syntax
apply extcommunity { rt route-target }&<1-16> [ additive ]
undo apply extcommunity
View
Routing policy view
Parameters
rt route-target: Sets the route target extended community attribute, which is a string of 3
to 21 characters. route-target has two forms:
16-bit AS number: 32-bit self-defined number, for example, 101:3;
32-bit IP address: 16-bit self-defined number, for example, 192.168.122.15:1.
&<1-16>: Indicates the argument before it can be entered up to 16 times.
additive: Adds to the original community attribute of a route..
Chapter 6 Routing Policy Configuration Commands
6-5

Advertisement

Table of Contents
loading

Table of Contents