User's Manual

Table Of Contents
467
Users Manual of CS-6306R
router bgp 12
filter * in prefix-list max24
ip prefix-list max24 seq 5 permit 0.0.0.0/0 ge 8 le 24
The following example shows that route whose prefix length is no more than 24 is permitted in network 192/8:
ip prefix-list abc permit 192.0.0.0/8 le 24
The following example shows that route whose prefix length exceeds 25 is permitted in network 192/8:
ip prefix-list abc deny 192.0.0.0/8 ge 25
The following example shows that routes whose prefix length is larger than 8 and smaller than 24 are
permitted:
ip prefix-list abc permit 0.0.0.0/0 ge 8 le 24
The following example shows that routes whose prefix length exceeds 25 are denied:
ip prefix-list abc deny 0.0.0.0/0 ge 25
The following example shows that all routes from network 10/8 are denied. If the mask of A-class network
10.0.0.0/8 is less than or equal to 32 bits, all routes are denied:
ip prefix-list abc deny 10.0.0.0/8 le 32
The following example shows that all routes are denied because the mask length of network 204.70.1/24
exceeds 25:
ip prefix-list abc deny 204.70.1.0/24 ge 25
The following example shows that all routes are permitted:
ip prefix-list abc permit any
45.4.4.6 BGP route aggregation example
The following example shows how to create the aggregation route in BGP through route forwarding or the
conditional route aggregation function:
In the following example, the command redistribute static is used to forward the aggregation route 193. * . * .
* :
ip route 193.0.0.0 255.0.0.0 null 0
!
router bgp 100
redistribute static
If at least one route in the routing table belongs to the designated range, an aggregation route is created in
the BGP routing table according to the following configuration. The aggregation route is considered to be from
your AS and has the atomic attribute which may be lost in the indication information:
router bgp 100
aggregate 193.0.0.0/8
The following example shows how to create the aggregation route 193.*.*.* and how to constrain more
detailed routes from broadcasting to all neighbors:
router bgp 100