Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 823

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
Issue 02 (2014-09-30)
system-view
The system view is displayed.
2.
Run:
bgp { as-number-plain | as-number-dot }
The BGP view is displayed.
3.
Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
4.
Perform any of the following configurations to configure the BGP device to filter the
routes received from a specific peer or peer group:
– To filter routes based on a basic ACL, perform the following steps:
a.
Run peer { ipv4-address | group-name } filter-policy { acl-number | acl-
name acl-name } import, the advertised routes is filtered based on an ACL.
b.
Run quit, return to the BGP view.
c.
Run quit, return to the system view.
d.
Run acl { [ number ] acl-number1 | name acl-name basic [ number acl-
number2 ] } [ match-order { auto | config } ], the basic ACL view is
displayed.
e.
Run rule [ rule-id ] { deny | permit } [ fragment-type fragment-type-
name | source { source-ip-address source-wildcard | any } | time-range time-
name | vpn-instance vpn-instance-name ]
ACL.
When the rule command is run to configure rules for a named ACL, only the
source address range specified by source and the time period specified by
time-range are valid as the rules.
When a filtering policy of a routing protocol is used to filter routes:
– If the action specified in an ACL rule is permit, a route that matches the
rule will be received or advertised by the system.
– If the action specified in an ACL rule is deny, a route that matches the
rule will not be received or advertised by the system.
– If a route has not matched any ACL rules, the route will not be received
or advertised by the system.
– If an ACL does not contain any rules, all routes matching the route-
policy that references the ACL will not be received or advertised by the
system.
– If the ACL referenced by the route-policy does not exist, all routes
matching the route-policy will be received or advertised by the system.
– In the configuration order, the system first matches a route with a rule that
has a smaller number and then matches the route with a rule with a larger
number. Routes can be filtered using a blacklist or a whitelist:
Route filtering using a blacklist: Configure a rule with a smaller number
and specify the action deny in this rule to filter out the unwanted routes.
Then, configure another rule with a larger number in the same ACL and
specify the action permit in this rule to receive or advertise the other
routes.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 BGP Configuration
*
, a rule is configured for the basic
798

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e