command
stringlengths
2
75
syntax
stringlengths
0
289k
hierarchy_level
stringlengths
0
6.91k
description
stringlengths
0
45.2k
options
listlengths
0
499
required_privilege_level
stringlengths
0
330k
release_information
stringlengths
0
3.14k
related_documentation
listlengths
0
22
clear bfd session
clear bfd session <all> <address session-address> <discriminator discr-number>
Drop one or more Bidirectional Forwarding Detection (BFD) sessions.
[ { "name": "all", "desc": "Drop all BFD sessions." }, { "name": "address session-address", "desc": "(Optional) Drop all BFD sessions matching the specified address." }, { "name": "discriminator discr-number", "desc": "(Optional) Drop the local BFD session matching the specified discri...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear bfd session all user@host> clear bfd session all
Command introduced before Junos OS Release 7.4.
[]
clear bgp damping
clear bgp damping <prefix>
Clear BGP route flap damping information.
[ { "name": "none", "desc": "Clear all BGP route flap damping information." }, { "name": "logical-system (all |", "desc": "" }, { "name": "logical-system-name)", "desc": "(Optional) Perform this operation on all logical systems or on a particular logical system." }, { "name": "...
clear Output Fields This command produces no output. Sample Output clear bgp damping user@host> clear bgp damping
Command introduced before Junos OS Release 7.4.
[]
clear bgp neighbor
clear bgp neighbor <all> <as as-number> <instance instance-name> <malformed-route> <neighbor> <soft | soft-inbound> <soft-minimum-igp>
Perform one of the following tasks: • Change the state of one or more BGP neighbors to IDLE. For neighbors in the ESTABLISHED state, this command drops the TCP connection to the neighbors and then reestablishes the connection. • (soft keyword only) Reapply export policies and send refresh updates to one or more BGP nei...
[ { "name": "all", "desc": "Change the state of all BGP neighbors to IDLE." }, { "name": "as as-number", "desc": "(Optional) Apply this command only to neighbors in the specified autonomous system (AS)." }, { "name": "gracefully", "desc": "(Optional) Enable the BGP peer to start gracef...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear bgp neighbor user@host> clear bgp neighbor
Command introduced before Junos OS Release 7.4. malformed-route option introduced in Junos OS Release 13.2. all option introduced in Junos OS Release 14.2. gracefully and stale-routes options introduced in Junos OS Release 15.1.
[]
clear bgp table
clear bgp table table-name
Request that BGP refresh routes in a specified routing table.
[ { "name": "logical-system (all | logical-system-name)", "desc": "(Optional) Perform this operation on all logical systems or on a particular logical system." }, { "name": "table-name", "desc": "Request that BGP refresh routes in the specified table. Additional Information In some cases, a prefix...
clear Output Fields This command produces no output. Sample Output clear bgp table private.inet.0 user@host> clear bgp table private.inet.0 clear bgp table inet.6 logical-system all user@host> clear bgp table inet.6 logical-system all clear bgp table private.inet.6 logical-system ls1 user@host> clear bgp table private...
Command introduced in Junos OS Release 9.0.
[]
clear bridge mac-ip-table
clear bridge mac-ip-table <address> <bridge-domain (all | bridge-domain-name> <instance instance-name> <logical-system (all | logical-system-name>
Clear the locally learnt ARP entries for EVPN routing instances where the instance-type is virtual- switch. Remotely learnt entries cannot be cleared
[ { "name": "address", "desc": "(Optional) Clear the specific suppressed MAC address from the MAC-IP address table ." }, { "name": "bridge-domain (all |", "desc": "" }, { "name": "bridge-domain-name)", "desc": "(Optional) Clear the MAC-IP address table for all bridge domains or for a s...
maintenance
Command introduced in Junos OS Release 17.4R2.
[]
clear bridge mac-table
clear bridge mac-table <bridge-domain (all | bridge-domain-name)> <instance instance-name> <interface interface-name> <learning-vlan id (all-vlan | learning-vlan-id)> <mac-address>
(MX Series routers only) Clear learned Layer 2 address information from the media access control (MAC) address table.
[ { "name": "none", "desc": "Clear all learned Layer 2 address information from the MAC address table." }, { "name": "bridge-domain (all |", "desc": "" }, { "name": "bridge-domain-name)", "desc": "(Optional) Clear learned Layer 2 MAC addresses for all bridging domains or for the specif...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear bridge mac-table user@host> clear bridge mac-table
Command introduced in Junos OS Release 8.4.
[]
clear bridge recovery-timeout
clear bridge recovery-timeout <interface interface-name>
Clear all storm control errors from all the Ethernet switching interfaces on the switch, and restore the interfaces to service.
[ { "name": "interface", "desc": "" }, { "name": "interface-name", "desc": "Clear all storm control errors from the Ethernet switching interfaces on the interface specified in the command and restore this interface to service." } ]
clear Sample Output clear bridge recovery-timeout (interface interface-name) user@host> clear bridge recovery-timeout interface ae0.0 user@host> clear bridge recovery-timeout interface ae0.0
Command introduced in Junos OS Release 14.1.
[ "Configuring Autorecovery for Port Security Events" ]
clear bridge statistics
clear bridge statistics <bridge-domain bridge-domain> <instance instance-name bridge-domain bridge-domain> <logical-system logical-system-name instance instance-name bridge-domain bridge-domain>
Clear bridge statistics of all interfaces in a routing instance.
[ { "name": "bridge-domain bridge-domain", "desc": "(Optional) Clear bridge statistics of all interfaces for the specified bridge domain in the default routing instance in the global logical system." }, { "name": "instance instance-name", "desc": "" }, { "name": "bridge-domain bridge-domai...
maintenance Output Fields These commands produces no output. Sample Output clear bridge statistics user@host> clear bridge statistics bridge-domain bridge-domain-name Sample Output clear bridge statistics user@host> clear bridge statistics instance instance-name bridge-domain bridge-domain-name Sample Output clear bri...
Command introduced in Junos OS Release 17.2.
[]
clear captive-portal
clear captive-portal (firewall [interface-names] | interface (802.1X) (all | [interface-names]) | mac-address [mac-addresses])
Reset the authentication state of a captive portal interface or captive portal firewall statistics on one or more interfaces.
[ { "name": "firewall [interface-names]", "desc": "Resets captive portal statistics on all interfaces or on the specified interface." }, { "name": "interface (all | interface-names)", "desc": "Resets the authentication state of users connected to all interfaces or the specified interfaces." }, ...
view Output Fields Table 12 on page 3670 lists the output fields for the clear captive-portal interface command. (The clear captive-portal firewall and clear captive-portal mac-address commands have no output). Output fields are listed in the approximate order in which they appear. Table 12: clear captive-portal interf...
Command introduced in Junos OS Release 10.1.
[ "Example: Setting Up Captive Portal Authentication on an EX Series Switch", "Configuring Captive Portal Authentication (CLI Procedure)" ]
clear chassis alarms fabric degraded
clear chassis alarms fabric degraded lcc number fpc number
Clear the fabric degraded alarm for an FPC.
[ { "name": "lcc", "desc": "" }, { "name": "number", "desc": "Line-card chassis number. Replace number with the following values depending on the LCC configuration: 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix. 0, 2, 4, or 6, when T400...
clear Sample Output show system alarms (TX Matrix Plus router with 3D SIBs) user@host> show system alarms sfc0-re0: -------------------------------------------------------------------------- 2 alarms currently active Alarm time Class Description 2013-05-08 18:13:58 UTC Major LCC 0 Major Er...
Command introduced in Junos OS Release 13.2.
[]
clear chassis cluster control-plane statistics
clear chassis cluster control-plane statistics
Clear the control plane statistics of a chassis cluster.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear chassis cluster control-plane statistics user@host> clear chassis cluster control-plane statistics Cleared control-plane statistics
Command introduced in Junos OS Release 9.3.
[]
clear chassis cluster data-plane statistics
clear chassis cluster data-plane statistics
Clear the data plane statistics of a chassis cluster.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear chassis cluster data-plane statistics user@host> clear chassis cluster data-plane statistics Cleared data-plane statistics
Command introduced in Junos OS Release 9.3.
[]
clear chassis cluster failover-count
clear chassis cluster failover-count
Clear the failover count of all redundancy groups.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output The following example displays the redundancy groups before and after the failover-counts are cleared. show chassis cluster status user@host> show chassis cluster status Cluster ID: 3 Node name ...
Command introduced in Junos OS Release 9.3.
[]
clear chassis cluster ip monitoring failure count ip address
clear chassis cluster ip-monitoring failure-count ip-address IP-address
Clear the failure count for a specified IP address. NOTE: Entering an IP address at the end of this command is optional. If you do not specify an IP address, the failure count for all monitored IP addresses is cleared.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output user@host> clear chassis cluster ip-monitoring failure-count ip-address 10.1.1.1 clear chassis cluster ip-monitoring failure-count ip-address 10.1.1.1 node0: ------------------------------------------...
Command introduced in Junos OS Release 10.1.
[]
clear chassis cluster ip-monitoring failure-count
clear chassis cluster ip-monitoring failure-count
Clear the failure count for all IP addresses.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output user@host> clear chassis cluster ip-monitoring failure-count command-name node0: -------------------------------------------------------------------------- Cleared failure count for all IPs node1: --...
Command introduced in Junos OS Release 10.1.
[]
clear chassis cluster statistics
clear chassis cluster statistics
Clear the control plane and data plane statistics of a chassis cluster.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear chassis cluster statistics user@host> clear chassis cluster statistics Cleared control-plane statistics Cleared data-plane statistics
Command introduced in Junos OS Release 9.3.
[]
clear chassis display message
clear chassis display message <node-device name | interconnect-device name>
(M40e, M160, M320, T Series routers, EX Series, and QFabric systems only) Clear or stop a text message on the craft interface display, which is on the front of the router or switch or on the LCD panel display on the router or switch. The craft interface alternates the display of text messages with standard craft interf...
[ { "name": "none", "desc": "Clear or stop a text message on the craft interface display." }, { "name": "interconnect-device name", "desc": "(QFabric systems only) (Optional) On a QFabric system, clear or stop a text message on the LCD panel display on the specified Interconnect device." }, { ...
clear Output Fields See "show chassis craft-interface" on page 18115 for an explanation of output fields. Sample Output clear chassis display message The following example displays and then clears the text message on the craft interface display: user@host> show chassis craft-interface Red alarm: LED off, relay off ...
Command introduced in Junos OS Release 7.5. sfc option for the TX Matrix Plus routers introduced in Junos OS Release 9.6.
[ "Configuring the LCD Panel on EX Series Switches (CLI Procedure)" ]
clear chassis fpc errors
clear chassis fpc errors fpc-slot fpc-slot (all | error-id error-id)
Clear the FPC errors on the device. You can choose to clear a particular error or all errors on the FPC. NOTE: Use the show chassis errors active detail command to view the FPC errors on the device chassis.
[ { "name": "fpc-slot fpc-slot", "desc": "The slot number of the FPC in which you want to run this command." }, { "name": "all", "desc": "Clear all the errors on the FPC." }, { "name": "error-id error-id", "desc": "Clear a particular error identified by an error-id. An error-id, a uniq...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear chassis fpc errors user@host> clear chassis fpc errors fpc-slot 1 all Clearing error(s) on fpc 1, option all clear chassis fpc errors error-id error-id user@host> clear chassis fpc errors error...
Command introduced in Junos OS Release 18.2R1.
[]
clear chassis fpc optical-properties
clear chassis fpc optical-properties fpc-slot fpc-slot (pm-current | pm-currentday | all)
Clear the performance monitoring data for the integrated photonic line card (IPLC) module installed in the Flexible PIC Concentrator (FPC) or PIC slot.
[ { "name": "fpc-slot", "desc": "Slot number of the FPC or PIC in which the IPLC module resides" }, { "name": "pm-current", "desc": "Information for the current 15-minute performance monitoring data" }, { "name": "pm-currentday", "desc": "Information for the current 24-hour performance...
clear Output Fields Sample Output clear chassis fpc optical-properties all user@host> clear chassis fpc optical-properties fpc-slot 5 all
Statement introduced in Junos OS Release 15.1F6 and 17.1R1.
[]
clear chassis hardware history
clear chassis hardware history
Clears chassis hardware history database on Junos OS Evolved platforms.
[]
clear Output Fields When you enter this command, you are prompted to provide a confirmation of the request. Sample Output clear chassis hardware history user@host> clear chassis hardware history Are you sure you want to delete all history from both routing engines? [yes,no] (no) yes
Command introduced in Junos OS Evolved 23.4R1.
[ "No Link Title" ]
clear chassis high-availability data-plane statistics
clear chassis high-availability data-plane statistics
Clear the data plane statistics of Multinode High Availability.
[]
clear Output Fields Sample Output clear chassis high-availability data-plane statistics user@host> clear chassis high-availability data-plane statistics Cleared data-plane statistics
Command introduced in Junos OS Release 20.4R1.
[]
clear chassis high-availability information
clear chassis high-availability information
Clear Multinode High Availability information.
[]
clear Output Fields Sample Output clear chassis high-availability information user@host> clear chassis high-availability information Cleared chassis l3-ha information
Command introduced in Junos OS Release 20.4R1.
[]
clear chassis sib errors
clear chassis sib errors sib-slot sib-slot (all | error-id error-id)
Clear the chassis SIB errors. You can choose to clear a particular error or all errors on the SIB.
[ { "name": "fpc-slot fpc-slot", "desc": "The slot number of the SIB in which you want to run this command." }, { "name": "all", "desc": "Clear all the errors on the SIB." }, { "name": "error-id error-id", "desc": "Clear a particular error identified by an error-id. An error-id, a uniq...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear chassis sib errors user@host> clear chassis sib errors sib-slot 1 all Clearing error(s) on sib 1, option all
Command introduced in Junos OS Evolved Release 19.4R1.
[]
clear class-of-service application-traffic-control counter
clear class-of-service application-traffic-control counter <all-logical-systems-tenants> <logical-system logical-system-name> <node> <root-logical-system> <tenant tenant-name>
Clears the application traffic control counters.
[ { "name": "all-logical-systems-tenants", "desc": "(Optional) Clears the application traffic control counters of logical systems and tenant systems." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Clears the application traffic control counters of a specified logical syste...
clear Output Fields This command produces no output. Sample Output clear class-of-service application-traffic-control counter user@host>clear class-of-service application-traffic-control counter
Command introduced in Junos OS Release 19.3R1.
[]
clear class-of-service application-traffic-control rate-limiters
clear class-of-service application-traffic-control rate-limiters
Clears the application traffic control rate limiters information.
[]
clear Output Fields This command produces no output. Sample Output clear class-of-service application-traffic-control rate-limiters user@host>clear class-of-service application-traffic-control rate-limiters
Command introduced in Junos OS Release 11.4.
[]
clear class-of-service application-traffic-control statistics rule
clear class-of-service application-traffic-control statistics rule <all-logical-systems-tenants> <logical-system logical-system-name> <node> <root-logical-system> <tenant tenant-name>
Clears the application traffic control rule hit statistics. AppQoS counters identifying rule hits.
[ { "name": "all-logical-systems-tenants", "desc": "Clears the application traffic control rule hit statistics of logical systems and tenant systems." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Clears the application traffic control rule hit statistics of a specified lo...
clear Output Fields This command produces no output. Sample Output clear class-of-service application-traffic-control statistics rule user@host> clear class-of-service application-traffic-control statistics rule
Command introduced in Junos OS Release 19.3R1.
[ "show class-of-service application-traffic-control statistics rule" ]
clear cli logical-system
clear cli logical-system
Clear the logical system view and return to a full router view. In a logical system view, the output of the command displays information related to the logical system only.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear cli logical-system user@host:lr1> clear cli logical-system Cleared default logical system user@host>
Command introduced before Junos OS Release 7.4.
[ "Logical Systems User Guide for Routers and Switches" ]
clear ddos-protection protocols
clear ddos-protection protocols <protocol-group <packet-type>> (culprit-flows | states | statistics)
Clear current DDoS protection statistics, violation states, or culprit flows for all packet types in all protocol groups, for all packet types in a particular protocol group, or for a particular packet type in a particular protocol group.
[ { "name": "protocol-group", "desc": "(Optional) Protocol group that is cleared. See \"show ddos-protection protocols\" on page 20183 for a list of available groups." }, { "name": "packet-type", "desc": "(Optional) Packet type in a particular protocol group that is cleared. See \"show ddos-protec...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear ddos-protection protocols (Clear Statistics for All Protocols) user@host> clear ddos-protection protocols statistics clear ddos-protection protocols (Clear Violation States for Packet Type) use...
Command introduced in Junos OS Release 11.2. Option culprit-flows introduced in Junos OS Release 12.3. Support for Enhanced Subscriber Management added in Junos OS Release 17.3R1.
[]
clear dhcp client binding
clear dhcp client binding [all|interface <interface-name>] [routing-instance <routing-instance-name>]
Clear the binding state of a Dynamic Host Configuration Protocol (DHCP) client from the DHCP client table.
[ { "name": "all", "desc": "(Optional) Clear the binding state for all DHCP clients." }, { "name": "interface <interface-name>", "desc": "(Optional) Clear the binding state for DHCP clients on the specified interface." }, { "name": "routing-instance", "desc": "" }, { "name": "<...
clear Output Fields This command produces no output.
Statement introduced in Junos OS Release 12.1X44-D10. NOTE: This command is not supported in Junos OS Evolved because it is not needed. Stateless DHCPv4 and DHCPv6 relay are supported and enabled by default, so Junos OS Evolved does not maintain states or records of statistics or bindings for DHCP clients.
[]
clear dhcp client statistics
clear dhcp client statistics <all> <interface> <routing-instance>
Clear all Dynamic Host Configuration Protocol (DHCP) client statistics.
[ { "name": "all", "desc": "(Optional) Clear all the DHCP client statistics." }, { "name": "interface", "desc": "(Optional) Clear the statistics for DHCP clients on the specified interface." }, { "name": "routing-instance", "desc": "(Optional) Clear the statistics for DHCP clients on t...
clear Output Fields This command produces no output.
Statement introduced in Junos OS Release 12.1X44-D10. NOTE: This command is not supported in Junos OS Evolved because it is not needed. Stateless DHCPv4 and DHCPv6 relay are supported and enabled by default, so Junos OS Evolved does not maintain states or records of statistics or bindings for DHCP clients.
[]
clear dhcp relay active-leasequery statistics
clear dhcp relay active-leasequery statistics (interface interface-name | peer ip-address)
Clear active leasequery statistics for the specified access interface or for the specified DHCPv4 active leasequery peer relay agent. The statistics for bindings sent, received, installed and failed are cleared.
[ { "name": "interface interface-name", "desc": "(Optional) Clear all active leasequery statistics for a specific access interface." }, { "name": "peer ip-address", "desc": "(Optional) Clear all active leasequery statistics for a specific peer relay agent." } ]
clear Output Fields This command produces no output. Sample Output show dhcp relay active-leasequery (Interface Statistics) user@host> show dhcp relay active-leasequery statistics interface ge-2/1/1.1020 Interface : ge-2/1/1.1020 Topology-Discover Configured : Yes State ...
Command introduced in Junos OS Release 19.2R1.
[]
clear dhcp relay binding (Security)
clear dhcp relay binding <all | ip-address | mac-address> <interface interface-name> <routing-instance routing-instance-name>
Clear the binding state of a Dynamic Host Configuration Protocol (DHCP) client from the client table.
[ { "name": "all", "desc": "(Optional) Clear the binding state for all DHCP clients." }, { "name": "ip-address", "desc": "(Optional) Clear the binding state for the DHCP client, using the specified IP address." }, { "name": "mac-address", "desc": "(Optional) Clear the binding state for...
clear Output Fields This command produces no output.
Statement introduced in Junos OS Release 12.1X44-D10.
[ "Viewing and Clearing DHCP Bindings" ]
clear dhcp relay binding
clear dhcp relay binding <address> <all> <dual-stack> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <logical-system logical-system-name> <routing-instance routing-instance-name>
Clear the binding state of a Dynamic Host Configuration Protocol (DHCP) client from the client table.
[ { "name": "address", "desc": "(Optional) Clear the binding state for the DHCP client, using one of the following" }, { "name": "entries:", "desc": "" }, { "name": "ip-address", "desc": "The specified IP address." }, { "name": "mac-address", "desc": "The specified MAC addr...
view Output Fields See "show dhcp relay binding" on page 20224 for an explanation of output fields. Sample Output clear dhcp relay binding The following sample output displays the address bindings in the DHCP client table before and after the clear dhcp relay binding command is issued. user@host> show dhcp relay bindin...
Command introduced in Junos OS Release 8.3. Options all and interface added in Junos OS Release 8.4. Options interfaces-vlan and interfaces-wildcard added in Junos OS Release 12.1. Option dual-stack added in Junos OS Release 15.1.
[ "Viewing and Clearing DHCP Bindings" ]
clear dhcp relay lockout-entries
clear dhcp relay lockout-entries (all | index index)
Clear all client entries from the DHCPv4 relay agent lockout database or only the specified entries. The lockout is terminated for all affected client sessions. The lockout history for these clients is also cleared. The clients that were locked out are allowed to attempt to log in. Any subsequent short-cycle event resu...
[ { "name": "all", "desc": "Clear all client entries from the lockout database." }, { "name": "index index", "desc": "Number identifying a client entry to be cleared from the lockout database. You can view the index numbers associated with all clients by issuing the show dhcp-relay lockout-entries...
view Output Fields See "show dhcp relay lockout-entries" on page 20233 for an explanation of the output fields. Sample Output clear dhcp relay lockout-entries (Specific Lockout Entry) The following sample output displays the lockout entries in the database before and after clear dhcp relay lockout-entries command is is...
Command introduced in Junos OS Release 18.2R1.
[]
clear dhcp relay statistics (Security)
clear dhcp relay statistics <routing-instance routing-instance-name>
Clear all Dynamic Host Configuration Protocol (DHCP) relay statistics.
[ { "name": "routing-instance", "desc": "" }, { "name": "routing-instance-name", "desc": "(Optional) Clear the DHCP relay statistics on the specified routing instance. If you do not specify a routing instance name, statistics are cleared for the default routing instance." } ]
clear Output Fields This command produces no output.
Statement introduced in Junos OS Release 12.1X44-D10.
[]
clear dhcp relay statistics
Syntax for EX Series switches: show dhcp relay statistics <routing-instance routing-instance-name>
Clear all Dynamic Host Configuration Protocol (DHCP) relay statistics.
[ { "name": "bulk-leasequery-connections", "desc": "(Optional) Clear DHCP relay bulk leasequery statistics." }, { "name": "leasequery", "desc": "(Optional) Clear DHCP relay individual leasequery statistics." }, { "name": "logical-system logical-system-name", "desc": "(On routers only) ...
view Output Fields See show dhcp relay statistics for an explanation of output fields. Sample Output clear dhcp relay statistics The following sample output displays the DHCP relay statistics before and after the clear dhcp relay statistics command is issued. user@host> show dhcp relay statistics Packets dropped: T...
Command introduced in Junos OS Release 8.3. bulk-leasequery-connections option introduced in Junos OS Release 16.1.
[]
clear dhcp server active-leasequery statistics
clear dhcp server active-leasequery statistics
Clear the active leasequery statistics of the DHCP local server.
[]
clear Sample Output clear dhcp server active-leasequery statistics user@host> clear dhcp server active-leasequery statistics peer 192.0.2.0 peer : 192.0.2.0 Topology-Discover Configured : Yes State : Done Bindings Sent : 0 Bind...
Command introduced in Junos OS Release 21.4R1.
[]
clear dhcp server binding
clear dhcp server binding <address> <all> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <logical-system logical-system-name> <routing-instance routing-instance-name> <dual-stack>
Clear the binding state of a Dynamic Host Configuration Protocol (DHCP) client from the client table on the extended DHCP local server. NOTE: If you delete the DHCP server configuration, DHCP server bindings might still remain. To ensure that DHCP bindings are removed, issue the clear dhcp server binding command before...
[ { "name": "address", "desc": "(Optional) Clear the binding state for the DHCP client, using one of the following" }, { "name": "entries:", "desc": "" }, { "name": "ip-address", "desc": "The specified IP address." }, { "name": "mac-address", "desc": "The specified MAC addr...
view Output Fields See "show dhcp server binding" on page 20253 for an explanation of output fields. Sample Output clear dhcp server binding <ip-address> The following sample output displays the address bindings in the DHCP client table on the extended DHCP local server before and after the clear dhcp server binding co...
Command introduced in Junos OS Release 9.0. Options interfaces-vlan and interfaces-wildcard added in Junos OS Release 12.1. Command updated with dual-stack statement in Junos OS Release 17.3.
[ "Viewing and Clearing DHCP Bindings" ]
clear dhcp server lockout-entries
clear dhcp server lockout-entries (all | index index)
Clear all client entries from the DHCPv4 local server lockout database or only the specified entries. The lockout is terminated for all affected client sessions. The lockout history for these clients is also cleared. The clients that were locked out are allowed to attempt to log in. Any subsequent short-cycle event res...
[ { "name": "all", "desc": "Clear all client entries from the lockout database." }, { "name": "index index", "desc": "Number identifying a client entry to be cleared from the lockout database. You can view the index numbers associated with all clients by issuing the show dhcp-server lockout-entrie...
view Output Fields See "show dhcp server lockout-entries" on page 20264 for an explanation of the output fields. Sample Output clear dhcp server lockout-entries (Specific Lockout Entry) The following sample output displays the lockout entries in the database before and after clear dhcp server lockout-entries command i...
Command introduced in Junos OS Release 18.2R1.
[]
clear dhcp server statistics
clear dhcp server statistics <bulk-leasequery-connections> <logical-system logical-system-name> <routing-instance routing-instance-name>
Clear all extended Dynamic Host Configuration Protocol (DHCP) local server statistics.
[ { "name": "bulk-leasequery-connections", "desc": "(Optional) Clear DHCPv4 local server bulk leasequery statistics." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Clear the statistics for DHCP clients on the specified logical system. If you do not specify a logical system...
view Output Fields See "show dhcp server statistics" on page 20267 for an explanation of output fields. Sample Output clear dhcp server statistics The following sample output displays the extended DHCP local server statistics before and after the clear dhcp server statistics command is issued. user@host> show dhcp serv...
Command introduced in Junos OS Release 9.0. bulk-leasequery-connections option introduced in Junos OS Release 16.1.
[]
clear dhcp snooping binding
clear dhcp snooping binding <mac (all | mac-address)> <vlan (all | vlan-name)> <vlan (all | vlan-name) mac (all | mac-address)>
Clear the DHCP snooping database information.
[ { "name": "mac (all | mac-address)", "desc": "(Optional) Clear DHCP snooping information for the specified MAC address or all MAC addresses." }, { "name": "vlan (all | vlan-name )", "desc": "(Optional) Clear DHCP snooping information for the specified VLAN or all VLANs." } ]
clear Output Fields This command produces no output. Sample Output clear dhcp snooping binding user@switch> clear dhcp snooping binding
Command introduced in Junos OS Release 9.0.
[ "Example: Configuring Port Security (non-ELS)", "Enabling DHCP Snooping (non-ELS)" ]
clear dhcp snooping statistics
clear dhcp snooping statistics
Clear all Dynamic Host Configuration Protocol (DHCP) snooping statistics.
[]
view Output Fields See "show dhcp snooping statistics" on page 20276 for an explanation of the output fields. Sample Output clear dhcp snooping statistics The following sample output displays the DHCP snooping statistics before and after the clear dhcp snooping statistics command is issued. user@switch> ...
Command introduced in Junos OS Release 9.4.
[ "Understanding DHCP Snooping (non-ELS)" ]
clear dhcp-security binding
clear dhcp-security binding <interface interface-name> <ip-address ip-address> <statistics> <vlan vlan-name>
Clear the DHCP snooping database information.
[ { "name": "interface interface-name", "desc": "(Optional) Clear DHCP snooping database information for the specified interface." }, { "name": "ip-address ip-address", "desc": "(Optional) Clear DHCP snooping database information for the specified IP address." }, { "name": "statistics", ...
clear
Command introduced in Junos OS Release 13.2X50-D10.
[ "Example: Configuring IP Source Guard and Dynamic ARP Inspection to Protect the Switch from IP", "Spoofing and ARP Spoofing", "Example: Configuring IP Source Guard and Dynamic ARP Inspection on a Specified Bridge Domain to", "Protect the Devices Against Attacks", "Port Security Features" ]
clear dhcp-security ipv6 binding
clear dhcp-security ipv6 binding <all> <interface interface-name> <ipv6-address ipv6-address> <vlan vlan-name>
Clear the DHCPv6 snooping database information.
[ { "name": "all", "desc": "(Optional) Clear all DHCPv6 snooping database statistics." }, { "name": "interface interface-name", "desc": "(Optional) Clear DHCPv6 snooping database information for the specified interface." }, { "name": "ipv6-address ipv6-address", "desc": "(Optional) Cle...
clear Output Fields This command produces no output. Sample Output clear dhcp-security ipv6 binding user@switch> clear dhcp-security ipv6 binding
Command introduced in Junos OS Release 13.2X51-D20.
[ "Example: Configuring IPv6 Source Guard and Neighbor Discovery Inspection to Protect a Switch from", "IPv6 Address Spoofing" ]
clear dhcpv6 client binding
clear dhcpv6 client binding [all | interface interface-name] [routing-instance routing-instance-name]
Clear the binding state of a Dynamic Host Configuration Protocol (DHCPv6) client from the DHCPv6 client table.
[ { "name": "all", "desc": "(Optional) Clear the binding state for all DHCPv6 clients." }, { "name": "interface interface-name", "desc": "(Optional) Clear the binding state for DHCPv6 clients on the specified interface." }, { "name": "routing-instance", "desc": "" }, { "name": ...
clear Output Fields This command produces no output.
Statement introduced in Junos OS Release 12.1X45-D10. NOTE: This command is not supported in Junos OS Evolved because it is not needed. Stateless DHCPv4 and DHCPv6 relay are supported and enabled by default, so Junos OS Evolved does not maintain states or records of statistics or bindings for DHCP clients.
[]
clear dhcpv6 client statistics
clear dhcpv6 client statistics routing-instance routing-instance-name
Clear all DHCPv6 client statistics.
[ { "name": "routing-instance", "desc": "" }, { "name": "routing-instance-name", "desc": "(Optional) Clear the statistics for DHCPv6 clients on the specified routing instance. If you do not specify a routing instance, statistics are cleared for the default routing instance." } ]
clear Output Fields This command produces no output.
Statement introduced in Junos OS Release 12.1X45-D10. NOTE: This command is not supported in Junos OS Evolved because it is not needed. Stateless DHCPv4 and DHCPv6 relay are supported and enabled by default, so Junos OS Evolved does not maintain states or records of statistics or bindings for DHCP clients.
[]
clear dhcpv6 relay active-leasequery statistics
clear dhcpv6 relay active-leasequery statistics (interface interface-name | peer ipv6-address)
Clear active leasequery statistics for the specified access interface or for the specified DHCPv6 active leasequery peer relay agent. The statistics for bindings sent, received, installed and failed are cleared.
[ { "name": "interface interface-name", "desc": "(Optional) Clear all active leasequery statistics for a specific access interface." }, { "name": "peer ip-address", "desc": "(Optional) Clear all active leasequery statistics for a specific peer relay agent." } ]
clear Output Fields This command produces no output. Sample Output show dhcp relay active-leasequery (Interface Statistics) user@host> show dhcpv6 relay active-leasequery statistics interface ge-0/0/0.1 Interface : ge-0/0/0.1 Topology-Discover Configured : Yes State ...
Command introduced in Junos OS Release 19.2R1.
[]
clear dhcpv6 relay binding
clear dhcpv6 relay binding <address> <all> <dual-stack> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <logical-system logical-system-name> <routing-instance routing-instance-name>
Clear the binding state of Dynamic Host Configuration Protocol for IPv6 (DHCPv6) clients from the client table.
[ { "name": "address", "desc": "(Optional) Clear the binding state for the DHCPv6 client, using one of the" }, { "name": "following entries:", "desc": "" }, { "name": "CID", "desc": "The specified Client ID (CID)." }, { "name": "ipv6-prefix", "desc": "The specified IPv6 pre...
view Output Fields See show dhcpv6 relay binding for an explanation of output fields. Sample Output clear dhcpv6 relay binding The following sample output displays the DHCPv6 bindings before and after the clear dhcpv6 relay binding command is issued. user@host> show dhcpv6 relay binding Prefix Sessio...
Command introduced in Junos OS Release 11.4. Options interfaces-vlan and interfaces-wildcard added in Junos OS Release 12.1. Option dual-stack added in Junos OS Release 15.1.
[ "Viewing and Clearing DHCP Bindings" ]
clear dhcpv6 relay lockout-entries
clear dhcpv6 relay lockout-entries (all | index index)
Clear all client entries from the DHCPv6 relay agent lockout database or only the specified entries. The lockout is terminated for all affected client sessions. The lockout history for these clients is also cleared. The clients that were locked out are allowed to attempt to log in. Any subsequent short-cycle event resu...
[ { "name": "all", "desc": "Clear all client entries from the lockout database." }, { "name": "index index", "desc": "Number identifying a client entry to be cleared from the lockout database. You can view the index numbers associated with all clients by issuing the show dhcpv6-relay lockout-entri...
view Output Fields See "show dhcpv6 relay lockout-entries" on page 20327 for an explanation of the output fields. Sample Output clear dhcpv6 relay lockout-entries (Specific Lockout Entry) The following sample output displays the lockout entries in the database before and after clear dhcpv6 relay lockout-entries command...
Command introduced in Junos OS Release 18.2R1.
[]
clear dhcpv6 relay statistics
clear dhcpv6 relay statistics <bulk-leasequery-connections> <leasequery> <logical-system logical-system-name> <routing-instance routing-instance-name>
Clear all Dynamic Host Configuration Protocol for IPv6 (DHCPv6) relay statistics.
[ { "name": "bulk-leasequery-connections", "desc": "(Optional) Clear DHCPv6 relay bulk leasequery statistics." }, { "name": "leasequery", "desc": "(Optional) Clear DHCPv6 relay individual leasequery statistics." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Per...
view Output Fields See show dhcpv6 relay statistics for an explanation of output fields. Sample Output clear dhcpv6 relay statistics The following sample output displays the DHCPv6 relay statistics before and after the clear dhcpv6 relay statistics command is issued. user@host> show dhcpv6 relay statistics DHCPv6 Pack...
Command introduced in Junos OS Release 11.4. bulk-leasequery-connections option introduced in Junos OS Release 16.1.
[]
clear dhcpv6 server active-leasequery statistics
clear dhcpv6 server active-leasequery statistics <peer peer-address> <interface interface-name>
Clear the active leasequery statistics of the DHCPv6 local server.
[ { "name": "peer peer-address", "desc": "IP address of the peer DHCP server on which you want to view the active leasequery statistics." }, { "name": "interface interface-name", "desc": "Interface name of the peer DHCP server on which you want to view the active leasequery statistics." } ]
clear Sample Output clear dhcpv6 server active-leasequery statistics peer ip-address user@host> clear dhcpv6 server active-leasequery statistics peer 2001:db8:3::2 peer : 2001:db8:3::2 Topology-Discover Configured : Yes State : Done Bindings Sent ...
Command introduced in Junos OS Release 21.4R1.
[]
clear dhcpv6 server binding (Local Server)
clear dhcpv6 server binding <all | client-id | ip-address | session-id> <interface interface-name> <routing-instance routing-instance-name>
Clear the binding state of a DHCPv6 client from the client table on the DHCPv6 local server.
[ { "name": "all", "desc": "(Optional) Clear the binding state for all DHCPv6 clients." }, { "name": "client-id", "desc": "(Optional) Clear the binding state for the DHCPv6 client with the specified client ID (option" }, { "name": "ip-address", "desc": "(Optional) Clear the binding sta...
clear
Command introduced in Junos OS Release 10.4.
[]
clear dhcpv6 server binding
clear dhcpv6 server binding <address> <all> <interface interface-name> <interfaces-vlan> <interfaces-wildcard> <logical-system logical-system-name> <routing-instance routing-instance-name> <dual-stack>
Clear the binding state of a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) client from the client table on the extended DHCPv6 local server.
[ { "name": "address", "desc": "(Optional) Clear the binding state for the DHCPv6 client, using one of the following" }, { "name": "entries:", "desc": "" }, { "name": "CID", "desc": "The specified Client ID (CID)." }, { "name": "ipv6-prefix", "desc": "The specified IPv6 pre...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear dhcpv6 server binding all The following command clears all DHCPv6 local server bindings: user@host> clear dhcpv6 server binding all clear dhcpv6 server binding <ipv6-prefix> The following comman...
Command introduced in Junos OS Release 9.6. Options interfaces-vlan and interfaces-wildcard added in Junos OS Release 12.1. Command updated with dual-stack statement in Junos OS Release 17.3.
[ "Viewing and Clearing DHCP Bindings" ]
clear dhcpv6 server lockout-entries
clear dhcpv6 server lockout-entries (all | index index)
Clear all client entries from the DHCPv6 local server lockout database or only the specified entries. The lockout is terminated for all affected client sessions. The lockout history for these clients is also cleared. The clients that were locked out are allowed to attempt to log in. Any subsequent short-cycle event res...
[ { "name": "all", "desc": "Clear all client entries from the lockout database." }, { "name": "index index", "desc": "Number identifying a client entry to be cleared from the lockout database. You can view the index numbers associated with all clients by issuing the show dhcpv6-server lockout-entr...
view Output Fields See "show dhcpv6 server lockout-entries" on page 20358 for an explanation of the output fields. Sample Output clear dhcpv6 server lockout-entries (Specific Lockout Entry) The following sample output displays the lockout entries in the database before and after clear dhcpv6 server lockout-entries comm...
Command introduced in Junos OS Release 18.2R1.
[]
clear dhcpv6 server statistics (Local Server)
clear dhcpv6 server statistics <logical-system logical-system-name> <routing-instance routing-instance-name>
Clear all DHCPv6 local server statistics.
[ { "name": "logical-system", "desc": "" }, { "name": "logical-system-name", "desc": "(Optional) Clear the statistics for DHCPv6 clients on the specified logical system. If you do not specify a logical system, statistics are cleared for the default logical system." }, { "name": "routing-in...
clear
Command introduced in Junos OS Release 10.4.
[]
clear dhcpv6 server statistics
clear dhcpv6 server statistics <bulk-leasequery-connections> <interface interface-name> <logical-system logical-system-name> <routing-instance routing-instance-name>
Clear all extended Dynamic Host Configuration Protocol for IPv6 (DHCPv6) local server statistics.
[ { "name": "bulk-leasequery-connections", "desc": "(Optional) Clear DHCPv6 local server bulk leasequery statistics." }, { "name": "logical-system logical-system-name", "desc": "(Optional) Clear the statistics for DHCPv6 clients on the specified logical system. If you do not specify a logical syst...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear dhcpv6 server statistics user@host> clear dhcpv6 server statistics
Command introduced in Junos OS Release 9.6. bulk-leasequery-connections option introduced in Junos OS Release 16.1.
[]
clear dhcpv6 snooping binding
clear dhcpv6 snooping binding <mac (all | mac-address)> <vlan (all | vlan-name)> <vlan (all | vlan-name) mac (all | mac-address)>
Clear the DHCPv6 snooping database information.
[ { "name": "mac (all | mac-address)", "desc": "(Optional) Clear DHCPv6 snooping information for the specified MAC address or all MAC addresses." }, { "name": "vlan (all | vlan-name )", "desc": "(Optional) Clear DHCPv6 snooping information for the specified VLAN or all VLANs." } ]
clear Output Fields This command produces no output. Sample Output clear dhcpv6 snooping binding user@switch> clear dhcpv6 snooping binding
Command introduced in Junos OS Release 14.1X53-D10.
[ "Example: Configuring Port Security (non-ELS)", "Enabling DHCP Snooping (non-ELS)" ]
clear dhcpv6 snooping statistics
clear dhcpv6 snooping statistics
Clear all Dynamic Host Configuration Protocol for IPv6 (DHCPv6) snooping statistics.
[]
view Output Fields See "show dhcpv6 snooping statistics" on page 20373 for an explanation of the output fields. Sample Output clear dhcpv6 snooping statistics The following sample output displays the DHCPv6 snooping statistics before and after the clear dhcpv6 snooping statistics command is issued. user@switch> ...
Command introduced in Junos OS Release 14.1X53-D10.
[ "Understanding DHCP Snooping (non-ELS)" ]
clear diameter function statistics
clear diameter function <function-name> statistics
Clear current statistics accumulated for a specified function (application) or for all functions associated with the Diameter instance.
[ { "name": "function-name", "desc": "(Optional) Clear statistics for the specified function. Gx-Plus, JSRC, and packet-triggered-subscribers are supported functions." } ]
clear Output Fields When you enter this command, you are not provided feedback on the status of your request. Sample Output clear diameter function statistics user@host> clear diameter function jsrc statistics
Command introduced in Junos OS Release 9.6. Support for PTSP introduced in Junos OS Release 10.2. Support for Gx-Plus introduced in Junos OS Release 11.2. Support for PTSP discontinued in Junos OS Release 13.1.
[ "Gx-Plus for Provisioning Subscribers", "JSRC for Subscriber Provisioning and Accounting" ]
clear diameter peer
clear diameter peer peer-name <connection | statistics>
Delete the specified Diameter peer and clear all statistics or only current statistics for the specified peer.
[ { "name": "peer-name", "desc": "Delete the Diameter peer." }, { "name": "connection", "desc": "(Optional) Clear all peer statistics and restart the peer state machine for the specified Diameter peer. This is the default action." }, { "name": "statistics", "desc": "(Optional) Clear cu...
clear Output Fields When you enter this command, you are not provided feedback on the status of your request. Sample Output clear diameter peer user@host> clear diameter peer peer5 connection
Command introduced in Junos OS Release 9.6.
[]
clear dot1x
clear dot1x interface <interface-name> mac-address <static-mac-address> statistics <interface interface-name>
Reset the authentication state of an interface or delete 802.1X statistics from the device. When you reset an interface using the interface or mac-address options, reauthentication on the interface is also triggered. The device sends out a multicast message on the interface to restart the authentication of all connecte...
[ { "name": "interface", "desc": "" }, { "name": "<[interface-name]>", "desc": "Reset the authentication state of all the supplicants (also, clear all the authentication bypassed clients) connected to the specified interface (when the interface is an authenticator) or reset the authentication stat...
view Sample Output clear dot1x interface user@host> clear dot1x interface ge-0/0/1 clear dot1x mac-address user@host> clear dot1x mac-address 00:04:ae:cd:23:5f clear dot1x statistics interface user@host> clear dot1x statistics interface ge-0/0/1
Command introduced in Junos OS Release 15.1X49-D80.
[]
clear edge-virtual-bridging
clear edge-virtual-bridging <edge-control-protocol-statistics> <firewall <interface interface-name> <vsi-profiles <interface interface-name>
Clear edge-virtual-bridging (EVB).
[ { "name": "none", "desc": "Clear EVB." }, { "name": "edge-control-protocol-statistics", "desc": "(Optional) Clear Edge Control Protocol (ECP) statistics." }, { "name": "firewall <interface interface-name>", "desc": "(Optional) Clear EVB implicit filter counters on all interfaces or o...
system—To view this statement in the configuration. system-control—To add this statement to the configuration.
Statement introduced in Junos OS Release 12.1.
[ "Example: Configuring Edge Virtual Bridging for Use with VEPA Technology on an EX Series Switch", "Configuring Edge Virtual Bridging on an EX Series Switch" ]
clear error bpdu interface
Clear a bridge protocol data unit (BPDU) error condition caused by the detection of a possible bridging loop from Spanning Tree Protocol (STP) operation.
[]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear error bpdu interface ge-1/1/1 user@host> clear error bpdu interface ge-1/1/1
Command introduced in Junos OS Release 9.4. Command supports all option in Junos OS Release 15.1 for EX Series switches.
[ "Configuring BPDU Protection on ACX Router, EX Switch and MX Router Edge Ports", "Unblocking a Switch Interface That Receives BPDUs in Error (CLI Procedure)" ]
clear error mac-rewrite
clear error mac-rewrite <interface interface-name>
Clear a MAC rewrite error condition on an interface receiving tunneled Layer 2 protocol packets. On interfaces with L2PT configured, customer-facing ports should not receive packets with the L2PT MAC address as the destination address unless there is a network tolopogy or configuration error. The device sets the status...
[ { "name": "interface interface-name", "desc": "(Optional) Clear the MAC rewrite error condition for the specified interface." } ]
clear Output Fields When you enter this command, the device returns feedback on the status of the request. Sample Output clear error mac-rewrite interface user@host> clear error mac-rewrite interface ge-1/0/1
Command introduced in Junos OS Release 9.1.
[ "Configuring Layer 2 Protocol Tunneling", "Clearing a MAC Rewrite Error on an Interface with Layer 2 Protocol Tunneling" ]
clear ethernet-switching bpdu-error interface
clear ethernet-switching bpdu-error interface interface-name
Clear bridge protocol data unit (BPDU) errors from an interface and bring up the interface. NOTE: This command is only available on switches running Junos OS without support for the Enhanced Layer 2 Software (ELS) configuration style. To clear BPDU errors from switches that support ELS, see "clear error bpdu interface"...
[ { "name": "interface-name", "desc": "Clear BPDU errors on the specified interface." } ]
clear Sample Output clear ethernet-switching bpdu-error interface user@switch> clear ethernet-switching bpdu-error interface xe-0/0/1.0
Command introduced in Junos OS Release 9.1. Command updated in Junos OS Release 11.1 for EX Series switches—a BPDU error shuts down the interface and this command brings the interface back up.
[]
clear ethernet-switching evpn arp-table
clear ethernet-switching evpn arp-table
Clear the ARP proxy table from the Ethernet VPN (EVPN) for integrated routing and bridging (IRB) interfaces. This command applies to EVPN instances of type virtual-switch.
[ { "name": "none", "desc": "Clear information about the ARP proxy tables for an EVPN." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear ethernet-switching evpn arp-table user@host> clear ethernet-switching evpn arp-table
Command introduced in Junos OS Release 17.3R1.
[]
clear ethernet-switching evpn nd-statistics
clear ethernet-switching evpn nd-statistics
Clear the Neighbor Discovery (ND) proxy table statistics for integrated routing and bridging (IRB) interfaces participating in the Ethernet VPN (EVPN). ND proxy is a kernel module that implements IPv6 Neighbor Discovery proxying over Ethernet-like access networks.
[ { "name": "none", "desc": "Clear the ND proxy table statistics for IRB interfaces participating in the EVPN." } ]
clear Output Fields When you enter this command, the ND proxy table statistics for IRB interfaces participating in the EVPN are cleared. Sample Output clear ethernet-switching evpn nd-statistics user@host> clear ethernet-switching evpn nd-statistics
Command introduced in Junos OS Release 17.3R1.
[]
clear ethernet-switching evpn nd-table
clear ethernet-switching evpn nd-table
Clear the Neighbor Discovery (ND) proxy table from the Ethernet VPN (EVPN) for integrated routing and bridging (IRB) interfaces. This command applies to EVPN instances of type virtual-switch.
[ { "name": "none", "desc": "Clear information about the ND proxy tables for an EVPN." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear ethernet-switching evpn nd-table user@host> clear ethernet-switching evpn nd-table
Command introduced in Junos OS Release 17.3R1.
[]
clear ethernet-switching layer2-protocol-tunneling error
clear ethernet-switching layer2-protocol-tunneling error <interface interface-name>
Clear Layer 2 protocol tunneling (L2PT) errors on one or more interfaces. If an interface has been disabled because the amount of Layer 2 protocol traffic exceeded the shutdown threshold or because the switch has detected an error in the network topology or configuration, use this command to reenable the interface.
[ { "name": "none", "desc": "Clears L2PT errors on all interfaces." }, { "name": "interface interface-name", "desc": "(Optional) Clear L2PT errors on the specified interface." } ]
view Sample Output clear ethernet-switching layer2-protocol-tunneling error user@switch> clear ethernet-switching layer2-protocol-tunneling error clear ethernet-switching layer2-protocol-tunneling error interface xe-0/0/1.0 user@switch> clear ethernet-switching layer2-protocol-tunneling error interface xe-0/0/1.0
Command introduced in Junos OS Release 10.0.
[ "Example: Configuring Layer 2 Protocol Tunneling on EX Series Switches Without ELS Support", "Configuring Layer 2 Protocol Tunneling on EX Series Switches Without ELS Support" ]
clear ethernet-switching layer2-protocol-tunneling statistics
clear ethernet-switching layer2-protocol-tunneling statistics <interface interface-name> <vlan vlan-name>
Clear Layer 2 protocol tunneling (L2PT) statistics on one or more interfaces or VLANs.
[ { "name": "none", "desc": "Clear L2PT statistics on all interfaces and VLANs." }, { "name": "interface interface-name", "desc": "(Optional) Clear L2PT statistics on the specified interface." }, { "name": "vlan vlan-name", "desc": "(Optional) Clear L2PT statistics on the specified VLA...
view Sample Output clear ethernet-switching layer2-protocol-tunneling statistics user@switch> clear ethernet-switching layer2-protocol-tunneling statistics clear ethernet-switching layer2-protocol-tunneling error interface ge-0/1/1.0 user@switch> clear ethernet-switching layer2-protocol-tunneling statistics interface x...
Command introduced in Junos OS Release 10.0.
[ "Example: Configuring Layer 2 Protocol Tunneling on EX Series Switches Without ELS Support", "Configuring Layer 2 Protocol Tunneling on EX Series Switches Without ELS Support" ]
clear ethernet-switching mac-ip-table
clear ethernet-switching mac-ip-table <address> <vlan-name (all | vlan-domain-name)> <instance instance-name>
Clear the locally learnt ARP entries for VLANs in routing instances where the instance-type is ethernet switching. Remotely learnt entries cannot be cleared.
[ { "name": "address", "desc": "(Optional) Clear the specific MAC address from the MAC-IP address table ." }, { "name": "vlan-name (all | vlan-domain-name)", "desc": "(Optional) Clear the MAC-IP address table for all VLANs or for the specified VLAN." }, { "name": "instance instance-name", ...
maintenance
Command introduced in Junos OS Release 17.4R2.
[]
clear ethernet-switching port-error
clear ethernet-switching port-error <interface interface-name>
Clear all MAC limiting, MAC move limiting, and storm control errors from all the Ethernet switching interfaces on the switch or from the specified interface, and restore all interfaces or the specified interface to service. NOTE: Not supported on devices that supports ELS. For devices that support ELS) use — clear ethe...
[ { "name": "none", "desc": "Clear all MAC limiting, MAC move limiting, and storm control errors from all the Ethernet switching interfaces on the switch and restore these interfaces to service." }, { "name": "interface", "desc": "" }, { "name": "interface-name", "desc": "(Optional) Cl...
clear Output Fields This command produces no output. Sample Output clear ethernet-switching port-error user@switch> clear ethernet-switching port-error
Command introduced in JUNOS Release 9.6.
[ "Understanding MAC Limiting and MAC Move Limiting", "Configuring Autorecovery for Port Security Events", "Configuring Port Security (non-ELS)", "Configuring Autorecovery for Port Security Events" ]
clear ethernet-switching recovery-timeout (SRX)
clear ethernet-switching recovery-timeout <interface interface-name>
Clear all MAC limiting errors from all the Ethernet switching interfaces on the device or from the specified interface, and restore the interfaces or the specified interface to service. You can also use this command to manually recover interfaces that duplicate MAC detection loop protection has shut down. To manually r...
[ { "name": "interface interface-name", "desc": "(Optional) Clear all MAC limiting errors from the specified interface and restore the interface to service." } ]
clear
Command introduced in Junos OS Release 15.1X49-D70
[ "Understanding MAC Limiting", "Example: Configuring MAC Limiting on a Security Device", "Configuring Autorecovery From the Disabled State on Secure Interfaces of a Security Device (CLI", "Procedure)" ]
clear ethernet-switching recovery-timeout
clear ethernet-switching recovery-timeout
Clear all MAC limiting, MAC move limiting, and storm control errors from all the Ethernet switching interfaces on the switch, and restore the interfaces to service.
[ { "name": "interface interface-name vlan vlan-name", "desc": "(EX9200 switches) Unblock an interface on the basis of its" } ]
clear Output Fields This command produces no output.
Command introduced in Junos OS Release 13.2X50-D10.
[ "Configuring Autorecovery for Port Security Events" ]
clear ethernet-switching statistics mac-learning
clear ethernet-switching statistics mac-learning
Clear the media access control (MAC) learning statistics.
[ { "name": "none", "desc": "Clear MAC learning statistics on all interfaces." }, { "name": "interface interface-name", "desc": "(Optional) Clear MAC learning statistics on the specified interface." } ]
view Sample Output clear ethernet-switching statistics mac-learning user@host> clear ethernet-switching statistics mac-learning clear ethernet-switching statistics mac-learning interface interface-name user@host> clear ethernet-switching statistics mac-learning interface interface-name
Command introduced in Junos OS Release 10.1.
[]
clear ethernet-switching table persistent-learning
clear ethernet-switching table mac <mac-address> | interface <interface-name> | vlan-name <vlan-name> | vlan-id <vlan-id> | instance <instance> <persistent-learning (interface <interface-name> | mac <mac-address>)>
NOTE: On a QFabric system, using this command on an FCoE-enabled VLAN when FCoE sessions are active can cause traffic flooding and FCoE traffic drop. The FCoE sessions are not terminated and the traffic reconverges after a short period of time. Clear learned entries, which are media access control (MAC) addresses, in t...
[ { "name": "none", "desc": "Clear learned entries in the Ethernet switching table, except for persistent MAC addresses." }, { "name": "interface", "desc": "" }, { "name": "interface-name", "desc": "(Optional) Clear all learned MAC addresses for the specified interface from the Etherne...
view Output Fields This command produces no output. Sample Output clear ethernet-switching table user@switch> clear ethernet-switching table
Command introduced in Junos OS Release 9.3.
[]
clear evpn duplicate-mac-suppression
clear evpn duplicate-mac-suppression <instance instance |l2-domain-id l2-domain-id | logical-system (all |logical-system-name) | mac- address mac-address>
Clear suppressed duplicate MAC addresses in an EVPN network. You can also use this command to re- enable any blocked duplicate MAC addresses. After you have enabled these duplicate MAC addresses, these MAC addresses will be available for relearning and forwarding.
[ { "name": "instance instance", "desc": "(Optional) Clear suppressed MAC address for a specific routing instance. On MX Series routers , the routing instance can be an EVPN instance or virtual-switch instance. On QFX Series switches, the routing instance can be an EVPN instance, virtual-switch instance or an...
maintenance
Command introduced in Junos OS Release 17.4.
[ "Overview of MAC Mobility", "Changing Duplicate MAC Address Detection Settings" ]
clear evpn mac-ip-table
clear evpn mac-ip-table <address> <instance instance-name> <logical-system (all | logical-system-name>
Clear the locally learned ARP entries for routing instances where the instance-type is evpn. Remotely learned entries cannot be cleared.
[ { "name": "address", "desc": "(Optional) Clear the specific MAC address from the MAC-IP address table." }, { "name": "instance instance-name", "desc": "(Optional) Clear the MAC-IP address table for a specific routing instance." }, { "name": "logical-system (all |", "desc": "" }, ...
maintenance
Command introduced in Junos OS Release 17.4R2.
[]
clear evpn nd-table
clear evpn nd-table
Clear the Neighbor Discovery (ND) proxy table from the Ethernet VPN (EVPN). ND proxy is a kernel module that implements IPv6 Neighbor Discovery proxying over Ethernet-like access networks.
[ { "name": "none", "desc": "Clear learned ND proxy tables from the EVPN." } ]
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear evpn nd-table user@host> clear evpn nd-table
Command introduced in Junos OS Release 16.2.
[]
clear evpn statistics
clear evpn statistics instance evpn-instance <logical-system (all | logical-system-name)>
Clear EVPN statistics of all interfaces in a routing instance of type EVPN.
[ { "name": "evpn-instance", "desc": "Name of the EVPN routing instance." }, { "name": "logical-system (all | logical-system-name)", "desc": "(Optional) Perform this operation on all logical systems or on a particular logical system." } ]
maintenance Output Fields This command produces no output. Sample Output clear evpn statistics user@host> clear evpn statistics instance evpn-instance
Command introduced in Junos OS Release 17.2.
[]
clear extensible-subscriber-services counters
clear extensible-subscriber-services counters
Clear values of all event counters to zero. Active sessions and services counters are not reset.
[]
view Sample Output command-name #clear extensible-subscriber-services counters
Command introduced in Junos OS Release 15.1.
[]
clear extensible-subscriber-services sessions
clear extensible-subscriber-services sessions <accounting-session-id>
Clear extensible subscriber service sessions in any state by executing the operational script or the application to remove all services created. Specify an accounting session ID to clear a specific session. If you do not specify an accounting session ID in the command, the command clears all sessions.
[ { "name": "accounting-session-id", "desc": "(Optional) Identifier of the ESSM session you want cleared." } ]
view Sample Output command-name #clear extensible-subscriber-services sessions "jnpr demux0.1073762028:46422"
Command introduced in Junos OS Release 15.1.
[]
clear extension-service request-response clients
clear extension-service request-response clients client-id
Clears the status of the request-response clients connected to the device.
[ { "name": "client-id", "desc": "The client identifier." }, { "name": "all", "desc": "Clears status of all clients." }, { "name": "client-id", "desc": "Client ID of a specific session to be cleared." } ]
Clear Sample Output clear extension-service request-response clients user@switch> show extension-service request-response clients Client ID Socket Address Client Type Client Login Time (UTC) Channel Count unix::11 unix::11 gRPC No...
Command introduced before Junos OS Release 18.2R1.
[]
clear fibre-channel fc2 statistics
clear fibre-channel fc2 statistics <fabric fabric-name>
Clear FC-2 (network layer) Fibre Channel statistics globally or on a specified Fibre Channel fabric.
[ { "name": "fabric fabric-name", "desc": "(Optional) Clear FC-2 statistics only on the specified fabric." } ]
view Sample Output clear fibre-channel fc2 statistics user@switch> clear fibre-channel fc2 statistics
Command introduced in Junos OS Release 11.1.
[]
clear fibre-channel fip enode
clear fibre-channel fip enode enode-mac
Clear Fibre Channel over Ethernet (FCoE) node (ENode) information for a specified ENode. This operation deletes the ENode state from the switch database and from the FIP snooping firewall filters, which causes the ENode to lose the connection to the Fibre Channel (FC) fabric and to log in to the fabric again. If you cl...
[ { "name": "enode-mac", "desc": "MAC address of the ENode." } ]
view Sample Output clear fibre-channel fip enode user@switch> clear fibre-channel fip enode 00:10:94:00:00:02
Command introduced in Junos OS Release 11.1.
[]
clear fibre-channel fip statistics
clear fibre-channel fip statistics <fabric fabric-name>
Clear Fibre Channel over Ethernet (FCoE) initialization protocol (FIP) statistics.
[ { "name": "fabric fabric-name", "desc": "(Optional) Clear FIP statistics only on the specified fabric." } ]
view Sample Output clear fibre-channel fip statistics user@switch> clear fibre-channel fip statistics
Command introduced in Junos OS Release 11.1.
[]
clear fibre-channel fip vn-port
clear fibre-channel fip vn-port vn-port--mac
Clear virtual N_Port (VN_Port) information for a specified VN_Port. This operation deletes the VN_Port state from the switch database and from the FIP snooping firewall filters, which causes the VN_Port to lose its connection to the Fibre Channel fabric and to log in to the fabric again. When you clear a VN_Port, other...
[ { "name": "vn-port-mac", "desc": "MAC address of the VN_Port." } ]
view Sample Output clear fibre-channel fip vn-port user@switch> clear fibre-channel fip vn-port 00:10:94:00:00:08
Command introduced in Junos OS Release 11.1.
[]
clear fibre-channel flogi statistics
clear fibre-channel flogi statistics <fabric fabric-name>
Clear fabric login (FLOGI) statistics globally or on a specified Fibre Channel fabric.
[ { "name": "fabric fabric-name", "desc": "(Optional) Clear FLOGI statistics only on the specified fabric." } ]
view Sample Output clear fibre-channel flogi statistics user@switch> clear fibre-channel flogi statistics
Command introduced in Junos OS Release 11.1.
[]
clear fibre-channel proxy statistics
clear fibre-channel proxy statistics <fabric fabric-name>
Clear Fibre Channel gateway statistics globally or on a specified Fibre Channel fabric.
[ { "name": "fabric fabric-name", "desc": "(Optional) Clear proxy statistics only on the specified fabric." } ]
view Sample Output clear fibre-channel proxy statistics user@switch> clear fibre-channel proxy statistics
Command introduced in Junos OS Release 11.1.
[]
clear fip snooping enode
clear fip snooping satellite enode enode-mac <vlan vlan-name>
Clear FIP snooping information for the specified FCoE Node (ENode) or (optionally) only on a specified FCoE VLAN. This operation deletes the ENode state from the switch database and from the FIP snooping firewall filters, which causes the ENode to lose its connection to the FCoE forwarder (FCF) and to log in to the FCF...
[ { "name": "enode-mac", "desc": "MAC address of the ENode." }, { "name": "vlan vlan-name", "desc": "(Optional) Name of the VLAN." } ]
view Sample Output clear fip snooping enode enode-mac user@switch> clear fip snooping enode 00:10:94:00:00:02
Command introduced in Junos OS Release 10.4. Command introduced with satellite keyword in Junos OS Release 17.4R1 for Junos Fusion Data Center.
[]
clear fip snooping statistics
clear fip snooping satellite statistics <vlan vlan-name>
Clear FIP snooping statistics globally or on a specified VLAN. The command syntax in a Junos Fusion environment includes the satellite keyword and clears FIP snooping information for satellite device FCoE VLANs, which have FCoE and FIP functions and status information distributed between the aggregation devices and sat...
[]
view Sample Output clear fip snooping statistics user@switch> clear fip snooping statistics
Command introduced in Junos OS Release 10.4. Command introduced with satellite keyword in Junos OS Release 17.4R1 for Junos Fusion Data Center.
[]
clear fip snooping vlan
clear fip snooping satellite vlan vlan-name
Clear FIP snooping information for the specified FCoE VLAN. This operation deletes all ENode and FCF information for the specified VLAN from the switch database and causes the ENodes to lose their connections to the FCFs. After clearing a VLAN, the switch relearns all of the FCFs and ENodes on the VLAN, and the ENodes ...
[ { "name": "vlan-name", "desc": "Name of the VLAN." } ]
view Sample Output clear fip snooping vlan vlan-name user@switch> clear fip snooping vlan fcoevlan1
Command introduced in Junos OS Release 10.4. Command introduced with satellite keyword in Junos OS Release 17.4R1 for Junos Fusion Data Center.
[]
clear fip vlan-discovery statistics
clear fip vlan-discovery statistics
Clear FIP VLAN discovery statistics.
[]
view Sample Output clear fip vlan-discovery statistics user@switch> clear fip vlan-discovery statistics
Command introduced in Junos OS Release 12.1.
[]
clear firewall (QFX)
clear firewall (all | counter counter-name | filter filter-name)
Clear statistics provided by firewall filters. NOTE: The clear firewall command cannot be used to clear the Routing Engine filter counters on a backup Routing Engine that is enabled for GRES. When you clear the counters of a filter, this not only impacts the counters shown by the CLI, but also the ones tracked by SNMP ...
[ { "name": "all", "desc": "Clear the packet and byte counts for all firewall filter counters and clear the packet counts for all policer counters." }, { "name": "counter counter-name", "desc": "Clear the packet and byte counts for the specified firewall filter counter." }, { "name": "filt...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear firewall all user@switch> clear firewall all clear firewall counter user@switch> clear firewall counter port-filter-counter clear firewall filter user@switch> clear firewall filter ingress-port-...
Command introduced in Junos OS Release 11.1.
[ "Verifying That Two-Color Policers Are Operational", "Overview of Firewall Filters (QFX Series)", "Overview of Policers" ]
clear firewall
clear firewall (all | counter counter-name | filter filter-name
Clear statistics about configured firewall filters. When you clear the counters of a filter, this impacts not only the counters shown by the CLI, but also the ones tracked by SNMP2. Subscriber management uses firewall filters to capture and report the volume-based service accounting counters that are used for subscribe...
[ { "name": "all", "desc": "Clear the packet and byte counts for all filters. On EX Series switches, this option also clears the packet counts for all policer counters." }, { "name": "counter counter-name", "desc": "Clear the packet and byte counts for a filter counter that has been configured wit...
clear Sample Output clear firewall all user@host> clear firewall all clear firewall (counter counter-name) user@host> clear firewall counter port-filter-counter clear firewall (filter filter-name) user@host> clear firewall filter ingress-port-filter clear firewall (policer counter all) (EX8200 Switch) user@switch> c...
Command introduced before Junos OS Release 7.4. logical-system option introduced in Junos OS Release 9.3. Command introduced in Junos OS Release 11.1. log option introduced before Junos OS Release 11.4.
[ "Verifying That Two-Color Policers Are Operational", "Overview of Firewall Filters (QFX Series)", "Overview of Policers" ]
clear forwarding-options port-mirroring instance family
clear forwarding-options port-mirroring instance instance-name family family-name
Clear the self-mirroring statistics and delete the associated PCAP files.
[ { "name": "family family-name", "desc": "(Optional) Protocol family to which this command is applied." }, { "name": "instance instance-name", "desc": "(Optional) Port-mirroring instance to which this command is applied." } ]
clear Output Fields When you enter this command, you are provided no feedback on the status of your request. You can enter the show forwarding-options port-mirroring self-mirror statistics command to verify the operation. Sample Output clear forwarding-options port-mirroring instance I1 family inet user@host> clear for...
Command introduced in Junos OS Evolved Release 24.2R1.
[]
clear gtp tunnels
clear security gtp tunnel <all | identifier>
Use this command to clear all or specified GTP tunnels on the device.
[ { "name": "all", "desc": "Clears all existing tunnels." }, { "name": "identifier", "desc": "Clears a single tunnel by entering the tunnel ID. To view current tunnel IDs, type show" } ]
clear
Command introduced in Junos OS Release 10.0. Support for GTPv2 added in Junos OS Release 11.4.
[]
clear igmp membership
clear igmp membership <group address-range> <interface interface-name>
Clear Internet Group Management Protocol (IGMP) group members.
[ { "name": "all", "desc": "Clear IGMP members for groups and interfaces in the master instance." }, { "name": "group address-range", "desc": "(Optional) Clear all IGMP members that are in a particular address range. An example of a range is 233.252/16. If you omit the destination prefix length, t...
clear Output Fields See "show igmp group" on page 21047 for an explanation of output fields. Sample Output clear igmp membership all The following sample output displays IGMP group information before and after the clear igmp membership command is entered: user@host> show igmp group Interface Group Last...
Command introduced before Junos OS Release 7.4.
[]
clear igmp snooping membership
clear igmp snooping membership <vlan vlan-name> <group | source address> <instance instance-name> <interface interface-name> <learning-domain learning-domain-name> <logical-system logical-system-name> <vlan-id vlan-identifier>
Clear IGMP snooping dynamic membership information from the multicast forwarding table.
[ { "name": "none", "desc": "Clear IGMP snooping membership for all supported address families on all interfaces." }, { "name": "vlan vlan-name", "desc": "(Optional) Clear dynamic membership information for the specified VLAN." }, { "name": "group | source address", "desc": "(Optional)...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear igmp snooping membership user@host> clear igmp snooping membership
Command introduced in Junos OS Release 8.5.
[]
clear igmp snooping statistics
clear igmp snooping statistics <instance instance-name> <interface interface-name> <learning-domain (all | learning-domain-name)> <logical-system logical-system-name>
Clear IP IGMP snooping statistics.
[ { "name": "none", "desc": "Clear IGMP snooping statistics for all supported address families on all interfaces." }, { "name": "instance instance-name", "desc": "(Optional) Clear IGMP snooping statistics for the specified instance." }, { "name": "interface interface-name", "desc": "(O...
clear Output Fields When you enter this command, you are provided feedback on the status of your request. Sample Output clear igmp snooping statistics user@host> clear igmp snooping statistics
Command introduced in Junos OS Release 8.5.
[]