Filter-Policy Import; Import Route-Policy - H3C S5820X Series Command Reference Manual

Mpls command reference
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

[Sysname-bgp-vpn1] filter-policy 2555 export

filter-policy import

Use filter-policy import to filter received routes.
Use undo filter-policy import to remove the configuration.
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
Default
BGP does not filter received routes.
Views
BGP-VPN instance view
Default command level
2: System level
Parameters
acl-number: Specifies an IP ACL number in the range of 2000 to 3999.
ip-prefix-name: Specifies an IP address prefix list name, a string of 1 to 19 characters.
Usage guidelines
Only routes that survive the filtering are added into the BGP routing table.
Examples
# Configure BGP to filter received routes using ACL 2255.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] filter-policy 2255 import

import route-policy

Use import route-policy to apply a routing policy to filter incoming routes for the VPN instance. Such a
routing policy is referred to as an import routing policy.
Use undo import route-policy to remove the application.
Syntax
import route-policy route-policy
undo import route-policy
Default
All routes permitted by the import target attribute are accepted.
Views
VPN instance view, IPv4 VPN view
18

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents