Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 5 BGP Configuration
Huawei Technologies Proprietary
5-22
Operation
Command
Description
Enable default route
advertising
peer
group-name
default-route-advertise
[
route-policy
route-policy-name
]
Required
By default, a BPG router
does not send default
routes to a specified
peer/peer group.
Note:
With the
peer
default-route-advertise
command executed, no matter whether the
default route is in the local routing table or not, a BGP router sends a default route,
whose next hop address is the local address, to the specified peer or peer group.
5.4.5 Configuring Related ACLs
Two types of BGP-specific access control list (ACL) exist: AS path filtering ACL and
community attribute ACL.
AS path filtering list filters routing information by the AS_Path attribute of BGP route.
Community attribute list is a list identifying a community message. Community attribute
lists fall into two categories: standard community access control list and extended
community access control list.
Table 5-8
Configure related ACLs
Operation
Command
Description
Enter system view
system-view
—
Add an AS path filtering
ACL
ip as-path-acl
acl-number
{
deny
|
permit
}
regular-expression
Required
Configure
basic
community
attribute
ACL
ip community-list
basic-comm-list-num
{
deny
|
permit
}
[
community-number-list
] [
aa:nn|
internet
|
no-export-subconfed
|
no-advertise
|
no-export
]*
Configure
community
attribute
ACL
Configure
advanced
community
attribute
ACL
ip community-list
adv-comm-list-num
{
deny
|
permit
}
regular-expression
You must choose
one of the two
ACLs.