set peer (peer group)

Last Updated : Nov 06, 2012 |

Adds a peer to the peer-group. Use no set peer to remove a peer from the peer-group.

Syntax

[no] set peer {ip-address | hostname} [index index]

Parameters

Parameter

Description

Possible Values

Default Value

ip-address

The remote peer IP address

hostname

The remote peer hostname

index

A number specifying the relative position of the peer within the peer-group. If this optional parameter is not used, the current peer is added at the end of the peer-group list, and is assigned an index following the last peer’s index.

1-5

User level

read-write

Context

crypto isakmp peer-group

Examples

To add the peer at IP address 149.49.52.135 to the first position of the peer group:

Gxxx-001(config-peer-grp:vpn.avaya.com)# set peer 149.49.52.135 1