host1(config)#
route-map nyc1 permit 10
host1(config-route-map)#
set as-path prepend list list10
■
Use the
no
version to delete the set clause from a route map.
■
See set as-path prepend.
set comm-list delete
■
Use to remove communities specified by the community list from the community
attribute of routes matching the route map.
■
You can use this command to delete communities only if the community list
was created with a single community per list entry as shown in the following
sample configuration for router Test:
host1(config)#
ip community-list 1 permit 231:10
host1(config)#
ip community-list 1 permit 231:20
host1(config)#
router bgp 45
host1(config-router)#
neighbor 10.6.2.5 remote-as 5
host1(config-router)#
neighbor 10.6.2.5 route-map indelete in
host1(config-router)#
route-map indelete permit 10
host1(config-route-map)#
set comm-list 1 delete
Router Test receives the same route from 10.6.2.5 and applies the indelete route
map. BGP compares each list entry with the community attribute. A match is
found for the list entry 231:10, and this community is deleted from the
community attribute. Similarly, a match is found for the list entry of 231:20, and
this community is deleted from the community attribute.
■
Use the
no
version to delete the set clause from a route map.
■
See set comm-list delete.
set community
■
Use to set the community attribute in BGP updates.
■
You can specify a community list number in the range 1–4294967295, or in the
new community format of AA:NN, or one of the following well-known
communities:
■
local-as
—Prevents advertisement outside the local AS
■
no-advertise
—Prevents advertisement to any peer
■
no-export
—Prevents advertisement beyond the BGP confederation boundary
■
Alternatively, you can use the
list
keyword to specify the name of a community
list that you previously created with the
ip community-list
command.
■
Example
host1(config)#
route-map nyc1 permit 10
host1(config-route-map)#
set community no-advertise
■
Use the
none
keyword to remove the community attribute from a route.
Configuring BGP Routing Policy
■
77
Chapter 1: Configuring BGP Routing
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...