clear ancp subscriber
Syntax
clear ancp subscriber<identifier identifier><ip-address ip-address><system-name mac-address>
Description
Clear the ANCP agent connection with all ANCP subscribers or with the specified ANCP subscriber. This command deletes information for the subscribers, causing the adjusted traffic rate to revert to the configured rate for the subscriber interface, but otherwise has no affect on ANCP neighbors.
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
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 203.0.113.102
port-1-11 VDSL2 set-ge-10411 64 203.0.113.112
port-2-10 VDSL2 ge-1/0/4.12 64 203.0.113.122
port-2-10 VDSL2 ge-1/0/4.12 64 203.0.113.123
port-2-11 VDSL2 ge-1/0/4.13 64 203.0.113.132
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 203.0.113.102
port-1-11 VDSL2 set-ge-10411 64 203.0.113.112
port-2-11 VDSL2 ge-1/0/4.13 64 203.0.113.132 clear ancp subscriber
user@host> clear ancp subscriber
Release Information
Command introduced in Junos OS Release 11.4.