1250 CHAPTER 82: IPV6 BGP CONFIGURATION COMMANDS

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

Examples # 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 filter-policy (IPv6 address family view)

Syntax peer { group-name ipv4-address ipv6-address } filter-policyacl6-number { import export }

undo peer { group-name ipv4-address ipv6-address } filter-policy[ acl6-number ]

{import export }

View IPv6 address family view

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

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.

Examples # 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

Page 1250
Image 1250
3Com MSR 30, MSR 50 manual Peer filter-policy IPv6 address family view, Import export