beautypg.com

2 ip routing policy configuration task list – PLANET XGS3-24040 User Manual

Page 249

background image

Chapter 33 Routing Protocol Overview

33-4

As for relevant as-path configurations, please refer to the ip as-path command in BGP configuration.

5. community-list

Community-list is only for BGP. There is a community property field in the BGP routing messages packet for

identifying a community. The community list is for specifying matching conditions for Community-list field.

As for relevant Community-list configuration, please refer to the ip as-path command in BGP configuration

33.2.2 IP Routing Policy Configuration Task List

1.

Define route-map

2.

Define the match clause in route-map

3.

Define the set clause in route-map

4.

Define address prefix list

1. Define route-map

Command

Explanation

Global mode

route-map {deny | permit}

no route-map [{deny | permit}

]

Configure route-map; the

no route-map

[{deny |

permit}

]

command deletes the

route-map.

2. Define the match clause in route-map

Command

Explanation

Route-map configuration mode

match as-path

no match as-path []

Match the autonomous

system as path

access-list the BGP route

passes through; the no

match as-path

[] command

deletes match condition.

match community <community-list-name |

community-list-num > [exact-match]

no match community [<community-list-name |

community-list-num > [exact-match]]

Match a community

property access-list. The

no match community

[<community-list-name

| community-list-num >

[exact-match]]

command deletes match

condition.