376
in BGP configuration
14.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
<map_name> {deny | permit}
<sequence_num>
no route-map <map_name> [{deny | permit}
<sequence_num>]
Configure route-map; the
no route-map
<map_name> [{deny |
permit}
<sequence_num>]
command deletes the
route-map
2. Define the match clause in route-map
Command Explanation
Route-map configuration mode
match as-path <list-name>
no match as-path [<list-name>]
Match the autonomous
system as path access-list
the BGP route passes
through; the
no match
as-path [<list-name>]
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