
Configuring IP Exterior Gateway Protocols (BGP and EGP)
5-8
308628-15.0 Rev 00
network* List of IP addresses Specifies the networks that match this policy.
Each specification consists of a network IP
address, a mask, and a flag (exact or range)
to indicate whether the network address
refers to a specific network or to a range of
networks. Enter a specific encoding of
0.0.0.0/0.0.0.0/exact to match the default
route. Enter a range encoding of 0.0.0.0/
0.0.0.0/range to match any route. Use the
default empty list to match any route.
originating-as* List of AS numbers Specifies an autonomous system. This policy
applies to BGP advertisements that originate
from this AS.
peer* List of IP addresses Specifies a BGP peer. This policy applies to
BGP advertisements from this peer.
* This item is a BCC object with parameters of its own. To specify multiple items, create multiple
objects.
Examples
The following command sequence configures the router to accept incoming
advertisements from network 128.1.0.0/255.255.0.0 sent by peer 1.1.1.1:
accept/pol_1//jointfilesconvert/97454/bgp#
action accept
accept/pol_1//jointfilesconvert/97454/bgp#
match
match//jointfilesconvert/97454/bgp/accept/pol_1#
network 128.1.0.0/255.255.0.0/range
network/128.1.0.0/255.255.0.0/range//jointfilesconvert/97454/bgp/accept/pol_1#
back
match//jointfilesconvert/97454/bgp/accept/pol_1#
peer 1.1.1.1
peer/1.1.1.1//jointfilesconvert/97454/bgp/accept/pol_1#
The following command sequence configures the router to accept incoming
advertisements that contain either AS 333 444 or AS 345:
accept/pol_2//jointfilesconvert/97454/bgp#
action accept
accept/pol_2//jointfilesconvert/97454/bgp#
match
match//jointfilesconvert/97454/bgp/accept/pol_2#
as-path-pattern “333 444
|
345”
match//jointfilesconvert/97454/bgp/accept/pol_2#
Table 5-2. BCC Match Parameters for BGP Accept Policies
(continued)
Parameter Values Function
Komentarze do niniejszej Instrukcji