network bgp peer-group modify
Modify a BGP peer group
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The network bgp peer-group modify
command is used to modify a border gateway protocol (BGP) peer group configuration.
Parameters
-ipspace <IPspace>
- IPspace Name-
This parameter specifies the IPspace of the peer group being modified.
-peer-group <text>
- Peer Group Name-
This parameter specifies the name of the peer group being modified.
[-peer-address <IP Address>]
- Peer Router Address-
This parameter specifies an updated value for the IP address of the peer router.
[-use-peer-as-next-hop {true|false}]
- Use Peer Address As Next Hop-
This parameter specifies whether the peer group uses the peer address as a next hop route. When the value is true, the peer address is used as the next hop router for packets sent from VIP LIFs via the port on which
bgp-lif
is configured. Internally, a default route with a gateway configured as thepeer-address
is added automatically on the node for all the Vservers in this peer group's IPspace. The route will be added for a Vserver only if it has a VIP LIF hosted on the current node ofbgp-lif
. Note that these automatically installed default routes are for VIP traffic; however, they can be used for non-VIP traffic as well if a Vserver hosts both VIP and non-VIP LIFs in the same subnet asbgp-lif
. This route will have metric of 20 and will be used to forward traffic through the current port ofbgp-lif
. The default value of this parameter is false.
Examples
cluster1::> network bgp peer-group modify -ipspace Default -peer-group peer1 -peer-address 10.10.10.10