Ip Extcommunity-List; Route-Policy - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

ip extcommunity-list

Use ip extcommunity-list to define an extended community list entry.
Use undo ip extcommunity-list to remove an extended community list.
Syntax
ip extcommunity-list ext-comm-list-number { deny | permit } { rt route-target }&<1-32>
undo ip extcommunity-list ext-comm-list-number [ { deny | permit } [ rt route-target ]&<1-32> ]
Default
No extended community list is defined.
Views
System view
Predefined user roles
network-admin
Parameters
ext-comm-list-number: Specifies a number for the extended community list, in the range of 1 to 199.
deny: Specifies the match mode for the extended community list as deny.
permit: Specifies the match mode for the extended community list as permit.
{ rt route-target }&<1-32>: Specifies the RT extended community attribute, a string of 3 to 21 characters.
&<1-32> indicates that the argument before it can be entered up to 32 times.
A route-target has the following forms:
A 16-bit AS number—A 32-bit self-defined number, for example, 101:3. The AS number is in the
range of 0 to 65535, and the self-defined number is in the range of 0 to 4294967295.
A 32-bit IP address—A 16-bit self-defined number, for example, 192.168.122.15:1. The self-defined
number is in the range of 0 to 65535.
A 32-bit AS number—A 16-bit self-defined number, for example, 70000:3. The AS number is in the
range of 65536 to 4294967295, and the self-defined number is in the range of 0 to 65535.
Examples
# Define extended community list 1 to permit routes with RT 200:200 to pass.
<Sysname> system-view
[Sysname] ip extcommunity-list 1 permit rt 200:200
Related commands
apply extcommunity
display ip extcommunity-list
if-match extcommunity

route-policy

Use route-policy to create a routing policy and a node, and enter routing policy node view.
Use undo route-policy to remove a routing policy or a node of it.
436

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents