Match As-Path - D-Link DGS-6600-48T Cli Reference Manual

Modular layer 3 chassis ethernet managed switch
Hide thumbs Also See for DGS-6600-48T:
Table of Contents

Advertisement

DGS-6604
m

match as-path

match as-path ACCESS-LIST-NAME
no match as-path ACCESS-LIST-NAME
Syntax Description
ACCESS-LIST-NAME Specifies the name of AS path access list.
Default
Command Mode
Usage Guideline
Example
Switch(config)# route-map myPolicy permit 1
Switch(config-route-map)# match as-path PATH_ACL
CLI Reference Guide
Use this command to match a BGP autonomous system path access list. To
delete an entry, use the no form of this command.
Not configured
Route-map configuration
The values set by the match as-path and set weight commands override global
values. For example, the weights assigned with the match as-path and set
weight route-map configuration commands override the weight assigned using
the neighbor weight command.
A route map can have several parts. Any route that does not match at least one
match clause relating to a route-map command will be ignored; that is, the route
will not be advertised for outbound route maps and will not be accepted for
inbound route maps. To modify only a portion of the data, a second route-map
section must be configured with an explicit match statement.
match means that the AS path list exactly matches the AS path, or is a subset of
the AS path list.
This example shows how to add a match statement to the policy routing entry
with name myPolicy:
Verify the settings with the show route-map command.
match as-path
409

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6604Dgs-6600 series

Table of Contents