Peer Group (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

994
C
72: BGP C
HAPTER
Examples

peer group (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
# In BGP view, apply the ACL 2000 to filter routes advertised to the peer group
test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test filter-policy 2000 export
# In BGP-VPN instance view, apply the ACL 2000 to filter routes advertised to 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 filter-policy 2000 export
peer ip-address group group-name [ as-number as-number ]
undo peer ip-address group group-name
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.
as-number: AS number of the peer, in the range 1 to 65535.
Use the
peer group
Use the
undo peer group
group.
By default, no peer is added into a peer group.
# In BGP view, add the peer 10.1.1.1 to the EBGP peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 2004
[Sysname-bgp] peer 10.1.1.1 group test
# In BGP-VPN view, add the peer 10.1.1.1 to the EBGP peer group test (the VPN
has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] group test external
[Sysname-bgp-vpn1] peer test as-number 2004
[Sysname-bgp-vpn1] peer 10.1.1.1 group test
command to add a peer to a peer group.
command to delete a specified peer from a peer

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