•
Use the
soo
keyword to specify a site-of-origin community, which consists of one or
more routers that inject into BGP a set of routes that carry the extended community
attribute.
•
You can specify both a route target community and a site-of-origin community at the
same time in a set clause without them overwriting each other.
•
Example
host1(config)#
route-map 1
host1(config-route-map)#
set extcommunity rt 10.10.10.2:325
•
Use the
no
version to remove the set clause from the route map.
•
See set extcommunity.
show ip extcommunity-list
Use to display information about a specific extended community list or all extended
community lists.
•
•
Example
host1#
show ip extcommunity-list
IP Extended Community List dresden1:
permit soo 10.10.10.10:15
IP Extended Community List bonn:
deny rt 12:12
•
See show ip extcommunity-list.
Using Regular Expressions
You can use regular expressions when you define AS-path access lists and community
lists to more easily filter routes. A regular expression uses special characters—often
referred to as metacharacters—to define a pattern that is compared with an input string.
AS-path Lists
For an AS-path access list, the input string is the AS path of the routes to which the list
is applied with the
route-map
or
neighbor filter-list
commands. If the AS path matches
the regular expression in the access list, the route matches the access list.
Example
The following commands apply access list 1 to routes inbound from BGP peer 10.5.5.2.
Access list 1 uses a regular expression to deny routes that originate in autonomous system
32.
host1(config-router)#
neighbor 10.5.5.2 remote-as 32
host1(config-router)#
neighbor 10.5.5.2 filter-list 1 in
host1(config-router)#
exit
host1(config)#
ip as-path access-list 1 deny 32$
Copyright © 2010, Juniper Networks, Inc.
42
JunosE 11.2.x IP Services Configuration Guide
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...