Peer Filter-Policy (Bgp/Bgp-Vpn Instance 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

Description
Examples

peer filter-policy (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
Related commands:
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.
n
The peer fake-as command is only applicable to an EBGP peer or peer group.
# In BGP view, configure a fake AS number of 200 for the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test fake-as 200
# In BGP-VPN instance view, configure a fake AS number of 200 for the peer
group test (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test fake-as 200
peer { group-name | ip-address } filter-policy acl-number { export | import }
undo peer { group-name | ip-address } filter-policy [ acl-number ] { export |
import }
BGP view/BGP-VPN instance view
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
acl-number: ACL number, in the range 2000 to 3999.
export: Applies the filter-policy to routes advertised to the peer/peer group.
import: Applies the filter-policy to routes received from 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.
peer as-path-acl (BGP/BGP-VPN instance view).
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.
993

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