HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
572
{ 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
mac-list
Use mac-list to configure a MAC list or an item for the list.
Use undo mac-list to remove a MAC list or an item of it
Syntax
mac-list mac-list-name [ index index-number ] { deny | permit } mac-address [ mask-length ]
undo mac-list mac-list-name [ index index-number ]
Default
No MAC list is configured.
Views
System view
Predefined user roles
network-admin
Parameters
mac-list-name: Specifies a MAC list by its name, a case-sensitive string of 1 to 63 characters. The MAC
list name must be unique.
index-number: Specifies a MAC list item by its index number in the range of 1 to 65535. An item with a
smaller number is matched first.
deny: Specifies the deny mode. If a route matches the item, the route is denied without matching against
the next item. If not, the route matches against the next item.
permit: Specifies the permit mode. If a route matches the item, it passes the MAC list. If not, it matches
against the next item.