beautypg.com

40 ip as-path access-list, 41 ip community-list, Ip as – PLANET XGS3-24040 User Manual

Page 531: Path access, List, Ip community

background image


35-244

*>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.

35.40 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>

{|} “ command deletes this access-list.

Parameter: <.LINE>: name of access-list.

: matched strings in the AS-PATH.

Default: None.

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:

Switch(config)#ip as-path access-list ASPF deny ^100$

35.41 ip community-list

Command: ip community-list { | <1-199> | [expanded ] | [standard ]}

{deny | permit} <.COMMUNITY>

no ip community-list { | <1-199> | [expanded ] | [standard

]} [{deny | permit} <.COMMUNITY>]

Function:

Configure the community-list. The “no ip community-list

{|<1-199>|[expanded

]|[standard

]}

[{deny|permit}

<.COMMUNITY>]” command deletes the community list.

Parameter: : name of community list.

<1-199>: Standard or extended community number.

: Standard or extended community number.

<.COMMUNITY >: Members of the community list, which may be the combination of aa:nn,

or internet, local-AS, no-advertise, and no-export. It can be shown in regular expressions under extended

conditions.

Default: None.

Command Mode: Global mode

Usage Guide: With this command we can configure the community-list so to supply terms for the

pass/filter/search.