QTECH
Software Configuration Manual
9-124
9.2.7
Configure BGP route aggregation
CIDR supports route aggregation. The command is for BGP local route.
Configure it in BGP configuration mode.
Configure local route aggregation
aggregate-address
address
mask
[
summary-only
]
Stop local route aggregation
no aggregate-address address mask [ summary-only ]
Not to configure any convergent route by default.
9.2.8
Configure route information of IGP protocol
introduced by BGP
BGP can send internal network information to other AS. A route protocol can introduce (or learn) route
information collected by other route protocol.
Configure it in BGP configuration mode.
Configure BGP to introduce IGP protocol route
redistribute
{
connected
|
static
|
rip
|
ospf
} [
metric
metric
]
Cancel BGP to introduce IGP protocol route
no
redistribute
{
connected
|
static
|
rip
|
ospf
}
Not introduce route information of other protocol to BGP by default.
It can introduce the route learnt or generated by connected,static,rip,ospf.
9.2.9
Configure BGP distribution list
Use this command to configure BGP route filter list. Use the no command to delete it.
Configure it in global configuration mode:
Define distribute-list
ip distribute-list
list-number
{
permit
|
deny
}
net-addr wildcard-netmask
Cancel defined distribute-list
no ip distribute-list
list-number
{
permit
|
deny
}
net-addr wildcard-netmask
None distribute list is configured by default.
BGP route matching is completed by
net-addr
and
wildcard-netmask
. For those successfully matched,
determine to accept route or not through deny or permit command. After defining BGP route distribute list, it can
realize BGP strategy function by applying neighbor distribute-list command.
If ip distribute-list command is configured, there must be at least one command with ip distribute-list permit
for the items with the same list number, or all route will be filtered when using neighbor distribute-list command.
Example:
QTECH(config)# ip distribute-list 3 deny 192.168.9.0 0.0.0.255
QTECH(config)# ip distribute-list 3 permit 0.0.0.0 255.255.255.255
9.2.10
Define AS path list
AS path matching is completed by AS path regular expression which matches AS-PATH in BGP route as
ASCII string and determines to accept or deny route by deny or permit command for successfully matched AS path.
After defining BGP route distribute list, it can realize BGP strategy function by applying neighbor filter-list
command.
For the same list number, user can define multiple distribute list, that is, one distribute list number represents
a group of distribute list. Each AS path list uses numbers to be their id.
If ip as-path access-list command is configured, there must be at least one command with ip as-path
access-list permit for the items with the same list number, or all route will be filtered when using neighbor filter-list
command.