39 ip as-path access-list, Ip as, Path access – PLANET XGS3-24042 User Manual
Page 644: List
37-283
Switch(config-af)#import map map1
Switch#show ip bgp vpn all
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:10 (Default for VRF DC1)
*> 11.1.1.0/24 11.1.1.64 0 0 200 ?
*>i15.1.1.0/24 10.1.1.68 0 100 655 300 ?
*> 20.1.1.0/24 11.1.1.64 0 0 200 ?
*>i100.1.1.0/24 10.1.1.68 0 100 655 300 ?
Route Distinguisher: 100:10
*>i15.1.1.0/24 10.1.1.68 0 100 0 300 ?
*>i100.1.1.0/24 10.1.1.68 0 100 0 300 ?
As we can see, the weight of the route from the VPN changes to 655 after introduced into VRF
DC1.
37.39 ip as-path access-list
Command:
ip as-path access-list <.LINE> {
no ip as-path access-list <.LINE> {
Function:
Configure the AS-PATH access-list. The “no ip as-path access-list <.LINE> {
Parameter:
<.LINE>: name of access-list.
Command Mode:
Global mode.
Usage Guide:
Use this command to configure the access-list related to AS-PATH, so to supply the conditions for
pass/filter.
Example:
Configure the access-list named ASPF, filter the AS-PATH contained route 100.
Switch(config)#ip as-path access-list ASPF deny ^100$