Import Route-Policy - H3C S5820X Series Command Reference Manual

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

Advertisement

Use undo filter-policy import to remove the configuration.
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import
Default
Received routes are not filtered.
Views
IPv6 BGP-VPN instance view
Default command level
2: System level
Parameters
acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999.
ipv6-prefix ipv6-prefix-name: Specifies an IPv6 address prefix list by its name, a string of 1 to 19
characters.
Usage guidelines
Only routes that survive the filtering are added into the BGP routing table.
Examples
# In IPv6 BGP-VPN instance view, use ACL 2255 to filter received routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpn-instance vpn1
[Sysname-bgp-ipv6-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, IPv6 VPN view
Default command level
2: System level
Parameters
route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
38

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents