Defining An As Path List; Defining A Community List - H3C S5800 Series Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for S5800 Series:
Table of Contents

Advertisement

If all items are set to the deny mode, no routes can pass the IPv6 prefix list. Therefore, you need to
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 relation between
items is logical OR, that is, if a route matches one of these items, it passes the AS path list.
Follow these steps to define an AS path list:
To do...
Enter system view
Define an AS path ACL

Defining a Community List

You can define multiple items for a community list that is identified by number. During matching, the
relation between items is logic OR, that is, if routing information matches one of these items, it passes
the community list.
Follow these steps to define a community list:
To do...
Enter system view
Define a
community list
Use the command...
system-view
ip as-path as-path-number { deny |
permit } regular-expression
system-view
ip community-list basic-comm-list-num { deny |
Define a basic
permit } [ community-number-list ] [ internet |
community list
no-advertise | no-export |
no-export-subconfed ] *
Define an
ip community-list adv-comm-list-num { deny |
advanced
permit } regular-expression
community list
Use the command...
12-5
Remarks
Required
Not defined by default.
Remarks
Required to define
either;
Not defined by
default.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820x series

Table of Contents