Supported Platforms
clear ancp subscriber
Syntax
Release Information
Command introduced in Junos OS Release 11.4.
Description
Clear the connection with all ANCP subscribers or with the specified ANCP subscriber.
Options
none | — | Clear all ANCP subscribers. |
identifier identifier-string | — | (Optional) Clear the ANCP subscriber identified by the access loop ID. |
ip-address ip-address | — | (Optional) Clear all ANCP subscribers on the neighbor specified by the IP address. |
system-name mac-address | — | (Optional) Clear all ANCP subscribers on the neighbor specified by the MAC address. |
Required Privilege Level
clear
List of Sample Output
show ancp subscriber briefclear ancp subscriber
Output Fields
When you enter this command, you are provided no feedback on the status of your request. You can enter the show ancp subscriber command before and after clearing the ANCP neighbors to verify the clear operation.
Sample Output
show ancp subscriber brief
user@host> show ancp subscriber brief
Loop Identifier Type Interface Rate Neighbor Kbps port-1-10 VDSL2 set-ge-10410 64 10.10.10.2 port-1-11 VDSL2 set-ge-10411 64 11.11.11.2 port-2-10 VDSL2 ge-1/0/4.12 64 10.12.12.2 port-2-10 VDSL2 ge-1/0/4.12 64 10.12.12.3 port-2-11 VDSL2 ge-1/0/4.13 64 10.13.13.2
user@host> clear ancp subscriber identifier
port-2-10
user@host> show ancp subscriber brief
Loop Identifier Type Interface Rate Neighbor Kbps port-1-10 VDSL2 set-ge-10410 64 10.10.10.2 port-1-11 VDSL2 set-ge-10411 64 11.11.11.2 port-2-11 VDSL2 ge-1/0/4.13 64 10.13.13.2
clear ancp subscriber
user@host> clear ancp subscriber