Monitoring ANCP Neighbors
Purpose
Display information about all known ANCP neighbors or specified ANCP neighbors on the router along with their configurations.
You can use the brief keyword to show limited information. You can use the summary keyword to display the number of active neighbors.
Action
To display information about a specified ANCP neighbor:
host1#show l2c neighbor name accessnode_1002 Neighbor Name: accessnode_1002 Neighbor Id: 0abc.0abc.1002 Maximum Branches: 10 Topology Discovery: true Maximum Discovery Entries: 10000 Ip address: 1.1.1.2 TCP port: 1025 Connection Time: 03/02/2006 11:06:16 Add Branches Sent: 0 Delete Branches Sent: 0 Line-configurations: 0 OAM Loopback Requests Sent: 0 OAM Loopback Responses Received: 0 Protocol State: GSMP_ESTAB
To display limited details about ANCP neighbors on the router:
host1#show l2c neighbor brief Name Mac Address Remote Address Protocol State -------------------- ---------------- ---------------- ---------------- accessnode1 0abc.0abc.0abc null EMPTY
To display the number of active neighbors on the router:
host1(config)#show l2c neighbor summary L2C: Number of configured Neighbors: 1 Number of Neighbors in GSMP_ESTAB state: 1 Number of neighbors in GSMP_EMPTY state: 0
Meaning
Table 29 lists the show l2c neighbor command output fields.
Table 29: show l2c neighbor Output Fields
Field Name | Field Description |
---|---|
Neighbor Name | Name associated with the neighbor |
Neighbor Id | ID associated with the neighbor |
Maximum Branches | Maximum number of branches this neighbor can have |
Topology Discovery | Whether topology discovery is enabled (true) or disabled (false) |
Maximum Discovery Entries | Maximum number of discovery table entries allowed |
Ip address | IP address of the neighbor |
TCP port | TCP port associated with this neighbor |
Connection Time | Date and time at which this neighbor was connected |
Add Branches Sent | Number of add branch messages sent to this neighbor |
Delete Branches Sent | Number of delete branch messages sent to this neighbor |
Line-configurations | Number of line configurations sent to this neighbor |
OAM Loopback Requests Sent | Number of OAM loopback requests sent to this neighbor |
OAM Loopback Responses Received | Number of OAM loopback responses received from this neighbor |
Protocol State | Protocol state of this neighbor |
Number of configured neighbors | Number of configured ANCP neighbors |
Number of Neighbors in GSMP_ESTAB state | Number of ANCP neighbors that are in an established GSMP state |
Number of neighbors in GSMP_EMPTY state | Number of ANCP neighbors that are in an unestablished GSMP state |