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

show ancp neighbor

Syntax

show ancp neighbor
<brief | detail | extensive | terse>
<ip-address ip-address>
<mac-address mac-address>

Release Information

Command introduced in JUNOS 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).

mac-address mac-address(Optional) MAC address of the ANCP neighbor (access node).

Required Privilege Level

view

Related Topics

clear ancp neighbor

List of Sample Output

show ancp neighbor
show ancp neighbor ip-address

Output Fields

Table 9 lists the output fields for the show ancp neighbor command. Output fields are listed in the approximate order in which they appear.

Table 9: show ancp neighbor Output Fields

Field Name

Field Description

IP Address

IP address of the ANCP neighbor.

MAC Address

MAC address of the ANCP neighbor.

State

State of the ANCP adjacency:

  • Established—ANCP session has been established.
  • Init—ANCP session has been initiated.
  • SynSent—ANCP has sent a SYN message.
  • SynReceived—ANCP has sent a SYNACK message.

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:

  • 0—No partition.
  • 1—Fixed partition requested.
  • 2—Fixed partition assigned.

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            
      MAC Address  : 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           

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