[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring ANCP Neighbors

From the L2C Configuration mode (config-l2c), you can access the L2C Neighbor Configuration mode, from which you can create and manage ANCP neighbors.

## Accessing L2C Neighbor Configuration Mode for ANCP

Use the neighbor command to create an ANCP neighbor and access the L2C Neighbor Configuration (config-l2c-neighbor) mode.

neighbor

- Use to create an ANCP neighbor and access the L2C Neighbor Configuration (config-l2c-neighbor) mode.
- Example
  `
  host1(config-l2c)#neighbor ACCESS-NODE-1
  host1(config-l2c-neighbor)#
  `
- Use the no version to remove a specific ANCP neighbor configuration or, by omitting the neighbor name, all ANCP neighbor configurations.
- See neighbor.

## Defining an ANCP Neighbor

The L2C Neighbor Configuration mode enables you to define an ANCP neighbor by specifying a neighbor ID and the maximum number of branches that the neighbor can have.

id

- Use to specify the ANCP neighbor ID in the L2C Neighbor Configuration (config-l2c-neighbor) mode.
- Example
  `
  host1(config-l2c)#neighbor
  host1(config-l2c-neighbor)#id 1234.5678.9123
  `
- Use the no version to remove the neighbor ID.
- See id.

max-branches

- Use to specify the maximum number of branches the ANCP neighbor can have.
- Example
  `
  host1(config-l2c-neighbor)#max-branches 50
  `
- Use the no version to return the maximum number of branches to its default value, unlimited branches.
- See max-branches.

## Limiting Discovery Table Entries

You use the max-discovery-table-entries command to specify the maximum number of discovery table entries that a neighbor can have.

Using this command to change the maximum number of entries when an already greater number of current entries exists in the discovery table does not remove any existing entries. Instead, future entries are prevented. For example, if the current table contains 5000 entries, and you specify a maximum of 4000 entries, the software does not remove any existing entries from the table. The software prevents any new entries until the number of table entries falls below the specified maximum.

max-discovery-table-entries

- Use to specify the maximum number of discovery table entries a neighbor can have in the range 1–64000 entries.
- Example
  `
  host1(l2c-neighbor)#max-discovery-table-entries 4000
  `
- Use the no version to return the maximum number of discovery table entries to its default value, 10,000 entries.
- See max-discovery-table-entries.

## Clearing ANCP Neighbors

You can clear an existing ANCP neighbor using the clear l2c command.

clear l2c neighbor

- Use to reset a specific GSMP neighbor session.
- Example
  `
  host1#clear l2c neighbor ACCESS_NODE_1
  `
- There is no no version.
- See clear l2c neighbor.

[Contents] [Prev] [Next] [Index] [Report an Error]