Junos RPC YANG module for clear command(s)
Version: 2019-01-01
module junos-ex-rpc-clear { yang-version 1; namespace "http://yang.juniper.net/junos-ex/rpc/clear"; prefix clear; import junos-common-types { prefix jt; revision-date "2019-01-01"; } organization "Juniper Networks, Inc."; contact "yang-support@juniper.net"; description "Junos RPC YANG module for clear command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc clear-cli-logical-system { description "Clear logical system association"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cli-logical-system rpc clear-cli-tenant { description "Clear teannt association"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cli-tenant rpc clear-cli-satellite { description "Clear satellite association"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cli-satellite rpc clear-system-commit { description "Clear all pending commit requests"; input { leaf prepared { type empty; description "Clear prepared commit"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-system-commit rpc clear-pending-commit-sync-jobs { description "Clear pending commit synchronize jobs"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pending-commit-sync-jobs rpc clear-system-login-lockout { description "Clear login locks on user accounts"; input { choice lockout-choice { leaf all { type empty; description "Clear login locks on all user acounts"; } leaf user { type string; description "Name of user"; } } // choice lockout-choice } output { choice output_c { leaf output { type string; } anyxml clear-system-login-lockout; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-system-login-lockout rpc clear-pfe-multicast-stat { description "Clear system packet-forwarding-options"; input { leaf multicast-statistics { type empty; description "Clear per route multicast counters"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pfe-multicast-stat rpc clear-reboot { description "Clear all pending halt or reboot requests"; input { uses command-forwarding; leaf both-routing-engines { type empty; description "Clear halt or reboot on both Routing Engines"; } } output { choice output_c { leaf output { type string; } anyxml clear-reboot-status; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-reboot rpc clear-dhcp-binding-information { description "Clear DHCP client binding information"; input { uses command-forwarding; leaf address { type jt:ipaddr; description "Address of DHCP client binding"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-binding-information rpc clear-dhcp-conflict-information { description "Clear DHCP address conflict"; input { uses command-forwarding; leaf address { type jt:ipaddr; description "DHCP conflict address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-conflict-information rpc clear-dhcp-statistics-information { description "Clear DHCP statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-statistics-information rpc clear-subscriber-management-statistics { description "Clear subscriber management statistics"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-subscriber-management-statistics rpc clear-subscriber-management-arp { description "Clear subscriber management arp information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-arp; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-subscriber-management-arp rpc clear-subscriber-management-arp-interface { description "Name of interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-arp-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-subscriber-management-arp-interface rpc clear-subscriber-management-arp-address { description "Ipv4 address"; input { leaf ip-address { type jt:ipv4addr; mandatory true; description "Ipv4 address"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-arp-address; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-subscriber-management-arp-address rpc clear-subscriber-management-ipv6-neighbors { description "Clear subscriber management ipv6 neighbors information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-neighbors; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-subscriber-management-ipv6-neighbors rpc clear-subscriber-management-ipv6-neighbor-interface { description "Name of interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-neighbor-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-subscriber-management-ipv6-neighbor-interface rpc clear-subscriber-management-ipv6-neighbor-address { description "Ipv6 address"; input { leaf interface-name { type jt:ipv6addr; mandatory true; description "Ipv6 address"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-neighbor-address; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-subscriber-management-ipv6-neighbor-address rpc clear-security-alarm-information { description "Clear (acknowledge) security alarms"; input { leaf alarm-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Alarm ID filter"; } leaf-list alarm-type { type enumeration { enum "authentication" { value 0; description "Authentication alarms"; } enum "cryptographic-self-test" { value 1; description "Cryptographic self-test alarms"; } enum "decryption-failures" { value 2; description "Decryption failure alarms"; } enum "encryption-failures" { value 3; description "Encryption failure alarms"; } enum "ike-phase1-failures" { value 4; description "IKE Phase 1 failure alarms"; } enum "ike-phase2-failures" { value 5; description "IKE Phase 2 failure alarms"; } enum "key-generation-self-test" { value 6; description "Key generation self-test alarms"; } enum "non-cryptographic-self-test" { value 7; description "Non-cryptographic self-test alarms"; } enum "policy" { value 8; description "Policy alarms"; } enum "replay-attacks" { value 9; description "Replay attack alarms"; } enum "idp" { value 10; description "IDP attack alarms"; } } ordered-by user; description "Alarm type filter"; } leaf newer-than { type jt:time; description "Alarms newer than filter (YYYY-MM-DD.HH:MM:SS)"; } leaf older-than { type jt:time; description "Alarms older than filter (YYYY-MM-DD.HH:MM:SS)"; } leaf process { type string; description "Process that generated the alarm filter"; } leaf severity { type enumeration { enum "alert" { value 0; description "Alert severity"; } enum "crit" { value 1; description "Critical severity"; } enum "debug" { value 2; description "Debug severity"; } enum "emerg" { value 3; description "Emergency severity"; } enum "err" { value 4; description "Error severity"; } enum "info" { value 5; description "Information severity"; } enum "notice" { value 6; description "Notice severity"; } enum "warning" { value 7; description "Warning severity"; } } description "Severity of the alarm filter"; } leaf all { type empty; description "Clear (acknowledge) all security alarms"; } } output { choice output_c { leaf output { type string; } anyxml clear-security-alarm-results; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-security-alarm-information rpc clear-security-log-information { description "Clear auditable security logs"; input { leaf destination-address { type jt:ipprefix-optional; description "Destination address and optional prefix length"; } leaf destination-port { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Destination port"; } leaf event-id { type string; description "Event ID filter"; } leaf interface-name { type string; description "Name of interface"; } leaf older-than { type jt:time; description "Events older than filter (YYYY-MM-DD.HH:MM:SS)"; } leaf policy-name { type string; description "Policy name filter"; } leaf process { type string; description "Process that generated the event"; } leaf protocol { type string; description "Protocol filter"; } leaf newer-than { type jt:time; description "Events newer than filter (YYYY-MM-DD.HH:MM:SS)"; } leaf result { type enumeration { enum "failure" { value 0; description "Event was a failure"; } enum "success" { value 1; description "Event was successful"; } } } leaf severity { type enumeration { enum "alert" { value 0; description "Alert severity"; } enum "crit" { value 1; description "Critical severity"; } enum "debug" { value 2; description "Debug severity"; } enum "emerg" { value 3; description "Emergency severity"; } enum "err" { value 4; description "Error severity"; } enum "info" { value 5; description "Information severity"; } enum "notice" { value 6; description "Notice severity"; } enum "warning" { value 7; description "Warning severity"; } } description "Severity of the event"; } leaf source-address { type jt:ipprefix-optional; description "Source address and optional prefix length"; } leaf source-port { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Source port"; } leaf username { type string; description "Username filter"; } leaf all { type empty; description "Clear all security log entries"; } } output { choice output_c { leaf output { type string; } anyxml clear-security-log-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-security-log-information rpc clear-pki-certificate-request { description "Clear router certificate request"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice certificate-request-choice { leaf certificate-id { type string { length "1 .. 32"; } description "Certificate identifier"; } leaf all { type empty; description "Clear all certificate requests"; } } // choice certificate-request-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pki-certificate-request rpc clear-pki-ca-certificate { description "Clear CA/RA certificate"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice ca-choice { leaf ca-profile { type string { length "1 .. 32"; } description "Certificate authority profile"; } leaf ca-profile-group { type string { length "1 .. 32"; } description "Clear CA profile group"; } leaf all { type empty; description "Clear all CA certificates"; } } // choice ca-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pki-ca-certificate rpc clear-node-local-certificate-request { description "Clear router certificate request"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice certificate-request-choice { leaf certificate-id { type string { length "1 .. 32"; } description "Certificate identifier"; } leaf all { type empty; description "Clear all certificate requests"; } } // choice certificate-request-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-node-local-certificate-request rpc clear-node-local-local-certificate { description "Clear local certificate"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice certificate-choice { leaf certificate-id { type string { length "1 .. 32"; } description "Certificate identifier"; } leaf system-generated { type empty; description "Clear autogenerated self-signed certificate"; } leaf all { type empty; description "Clear all local certificates"; } } // choice certificate-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-node-local-local-certificate rpc clear-pki-node-local-key-pair { description "Clear key pair"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice certificate-choice { leaf certificate-id { type string { length "1 .. 32"; } description "Certificate identifier"; } leaf all { type empty; description "Clear all local certificates"; } } // choice certificate-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pki-node-local-key-pair rpc clear-pki-key-pair { description "Clear key pair"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice certificate-choice { leaf certificate-id { type string { length "1 .. 32"; } description "Certificate identifier"; } leaf all { type empty; description "Clear all local certificates"; } } // choice certificate-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pki-key-pair rpc clear-pki-local-certificate { description "Clear local certificate"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice certificate-choice { leaf certificate-id { type string { length "1 .. 32"; } description "Certificate identifier"; } leaf system-generated { type empty; description "Clear autogenerated self-signed certificate"; } leaf all { type empty; description "Clear all local certificates"; } } // choice certificate-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pki-local-certificate rpc clear-pki-crl { description "Clear certificate revocation list"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select choice ca-choice { leaf ca-profile { type string { length "1 .. 32"; } description "Certificate authority profile"; } leaf all { type empty; description "Clear all CRLs"; } } // choice ca-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pki-crl rpc clear-gvpn-ipsec-security-association { description "Clear IPSec dynamic security associations"; input { uses command-forwarding; leaf index { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "10001 .. 20000"; } } description "Index of security association"; } leaf group-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 4294967295"; } } description "Group VPN identification number"; } leaf service-set { type string; description "Service set name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-gvpn-ipsec-security-association rpc clear-gvpn-ipsec-security-association-statistics { description "Clear IPSec security associations statistics"; input { leaf group-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 4294967295"; } } description "Group VPN identification number"; } leaf service-set { type string; description "Service set name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-gvpn-ipsec-security-association-statistics rpc clear-gvpn-ipsec-statistics { description "Clear Group VPN IPSec statistics"; input { uses command-forwarding; leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } leaf pic { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PIC slot number"; } leaf index { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "10001 .. 20000"; } } description "Index of security association"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-gvpn-ipsec-statistics rpc clear-group-vpn-ike-security-associations { description "Clear group VPN IKE security associations"; input { uses command-forwarding; leaf service-set { type string; description "Service set name"; } leaf peer-address { type jt:ipaddr; description "IP address of the peer"; } leaf index { type union { type uint32; type string { pattern "<.*>|$.*"; } } default "0"; description "Index of security association"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-group-vpn-ike-security-associations rpc clear-gvpn-group-information { description "Clear IPSec Group VPN"; input { uses command-forwarding; leaf group-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 4294967295"; } } description "Group VPN identification number"; } leaf vpn { type string { length "1 .. 32"; } description "Group VPN Name"; } leaf service-set { type string; description "Service set name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-gvpn-group-information rpc clear-mka-statistics { description "Clear MKA statistics information"; output { choice output_c { leaf output { type string; } anyxml mka-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mka-statistics rpc clear-mka-interface-statistics { description "Clear MKA statistics information on this interface"; input { choice interface-choice { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } leaf all { type string; description "Clear mka statistics of all interfaces"; } } // choice interface-choice } output { choice output_c { leaf output { type string; } anyxml mka-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mka-interface-statistics rpc clear-log { description "Clear contents of log file"; input { leaf filename { type string; mandatory true; description "Name of log file"; } leaf all { type empty; description "Also delete all archive (.gz) files for specified file"; } leaf tenant { type string; description "Name of tenant"; } leaf logical-system { type string; description "Name of logical system"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-log rpc clear-log-sset { description "Name of service-set"; input { leaf filename { type string; mandatory true; description "Name of log file"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-log-sset rpc clear-log-pics { description "Name of interface"; input { leaf filename { type string; mandatory true; description "Name of log file"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-log-pics rpc clear-request-response-clients { description "Clear client sessions"; input { leaf client-id { type string; mandatory true; description "Client ID of session to be terminated"; } } output { choice output_c { leaf output { type string; } anyxml clear-request-response-client-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-request-response-clients rpc clear-rfc2544-information { description "Clear rfc2544 information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-rfc2544-information rpc clear-active-tests-information { description "Clear rfc2544 active tests"; input { leaf test-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Test id"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-active-tests-information rpc clear-aborted-tests-information { description "Clear rfc2544 aborted tests"; input { leaf test-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Test id"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aborted-tests-information rpc clear-completed-tests-information { description "Clear rfc2544 completed tests"; input { leaf test-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Test id"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-completed-tests-information rpc clear-services-ipsec-vpn-security-associations { description "Clear IPSec dynamic security associations"; input { leaf service-set { type string; description "Name of service set"; } leaf tunnel-index { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Tunnel index"; } leaf remote-gateway { type jt:ipaddr; description "Peer address to use as filter"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-services-ipsec-vpn-security-associations rpc clear-ipsec-vpn-statistics { description "Clear IPSec statistics"; input { leaf remote-gateway { type string; description "Peer address to use as filter"; } leaf service-set { type string; description "Name of service set"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ipsec-vpn-statistics rpc clear-services-ike-security-associations { description "Clear IKE security associations"; input { leaf peer-address { type jt:ipaddr; description "Name of security association"; } leaf routing-instance { type string; description "Name of the local-gateway routing-instance"; } leaf service-set { type string; description "Name of service set"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-services-ike-security-associations rpc clear-services-ike-statistics { description "Clear IKE security associations statistics"; input { leaf peer-address { type jt:ipaddr; description "Name of security association"; } leaf routing-instance { type string; description "Name of the local-gateway routing-instance"; } leaf service-set { type string; description "Name of service set"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-services-ike-statistics rpc clear-ipsec-certificates-service-set { description "Clear certificates for one or all service sets"; input { choice specific-or-all-service-set { leaf service-set { type string; description "Name of service set for which to clear certificates"; } leaf all { type empty; description "Clear all local and remote certificates"; } } // choice specific-or-all-service-set leaf certificate-cache-entry { type union { type int32; type string { pattern "<.*>|$.*"; } } description "Certificate entry present in the cache"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ipsec-certificates-service-set rpc clear-service-accounting-information { description "Clear service accouting information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-accounting-information rpc clear-service-accounting-statistics { description "Clear all statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-accounting-statistics rpc clear-service-accouting-flow { description "Clear service accouting flows"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-accouting-flow rpc clear-service-video-monitoring-information { description "Clear video monitoring service related counters"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-video-monitoring-information rpc clear-service-video-monitoring-mdi-information { description "Clear video monitoring mdi counters"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-video-monitoring-mdi-information rpc clear-service-video-monitoring-mdi-statistics { description "Clear all statistics"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC Slot number"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-video-monitoring-mdi-statistics rpc clear-service-video-monitoring-mdi-errors { description "Clear all error counters"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC Slot number"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-video-monitoring-mdi-errors rpc clear-service-video-monitoring-mdi-alarm-information { description "Clear video monitoring mdi alarm counters"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-video-monitoring-mdi-alarm-information rpc clear-services-video-monitoring-mdi-alarm-statistics { description "Clear all statistics"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC Slot number"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-services-video-monitoring-mdi-alarm-statistics rpc clear-services-video-monitoring-mdi-alarm-errors { description "Clear all errors"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC Slot number"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-services-video-monitoring-mdi-alarm-errors rpc request-clear-inline-monitoring { description "Clear inline-monitoring counters"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc request-clear-inline-monitoring rpc request-clear-inline-monitoring-statistics { description "Clear statistics"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC Slot number"; } leaf instance-name { type string; description "Instance name"; } leaf collector-name { type string; description "Collector name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc request-clear-inline-monitoring-statistics rpc clear-service-msp-flow-table-information { description "Remove established flows from flow table"; input { leaf source-prefix { type string; description "Source prefix to use as filter"; } leaf destination-prefix { type string; description "Destination prefix to use as filter"; } leaf source-port { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "Source port to use as filter"; } leaf destination-port { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "Destination port to use as filter"; } leaf protocol { type string; description "IP protocol type to use as filter"; } leaf service-set { type string; description "Name of service set"; } leaf interface { type string; description "Name of extension provider interface"; } leaf application-protocol { type enumeration { enum "bootp" { value 0; description "Bootstrap protocol"; } enum "dce-rpc" { value 1; description "DCE RPC"; } enum "dce-rpc-portmap" { value 2; description "DCE RPC portmap"; } enum "dns" { value 3; description "Domain Name Service"; } enum "exec" { value 4; description "Remote Execution Protocol"; } enum "ftp" { value 5; description "File Transfer Protocol"; } enum "ftp-data" { value 6; description "File Transfer Protocol Data Session"; } enum "gprs-gtp-c" { value 7; description "GPRS Tunneling Control Plane"; } enum "gprs-gtp-u" { value 8; description "GPRS Tunneling User Plane"; } enum "gprs-gtp-v0" { value 9; description "GPRS Tunneling Version 0"; } enum "gprs-sctp" { value 10; description "GPRS Stream Control Protocol"; } enum "h323" { value 11; description "H.323"; } enum "icmp" { value 12; description "ICMP"; } enum "icmpv6" { value 13; description "ICMPv6"; } enum "ignore" { value 14; description "Ignore application type"; } enum "iiop" { value 15; description "Internet Inter-ORB Protocol"; } enum "ike-esp-nat" { value 16; description "IKE/ESP with NAT"; } enum "ip" { value 17; description "IP"; } enum "login" { value 18; description "Login"; } enum "mgcp-ca" { value 19; description "MGCP-CA"; } enum "mgcp-ua" { value 20; description "MGCP-UA"; } enum "ms-rpc" { value 21; description "Microsoft RPC"; } enum "netbios" { value 22; description "NetBIOS"; } enum "netshow" { value 23; description "NetShow"; } enum "none" { value 24; description "None"; } enum "pptp" { value 25; description "Point-to-Point Tunneling Protocol"; } enum "q931" { value 26; description "Q.931"; } enum "ras" { value 27; description "RAS"; } enum "realaudio" { value 28; description "RealAudio"; } enum "rpc" { value 29; description "RPC"; } enum "rpc-portmap" { value 30; description "RPC portmap"; } enum "rsh" { value 31; description "Remote Shell"; } enum "rtsp" { value 32; description "Real Time Streaming Protocol"; } enum "sccp" { value 33; description "Skinny Client Control Protocol"; } enum "sip" { value 34; description "Session Initiation Protocol"; } enum "shell" { value 35; description "Shell"; } enum "snmp" { value 36; description "SNMP"; } enum "sqlnet" { value 37; description "SQLNet"; } enum "sqlnet-v2" { value 38; description "Oracle SQL*Net Version 2"; } enum "sun-rpc" { value 39; description "Sun Microsystems RPC"; } enum "talk" { value 40; description "Talk Program"; } enum "tftp" { value 41; description "Trivial File Transfer Protocol"; } enum "traceroute" { value 42; description "Traceroute"; } enum "http" { value 43; description "Hypertext Transfer Protocol"; } enum "winframe" { value 44; description "WinFrame"; } enum "https" { value 45; description "Hypertext Transfer Protocol"; } enum "imap" { value 46; description "Internet Mail Access Protocol"; } enum "smtp" { value 47; description "Simple Mail Transfer Protocol"; } enum "ssh" { value 48; description "Secure Shell Protocol"; } enum "telnet" { value 49; description "Telnet Protocol"; } enum "twamp" { value 50; description "Two Way Active Meaurement Protocol"; } enum "pop3" { value 51; description "Post Office Protocol 3 Protocol"; } enum "smtps" { value 52; description "Simple Mail Transfer Protocol Over TLS"; } enum "imaps" { value 53; description "Internet Mail Access Protocol Over TLS"; } enum "pop3s" { value 54; description "Post Office Protocol 3 Protocol Over TLS"; } } description "Application protocol type to use as filter"; } } output { choice output_c { leaf output { type string; } anyxml service-msp-flow-drain-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-msp-flow-table-information rpc clear-service-msp-session-table-information { description "Remove established sessions from sessions table"; input { leaf source-prefix { type string; description "Source prefix to use as filter"; } leaf destination-prefix { type string; description "Destination prefix to use as filter"; } leaf source-port { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "Source port to use as filter"; } leaf destination-port { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "Destination port to use as filter"; } leaf protocol { type string; description "IP protocol type to use as filter"; } leaf service-set { type string; description "Name of service set"; } leaf interface { type string; description "Name of extension provider interface"; } leaf application-protocol { type enumeration { enum "bootp" { value 0; description "Bootstrap protocol"; } enum "dce-rpc" { value 1; description "DCE RPC"; } enum "dce-rpc-portmap" { value 2; description "DCE RPC portmap"; } enum "dns" { value 3; description "Domain Name Service"; } enum "exec" { value 4; description "Remote Execution Protocol"; } enum "ftp" { value 5; description "File Transfer Protocol"; } enum "ftp-data" { value 6; description "File Transfer Protocol Data Session"; } enum "gprs-gtp-c" { value 7; description "GPRS Tunneling Control Plane"; } enum "gprs-gtp-u" { value 8; description "GPRS Tunneling User Plane"; } enum "gprs-gtp-v0" { value 9; description "GPRS Tunneling Version 0"; } enum "gprs-sctp" { value 10; description "GPRS Stream Control Protocol"; } enum "h323" { value 11; description "H.323"; } enum "icmp" { value 12; description "ICMP"; } enum "icmpv6" { value 13; description "ICMPv6"; } enum "ignore" { value 14; description "Ignore application type"; } enum "iiop" { value 15; description "Internet Inter-ORB Protocol"; } enum "ike-esp-nat" { value 16; description "IKE/ESP with NAT"; } enum "ip" { value 17; description "IP"; } enum "login" { value 18; description "Login"; } enum "mgcp-ca" { value 19; description "MGCP-CA"; } enum "mgcp-ua" { value 20; description "MGCP-UA"; } enum "ms-rpc" { value 21; description "Microsoft RPC"; } enum "netbios" { value 22; description "NetBIOS"; } enum "netshow" { value 23; description "NetShow"; } enum "none" { value 24; description "None"; } enum "pptp" { value 25; description "Point-to-Point Tunneling Protocol"; } enum "q931" { value 26; description "Q.931"; } enum "ras" { value 27; description "RAS"; } enum "realaudio" { value 28; description "RealAudio"; } enum "rpc" { value 29; description "RPC"; } enum "rpc-portmap" { value 30; description "RPC portmap"; } enum "rsh" { value 31; description "Remote Shell"; } enum "rtsp" { value 32; description "Real Time Streaming Protocol"; } enum "sccp" { value 33; description "Skinny Client Control Protocol"; } enum "sip" { value 34; description "Session Initiation Protocol"; } enum "shell" { value 35; description "Shell"; } enum "snmp" { value 36; description "SNMP"; } enum "sqlnet" { value 37; description "SQLNet"; } enum "sqlnet-v2" { value 38; description "Oracle SQL*Net Version 2"; } enum "sun-rpc" { value 39; description "Sun Microsystems RPC"; } enum "talk" { value 40; description "Talk Program"; } enum "tftp" { value 41; description "Trivial File Transfer Protocol"; } enum "traceroute" { value 42; description "Traceroute"; } enum "http" { value 43; description "Hypertext Transfer Protocol"; } enum "winframe" { value 44; description "WinFrame"; } enum "https" { value 45; description "Hypertext Transfer Protocol"; } enum "imap" { value 46; description "Internet Mail Access Protocol"; } enum "smtp" { value 47; description "Simple Mail Transfer Protocol"; } enum "ssh" { value 48; description "Secure Shell Protocol"; } enum "telnet" { value 49; description "Telnet Protocol"; } enum "twamp" { value 50; description "Two Way Active Meaurement Protocol"; } enum "pop3" { value 51; description "Post Office Protocol 3 Protocol"; } enum "smtps" { value 52; description "Simple Mail Transfer Protocol Over TLS"; } enum "imaps" { value 53; description "Internet Mail Access Protocol Over TLS"; } enum "pop3s" { value 54; description "Post Office Protocol 3 Protocol Over TLS"; } } description "Application protocol type to use as filter"; } } output { choice output_c { leaf output { type string; } anyxml service-msp-session-drain-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-msp-session-table-information rpc clear-service-msp-session-analysis-information { description "Clear service session analysis counter statistics"; input { leaf interface { type string; description "Name of extension provider interface"; } } output { choice output_c { leaf output { type string; } anyxml clear-service-msp-session-analysis-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-msp-session-analysis-information rpc clear-service-msp-subscriber-analyis-counters-information { description "Remove established subscriber analysis counters"; input { leaf source-prefix { type string; description "Source prefix to use as filter"; } leaf destination-prefix { type string; description "Destination prefix to use as filter"; } leaf source-port { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "Source port to use as filter"; } leaf destination-port { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "Destination port to use as filter"; } leaf protocol { type string; description "IP protocol type to use as filter"; } leaf service-set { type string; description "Name of service set"; } leaf interface { type string; description "Name of extension provider interface"; } leaf application-protocol { type enumeration { enum "bootp" { value 0; description "Bootstrap protocol"; } enum "dce-rpc" { value 1; description "DCE RPC"; } enum "dce-rpc-portmap" { value 2; description "DCE RPC portmap"; } enum "dns" { value 3; description "Domain Name Service"; } enum "exec" { value 4; description "Remote Execution Protocol"; } enum "ftp" { value 5; description "File Transfer Protocol"; } enum "ftp-data" { value 6; description "File Transfer Protocol Data Session"; } enum "gprs-gtp-c" { value 7; description "GPRS Tunneling Control Plane"; } enum "gprs-gtp-u" { value 8; description "GPRS Tunneling User Plane"; } enum "gprs-gtp-v0" { value 9; description "GPRS Tunneling Version 0"; } enum "gprs-sctp" { value 10; description "GPRS Stream Control Protocol"; } enum "h323" { value 11; description "H.323"; } enum "icmp" { value 12; description "ICMP"; } enum "icmpv6" { value 13; description "ICMPv6"; } enum "ignore" { value 14; description "Ignore application type"; } enum "iiop" { value 15; description "Internet Inter-ORB Protocol"; } enum "ike-esp-nat" { value 16; description "IKE/ESP with NAT"; } enum "ip" { value 17; description "IP"; } enum "login" { value 18; description "Login"; } enum "mgcp-ca" { value 19; description "MGCP-CA"; } enum "mgcp-ua" { value 20; description "MGCP-UA"; } enum "ms-rpc" { value 21; description "Microsoft RPC"; } enum "netbios" { value 22; description "NetBIOS"; } enum "netshow" { value 23; description "NetShow"; } enum "none" { value 24; description "None"; } enum "pptp" { value 25; description "Point-to-Point Tunneling Protocol"; } enum "q931" { value 26; description "Q.931"; } enum "ras" { value 27; description "RAS"; } enum "realaudio" { value 28; description "RealAudio"; } enum "rpc" { value 29; description "RPC"; } enum "rpc-portmap" { value 30; description "RPC portmap"; } enum "rsh" { value 31; description "Remote Shell"; } enum "rtsp" { value 32; description "Real Time Streaming Protocol"; } enum "sccp" { value 33; description "Skinny Client Control Protocol"; } enum "sip" { value 34; description "Session Initiation Protocol"; } enum "shell" { value 35; description "Shell"; } enum "snmp" { value 36; description "SNMP"; } enum "sqlnet" { value 37; description "SQLNet"; } enum "sqlnet-v2" { value 38; description "Oracle SQL*Net Version 2"; } enum "sun-rpc" { value 39; description "Sun Microsystems RPC"; } enum "talk" { value 40; description "Talk Program"; } enum "tftp" { value 41; description "Trivial File Transfer Protocol"; } enum "traceroute" { value 42; description "Traceroute"; } enum "http" { value 43; description "Hypertext Transfer Protocol"; } enum "winframe" { value 44; description "WinFrame"; } enum "https" { value 45; description "Hypertext Transfer Protocol"; } enum "imap" { value 46; description "Internet Mail Access Protocol"; } enum "smtp" { value 47; description "Simple Mail Transfer Protocol"; } enum "ssh" { value 48; description "Secure Shell Protocol"; } enum "telnet" { value 49; description "Telnet Protocol"; } enum "twamp" { value 50; description "Two Way Active Meaurement Protocol"; } enum "pop3" { value 51; description "Post Office Protocol 3 Protocol"; } enum "smtps" { value 52; description "Simple Mail Transfer Protocol Over TLS"; } enum "imaps" { value 53; description "Internet Mail Access Protocol Over TLS"; } enum "pop3s" { value 54; description "Post Office Protocol 3 Protocol Over TLS"; } } description "Application protocol type to use as filter"; } } output { choice output_c { leaf output { type string; } anyxml service-msp-subscriber-analysis-counters-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-msp-subscriber-analyis-counters-information rpc clear-service-subscriber-analysis-information { description "Clear service subscribers counter statistics"; input { leaf interface { type string; description "Name of extension provider interface"; } } output { choice output_c { leaf output { type string; } anyxml clear-msp-service-subscriber-analysis-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-subscriber-analysis-information rpc clear-service-pcp-epoch { description "Clear pcp epoch information"; input { leaf interface { type string; description "Name of adaptive services interface"; } leaf server-name { type string; description "Server name"; } } output { choice output_c { leaf output { type string; } anyxml service-pcp-epoch-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-pcp-epoch rpc clear-service-pcp-statistics { description "Clear PCP statistics"; input { leaf interface { type string; description "Name of adaptive services interface"; } } output { choice output_c { leaf output { type string; } anyxml service-pcp-statistics-drain-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-service-pcp-statistics rpc clear-dhcp-service-statistics-information { description "Clear DHCP service statistics"; input { leaf interface { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-service-statistics-information rpc clear-dhcp-relay-binding-information { description "Clear DHCP client binding information"; input { choice binding-clear-choice { leaf address { type string; description "IP address or MAC address or Session Id of DHCP client binding"; } leaf interfaces-wildcard { type string; description "Interfaces to clear bindings on (can be '*' wildcard)"; } leaf interfaces-vlan { type string; description "Interface VLAN-ID/SVLAN-ID on which to clear bindings"; } leaf all { type empty; description "Clear all bindings"; } } // choice binding-clear-choice leaf routing-instance { type string; description "Name of routing instance"; } leaf bridge-domain { type string; description "Name of bridge domain"; } choice force_choice { leaf dual-stack { type empty; description "Clear dual stack bindings"; } } // choice force_choice choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-relay-binding-information rpc clear-dhcp-interface-bindings { description "Name of interface on which to clear bindings"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-interface-bindings rpc clear-dhcp-relay-statistics-information { description "Clear DHCP statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } leaf bridge-domain { type string; description "Name of bridge domain"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-relay-statistics-information rpc clear-dhcp-relay-leasequery-statistics { description "Clear DHCP relay leasequery statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-relay-leasequery-statistics rpc clear-dhcp-relay-bulk-leasequery-conn-statistics { description "Clear DHCP relay bulk leasequery conn statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-relay-bulk-leasequery-conn-statistics rpc clear-dhcp-relay-lockout-entries-information { description "Clear DHCP lockout entries"; input { choice clear-lockout-entry { leaf index { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Clear lockout entry by index"; } leaf all { type empty; description "Clear all lockout entry"; } } // choice clear-lockout-entry leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-relay-lockout-entries-information rpc clear-dhcp-relay-alq-information-statistics-peer { description "Clear active-leasequery peer statistics"; input { leaf peer-address { type jt:ipaddr; mandatory true; description "Active-leasequery peer address"; } leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-relay-alq-information-statistics-peer rpc clear-dhcp-relay-alq-info-statistics-interface { description "Clear active-leasequery interface statistics"; input { leaf interface-name { type string; mandatory true; description "Active-leasequery interface name"; } leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-relay-alq-info-statistics-interface rpc clear-dhcp-server-binding-information { description "Clear DHCP client binding information"; input { choice binding-clear-choice { leaf address { type string; description "IP address or MAC address or Session Id of DHCP client binding"; } leaf interfaces-wildcard { type string; description "Interfaces to clear bindings on (can be '*' wildcard)"; } leaf interfaces-vlan { type string; description "Interface VLAN-ID/SVLAN-ID on which to clear bindings"; } leaf all { type empty; description "Clear all bindings"; } } // choice binding-clear-choice leaf routing-instance { type string; description "Name of routing instance"; } choice force_choice { leaf dual-stack { type empty; description "Clear dual stack bindings"; } } // choice force_choice choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-server-binding-information rpc clear-dhcp-server-binding-interface { description "Name of interface on which to clear bindings"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-server-binding-interface rpc clear-server-statistics-information { description "Clear DHCP server statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-server-statistics-information rpc clear-dhcp-server-bulk-leasequery-statistics { description "Show DHCP server bulk leasequeery statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-server-bulk-leasequery-statistics rpc clear-dhcp-server-lockout-entries-information { description "Clear DHCP lockout entries"; input { choice clear-lockout-entry { leaf index { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Clear lockout entry by index"; } leaf all { type empty; description "Clear all lockout entry"; } } // choice clear-lockout-entry leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-server-lockout-entries-information rpc clear-dhcp-client-binding-information { description "Clear DHCP client binding information"; input { choice binding-clear-choice { leaf interface { type string; description "Name of interface"; } leaf all { type empty; description "Clear all bindings"; } } // choice binding-clear-choice leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-client-binding-information rpc clear-client-statistics-information { description "Clear DHCP client statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-client-statistics-information rpc clear-proxy-client-statistics-information { description "Clear DHCP client statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-proxy-client-statistics-information rpc clear-dhcpv6-service-statistics-information { description "Clear DHCPv6 service statistics"; input { leaf interface { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-service-statistics-information rpc clear-dhcpv6-relay-binding-information { description "Clear DHCPv6 client binding information"; input { choice binding-clear-choice { leaf address { type string; description "IPv6 Prefix, session-id or CID of DHCPv6 client binding"; } leaf interfaces-wildcard { type string; description "Interfaces to clear bindings on (can be '*' wildcard)"; } leaf interfaces-vlan { type string; description "Interface VLAN-ID/SVLAN-ID on which to clear bindings"; } leaf all { type empty; description "Clear all bindings"; } } // choice binding-clear-choice leaf routing-instance { type string; description "Name of routing instance"; } choice force_choice { leaf dual-stack { type empty; description "Clear dual stack bindings"; } } // choice force_choice choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-binding-information rpc clear-dhcpv6-relay-binding-interface { description "Name of interface on which to clear bindings"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-binding-interface rpc clear-dhcpv6-relay-statistics-information { description "Clear DHCPv6 relay statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-statistics-information rpc clear-dhcpv6-relay-leasequery-statistics { description "Clear DHCP relay leasequery statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-leasequery-statistics rpc clear-dhcpv6-relay-bulk-leasequery-conn-statistics { description "Clear DHCP relay bulk leasequery conn statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-bulk-leasequery-conn-statistics rpc clear-dhcpv6-relay-lockout-entries-information { description "Clear DHCP lockout entries"; input { choice clear-lockout-entry { leaf index { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Clear lockout entry by index"; } leaf all { type empty; description "Clear all lockout entry"; } } // choice clear-lockout-entry leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-lockout-entries-information rpc clear-dhcpv6-relay-alq-info-statistics-peer { description "Clear active-leasequery peer statistics"; input { leaf peer-address { type jt:ipaddr; mandatory true; description "Active-leasequery peer address"; } leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-alq-info-statistics-peer rpc clear-dhcpv6-relay-alq-info-statistics-interface { description "Clear active-leasequery interface statistics"; input { leaf interface-name { type string; mandatory true; description "Active-leasequery interface name"; } leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-relay-alq-info-statistics-interface rpc clear-dhcpv6-server-binding-information { description "Clear DHCPv6 client binding information"; input { choice binding-clear-choice { leaf address { type string; description "IPv6 Prefix, session-id or CID of DHCPv6 client binding"; } leaf interfaces-wildcard { type string; description "Interfaces to clear bindings on (can be '*' wildcard)"; } leaf interfaces-vlan { type string; description "Interface VLAN-ID/SVLAN-ID on which to clear bindings"; } leaf all { type empty; description "Clear all bindings"; } } // choice binding-clear-choice leaf routing-instance { type string; description "Name of routing instance"; } choice force_choice { leaf dual-stack { type empty; description "Clear dual stack bindings"; } } // choice force_choice choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-server-binding-information rpc clear-dhcpv6-server-binding-interface { description "Name of interface on which to clear bindings"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-server-binding-interface rpc clear-dhcpv6-server-statistics-information { description "Clear DHCPv6 server statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-server-statistics-information rpc clear-dhcpv6-server-bulk-leasequery-statistics { description "Show DHCP server bulk leasequeery statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-server-bulk-leasequery-statistics rpc clear-dhcpv6-server-lockout-entries-information { description "Clear DHCP lockout entries"; input { choice clear-lockout-entry { leaf index { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Clear lockout entry by index"; } leaf all { type empty; description "Clear all lockout entry"; } } // choice clear-lockout-entry leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-server-lockout-entries-information rpc clear-dhcpv6-client-binding-information { description "Clear DHCPV6 client binding information"; input { choice binding-clear-choice { leaf interface { type string; description "Name of interface"; } leaf all { type empty; description "Clear all bindings"; } } // choice binding-clear-choice leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-client-binding-information rpc clear-dhcpv6-client-statistics-information { description "Clear DHCPV6 client statistics"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcpv6-client-statistics-information rpc clear-dhcp-security-binding { description "Clear dhcp-security bindings"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-binding rpc clear-dhcp-security-binding-interface { description "Name of interface on which to clear bindings"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-binding-interface rpc clear-dhcp-security-binding-vlan { description "Name of vlan on which to clear bindings"; input { leaf vlan-name { type string; mandatory true; description "Name of vlan"; } leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-binding-vlan rpc clear-dhcp-security-binding-ip-address { description "Ip-address to clear bindings"; input { leaf ip-address { type jt:ipv4addr; mandatory true; description "Ip-address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-binding-ip-address rpc clear-dhcp-security-binding-statistics { description "Clear DHCP snooping statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-binding-statistics rpc clear-dhcp-security-ipv6-binding { description "Clear DHCPv6 security bindings"; input { leaf all { type empty; description "Clear all bindings"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-ipv6-binding rpc clear-dhcp-security-ipv6-binding-interface { description "Name of interface on which to clear bindings"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-ipv6-binding-interface rpc clear-dhcp-security-ipv6-binding-vlan { description "Name of vlan on which to clear bindings"; input { leaf vlan-name { type string; mandatory true; description "Name of vlan"; } leaf routing-instance { type string; description "Name of routing instance"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-ipv6-binding-vlan rpc clear-dhcp-security-binding-ipv6-address { description "IPv6 address to clear bindings"; input { leaf ipv6-address { type jt:ipv6addr; mandatory true; description "IPv6 address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-binding-ipv6-address rpc clear-dhcp-v6-security-statistics { description "Clear DHCPv6 security statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-v6-security-statistics rpc clear-dhcp-security-statistics { description "Clear DHCP security statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dhcp-security-statistics rpc clear-lacp-statistics { description "Clear LACP statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lacp-statistics rpc clear-lacp-interface-statistics { description "Clear LACP interface statistics"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lacp-interface-statistics rpc clear-lacp-timeouts { description "Clear LACP timeout information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lacp-timeouts rpc clear-lacp-interface-timeouts { description "Clear LACP interface timeouts"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lacp-interface-timeouts rpc clear-lfmd-statistics { description "Clear link-fault-management statistics"; input { leaf interface-name { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml lfmd-clear-output; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lfmd-statistics rpc clear-lfmd-action-profile-statistics { description "Clear link-fault-management action-profile statistics"; input { leaf action-profile-name { type string { length "1 .. 32"; } mandatory true; description "Name of the action profile to clear"; } } output { choice output_c { leaf output { type string; } anyxml lfmd-clear-output; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lfmd-action-profile-statistics rpc clear-lfmd-state { description "Clear link-fault-management state and restart discovery"; input { leaf interface-name { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml lfmd-clear-output; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lfmd-state rpc clear-cfm-continuity-measurement { description "Clear continuity-measurement information"; input { leaf maintenance-domain { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance association"; } leaf local-mep { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 8191"; } } description "Identifier for local maintenance endpoint"; } leaf remote-mep { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 8191"; } } description "Identifier for remote maintenance endpoint"; } } output { choice output_c { leaf output { type string; } anyxml cfmd-clear-continuity-measurement; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-continuity-measurement rpc clear-cfm-delay-statistics { description "Clear Ethernet OAM delay statistics"; input { leaf ethdm-type { type enumeration { enum "one-way" { value 0; description "One-way delay measurement"; } enum "two-way" { value 1; description "Two-way delay measurement"; } } } leaf maintenance-domain { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance association"; } leaf local-mep { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 8191"; } } description "Identifier for local maintenance endpoint"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml cfmd-clear-delay-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-delay-statistics rpc clear-cfm-loss-statistics { description "Clear Ethernet OAM loss statistics"; input { leaf maintenance-domain { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance association"; } leaf local-mep { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 8191"; } } description "Identifier for local maintenance endpoint"; } } output { choice output_c { leaf output { type string; } anyxml cfmd-clear-loss-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-loss-statistics rpc clear-cfm-slm-statistics { description "Clear Ethernet OAM slm statistics"; input { leaf maintenance-domain { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance association"; } leaf local-mep { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 8191"; } } description "Identifier for local maintenance endpoint"; } } output { choice output_c { leaf output { type string; } anyxml cfmd-clear-slm-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-slm-statistics rpc clear-cfm-statistics { description "Clear connectivity-fault-management statistics"; input { leaf interface { type string; description "Clear the statistics on an interface"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type int32 { range "0 .. 7"; } } description "The maintenance-domain level"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-statistics rpc clear-cfm-linktrace-path-database { description "Clear linktrace path-database entries of a remote host"; input { leaf maintenance-domain { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance association"; } leaf host { type jt:mac-unicast; mandatory true; description "MAC address of remote host in xx:xx:xx:xx:xx:xx format"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-linktrace-path-database rpc clear-cfm-policer-statistics { description "Clear policer statistics"; input { leaf maintenance-domain { type string { length "1 .. 45"; } description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } description "Name of maintenance association"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-policer-statistics rpc clear-cfm-iterator-statistics { description "Clear Ethernet OAM SLA iterator statistics information"; input { leaf sla-iterator { type string; mandatory true; description "Name of the iterator profile"; } leaf maintenance-domain { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance association"; } leaf local-mep { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 8191"; } } mandatory true; description "Identifier for local maintenance endpoint"; } leaf remote-mep { type union { type string { pattern "<.*>|$.*"; } type int32 { range "1 .. 8191"; } } mandatory true; description "MEP identifier of remote host"; } leaf current-statistics-type { type enumeration { enum "loss-measurement" { value 0; description "Show current Frame Loss measurements"; } enum "availability" { value 1; description "Show current Availability measurements"; } enum "delay-measurement" { value 2; description "Show current Delay measurement"; } enum "bin" { value 3; description "Show current Delay measurement bin"; } enum "flap-trap-statistics" { value 4; description "Show Flap Trap Statistics "; } } } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf verbosity { type enumeration { enum "brief" { value 0; description "Display brief output"; } enum "detail" { value 1; description "Display detail output"; } enum "extensive" { value 2; description "Display extensive output"; } enum "summary" { value 3; description "Display summary output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-iterator-statistics rpc clear-cfm-iterator-history { description "Clear MEF 36 based Ethernet OAM SLA iterator History statistics information"; input { leaf sla-iterator { type string; mandatory true; description "Name of the iterator profile"; } leaf maintenance-domain { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance domain"; } leaf maintenance-association { type string { length "1 .. 45"; } mandatory true; description "Name of maintenance association"; } leaf local-mep { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 8191"; } } mandatory true; description "Identifier for local maintenance endpoint"; } leaf remote-mep { type union { type string { pattern "<.*>|$.*"; } type int32 { range "1 .. 8191"; } } mandatory true; description "MEP identifier of remote host"; } leaf current-statistics-type { type enumeration { enum "loss-measurement" { value 0; description "Show current Frame Loss measurements"; } enum "availability" { value 1; description "Show current Availability measurements"; } enum "delay-measurement" { value 2; description "Show current Delay measurement"; } enum "bin" { value 3; description "Show current Delay measurement bin"; } enum "flap-trap-statistics" { value 4; description "Show Flap Trap Statistics "; } } } choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-iterator-history rpc clear-cfm-cfmman-conn-statistics { description "Clear Ethernet OAM cfmman connection statistics information"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 80"; } } description "Fpc slot number"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-cfm-cfmman-conn-statistics rpc clear-elmi-statistics { description "Clear ethernet local management statistics"; input { leaf interface { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-elmi-statistics rpc clear-arp-table { description "Clear address resolution information"; input { leaf hostname { type string; description "Name of host"; } leaf interface { type string; description "Name of the interface"; } leaf vpn { type string; description "Name of VPN routing table"; } leaf logical-system { type string; description "Name of logical system"; } } output { choice output_c { leaf output { type string; } anyxml clear-arp-table-results; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-arp-table rpc clear-arp-table-all { description "Clear All ARP entries"; output { choice output_c { leaf output { type string; } anyxml clear-arp-table-results; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-arp-table-all rpc clear-interfaces-interval { description "Clear interface interval table"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interfaces-interval rpc clear-interface-transport-opt-c-information { description "Clear interface transport optics current information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-opt-c-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-opt-c-information rpc clear-interface-transport-opt-c-all-information { description "Clear interface transport optics current information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-opt-c-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-opt-c-all-information rpc clear-interface-transport-opt-cday-information { description "Clear interface transport optics current-day information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-opt-cday-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-opt-cday-information rpc clear-interface-transport-opt-cday-all-information { description "Clear interface transport optics current-day information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-opt-cday-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-opt-cday-all-information rpc clear-interface-transport-opt-all-information { description "Clear interface transport optics all information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-opt-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-opt-all-information rpc clear-interface-transport-opt-all-all-information { description "Clear interface transport optics all information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-opt-all-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-opt-all-all-information rpc clear-interface-transport-otn-c-information { description "Clear interface transport otn current information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-otn-c-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-otn-c-information rpc clear-interface-transport-otn-c-all-information { description "Clear interface transport otn current information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-otn-c-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-otn-c-all-information rpc clear-interface-transport-otn-cday-information { description "Clear interface transport otn current-day information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-otn-cday-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-otn-cday-information rpc clear-interface-transport-otn-cday-all-information { description "Clear interface transport otn current-day information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-otn-cday-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-otn-cday-all-information rpc clear-interface-transport-otn-all-information { description "Clear interface transport otn all information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-otn-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-otn-all-information rpc clear-interface-transport-otn-all-all-information { description "Clear interface transport otn all information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-otn-all-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-otn-all-all-information rpc clear-interface-transport-all-c-information { description "Clear interface transport both otn and optics current information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-all-c-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-all-c-information rpc clear-interface-transport-all-c-all-information { description "Clear interface transport both otn and optics current information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-all-c-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-all-c-all-information rpc clear-interface-transport-all-cday-information { description "Clear interface transport both otn and optics current-day information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-all-cday-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-all-cday-information rpc clear-interface-transport-all-cday-all-information { description "Clear interface transport both otn and optics current-day information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-all-cday-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-all-cday-all-information rpc clear-interface-transport-all-all-information { description "Clear interface transport both otn and optics all information"; input { leaf interface-name { type string; mandatory true; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml interface-transport-all-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-all-all-information rpc clear-interface-transport-all-all-all-information { description "Clear interface transport both otn and optics all information all interfaces"; output { choice output_c { leaf output { type string; } anyxml interface-transport-all-all-all-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-transport-all-all-all-information rpc clear-interfaces-statistics { description "Clear interface statistics"; input { leaf interface-name { type string; mandatory true; description "Name of physical or logical interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interfaces-statistics rpc clear-interfaces-statistics-all { description "Clear statistics for all interfaces"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interfaces-statistics-all rpc clear-interface-set-statistics { description "Clear interface-set statistics"; input { leaf interface-set-name { type string; description "Name of interface set"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-set-statistics rpc clear-interface-set-statistics-all { description "Clear statistics for all interfaces"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-set-statistics-all rpc clear-interfaces-mac-database { description "Clear interface mac entries or statistics from mac database"; input { leaf interface-name { type string; mandatory true; description "Name of physical or logical interface"; } leaf mac-address { type string; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interfaces-mac-database rpc clear-interface-mac-database-statistics { description "Clear interface mac-level statistics from mac database"; input { leaf interface-name { type string; mandatory true; description "Name of physical or logical Gigabit or 10-Gigabit Ethernet interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-mac-database-statistics rpc clear-interface-mac-database-statistics-all { description "Clear mac level statistics for all interfaces"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-mac-database-statistics-all rpc clear-sflow-pfe-information { description "Clear sflow statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-sflow-pfe-information rpc clear-vxlan-mcast-stats-information { description "Clear sflow vxlan egress mcast stats"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vxlan-mcast-stats-information rpc clear-snmp-statistics { description "Clear SNMP statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-snmp-statistics rpc clear-snmp-subagent-statistics { description "Clear statistics for all SNMP subagents"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-snmp-subagent-statistics rpc clear-stats-response-statistics-information { description "Clear statistics for the stats responses from kernel/PFE"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-stats-response-statistics-information rpc clear-snmp-history { description "Clear all samples of a particular history index"; input { leaf entry { type string; mandatory true; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-snmp-history rpc clear-vrrp-information { description "Clear Virtual Router Redundancy Protocol statistics"; input { leaf level { type enumeration { enum "all" { value 0; description "Clear all statistics"; } } default "all"; } } output { choice output_c { leaf output { type string; } anyxml vrrp-message; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vrrp-information rpc clear-vrrp-interface-statistics { description "Name of interface on which to clear statistics"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml vrrp-message; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vrrp-interface-statistics rpc clear-ipv6-nd-information { description "Clear IPv6 neighbor cache information"; input { leaf host { type string; description "Neighbor host IPV6 address"; } leaf interface { type string; description "Name of the interface"; } leaf vpn { type string; description "Name of VPN routing table"; } leaf logical-system { type string; description "Name of logical system"; } } output { choice output_c { leaf output { type string; } anyxml ipv6-modify-nd; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ipv6-nd-information rpc clear-ipv6-all-neighbors { description "Clear all neighbors"; output { choice output_c { leaf output { type string; } anyxml ipv6-modify-nd; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ipv6-all-neighbors rpc clear-ipv6-router-advertisement-information { description "Clear IPv6 router advertisement information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf interface { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ipv6-router-advertisement-information rpc clear-ancp-neighbor-connection { description "Clear neighbor connection"; input { choice neighbor-opts { leaf ip-address { type jt:ipaddr; description "IP address of the neighbor"; } leaf system-name { type string; description "MAC address of the neighbor"; } } // choice neighbor-opts } output { choice output_c { leaf output { type string; } anyxml ancp-neighbor-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ancp-neighbor-connection rpc clear-ancp-subscriber-connection { description "Clear subscriber connections"; input { choice subscriber-opts { leaf identifier { type string; description "Agent circuit identifier"; } leaf ip-address { type jt:ipaddr; description "IP address of the neighbor"; } leaf system-name { type string; description "MAC address of the neighbor"; } } // choice subscriber-opts } output { choice output_c { leaf output { type string; } anyxml ancp-subscriber-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ancp-subscriber-connection rpc clear-ancp-statistics { description "Clear statistics"; input { choice neighbor-opts { leaf ip-address { type jt:ipaddr; description "IP address of the neighbor"; } leaf system-name { type string; description "MAC address of the neighbor"; } } // choice neighbor-opts } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ancp-statistics rpc clear-ancp-access-loop { description "Clear access-loop"; input { choice interface-opts { leaf neighbor { type jt:ipaddr; description "IP address of the neighbor"; } leaf subscriber-interface { type string; description "Subscriber-facing interface"; } } // choice interface-opts leaf circuit-id { type string; description "Access loop circuit id"; } leaf remote-id { type string; description "Access loop remote id"; } leaf outer-vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "1 .. 4094"; } } description "Access aggregation circuit id binary"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ancp-access-loop rpc clear-authentication-pending-table { description "Clear pending authentication requests"; input { uses command-forwarding; leaf clear-authentication-pending-table-specific { type union { type string { pattern "<.*>|$.*"; } type uint64 { range "1 .. 18446744073709551615"; } } description "Clear information for a specific request"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-authentication-pending-table rpc clear-authentication-statistics { description "Clear general authentication statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-authentication-statistics rpc clear-aaa-subscriber-table { description "Logout the subscriber and clear the session entry"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-subscriber-table rpc clear-aaa-subscriber-by-username { description "Logout the subscriber based on username"; input { uses command-forwarding; leaf username { type string; mandatory true; description "Username"; } leaf reconnect { type empty; description "Reconnect subscriber"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-subscriber-by-username rpc clear-aaa-subscriber-by-session-id { description "Logout the subscriber based on session identifier"; input { uses command-forwarding; leaf id { type union { type string { pattern "<.*>|$.*"; } type uint64 { range "1 .. 18446744073709551615"; } } mandatory true; description "Session id"; } leaf reconnect { type empty; description "Reconnect subscriber"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-subscriber-by-session-id rpc clear-aaa-subscriber-table-specific-statistics { description "Clear subscriber statistics"; input { uses command-forwarding; leaf username { type string; mandatory true; description "Subscriber session identifier"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-subscriber-table-specific-statistics rpc clear-aaa-statistics-table { description "Statistics on subscriber events"; input { leaf statistics-type { type enumeration { enum "authentication" { value 0; description "Authentication statistics"; } enum "accounting" { value 1; description "Accounting statistics"; } enum "dynamic-requests" { value 2; description "Dynamic requests statistics"; } enum "re-authentication" { value 3; description "Re-authentication statistics"; } enum "preauthentication" { value 4; description "Preauthentication statistics"; } enum "terminate-code" { value 5; description "Terminate-code usage statistics"; } enum "radius" { value 6; description "RADIUS statistics"; } } mandatory true; } } output { choice output_c { leaf output { type string; } anyxml clear-aaa-module-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-statistics-table rpc clear-aaa-address-assignment-pool-statistics { description "Show pool information based on pool name"; input { leaf get-address-assignment-pool-table-specific { type string; mandatory true; description "Show information for a specific pool"; } leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-address-assignment-pool-statistics rpc clear-aaa-address-assignment-client-statistics { description "Show pool information based on client"; input { leaf routing-instance { type string; description "Name of routing instance"; } choice lsys-tenant { } // choice lsys-tenant choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-address-assignment-client-statistics rpc clear-aaa-session-limit-per-username { description "Clear session-limit per username related information"; input { leaf username { type string; description "Clear blocked-requests statistics for this username"; } leaf access-profile { type string; description "Clear blocked-requests statistics for this profile"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-aaa-session-limit-per-username rpc clear-node-secret-file { description "Delete SecurID authentication node secret file"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-node-secret-file rpc clear-gx-plus-statistics-information { description "Clear gx-plus statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-gx-plus-statistics-information rpc clear-gx-plus-replay-information { description "Clear gx-plus replay data: request discovery from remote"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-gx-plus-replay-information rpc clear-nasreq-statistics-information { description "Clear nasreq statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-nasreq-statistics-information rpc clear-pcrf-statistics-information { description "Clear pcrf statistics information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pcrf-statistics-information rpc clear-pcrf-subscribers { description "Loguout all pcrf subscribers"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pcrf-subscribers rpc clear-ocs-statistics-information { description "Clear ocs statistics information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ocs-statistics-information rpc clear-ocs-backup-information { description "Clear ocs backup"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ocs-backup-information rpc clear-address-assignment-preserved { description "Clear preserved addresses"; input { uses command-forwarding; leaf key { type string; mandatory true; description "Key to identify reservations"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-address-assignment-preserved rpc clear-radsec-state { description "Clear radsec state"; input { uses command-forwarding; leaf radsec-state-destination { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Destination to clear"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-radsec-state rpc clear-radsec-statistics-information { description "Clear radsec statistics information"; input { uses command-forwarding; leaf radsec-statistics-destination { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Destination to clear"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-radsec-statistics-information rpc clear-local-cert-statistics-information { description "Clear local certificate statistics information"; input { uses command-forwarding; leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Show brief output (deafault)"; } enum "detail" { value 1; description "Show detailed output"; } enum "extensive" { value 2; description "Show extensive output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-local-cert-statistics-information rpc clear-nas-5g-statistics-information { description "Clear nas-5g statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-nas-5g-statistics-information rpc clear-auto-configuration-interfaces { description "Clear interfaces"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } leaf client-type { type enumeration { enum "vlan" { value 0; description "VLAN clients only"; } enum "vlan-oob" { value 1; description "VLAN out-of-band clients only"; } enum "dyn-ip" { value 2; description "Dynamic IP clients only"; } enum "vpls-pw" { value 3; description "VPLS-PW clients only"; } enum "dot1x" { value 4; description "Dot1x clients only"; } } description "Client type of subscriber"; } leaf subscriber-state { type enumeration { enum "init" { value 0; description "INIT state only"; } enum "configured" { value 1; description "CONFIGURED state only"; } enum "active" { value 2; description "ACTIVE state only"; } enum "terminating" { value 3; description "TERMINATING state only"; } enum "terminated" { value 4; description "TERMINATED state only"; } } description "State of subscriber"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-auto-configuration-interfaces rpc clear-auto-configuration-interfaces-interface-set { description "Clear interfaces interface-set"; input { leaf interface-set-name { type string; mandatory true; description "Name of interface set"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-auto-configuration-interfaces-interface-set rpc clear-bfd-session-information { description "Clear BFD sessions"; input { leaf all { type empty; mandatory true; description "Cleae all BFD sessions"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bfd-session-information rpc clear-bfd-session-discriminator { description "Clear a BFD session by discriminator"; input { leaf discr_number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "Local discriminator of session to clear"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bfd-session-discriminator rpc clear-bfd-session-address { description "Clear a BFD session by address"; input { leaf session_addr { type jt:ipaddr; mandatory true; description "Address of session to clear"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bfd-session-address rpc clear-bfd-adaptation-information { description "Clear BFD adaptation"; input { leaf all { type empty; mandatory true; description "Clear BFD adaptation for all sessions"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bfd-adaptation-information rpc clear-bfd-adaptation-discriminator { description "Clear BFD adaptation by discriminator"; input { leaf discr_number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "Local discriminator of session to clear"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bfd-adaptation-discriminator rpc clear-bfd-adaptation-address { description "Clear BFD adaptation by address"; input { leaf session_addr { type jt:ipaddr; mandatory true; description "Address of session to clear"; } choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bfd-adaptation-address rpc clear-synchronous-ethernet-esmc-statistics { description "Clear ESMC statistics"; input { leaf interface-name { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of interface "; } } output { choice output_c { leaf output { type string; } anyxml clock-synchronization-clear-output; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-synchronous-ethernet-esmc-statistics rpc clear-synchronous-ethernet-wait-to-restore { description "Clear wait to restore timer"; input { leaf interface { type string; description "Name of physical interface"; } } output { choice output_c { leaf output { type string; } anyxml clear-wait-to-restore; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-synchronous-ethernet-wait-to-restore rpc clear-ptp-long-term-counters { description "Clear all long-term delay performance entries"; output { choice output_c { leaf output { type string; } anyxml ptp-clear-long-term-counters; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ptp-long-term-counters rpc clear-captive-portal-interface-session { description "Clear 802.1X session on an interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml captive-portal-interface-session; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-captive-portal-interface-session rpc clear-captive-portal-firewall { description "Clear captive-portal firewall statistics for a counter"; input { leaf counter-name { type string; default "all"; description "Clear firewall statistics for this counter"; } } output { choice output_c { leaf output { type string; } anyxml captive-portal-firewall; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-captive-portal-firewall rpc clear-captive-portal-firewall-interface { description "Clear firewall statistics on this interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-captive-portal-firewall-interface rpc clear-captive-portal-mac-session { description "Clear 802.1X session on a MAC address"; input { leaf session-mac-addr { type jt:mac-addr; default "all"; description "MAC address to clear"; } } output { choice output_c { leaf output { type string; } anyxml captive-portal-mac-session; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-captive-portal-mac-session rpc clear-dot1x-eapol-block-interface-session { description "Clear eapol-block timer for all sessions on an interface"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-eapol-block-interface-session; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-eapol-block-interface-session rpc clear-dot1x-eapol-block-mac-session { description "Clear eapol-block timer for session on a MAC address"; input { leaf static-mac-addr { type jt:mac-addr; default "all"; description "MAC address to clear eapol-block timer"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-eapol-block-mac-session; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-eapol-block-mac-session rpc clear-dot1x-interface-session { description "Clear 802.1X session on an interface"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-interface-session; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-interface-session rpc clear-dot1x-supplicant-interface-session { description "Clear supplicant sessions on an interface"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-supplicant-interface-session; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-supplicant-interface-session rpc clear-dot1x-dynamic-vlan { description "Clear 802.1X dynamic created vlan"; output { choice output_c { leaf output { type string; } anyxml dot1x-dynamic-vlan; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-dynamic-vlan rpc clear-dot1x-firewall { description "Clear dot1x firewall statistics for a counter"; input { leaf counter-name { type string; default "all"; description "Clear firewall statistics for this counter"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-firewall; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-firewall rpc clear-dot1x-firewall-interface { description "Clear firewall statistics on this interface"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-firewall-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-firewall-interface rpc clear-dot1x-mac-session { description "Clear 802.1X session on a MAC address"; input { leaf static-mac-addr { type jt:mac-addr; default "all"; description "MAC address to clear"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-mac-session; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-mac-session rpc clear-dot1x-statistics { description "Clear 802.1X statistics on an interface"; output { choice output_c { leaf output { type string; } anyxml dot1x-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-statistics rpc clear-dot1x-statistics-interface { description "Clear 802.1X statistics on this interface"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-statistics-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-statistics-interface rpc clear-dot1x-recovery-timeout { description "Clear port error"; output { choice output_c { leaf output { type string; } anyxml dot1x-recovery-timeout; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-recovery-timeout rpc clear-dot1x-recovery-timeout-interface { description "Clear port error for the specified interface"; input { leaf interface-name { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } default "all"; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml dot1x-recovery-timeout-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dot1x-recovery-timeout-interface rpc clear-helper-statistics-information { description "Clear helper statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-helper-statistics-information rpc clear-ilmi-statistics { description "Clear ILMI statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ilmi-statistics rpc clear-ipsec-security-associations { description "Clear IPSec dynamic security associations"; input { leaf sa-name { type string { length "1 .. 32"; } description "Name of security association"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ipsec-security-associations rpc clear-ike-security-associations { description "Clear IKE security associations"; input { leaf peer-address { type jt:ipaddr; description "Name of security association"; } leaf routing-instance { type string; description "Name of the local-gateway routing-instance"; } leaf service-set { type string; description "Name of service set"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ike-security-associations rpc clear-ike-statistics { description "Clear IKE security associations statistics"; input { leaf peer-address { type jt:ipaddr; description "Name of security association"; } leaf routing-instance { type string; description "Name of the local-gateway routing-instance"; } leaf service-set { type string; description "Name of service set"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ike-statistics rpc clear-diameter-peer { description "Clear diameter peer information"; input { leaf clear-peer-what { type enumeration { enum "connection" { value 0; description "Clear diameter peer connection(default)"; } enum "statistics" { value 1; description "Clear diameter peer statistics"; } } default "connection"; } leaf clear-diameter-peer-name { type string; mandatory true; description "Peer name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-diameter-peer rpc clear-diameter-function { description "Clear diameter function information"; input { leaf clear-function-what { type enumeration { enum "statistics" { value 0; description "Clear diameter function statistics"; } } mandatory true; } leaf clear-diameter-function-name { type enumeration { enum "jsrc" { value 0; description "Function to use SRC application"; } enum "charging-gw" { value 1; description "Function to use CHARGING application"; } enum "gx-plus" { value 2; description "Function to use GX-PLUS application"; } enum "sd-3gpp" { value 3; description "Function to use SD-3GPP application"; } enum "nasreq" { value 4; description "Function to use NASREQ application"; } enum "pcrf" { value 5; description "Function to use PCRF(GX) application"; } enum "ocs" { value 6; description "Function to use OCS(GY) application"; } enum "s6a" { value 7; description "Function to use S6A application"; } } mandatory true; description "Function name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-diameter-function rpc clear-pgm-negative-acknowledgments { description "Clear PGM NAK state information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pgm-negative-acknowledgments rpc clear-pgm-source-path-messages { description "Clear PGM source path message state information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pgm-source-path-messages rpc clear-pgm-statistics { description "Clear PGM statistics information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pgm-statistics rpc clear-poe-telemetries-information { description "Clear PoE telemetries interface information"; input { leaf interface-name { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of the interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-poe-telemetries-information rpc clear-amt-tunnel { description "Clear AMT tunnel"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-amt-tunnel rpc clear-amt-tunnel-interface { description "AMT tunnel interface"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf interface { type string; mandatory true; description "Name of the interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-amt-tunnel-interface rpc clear-amt-tunnel-gateway-address { description "AMT tunnel gateway address"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf address { type string; mandatory true; description "IP address of the gateway"; } leaf port { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "1 .. 65535"; } } description "UDP port of the gateway"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-amt-tunnel-gateway-address rpc clear-amt-tunnel-statistics { description "Clear AMT tunnel message statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-amt-tunnel-statistics rpc clear-amt-tunnel-interface-statistics { description "AMT tunnel interface"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf interface { type string; mandatory true; description "Name of the interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-amt-tunnel-interface-statistics rpc clear-amt-tunnel-gateway-address-statistics { description "AMT tunnel gateway address"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf address { type string; mandatory true; description "IP address of the gateway"; } leaf port { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "1 .. 65535"; } } description "UDP port of the gateway"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-amt-tunnel-gateway-address-statistics rpc clear-amt-statistics { description "Clear AMT statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-amt-statistics rpc clear-auto-bandwidth-history-log-information { description "Clear auto-bandwidth history log"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-auto-bandwidth-history-log-information rpc clear-auto-bandwidth-traffic-information { description "Clear auto-bandwidth probe traffic"; input { choice clear-traffic-arg { leaf all { type empty; description "Clear all auto-bandwidth probe traffic"; } leaf probe-name { type string; description "Name of probe"; } } // choice clear-traffic-arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-auto-bandwidth-traffic-information rpc clear-bgp-damping { description "Clear damping information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf prefix { type string; description "Destination prefix and prefix length"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bgp-damping rpc clear-bgp-neighbor { description "Clear BGP neighbors"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf disposition { type enumeration { enum "soft" { value 0; description "Soft reset outbound state"; } enum "soft-minimum-igp" { value 1; description "Soft reset outbound state with refresh of minimum igp MED"; } enum "soft-minimum-effective-aigp" { value 2; description "Soft reset outbound state with refresh of minimum effective aigp MED"; } enum "soft-inbound" { value 3; description "Soft reset inbound state by issuing Refresh"; } enum "malformed-route" { value 4; description "Clear malformed routes"; } enum "stale-routes" { value 5; description "Clear stale routes"; } enum "gracefully" { value 6; description "Allow peer to start graceful restart receiving-speaker mode, if possible"; } } } leaf instance { type string; description "Name of BGP instance"; } leaf as { type string; description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; } choice neighbor-choice { leaf neighbor { type string; description "Particular BGP neighbor to clear"; } leaf all { type empty; description "Clear All BGP neighbors"; } } // choice neighbor-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bgp-neighbor rpc clear-bgp-table { description "Refresh routes in a routing table"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf table { type string; mandatory true; description "Name of table to clear"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bgp-table rpc clear-esis-adjacency { description "Clear ES-IS adjacencies"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of ES-IS instance"; } leaf interface { type string; description "Name of interface"; } leaf neighbor { type string; description "Name of neighbor"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-esis-adjacency rpc clear-esis-statistics { description "Clear ES-IS statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of ES-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-esis-statistics rpc clear-evpn-duplicate-mac-suppression { description "Clear duplicate MAC suppression"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Clear duplicate MAC suppression for a specific instance"; } leaf l2-domain-id { type union { type string { pattern "<.*>|$.*"; } type int32 { range "1 .. 16777214"; } } description "Clear duplicate MAC suppression for a specific L2 domain"; } leaf mac-address { type jt:mac-addr; description "Clear duplicate MAC suppression for a specific MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-evpn-duplicate-mac-suppression rpc clear-evpn-mac-table { description "Clear all learned media access control addresses"; input { leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-evpn-mac-table rpc clear-evpn-interface-mac-table { description "Clear media access control table for specified interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface for which to clear table"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-evpn-interface-mac-table rpc clear-evpn-mac-ip-table { description "Clear IPv4 and IPv6 entries for EVPN instances"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified vpls"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-evpn-mac-ip-table rpc clear-evpn-arp-table { description "Clear all INET addresses learned via ARP"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified vpls"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-evpn-arp-table rpc clear-evpn-nd-table { description "Clear all INET6 addresses learned via NDP"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified vpls"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-evpn-nd-table rpc clear-exp-segs-all-information { description "Clear express segments"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf segment-type { type enumeration { enum "all" { value 0; description "Reset 'all' the express-segments originating on this router"; } } default "all"; } leaf clear-exp-segs-name-information { type string; description "Reset 'name' matching express-segments - Must select 'name' or 'all'"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-exp-segs-all-information rpc clear-exp-segs-trafficd-eng-information { description "Clear express-segment insertion into TED"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select choice clear-choice { leaf clear-exp-segs-traffic-eng-name-information { type string; description "Name of express-segment - Must select 'name' or 'all'"; } leaf all { type empty; description "All matching express-segments - Must select 'name' or 'all'"; } } // choice clear-choice } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-exp-segs-trafficd-eng-information rpc clear-igmp-statistics { description "Clear IGMP statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf interface { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-statistics rpc clear-igmp-membership { description "Clear IGMP group membership"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf interface { type string; description "Name of interface"; } choice clear_arg { leaf group { type jt:ipv4prefix; description "IP address range for group"; } leaf all { type empty; description "Clear all IGMP group membership"; } } // choice clear_arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-membership rpc clear-igmp-snooping-statistics { description "Clear IGMP snooping statistics"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-snooping-statistics rpc clear-igmp-snooping-bridge-domain-statistics { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-snooping-bridge-domain-statistics rpc clear-igmp-snooping-vlan-statistics { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-snooping-vlan-statistics rpc clear-igmp-snooping-membership { description "Clear IGMP snooping group membership"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf group { type jt:ipv4prefix; description "IP address range for group"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-snooping-membership rpc clear-igmp-snooping-bridge-domain-membership { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf group { type jt:ipv4prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-snooping-bridge-domain-membership rpc clear-igmp-snooping-vlan-membership { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } leaf group { type jt:ipv4prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-igmp-snooping-vlan-membership rpc clear-dynamic-tunnels-database-statistics { description "Clear dynamic-tunnels statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf destination { type string; description "IP or IP-color<c> address with optional prefix length of destination"; } leaf next-hop { type empty; description "Clear only tunnel nexthop traffic statistics of the tunnels"; } leaf tunnel-type { type enumeration { enum "ipoip" { value 0; description "IPIP tunnel type"; } enum "gre" { value 1; description "GRE tunnel type"; } enum "udp" { value 2; description "UDP tunnel type"; } } description "Clear traffic statistics of all the tunnels with given tunnel type"; } leaf tunnel-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Clear traffic statistics of all the tunnels with given tunnel-id"; } leaf table { type string; description "Clear traffic statistics of all tunnels belonging to this routing table"; } leaf chain-type { type enumeration { enum "v4" { value 0; description "V4 next-hops"; } enum "v6" { value 1; description "V6 next-hops"; } } description "Clear traffic statistics of all tunnels with given next-hop type"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-dynamic-tunnels-database-statistics rpc clear-isis-adjacency-information { description "Clear IS-IS adjacencies"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf interface { type string; description "Name of interface"; } choice clear-adj-arg { leaf all { type empty; description "Clear all IS-IS adjacencies"; } leaf neighbor { type string; description "Name of neighbor"; } } // choice clear-adj-arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-adjacency-information rpc clear-isis-database-information { description "Clear IS-IS database entries"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } choice clear-db-arg { leaf all { type empty; description "Clear all IS-IS database entries"; } leaf entries { type string; description "Name of database entry"; } } // choice clear-db-arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-database-information rpc clear-isis-layer2-map-information { description "Clear IS-IS ARP/ND mapping information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf destination { type jt:ipaddr; description "IP address of mapping entry"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-layer2-map-information rpc clear-isis-overload-information { description "Clear overload bit and regenerate LSPs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-overload-information rpc clear-isis-statistics-information { description "Clear IS-IS statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-statistics-information rpc clear-isis-interface-statistics-information { description "Clear ISIS interface statistics information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf interface-name { type string; description "Name of interface"; } leaf all { type empty; description "Clear all interface statistics"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-interface-statistics-information rpc clear-isis-spring-information { description "Clear SPRING information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-spring-information rpc clear-isis-spring-flex-algorithm-information { description "Clear SPRING flex-algorithm information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf flex-algorithm-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "128 .. 255"; } } description "Flex Algorithm id"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-spring-flex-algorithm-information rpc clear-isis-spring-traffic-information { description "Clear SPRING traffic-statistics-information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf interface { type string; description "Name of interface"; } leaf all { type empty; description "Clear all interface traffic-statistics"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-isis-spring-traffic-information rpc clear-l2ckt-pw-auto-sensing { description "Clear Layer 2 circuit PW auto-sensing state"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf neighbor { type string; default "all"; description "IP address of neighbor"; } leaf vc-id { type string; default "all"; description "VC ID"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-l2ckt-pw-auto-sensing rpc clear-vpls-mac-address { description "Clear a VPLS media access control address"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; default "all"; description "VPLS instance name"; } leaf address { type jt:mac-addr; default "all"; description "MAC address to clear"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vpls-mac-address rpc clear-vpls-statistics { description "Clear a VPLS statistics information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; mandatory true; description "VPLS instance name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vpls-statistics rpc clear-vpls-mac-table { description "Clear all learned media access control addresses"; input { leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vpls-mac-table rpc clear-vpls-interface-mac-table { description "Clear media access control table for specified interface"; input { leaf interface-name { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface for which to clear table"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vpls-interface-mac-table rpc clear-ldp-neighbors { description "Clear LDP neighbors"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of LDP routing instance"; } choice clear_arg { leaf all { type empty; description "Clear all neighbors"; } leaf neighbor { type jt:ipaddr; description "IP address of the neighbor"; } leaf ldp-family { type enumeration { enum "inet" { value 0; description "Clear IPv4 neighbors"; } enum "inet6" { value 1; description "Clear IPv6 neighbors"; } } } } // choice clear_arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ldp-neighbors rpc clear-ldp-sessions { description "Clear LDP sessions"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of LDP routing instance"; } choice clear_arg { leaf all { type empty; description "Clear all sessions"; } leaf destination { type jt:ipaddr; description "IP address of session destination"; } leaf ldp-family { type enumeration { enum "inet" { value 0; description "Clear IPv4 sessions"; } enum "inet6" { value 1; description "Clear IPv6 sessions"; } } } } // choice clear_arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ldp-sessions rpc clear-ldp-statistics { description "Clear LDP statistics counters"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of LDP routing instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ldp-statistics rpc clear-ldp-interface-hello-statistics { description "Clear LDP interface hello statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of LDP routing instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ldp-interface-hello-statistics rpc clear-mld-statistics { description "Clear MLD statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf interface { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-statistics rpc clear-mld-membership { description "Clear MLD group membership"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf interface { type string; description "Name of interface"; } choice clear_arg { leaf group { type jt:ipv6prefix; description "IPv6 address range for group"; } leaf all { type empty; description "Clear all MLD group membership"; } } // choice clear_arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-membership rpc clear-mld-snooping-statistics { description "Clear MLD snooping statistics"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-snooping-statistics rpc clear-mld-snooping-bridge-domain-statistics { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-snooping-bridge-domain-statistics rpc clear-mld-snooping-vlan-statistics { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-snooping-vlan-statistics rpc clear-mld-snooping-membership { description "Clear MLD snooping group membership"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-snooping-membership rpc clear-mld-snooping-bridge-domain-membership { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-snooping-bridge-domain-membership rpc clear-mld-snooping-vlan-membership { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mld-snooping-vlan-membership rpc clear-mpls-lsp-information { description "Reset nontransit or egress LSPs originating on this router"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } leaf opt { type enumeration { enum "optimize" { value 0; description "Perform nonpreemptive optimization computation now"; } enum "optimize-aggressive" { value 1; description "Perform aggressive optimization computation now"; } } } leaf stats { type enumeration { enum "statistics" { value 0; description "Clear LSP statistics"; } enum "reverse-statistics" { value 1; description "Clear LSP reverse-statistics for bidirectional LSPs"; } enum "counters" { value 2; description "Clear LSP Flap/MBB counters"; } } } leaf autobw { type enumeration { enum "autobandwidth" { value 0; description "Clear LSP autobandwidth counters"; } } } choice clear-arg { leaf regex { type string; description "Regular expression for LSP names to match"; } leaf all { type empty; description "Reset 'all' the ingress LSPs originating on this router"; } } // choice clear-arg leaf path { type string; description "Regular expression for LSP path to match"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mpls-lsp-information rpc clear-mpls-container-lsp-information { description "Reset nontransit or egress container LSP originating on this router"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } leaf opt { type enumeration { enum "optimize" { value 0; description "Perform nonpreemptive optimization computation now"; } enum "optimize-aggressive" { value 1; description "Perform aggressive optimization computation now"; } } } leaf stats { type enumeration { enum "statistics" { value 0; description "Clear LSP statistics"; } } } leaf autobw { type enumeration { enum "autobandwidth" { value 0; description "Clear LSP autobandwidth counters"; } } } choice clear-arg { leaf regex { type string; description "Name of Container LSP"; } leaf all { type empty; description "Reset 'all' the nontransit or egress Container LSPs originating on this router"; } } // choice clear-arg leaf history { type enumeration { enum "history" { value 0; description "Clear container LSP samples from the history"; } } } leaf member { type string; description "Regular expression for member LSP names to match"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mpls-container-lsp-information rpc clear-mpls-label-information { description "MPLS label"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf history { type enumeration { enum "history" { value 0; description "Clear label history"; } } mandatory true; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mpls-label-information rpc clear-mpls-tunnel-manager-statistics-information { description "MPLS tunnel manager statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mpls-tunnel-manager-statistics-information rpc clear-mpls-static-lsp-information { description "Reset static LSP statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } leaf stats { type enumeration { enum "statistics" { value 0; description "Clear LSP statistics"; } } mandatory true; } leaf regex { type string; description "Regular expression for LSP names to match"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mpls-static-lsp-information rpc clear-mpls-traceroute-database-ldp { description "Clear FECs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf fec { type jt:ipprefix; description "IP address and optional prefix length of FEC"; } leaf routing-instance { type string; description "Name of routing instance, or 'all'"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mpls-traceroute-database-ldp rpc clear-pm-mpls-lsp-information { description "Reset non-transit or egress LSPs originating on this router"; input { leaf regex { type string; description "Regular expression for LSP names to match"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pm-mpls-lsp-information rpc clear-msdp-statistics { description "Clear MSDP peer statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf peer { type jt:ipv4addr; description "IP address of peer that provided statistics"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-msdp-statistics rpc clear-msdp-cache { description "Clear the MSDP source-active cache"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } choice clear_arg { leaf peer { type jt:ipv4addr; description "IP address of peer that provided cache entries"; } leaf all { type empty; description "Clear all MSDP source-active cache entries"; } } // choice clear_arg } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-msdp-cache rpc clear-multicast-sessions { description "Clear multicast sessions"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf regexp { type string; description "Regular expression for sessions to match"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-multicast-sessions rpc clear-multicast-statistics { description "Clear multicast statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf interface { type string; description "Name of interface"; } leaf family { type enumeration { enum "inet" { value 0; description "Clear IPv4 statistics"; } enum "inet6" { value 1; description "Clear IPv6 statistics"; } } default "inet"; description "Address family"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-multicast-statistics rpc clear-multicast-forwarding-cache { description "Clear multicast forwarding cache"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf family { type enumeration { enum "inet" { value 0; description "Clear IPv4 forwarding cache"; } enum "inet6" { value 1; description "Clear IPv6 forwarding cache"; } } default "inet"; description "Address family"; } leaf all { type empty; mandatory true; description "Clear all multicast forwarding cache entries"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-multicast-forwarding-cache rpc clear-multicast-scope-statistics { description "Clear multicast scope statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf interface { type string; description "Name of interface"; } leaf family { type enumeration { enum "inet" { value 0; description "Clear IPv4 statistics"; } enum "inet6" { value 1; description "Clear IPv6 statistics"; } } default "inet"; description "Address family"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-multicast-scope-statistics rpc clear-multicast-bandwidth-admission { description "Re-apply bandwidth admission control"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf family { type enumeration { enum "inet" { value 0; description "For IPv4 "; } enum "inet6" { value 1; description "For IPv6 "; } } default "inet"; description "Address family"; } leaf group { type jt:ipaddr; description "Destination group address"; } leaf source { type jt:ipaddr; description "Source address"; } leaf interface { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-multicast-bandwidth-admission rpc clear-ospf-neighbor-information { description "Clear OSPF neighbors"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf all { type empty; description "Clear all Neighbor"; } leaf interface { type string; description "Name of logical interface"; } leaf neighbor { type string; description "Name of neighbor"; } leaf area { type jt:areaid; description "OSPF area ID"; } leaf instance { type string; description "Name of OSPF instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-neighbor-information rpc clear-ospf-database-information { description "Clear OSPF database entries"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf flex-algorithm-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "128 .. 255"; } } description "Flex Algorithm id"; } leaf all { type empty; description "Clear All Database"; } leaf area { type string; default "all"; description "OSPF area ID"; } leaf instance { type string; description "Name of OSPF instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-database-information rpc clear-ospf-database-protection { description "Clear OSPF database protection related state"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of OSPF instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-database-protection rpc clear-ospf-statistics-information { description "Clear OSPF statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of OSPF instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-statistics-information rpc clear-ospf-io-statistics-information { description "Clear OSPF I/O statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-io-statistics-information rpc clear-ospf-overload-information { description "Clear overload bit and rebuild LSAs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of OSPF instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-overload-information rpc clear-ospf-spring-information { description "Clear SPRING information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-spring-information rpc clear-ospf-spring-flex-algorithm-information { description "Clear SPRING flex-algorithm information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf flex-algorithm-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "128 .. 255"; } } description "Flex Algorithm id"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf-spring-flex-algorithm-information rpc clear-ospf3-neighbor-information { description "Clear OSPFv3 neighbors"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf all { type empty; description "Clear all Neighbor"; } leaf interface { type string; description "Name of logical interface"; } leaf neighbor { type string; description "Name of OSPFv3 neighbor"; } leaf area { type jt:areaid; description "OSPF area ID"; } leaf instance { type string; description "Name of OSPFv3 instance"; } leaf realm { type enumeration { enum "ipv6-multicast" { value 0; description "IPv6 multicast realm"; } enum "ipv4-unicast" { value 1; description "IPv4 unicast realm"; } enum "ipv4-multicast" { value 2; description "IPv4 multicast realm"; } } description "Name of realm"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf3-neighbor-information rpc clear-ospf3-database-information { description "Clear OSPFv3 database entries"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf all { type empty; description "Clear All Database"; } leaf area { type string; default "all"; description "Area ID of OSPFv3 area"; } leaf instance { type string; description "Name of OSPFv3 instance"; } leaf realm { type enumeration { enum "ipv6-multicast" { value 0; description "IPv6 multicast realm"; } enum "ipv4-unicast" { value 1; description "IPv4 unicast realm"; } enum "ipv4-multicast" { value 2; description "IPv4 multicast realm"; } } description "Name of realm"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf3-database-information rpc clear-ospf3-database-protection-information { description "Clear OSPFv3 database protection related state"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of OSPFv3 instance"; } leaf realm { type enumeration { enum "ipv6-multicast" { value 0; description "IPv6 multicast realm"; } enum "ipv4-unicast" { value 1; description "IPv4 unicast realm"; } enum "ipv4-multicast" { value 2; description "IPv4 multicast realm"; } } description "Name of realm"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf3-database-protection-information rpc clear-ospf3-statistics-information { description "Clear OSPFv3 statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of OSPFv3 instance"; } leaf realm { type enumeration { enum "ipv6-multicast" { value 0; description "IPv6 multicast realm"; } enum "ipv4-unicast" { value 1; description "IPv4 unicast realm"; } enum "ipv4-multicast" { value 2; description "IPv4 multicast realm"; } } description "Name of realm"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf3-statistics-information rpc clear-ospf3-io-statistics-information { description "Clear OSPFv3 I/O statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf3-io-statistics-information rpc clear-ospf3-overload-information { description "Clear overload bit and rebuild LSAs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of OSPFv3 instance"; } leaf realm { type enumeration { enum "ipv6-multicast" { value 0; description "IPv6 multicast realm"; } enum "ipv4-unicast" { value 1; description "IPv4 unicast realm"; } enum "ipv4-multicast" { value 2; description "IPv4 multicast realm"; } } description "Name of realm"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ospf3-overload-information rpc clear-pim-statistics { description "Clear PIM statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf interface { type string; description "Name of interface"; } leaf family { type enumeration { enum "inet" { value 0; description "Clear IPv4 statistics"; } enum "inet6" { value 1; description "Clear IPv6 statistics"; } } default "inet"; description "Address family"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pim-statistics rpc clear-pim-join-state { description "Clear PIM join/prune state"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } choice clear_arg { leaf group { type jt:ipprefix; description "IP address and optional prefix length of group"; } leaf all { type empty; description "Clear all PIM join/prune states"; } } // choice clear_arg leaf exact { type empty; description "Clear only group that matches exactly"; } leaf source { type jt:ipprefix; description "IP address and optional prefix length of source"; } leaf rp { type jt:ipprefix; description "IP address and optional prefix length of rendezvous point"; } leaf sparse { type empty; description "Clear only PIM sparse-mode entries (including SSM)"; } leaf dense { type empty; description "Clear only PIM dense-mode entries"; } leaf bidirectional { type empty; description "Clear only bidirectional PIM entries"; } leaf star-g { type empty; description "Clear only *,G entries"; } leaf sg { type empty; description "Clear only S,G entries"; } leaf family { type enumeration { enum "inet" { value 0; description "Clear IPv4 join/prune state"; } enum "inet6" { value 1; description "Clear IPv6 join/prune state"; } } default "inet"; description "Address family"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pim-join-state rpc clear-pim-register-state { description "Clear PIM register state"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf family { type enumeration { enum "inet" { value 0; description "Clear IPv4 register state"; } enum "inet6" { value 1; description "Clear IPv6 register state"; } } default "inet"; description "Address family"; } leaf all { type empty; mandatory true; description "Clear all PIM register states"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pim-register-state rpc clear-pim-join-distribution { description "Redistribute PIM joins"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of instance"; } leaf all { type empty; mandatory true; description "Redistribute all PIM joins"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pim-join-distribution rpc clear-pim-snooping-join { description "Clear PIM snooping join"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf group { type jt:ipv4prefix; description "IP address range for group"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pim-snooping-join rpc clear-pim-snooping-statistics { description "Clear PIM snooping statistics"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-pim-snooping-statistics rpc clear-ripng-statistics { description "Clear RIPng statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf neighbor-name { type string; description "Name of RIPng neighbor"; } leaf instance { type string; description "Name of RIPng instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ripng-statistics rpc clear-ripng-general-statistics { description "Clear RIPng general statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ripng-general-statistics rpc clear-rip-statistics { description "Clear RIP statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf neighbor-name { type string; description "Name of RIP neighbor"; } leaf instance { type string; description "Name of RIP instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-rip-statistics rpc clear-rip-peer-statistics { description "Clear peer statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf address { type string; description "Ip address of peer"; } leaf peer-all { type enumeration { enum "all" { value 0; description "Clear statistics of all peers"; } } description "Clear statistics of all peers"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-rip-peer-statistics rpc clear-rip-general-statistics { description "Clear RIP general statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-rip-general-statistics rpc clear-validation-database { description "Clear the route validation database"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf instance { type string; description "Name of route validation instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-validation-database rpc clear-validation-session { description "Clear route validation session"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf destination { type jt:ipaddr; description "IP address of session"; } leaf disposition { type enumeration { enum "soft-inbound" { value 0; description "Soft reset inbound state by issuing Reset request"; } } } leaf instance { type string; description "Name of route validation instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-validation-session rpc clear-validation-statistics { description "Clear route validation statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf instance { type string; description "Name of route validation instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-validation-statistics rpc clear-rsvp-session-information { description "Preempt RSVP session"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select choice clear-choice { leaf session-name { type string; description "Name of session - Must select 'name' or 'all'"; } leaf all { type empty; description "All matching sessions - Must select 'name' or 'all'"; } } // choice clear-choice leaf instance { type string; description "Name of routing instance"; } leaf lsp-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 65535"; } } description "LSP ID of the RSVP sender"; } leaf tunnel-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 65535"; } } description "Tunnel ID of the RSVP session"; } leaf connection-source { type jt:ipaddr; description "Source of the label-switched path"; } leaf connection-destination { type jt:ipaddr; description "Destination of the label-switched path"; } leaf optimize-fast-reroute { type empty; description "Perform fast-reroute optimization computation now"; } leaf gracefully { type empty; description "Gracefully tear down RSVP sessions"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-rsvp-session-information rpc clear-rsvp-counters-information { description "Clear RSVP counters"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-rsvp-counters-information rpc clear-l2-learning-mac-move-buffer { description "Clear the mac move buffer contents"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-l2-learning-mac-move-buffer rpc clear-l2-learning-mac-move-buffer-active { description "Clear the active mac move buffer entries"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-l2-learning-mac-move-buffer-active rpc clear-l2-learning-context-history { description "Clear context history"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-l2-learning-context-history rpc clear-l2-learning-remote-backbone-edge-bridges { description "Clear remote backbone edge bridges in a PBBN network"; input { leaf remote-beb-mac-address { type jt:mac-addr; default "all"; description "Remote backbone edge bridge MAC address"; } leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified instance"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-l2-learning-remote-backbone-edge-bridges rpc clear-l2-learning-redundancy-group-statistics { description "Clear redundancy group statistics counters"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf redundancy-group-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4294967294"; } } default "0"; description "Display information for a specified RG"; } leaf options { type enumeration { enum "arp-statistics" { value 0; description "Show MCAE ARP Synchronization statistics"; } enum "nd-statistics" { value 1; description "Show MCAE ND synchronization statistics"; } } description "Clear information for specified RG or all RG(s)"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-l2-learning-redundancy-group-statistics rpc clear-bridge-mac-table { description "Clear all learned media access control addresses"; input { leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf bridge-domain { type string; default "all"; description "Name of bridging domain, or 'all'"; } leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bridge-mac-table rpc clear-bridge-interface-mac-table { description "Clear media access control table for specified interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface for which to clear table"; } leaf remote-beb-mac-address { type jt:mac-addr; default "all"; description "Remote backbone edge bridge MAC address"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bridge-interface-mac-table rpc clear-bridge-recovery { description "Clear port error"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bridge-recovery rpc clear-bridge-recovery-interface { description "Clear port error for specified interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface for which to clear table"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bridge-recovery-interface rpc clear-bridge-statistics { description "Clear bridge statistics information"; input { leaf bridge-domain { type string; mandatory true; description "Name of bridging domain"; } leaf instance { type string; description "Display information for a specified instance"; } leaf logical-system { type string; description "Name of logical system"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bridge-statistics rpc clear-ethernet-switching-context-history { description "Clear context history"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-context-history rpc clear-ethernet-switching-table { description "Clear all learned media access control addresses"; input { leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-table rpc clear-ethernet-switching-interface-table { description "Clear media access control table for specified interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface for which to clear table"; } leaf remote-beb-mac-address { type jt:mac-addr; default "all"; description "Remote backbone edge bridge MAC address"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-interface-table rpc clear-ethernet-switching-table-persistent-learning { description "Clear persistent-mac entries"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-table-persistent-learning rpc clear-ethernet-switching-table-persistent-learning-interface { description "Clear persistent MACs for specified interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface for which to clear table"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-table-persistent-learning-interface rpc clear-ethernet-switching-table-persistent-learning-mac { description "Clear one persitent MAC or all peristent MACs"; input { leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-table-persistent-learning-mac rpc clear-ethernet-switching-recovery { description "Clear port error"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-recovery rpc clear-ethernet-switching-recovery-interface { description "Clear port error for specified interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface for which to clear table"; } leaf vlan { type string; description "VLAN(name or ID)"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-recovery-interface rpc clear-ethernet-switching-mac-learning-log { description "Clear all MAC address learning log"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-mac-learning-log rpc clear-vlans-mac-ip-table { description "Clear IPv4 and IPv6 entries for EVPN instances"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-vlans-mac-ip-table rpc clear-ethernet-switching-evpn-arp-table { description "Clear all INET addresses learned via ARP"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-evpn-arp-table rpc clear-ethernet-switching-evpn-nd-table { description "Clear all INET6 addresses learned via NDP"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-switching-evpn-nd-table rpc clear-mac-vrf-forwarding { description "Clear MAC VRF learned Layer 2 MAC address information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-forwarding rpc clear-mac-vrf-mac-table { description "Clear all learned media access control addresses"; input { leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-mac-table rpc clear-mac-vrf-interface-table { description "Clear media access control table for specified interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface for which to clear table"; } leaf remote-beb-mac-address { type jt:mac-addr; default "all"; description "Remote backbone edge bridge MAC address"; } leaf vlan-id { type string; description "Clear MAC address learned on a specified VLAN"; } leaf isid { type string; description "Clear MAC address learned on a specified ISID"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-interface-table rpc clear-mac-vrf-table-persistent-learning { description "Clear persistent-mac entries"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-table-persistent-learning rpc clear-mac-vrf-persistent-learning-interface { description "Clear persistent MACs for specified interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface for which to clear table"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-persistent-learning-interface rpc clear-mac-vrf-table-persistent-learning-mac { description "Clear one persitent MAC or all peristent MACs"; input { leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-table-persistent-learning-mac rpc clear-mac-vrf-recovery { description "Clear port error"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-recovery rpc clear-mac-vrf-recovery-interface { description "Clear port error for specified interface"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } mandatory true; description "Name of interface for which to clear table"; } leaf vlan { type string; description "VLAN(name or ID)"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-recovery-interface rpc clear-mac-vrf-mac-learning-log { description "Clear all MAC address learning log"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-mac-learning-log rpc clear-mac-vrf-redundancy-group-statistics { description "Clear redundancy group statistics counters"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf redundancy-group-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4294967294"; } } default "0"; description "Display information for a specified RG"; } leaf options { type enumeration { enum "arp-statistics" { value 0; description "Show MCAE ARP Synchronization statistics"; } enum "nd-statistics" { value 1; description "Show MCAE ND synchronization statistics"; } } description "Clear information for specified RG or all RG(s)"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-redundancy-group-statistics rpc clear-mac-vrf-mac-ip-table { description "Clear IPv4 and IPv6 entries for EVPN instances"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-mac-ip-table rpc clear-mac-vrf-mac-ipv4-table { description "Clear all INET addresses learned via ARP"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-mac-ipv4-table rpc clear-mac-vrf-mac-ipv6-table { description "Clear all INET6 addresses learned via NDP"; input { leaf logical-system { type string; default "all"; description "Name of logical system, or 'all'"; } leaf instance { type string; default "all"; description "Display information for a specified instance"; } leaf vlan-name { type string; default "all"; description "Name of VLAN, or 'all'"; } leaf address { type jt:mac-addr; default "all"; description "MAC address"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-vrf-mac-ipv6-table rpc clear-lldp-neighbors { description "Clear LLDP neighbor information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lldp-neighbors rpc clear-lldp-interface-neighbors { description "Clear LLDP interface statistics"; input { leaf interface-device { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lldp-interface-neighbors rpc clear-lldp-statistics { description "Clear LLDP statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lldp-statistics rpc clear-lldp-interface-statistics { description "Clear LLDP interface statistics"; input { leaf interface-device { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-lldp-interface-statistics rpc clear-passive-monitoring { description "Clear passive monitoring statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-passive-monitoring rpc clear-passive-monitoring-statistics { description "Clear statistics"; input { leaf interface-name { type string; mandatory true; description "Name of monitoring interface, wildcard, or 'all'"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-passive-monitoring-statistics rpc clear-ppp-statistics-information { description "Clear PPP statistics"; input { leaf type { type enumeration { enum "memory" { value 0; description "Clear PPP process memory statistics"; } } description "Type of statistic to clear"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ppp-statistics-information rpc clear-database-replication-statistics-information { description "Clear database replication statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-database-replication-statistics-information rpc clear-firewall-counters { description "Clear firewall counters"; input { uses command-forwarding; leaf counter { type string; description "Counter name"; } leaf filter { type string; mandatory true; description "Filter name"; } choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-firewall-counters rpc clear-all-firewall-conters { description "Clear all firewall counters"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-all-firewall-conters rpc clear-firewall-policer-counter-statistics { description "Clear policer counter statistics"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select leaf counter-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 2"; } } mandatory true; description "Counter Index"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-firewall-policer-counter-statistics rpc clear-all-firewall-policer-counter-statistics { description "Clear all policer counter statistics"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-all-firewall-policer-counter-statistics rpc clear-firewall-log { description "Clear all firewall log"; input { uses command-forwarding; choice daemon-select { case logical-system { } // case logical-system } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-firewall-log rpc clear-sflow-collector-statistics { description "Clear sFlow collector statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-sflow-collector-statistics rpc clear-protection-group-information { description "Clear protection group information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-protection-group-information rpc clear-ethernet-ring-information { description "Clear ethernet ring information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-ring-information rpc clear-ethernet-ring-statistics { description "Clear ethernet ring statistics"; input { leaf group-name { type string; description "Name of protection group"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-ethernet-ring-statistics rpc clear-mvrp-interface-statistics { description "Clear MVRP interface statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf routing-instance { type string; description "Name of routing instance"; } leaf interface { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mvrp-interface-statistics rpc clear-stp-interface-statistics { description "Clear STP interface statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf interface-name { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } leaf routing-instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml stp-interface-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-stp-interface-statistics rpc clear-stp-routing-instance-statistics { description "Clear STP routing instance statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf routing-instance-name { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml stp-routing-instance-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-stp-routing-instance-statistics rpc clear-stp-bridge-statistics { description "Statistics related to bridge"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-stp-bridge-statistics rpc clear-stp-topology-change-counter { description "Clear STP topology change counter"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type int32 { range "1 .. 4094"; } } description "VLAN ID"; } leaf routing-instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml stp-topology-change-counter; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-stp-topology-change-counter rpc clear-interface-stp-protocol-migration { description "Clear Protocol Migration on an interface"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system"; } } // choice daemon-select leaf interface-name { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } leaf routing-instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml interface-stp-protocol-migration; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-interface-stp-protocol-migration rpc clear-stp-buffer { description "Internal buffer for STP"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-stp-buffer rpc clear-loop-detect-statistics-information { description "Clear loop detect interface statistics"; input { leaf interface-name { type string; mandatory true; } } output { choice output_c { leaf output { type string; } anyxml loop-detect-interface-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-loop-detect-statistics-information rpc clear-loop-detect-enhanced-interface-state { description "Clear loop detect enhanced interface"; input { leaf interface-name { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml ld-clear-loop-detect-enhanced-interface-state; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-loop-detect-enhanced-interface-state rpc clear-bpdu-error { description "Clear BPDU error on an interface (BPDU Protect)"; input { leaf interface-name { type string; mandatory true; } } output { choice output_c { leaf output { type string; } anyxml bpdu-error; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-bpdu-error rpc clear-loop-detect-error { description "Clear Loop Detect error on an interface"; input { leaf interface-name { type string; mandatory true; } } output { choice output_c { leaf output { type string; } anyxml loop-detect-error; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-loop-detect-error rpc clear-mac-rewrite-error { description "Clear mac-rewrite error on an interface"; input { leaf interface-name { type union { type jt:interface-device; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml mac-rewrite-error; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-mac-rewrite-error rpc clear-virtual-chassis-port-statistics { description "Clear virtual chassis port statistics"; input { uses command-forwarding; leaf interface-name { type string; description "Name of virtual chassis port"; } } output { choice output_c { leaf output { type string; } anyxml clear-virtual-chassis-port-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-virtual-chassis-port-statistics rpc clear-virtual-chassis-statistics { description "Clear virtual chassis statistics"; output { choice output_c { leaf output { type string; } anyxml clear-virtual-chassis-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-virtual-chassis-statistics rpc clear-fip-snooping-vlan { description "Clear FIP snooping database for this VLAN"; input { leaf vlan { type string; mandatory true; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-fip-snooping-vlan rpc clear-fip-snooping-enode { description "Clear all FIP snooping session for this Enode"; input { leaf mac { type jt:mac-addr; mandatory true; description "Enode MAC address"; } leaf vlan { type string; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-fip-snooping-enode rpc clear-fip-snooping-statistics { description "Clear FIP snooping statistics"; input { leaf vlan { type string; description "Name of VLAN"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-fip-snooping-statistics rpc clear-fip-snooping-vlandiscovery-statistics { description "Clear FIP vlan discovery statistics"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc clear-fip-snooping-vlandiscovery-statistics grouping command-forwarding { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector } // grouping command-forwarding } // module junos-ex-rpc-clear
© 2023 YumaWorks, Inc. All rights reserved.