neighbor WORD peer-group

Use this command to create a peer group.

Use the no parameter with this command to remove a peer group.

Command Syntax

Copy
neighbor WORD peer-group
no neighbor WORD peer-group

Parameters

WORD

Name of BGP peer group

Default

None

Command Mode

Router mode

Applicability

This command was introduced before OcNOS version 1.3.

Example

This example shows how to create a peer group named group1.

Copy
#configure terminal
(config)#router bgp 10
(config-router)#neighbor group1 peer-group