Defining An As Path List; Defining A Community List - HP MSR2000 series Configuration Manual

Hide thumbs Also See for MSR2000 series:
Table of Contents

Advertisement

Step
2.
Define an IPv6
prefix list.
If all items are set to the deny mode, no routes can pass the IPv6 prefix list. You must define the permit ::
0 less-equal 128 item following multiple deny items to allow other IPv6 routing information to pass.
For example, the following configuration filters routes 2000:1::/48, 2000:2::/48, and 2000:3::/48,
but allows other routes to pass.
<Sysname> system-view
[Sysname] ip ipv6-prefix abc index 10 deny 2000:1:: 48
[Sysname] ip ipv6-prefix abc index 20 deny 2000:2:: 48
[Sysname] ip ipv6-prefix abc index 30 deny 2000:3:: 16
[Sysname] ip ipv6-prefix abc index 40 permit :: 0 less-equal 128

Defining an AS path list

You can define multiple items for an AS path list that is identified by number. The relationship between
items is logical OR. If a route matches one of these items, it passes the AS path list.
To define an AS path list:
Step
1.
Enter system view.
2.
Define an AS path list.

Defining a community list

You can define multiple items for a community list that is identified by number. During matching, the
relationship between items is logic OR. If routing information matches one of these items, it passes the
community list.
To define a community list:
Step
1.
Enter system view.
2.
Define a community list.
Command
ip ipv6-prefix ipv6-prefix-name [ index index-number ]
{ deny | permit } ipv6-address prefix-length
[ greater-equal min-prefix-length ] [ less-equal
max-prefix-length ]
Command
system-view
ip as-path as-path-number { deny |
permit } regular-expression
Command
system-view
Define a basic community list:
ip community-list { basic-comm-list-num |
basic comm-list-name } { deny | permit }
[ community-number-list ] [ internet |
no-advertise | no-export |
no-export-subconfed ] *
Define an advanced community list:
ip community-list { adv-comm-list-num |
advanced comm-list-name } { deny | permit }
regular-expression
362
Remarks
Not defined by default.
Remarks
N/A
Not defined by default.
Remarks
N/A
Use either approach.
Not defined by
default.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr3000 seriesMsr4000 series

Table of Contents