3Com Switch 4800G 24-Port Configuration Manual page 418

Switch 4800g family 24-port, pwr 24-port, 48-port, pwr 48-port, 24-port sfp
Hide thumbs Also See for Switch 4800G 24-Port:
Table of Contents

Advertisement

418
C
31: R
HAPTER
OUTING
n
Defining an AS Path List
Defining a Community
P
C
OLICY
ONFIGURATION
To do...
Enter system view
Define an IPv4 prefix
list
If all items are set to the deny mode, no routes can pass the IPv4 prefix list.
Therefore, you need to define the permit 0.0.0.0 0 less-equal 32 item following
multiple deny mode items to allow other IPv4 routing information to pass.
For example, the following configuration filters routes 10.1.0.0/16, 10.2.0.0/16
and 10.3.0.0/16, but allows other routes to pass.
<Sysname> system-view
[Sysname] ip ip-prefix abc index 10 deny 10.1.0.0 16
[Sysname] ip ip-prefix abc index 20 deny 10.2.0.0 16
[Sysname] ip ip-prefix abc index 30 deny 10.3.0.0 16
[Sysname] ip ip-prefix abc index 40 permit 0.0.0.0 0 less-equal 32
You can define multiple items for an AS path ACL that is identified by number.
During matching, the relation between items is logical OR, that is, if the route
matches one of these items, it passes the AS path ACL.
Follow these steps to define an AS path ACL:
To do...
Enter system view
Define an AS path ACL ip as-path as-path-number { deny |
You can define multiple items for a community list that is identified by number.
List
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 ip-prefix ip-prefix-name [ index index-number ]
{ permit | deny } ip-address mask-length
[ greater-equal min-mask-length ] [ less-equal
max-mask-length ]
Use the command...
system-view
permit } regular-expression
Use the command...
system-view
Define a basic
ip community-list
community list
basic-comm-list-num { deny
| permit }
[ community-number-list ]
[ internet | no-advertise |
no-export |
no-export-subconfed ] *
Define an advanced
ip community-list
community list
adv-comm-list-num { deny |
permit } regular-expression
Remarks
-
Required
Not defined
by default
Remarks
-
Required
Not defined by default
Remarks
-
Required to define
either;
Not defined by
default

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents