Skip to main content
A newer release of this product is available.

network bgp peer-group create

Contributors
Suggest changes

Create a new BGP peer group

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The network bgp peer-group create command is used to create a border gateway protocol (BGP) peer group. A BGP peer group will advertise VIP routes for the list of vservers in the peer group's vserver-list using the BGP LIF of the peer group. A BGP peer group will advertise VIP routes to a peer router using the border gateway protocol. The address of the peer router is identfied by the peer-address value.

Parameters

-ipspace <IPspace> - IPspace Name

This parameter specifies the IPspace of the peer group being created.

-peer-group <text> - Peer Group Name

This parameter specifies the name of the peer group being created.

-bgp-lif <lif-name> - BGP LIF

This parameter specifies the BGP interface (BGP LIF) of the peer group being created.

-peer-address <IP Address> - Peer Router Address

This parameter specifies the IP address of the peer router for the peer group being created.

[-peer-asn <integer>] - Peer Router Autonomous number

This parameter specifies the peer router autonomous system number (ASN) in the peer group being created. The default value is the value of the local node's ASN.

-route-preference <integer> - Route Preference

This parameter specifies the preference field in BGP update messages for VIP routes. If a router receives multiple VIP route announcements for the same VIP LIF from different BGP LIFs, it will install the one that has the highest preference value. The default route preference value is 100.

[-asn-prepend-type <ASN Prepend type>] - ASN prepend type (privilege: advanced)

This parameter specifies the ASN that will be prepended in the BGP attributes. The possible values are local-asn and peer-asn . The default behaviour is not to prepend any ASN.

[-asn-prepend-count <integer>] - ASN prepend count (privilege: advanced)

This parameter specifies the number of times ASN, as specified in asn-prepend-type will be prepended in the BGP path attributes. The default behaviour is not to prepend any ASN.

[-community <BGP community>,…​] - BGP Community (privilege: advanced)

This parameter specifies the communities that will be included in the BGP path attributes. The default behaviour is not to include any community in BGP path attributes.

Examples

cluster1::> network bgp peer-group create -peer-group group1 -ipspace Default -bgp-lif bgp_lif -peer-address 10.0.1.112