Huawei S6700 Series Configuration Manual page 407

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
l
Issue 01 (2012-03-15)
1.
Run:
system-view
The system view is displayed.
2.
Run:
ip community-filter
A community filter is configured.
– To configure a standard community filter, run the ip community-filter { basic
comm-filter-name { permit | deny } [ community-number | aa:nn ]
basic-comm-filter-num { permit | deny } [ community-number | aa:nn ]
&<1-16> } [ internet | no-export-subconfed | no-advertise | no-export ]
command.
– To configure an advanced community filter, run the ip community-filter
{ advanced comm-filter-name | adv-comm-filter-num } { permit | deny } regular-
expression command.
Configure an extcommunity filter.
Similar to a BGP community filter, a BGP extcommunity filter is used to filter private
network routes.
Perform the following steps on a BGP switch:
1.
Run:
system-view
The system view is displayed.
2.
Perform either of the following operations as required to configure an extcommunity
filter.
– To configure a basic extcommunity filter, run the ip extcommunity-filter { basic-
extcomm-filter-num | basic basic-extcomm-filter-name } { deny | permit } { rt
{ as-number:nn | ipv4-address:nn } } &<1-16> command.
– To configure an advanced extcommunity filter, run the ip extcommunity-filter
{ adv-extcomm-filter-num | advanced adv-extcomm-filter-name } { deny |
permit } regular-expression command.
Multiple entries can be defined in an extcommunity filter. The relationship between
the entries is "OR". This means that if a route matches one of the rules, the route
matches the filter.
Configure a route-policy.
A route-policy is used to match routes or route attributes, and to change route attributes
when specific conditions are met. As the preceding filters can be used as matching
conditions of a route-policy, the route-policy is powerful in functions and can be used
flexibly.
Perform the following steps on a BGP switch:
1.
Run:
system-view
The system view is displayed.
2.
Run:
route-policy route-policy-name { permit | deny } node node
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
*
&<1-9> |
*
*
388

Advertisement

Table of Contents
loading

Table of Contents