D-Link DXS-3600 Series Reference Manual page 168

Dxs-3600 series layer 2/3 managed 10gigabit ethernet switch
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
ip as-path access-list ACCESS-LIST-NAME [{permit | deny} REGEXP]
no ip as-path access-list ACCESS-LIST-NAME
Parameters
ACCESS-LIST-NAME
permit
deny
REGEXP
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to define an AS path access list entry. An AS path access list can contain multiple rule
entries, either as a deny entry or a permit entry.
Use the neighbor filter-list command to apply an AS path access list to a neighbor session as an ingress
filter or an egress filter. If an access list is applied, if the route matches an access list entry, then no
further check will be done against other rules. If the match rule is a permit rule, then the route is permitted.
If the matched rule is a deny rule, then the route is denied.
Use the match as-path command to match an access list in a route map entry definition. To match a
route map entry, all match statements must be satisfied. To match an AS path access list, if an entry in
the access list matches the route, then no further check will be done against the remaining entries in the
access list. If the matched entry is a permit entry, then the AS path access list is matched. If the matched
entry is a deny entry, then the AS path access list is not matched. If none of the rule entries in the AS
path access list match the route, then the AS path access list is not matched.
Example
This example shows how to define an AS-path access-list called "mylist" to deny neighbors with the AS
number 65535.
Switch# configure terminal
Switch(config)# ip as-path access-list mylist deny ^65535$
10-30
ip community-list
This command is used to add a community list entry. Use the no form of this command to delete the
community list entry.
ip community-list standard COMMUNITY-LIST-NAME [{deny | permit} [COMMUNITY] [WELL-
KNOWN-COMMUNITY]]
no ip community-list standard COMMUNITY-LIST-NAME
ip community-list expanded COMMUNITY-LIST-NAME [{deny | permit} REGULAR-EXPRESSION]
Specifies the name of an AS path access list. The maximum length is
16 bytes
Specifies that routes that match the rule entry are permitted.
Specifies that routes that match the rule entry are denied.
Specifies a regular expression for the matching pattern.
168

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-3600-32s

Table of Contents