3Com MSR 50, MSR 30 manual Peer group, 1701

Models: MSR 50 MSR 30

1 2742
Download 2742 pages 31.98 Kb
Page 1701
Image 1701

1701

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

View BGP-VPNv4 subaddress family view

Parameter group-name: Name of the peer group, a string of 1 to 47 characters. ip-address: IP address of the peer.

acl-number: ACL number, in the range 2000 to 3999.

export: Filters the routes to be advertised.

import: Filters the received routes.

Description Use the peer filter-policycommand to apply a filtering policy to a peer or peer group.

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

By default, no filtering policy is applied to a peer or peer group.

Related command: peer as-path-acl(BGP-VPNv4 subaddress family view).

Example # Apply a filtering policy to filter the received routes of a peer group.

<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4

[Sysname-bgp-af-vpnv4] peer test filter-policy 2003 import

peer group

Syntax peer ip-address group group-name

undo peer ip-address group group-name

View BGP-VPNv4 subaddress family view/BGP-L2VPN address family view

Parameter group-name: Name of the peer group, a string of 1 to 47 characters. ip-address: IP address of the peer.

Description Use the peer group command to add a peer into an existing peer group. Use the undo peer group command to remove a peer from a peer group.

Example # In BGP-VPNv4 subaddress family view, add peer 1.1.1.1 into peer group test.

<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] group test external

Page 1701
Image 1701
3Com MSR 50, MSR 30 manual Peer group, 1701