Peer Filter-Policy (Ipv6 Address Family View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1250
C
82: IP
6 BGP C
HAPTER
V
Description
Examples

peer filter-policy (IPv6 address family view)

Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
Use the
peer fake-as
or peer group.
Use the
undo peer fake-as
By default, no fake local AS number is configured for a peer or peer group.
# Configure a fake AS number of 200 for the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test fake-as 200
peer { group-name | ipv4-address | ipv6-address } filter-policy acl6-number { import |
export }
undo peer { group-name | ipv4-address | ipv6-address } filter-policy [ acl6-number ]
{ import | export }
IPv6 address family view
group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: IPv4 address of a peer.
ipv6-address: IPv6 address of a peer.
acl6-number: IPv6 ACL number, in the range 2000 to 3999.
import: Applies the filter-policy to routes received from the peer/peer group.
export: Applies the filter-policy to routes advertised to the peer/peer group.
Use the
peer filter-policy
peer or peer group.
Use the
undo peer filter-policy
By default, no ACL-based filter policy is configured for a peer or peer group.
# Apply the ACL6 2000 to filter routes advertised to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] rule permit source 2001:1:: 64
[Sysname-acl6-basic-2000] quit
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 filter-policy 2000 export
command to configure a fake local AS number for a peer
command to remove the configuration.
command to configure an ACL-based filter policy for a
command to remove the configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents