Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

gtp

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
gtp {
    grouped-ie-profile name {
        ie name {
            instance name {
                grouped-ie-profile grpie-prf-name;
            }
        }
    }
    handover-default {
        deny;
    }
    ie-set name {
        ie name;
    }
    ip-group name {
        address-book name {
            address-set set-name;
        }
    }
    message-ie-profile-v1 name {
        message name {
            ie name;
        }
    }
    message-ie-profile-v2 name {
        message name {
            ie name {
                instance name {
                    grouped-ie-profile grpie-prf-name;
                }
            }
        }
    }
    message-list name {
        message name;
    }
    profile name {
        apn name {
            imsi-prefix name {
                action { 
                    drop;
                    pass;
                    selection {
                        ms;
                        net;
                        vrf;
                    }
                }
            }
        }
        drop {
            aa-create-pdp0;
            aa-delete-pdp0;
            bearer-resource2;
            change-notification2;
            config-transfer2;
            context2;
            create-bearer2;
            create-data-forwarding2;
            create-pdp(0 | 1 | all);
            create-session2;
            create-tnl-forwarding2;
            cs-paging2;
            data-record(0 | 1 | all);
            delete-bearer2;
            delete-command2;
            delete-data-forwarding2;
            delete-pdn2;
            delete-pdp(0 | 1 | all);
            delete-session2;
            detach2;
            downlink-notification2;
            echo(0 | 1 | 2 | all);
            error-indication(0 | 1 | all);
            failure-report(0 | 1 | all);
            fwd-access2;
            fwd-relocation(1 | 2 | all);
            fwd-srns-context1;
            g-pdu(0 | 1 | all);
            identification(0 | 1 | 2 | all);
            mbms-session-start(1 | 2 | all);
            mbms-session-stop(1 | 2 | all);
            mbms-session-update(1 | 2 | all);
            modify-bearer2;
            modify-command2;
            node-alive(0 | 1 | all);
            note-ms-present(0 | 1 | all);
            pdu-notification(0 | 1 | all);
            ran-info(1 | 2 | all);
            redirection(0 | 1 | all);
            release-access2;
            relocation-cancel(1 | 2 | all);
            resume2;
            send-route(0 | 1 | all);
            sgsn-context(0 | 1 | all);
            stop-paging2;
            supported-extension1;
            suspend2;
            trace-session2;
            update-bearer2;
            update-pdn2;
            update-pdp(0 | 1 | all);
            ver-not-supported(0 | 1 | 2 | all);
        }
        end-user-address-validated;
        gtp-in-gtp-denied;
        handover-group group-name;
        handover-on-roaming-intf;
        listening-mode;
        log {
            forwarded (basic | detail);
            gtp-u name;
            prohibited (basic | detail);
            rate-limited (basic | detail);
            state-invalid (basic | detail);
        }
        max-message-length max-message-length;
        min-message-length min-message-length;
        must-ie-v1 msgie-prf-v1-name;
        must-ie-v2 msgie-prf-v2-name;
        ne-group group-name;
        path-rate-limit {
            message-type (create-req | delete-req | echo-req | other) {
                alarm-threshold {
                    forward forward ;
                    reverse reverse ;
            }
                drop-threshold {
                    forward forward ;
                    reverse reverse ;
                }
            }
        }
        rate-limit {
            alarm-threshold alarm-threshold;
            drop-threshold drop-threshold;    
        }
        remove-ie {
            versionv1 {
                release name;
            }
        }
        remove-ie-v1 ieset-name;
        remove-ie-v2 ieset-name;
        req-timeout seconds;
        restart-path (all | create | echo);
        seq-number-validated;
        timeout hours;
        u-tunnel-validated;
        ue-group group-name;
    }
    rate-limit name {
        message {
            v0 msg-list-name;
            v1 msg-list-name;
            v2 msg-list-name;
        }
    }
    traceoptions {
        file <filename > <files files > <match match > <size size > <(world-readable | no-worldreadable)>;
        flag name;
        no-remote-trace;
        trace-level {
            (error | info | notice | verbose | warning);    
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit security]

Description

Use the GTP commands to enable the GTP service, configure GTP objects, set traceoptions, remove GTP inspection object configurations, and obtain configuration information.

From Junos OS Release 20.4R1 onwards, the [edit security gprs] hierarchy level is replaced by [edit security gtp].

Options

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.0. The restart-path option added in Junos OS Release 11.4. New GPRS tunneling protocol (GTP) message types added in Junos OS Release 11.4. Support for GTPv2 added in Junos OS Release 11.4. Statement modified in Junos OS Release 15.1X49-D40. Support for handover-default and handover-group options added in Junos OS Release 17.4R1.

footer-navigation