993

Description

n

Use the peer fake-ascommand to configure a fake local AS number for a peer or peer group.

Use the undo peer fake-ascommand to remove the configuration.

By default, no fake local AS number is configured for a peer or peer group. The peer fake-ascommand is only applicable to an EBGP peer or peer group.

Examples # 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 filter-policy (BGP/BGP-VPN instance view)

Syntax peer { group-nameip-address} filter-policy acl-number{ export import }

undo peer { group-name ip-address } filter-policy[ acl-number ] { export import }

View BGP view/BGP-VPN instance view

Parameters 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.

Description Use the peer filter-policycommand to configure an ACL-based filter policy for a peer or peer group.

Use the undo peer filter-policycommand to remove the configuration.

By default, no ACL-based filter policy is configured for a peer or peer group.

Related commands: peer as-path-acl(BGP/BGP-VPN instance view).

Page 993
Image 993
3Com MSR 50 Peer filter-policy BGP/BGP-VPN instance view, Related commands peer as-path-aclBGP/BGP-VPN instance view, 993