Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear ancp neighbor

Syntax

Description

Clear the ANCP agent connection with all ANCP neighbors or with the specified ANCP neighbor. This command deletes information for subscribers associated with the neighbor, causing the adjusted traffic rates to revert to the configured rate for the subscriber interfaces. The neighbor remains configured (its administrative state is enabled) and can reestablish adjacencies.

This command initiates logout of ANCP-triggered dynamic VLAN sessions on the physical interface associated with the specified neighbor; conventionally autosensed dynamic VLAN sessions and their associated logical interfaces are not affected.

Options

none

Clear all ANCP neighbors.

ip-address ip-address

(Optional) Clear the ANCP neighbor specified by the IP address.

system-name mac-address

(Optional) Clear the ANCP neighbor specified by the MAC address.

Required Privilege Level

clear

Output Fields

When you enter this command, you are provided no feedback on the status of your request. You can enter the show ancp neighbor command before and after clearing the ANCP neighbors to verify the clear operation.

Sample Output

clear ancp neighbor

show ancp neighbor

The following sample output displays the connections with ANCP neighbors before and after the clear ancp neighbor command was issued.

Release Information

Command introduced in Junos OS Release 9.4.