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

Page 531: Path access, List, Ip community

Advertising
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> {<permit>|<deny>} <LINE>

no ip as-path access-list <.LINE> {<permit>|<deny>} <LINE>

Function: Configure the AS-PATH access-list. The “no ip as-path access-list <.LINE>

{<permit>|<deny>} <LINE>“ command deletes this access-list.

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

<LINE>: 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 {<LISTNAME> | <1-199> | [expanded <WORD>] | [standard <WORD>]}

{deny | permit} <.COMMUNITY>

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

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

Function:

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

{<LISTNAME>|<1-199>|[expanded

<WORD>]|[standard

<WORD>]}

[{deny|permit}

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

Parameter: <LISTNAME>: name of community list.

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

<WORD>: 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.

Advertising