show ancp neighbor
Syntax
Release Information
Command introduced in Junos OS Release 9.4.
Description
Display information about all ANCP neighbors or the specified ANCP neighbor.
Options
- brief | detail| extensive | terse
(Optional) Display the specified level of detail.
- ip-address ip-address
(Optional) IP address of the ANCP neighbor (access node).
- system-name mac-address
(Optional) MAC address of the ANCP neighbor (access node).
Required Privilege Level
view
Related Topics
List of Sample Output
show ancp neighborshow ancp neighbor ip-address
Output Fields
Table 1 lists the output fields for the show ancp neighbor command. Output fields are listed in the approximate order in which they appear.
Table 1: show ancp neighbor Output Fields
Field Name | Field Description |
|---|---|
IP Address | IP address of the ANCP neighbor. |
System Name | MAC address of the ANCP neighbor. |
State | State of the ANCP adjacency:
|
Subscriber Count | Number of subscribers associated with the ANCP neighbor (access local loop). |
Capabilities | Negotiated ANCP capability. Currently, only topology discovery is available. |
TCP Port | TCP port on which ANCP messages are exchanged. |
System Instance | Number identifying the ANCP link instance from the edge device’s perspective. |
Peer Instance | Number identifying the ANCP instance from the access node’s perspective. This number is unique and changes when the node or link comes back up after going down. |
Timer | Adjacency timer value advertised by the ANCP peer in 100 ms increments; the interval between ANCP ACK messages. This value remains constant for the duration of an ANCP session. |
Partition Type | Number that identifies whether partitions are used and how the ID is negotiated:
|
Partition Flag | Number that specifies the type of partition requested: 1 (new adjacency) or 2 (recovered adjacency). |
Partition Identifier | Number that associates the ANCP message with a specific partition. |
Dead Timer | Remaining period that the edge device waits for adjacency packets from a neighbor before declaring the neighbor to be down. The maximum dead time value is three times the configured adjacency timer value. This field displays the current value based on the time that the last adjacency packet was received. |
Sample Output
show ancp neighbor
user@host> show ancp neighbor
IP Address State Up Time Subscriber Capabilities
Count
10.10.10.2 Established 3 2 Topo
11.11.11.2 Established 3 2 Topo show ancp neighbor ip-address
user@host> show ancp neighbor 10.10.10.2
Neighbor Information
IP Address : 10.10.10.2
System Name : ba:ad:be:ef:10:10
TCP Port : 3332
State : Established
Subscriber Count : 5
Capabilities : Topology Discovery
System Instance : 6
Peer Instance : 1695
Timer : 250
Partition Type : 0
Partition Flag : 1
Partition Identifier : 0
Dead Timer : 63
