G Commands

generate type7_encrypted_secret

generate type7_encrypted_secret

Syntax Description

generate

generate

type7_encrypted_secret

Type 7 Encrypted Secret

Command Mode

  • /exec

geneve enable

[no] geneve enable

Syntax Description

geneve

Configure geneve-bit on the hardware

enable

Enable geneve-bit on the hardware

Command Mode

  • /exec/configure

geneve enable

[no] geneve enable

Syntax Description

geneve

Configure geneve-bit on the hardware

enable

Enable geneve-bit on the hardware

Command Mode

  • /exec/configure/analytics

global-block

{ { global-block <min-srgb-label> <max-srgb-label> } | { no global-block } }

Syntax Description

no

Negate a command or set its defaults

global-block

Specify global block range for Segment Routing bindings

min-srgb-label

Minimum label value

max-srgb-label

Maximum label value

Command Mode

  • /exec/configure/config-sr-mpls

global ingress-replication protocol bgp

[no] global ingress-replication protocol bgp

Syntax Description

no

(Optional) Negate a command or set its defaults

global

Global configurations for nve, inherited by VNIs

ingress-replication

Configure ingress replication

protocol

Control protocol to use

bgp

Border Gateway Protocol

Command Mode

  • /exec/configure/if-nve

global mcast-group L2

global mcast-group { <maddr> } { L2 | L3 } | no global mcast-group { L2 | L3 }

Syntax Description

no

Negate a command or set its defaults

global

Global configurations for nve, inherited by VNIs

mcast-group

NVE Multicast Group

L2

Global mcast-group <arg> for L2 VNIs

L3

Global mcast-group <arg> for L3 VNIs

maddr

Multicast IP Prefix

Command Mode

  • /exec/configure/if-nve

global suppress-arp

[no] global suppress-arp

Syntax Description

no

(Optional) Negate a command or set its defaults

global

Global configurations for nve, inherited by VNIs

suppress-arp

Enable ARP suppression

Command Mode

  • /exec/configure/if-nve

gnss-receiver sync

gnss-receiver sync <clk-interface>

Syntax Description

gnss-receiver

GNSS Receiver configuration mode

sync

For Synchronization interfaces only

clk-interface

Enter gnss interface: <slot-num>/<port-num>

Command Mode

  • /exec/configure /exec/configure

gps-input tod-format pps-input

[no] gps-input tod-format <tod-format-enum> pps-input <pps-input> [ offset <offset> ] [ baud-rate <baudrate> ]

Syntax Description

no

(Optional) Negate a command or set its defaults

gps-input

GPS Port input mode

tod-format

Configure Time-of-day input format

tod-format-enum

tod-format

pps-input

Configure 1PPS input mode

pps-input

logging input

offset

(Optional) Set a fixed offset from received TOD to translate into PTP time

offset

(Optional) tod-format

baud-rate

(Optional) Set the baud-rate for the ToD UART input

baudrate

(Optional) baud-rate in bps

Command Mode

  • /exec/configure/clock-if/port-params

gps-output pps-output tod-format

[no] gps-output pps-output <pps-output> tod-format <tod-format-enum> [ baud-rate <baudrate> ]

Syntax Description

no

(Optional) Negate a command or set its defaults

gps-output

GPS Port output mode

pps-output

Configure 1PPS output mode

pps-output

logging input

tod-format

Configure Time-of-day output format

tod-format-enum

tod-format

baud-rate

(Optional) Set the baud-rate for the ToD UART output

baudrate

(Optional) baud-rate in bps

Command Mode

  • /exec/configure/clock-if/port-params

graceful-restart-helper

[no] graceful-restart-helper

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart-helper

Configure Graceful Restart Helper mode functionality

Command Mode

  • /exec/configure/router-bgp/vrf-cmds

graceful-restart

[no] graceful-restart

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure Graceful Restart functionality

Command Mode

  • /exec/configure/router-bgp/vrf-cmds

graceful-restart

[no] graceful-restart

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Enable graceful restart for IS-IS

Command Mode

  • /exec/configure/router-isis/router-isis-vrf-common

graceful-restart

[no] graceful-restart

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

Command Mode

  • /exec/configure/router-ospf3 /exec/configure/router-ospf3/vrf

graceful-restart

[no] graceful-restart

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

Command Mode

  • /exec/configure/router-ospf /exec/configure/router-ospf/vrf

graceful-restart

graceful-restart [ timers { forwarding-holding <fwdg-holdtime> | max-recovery <recovery-time> | neighbor-liveness <peer-liveness-time> } ] | no graceful-restart [ timers { forwarding-holding | max-recovery | neighbor-liveness } ]

Syntax Description

no

Negate a command or set its defaults

graceful-restart

Configure LDP Graceful Restart

timers

(Optional) Configure Graceful Restart timers

forwarding-holding

(Optional) Forwarding State Holding time

fwdg-holdtime

(Optional) seconds

max-recovery

(Optional) Max-Recovery time

recovery-time

(Optional) seconds

neighbor-liveness

(Optional) Neighbor-Liveness time

peer-liveness-time

(Optional) seconds

Command Mode

  • /exec/configure/ldp

graceful-restart

[no] graceful-restart

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Enable graceful restart for IS-IS

Command Mode

  • /exec/configure/otv-isis/otv-isis-vrf-common

graceful-restart

[no] graceful-restart

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Enable graceful restart for IS-IS

Command Mode

  • /exec/configure/l2mp-isis/l2mp-isis-vrf-common

graceful-restart grace-period

[no] graceful-restart grace-period <grace-period>

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

grace-period

Configure maximum interval to restart gracefully

grace-period

Grace period in seconds

Command Mode

  • /exec/configure/router-ospf3 /exec/configure/router-ospf3/vrf

graceful-restart grace-period

[no] graceful-restart grace-period <grace-period>

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

grace-period

Configure maximum interval to restart gracefully

grace-period

Grace period in seconds

Command Mode

  • /exec/configure/router-ospf /exec/configure/router-ospf/vrf

graceful-restart helper-disable

[no] graceful-restart helper-disable

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

helper-disable

Disable helper mode

Command Mode

  • /exec/configure/router-ospf /exec/configure/router-ospf/vrf

graceful-restart helper-disable

[no] graceful-restart helper-disable

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

helper-disable

Disable helper mode

Command Mode

  • /exec/configure/router-ospf3 /exec/configure/router-ospf3/vrf

graceful-restart planned-only

[no] graceful-restart planned-only

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

planned-only

Enable graceful restart only for a planned restart

Command Mode

  • /exec/configure/router-ospf3 /exec/configure/router-ospf3/vrf

graceful-restart planned-only

[no] graceful-restart planned-only

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

planned-only

Enable graceful restart only for a planned restart

Command Mode

  • /exec/configure/router-ospf /exec/configure/router-ospf/vrf

graceful-restart restart-time

graceful-restart restart-time <restart-time> | no graceful-restart restart-time [ <restart-time> ]

Syntax Description

no

Negate a command or set its defaults

graceful-restart

Configure Graceful Restart functionality

restart-time

Maximum time for restart advertised to peers

restart-time

Restart time (seconds)

Command Mode

  • /exec/configure/router-bgp/vrf-cmds

graceful-restart stalepath-time

graceful-restart stalepath-time <stalepath-time> | no graceful-restart stalepath-time [ <stalepath-time> ]

Syntax Description

no

Negate a command or set its defaults

graceful-restart

Configure Graceful Restart functionality

stalepath-time

Maximum time to keep a restarting peer's stale routes

stalepath-time

Stalepath time (seconds)

Command Mode

  • /exec/configure/router-bgp/vrf-cmds

graceful-restart t3 manual

graceful-restart t3 manual <sec> | no graceful-restart t3 manual [ <sec> ]

Syntax Description

no

Negate a command or set its defaults

graceful-restart

Enable graceful restart for IS-IS

t3

Set the T3 (RFC 3847) graceful restart timer

manual

Change manually T3 default value

sec

Specify T3 value (secs)

Command Mode

  • /exec/configure/otv-isis/otv-isis-vrf-common

graceful-restart t3 manual

graceful-restart t3 manual <sec> | no graceful-restart t3 manual [ <sec> ]

Syntax Description

no

Negate a command or set its defaults

graceful-restart

Enable graceful restart for IS-IS

t3

Set the T3 (RFC 3847) graceful restart timer

manual

Change manually T3 default value

sec

Specify T3 value (secs)

Command Mode

  • /exec/configure/router-isis/router-isis-vrf-common

graceful-restart t3 manual

graceful-restart t3 manual <sec> | no graceful-restart t3 manual [ <sec> ]

Syntax Description

no

Negate a command or set its defaults

graceful-restart

Enable graceful restart for IS-IS

t3

Set the T3 (RFC 3847) graceful restart timer

manual

Change manually T3 default value

sec

Specify T3 value (secs)

Command Mode

  • /exec/configure/l2mp-isis/l2mp-isis-vrf-common

graceful-shutdown activate

[ no | default ] graceful-shutdown activate [ route-map <rmap-name> ]

Syntax Description

no

(Optional) Negate a command or set its defaults

default

(Optional) Inherit values from a peer template

graceful-shutdown

Graceful-shutdown for this neighbor

activate

Send graceful-shutdown community

route-map

(Optional) Apply route-map to modify attributes for outbound

rmap-name

(Optional) Route-map name

Command Mode

  • /exec/configure/router-bgp/router-bgp-neighbor-sess

graceful-shutdown activate

[no] graceful-shutdown activate [ route-map <rmap-name> ]

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-shutdown

Graceful-shutdown for BGP protocol

activate

Send graceful-shutdown community on all routes

route-map

(Optional) Apply route-map to modify attributes for outbound

rmap-name

(Optional) Route-map name

Command Mode

  • /exec/configure/router-bgp

graceful-shutdown aware

[no] graceful-shutdown aware

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-shutdown

Graceful-shutdown for BGP protocol

aware

Lower preference of routes carrying graceful-shutdown community

Command Mode

  • /exec/configure/router-bgp

graceful consistency-check

[no] graceful consistency-check

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful

Enable graceful features

consistency-check

Enable graceful type-1 consistency check

Command Mode

  • /exec/configure/vpc-domain

grep

| { grep | egrep } [ -c | -i | -n | -v | -w | -x | <ctx> | -A <num> | -B <num> ] + <expr>

Syntax Description

|

Pipe command output to filter

grep

Grep - print lines matching a pattern

egrep

Egrep - print lines matching a pattern

-c

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

-i

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

-n

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

-v

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

-w

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

-x

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

ctx

(Optional) Print <num> lines of context on each side of every match

-A

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

-B

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

num

(Optional) Print <num> lines of context

expr

Search for the expression

Command Mode

  • /output

grep

| { grep | egrep } [ count | ignore-case | line-number | invert-match | word-exp | line-exp | <ctx> | next <num> | prev <num> ] + <expr>

Syntax Description

|

Pipe command output to filter

grep

Grep - print lines matching a pattern

egrep

Egrep - print lines matching a pattern

count

(Optional) Print a total count of matching lines only

ignore-case

(Optional) Ignore case difference when comparing strings

line-number

(Optional) Print each match preceded by its line number

invert-match

(Optional) Print only lines that contain no matches for <expr>

word-exp

(Optional) Print only lines where the match is a complete word

line-exp

(Optional) Print only lines where the match is a whole line

ctx

(Optional) Print <num> lines of context on each side of every match

next

(Optional) Print <num> lines of context after every matching line

prev

(Optional) Print <num> lines of context before every matching line

num

(Optional) Print <num> lines of context

expr

Search for the expression

Command Mode

  • /output

grep

| { grep | egrep } [ -c | -i | -n | -v | -w | -x | <ctx> | -A <num> | -B <num> ] + [ -- ] <expr>

Syntax Description

|

Pipe command output to filter

grep

Grep

egrep

Egrep

-c

(Optional) Print a total count of matching lines only

-i

(Optional) Ignore case difference when comparing strings

-n

(Optional) Print each match preceded by its line number

-v

(Optional) Print only lines that contain no matches for <expr>

-w

(Optional) Print only lines where the match is a complete word

-x

(Optional) Print only lines where the match is a whole line

ctx

(Optional) Print <num> lines of context on each side of every match

-A

(Optional) Print <num> lines of context after every matching line

-B

(Optional) Print <num> lines of context before every matching line

num

(Optional) Print <num> lines of context

--

THIS KEYWORD OR VARIABLE IS NOT SUPPORTED

expr

Search for the expression

Command Mode

  • /output

group drop-events

[no] group drop-events

Syntax Description

group

Group for which the events need to be set

drop-events

Set events for drops

Command Mode

  • /exec/configure/analytics/event

group drop-events

[no] group drop-events

Syntax Description

group

Group for which the events need to be set

drop-events

Set events for drops

Command Mode

  • /exec/configure/config-fte-event

group drop-events

[no] group drop-events

Syntax Description

group

Group for which the events need to be set

drop-events

Set events for drops

Command Mode

  • /exec/configure/nfm-event

group latency-events

[no] group latency-events

Syntax Description

group

Group for which the events need to be set

latency-events

Set events for latency events

Command Mode

  • /exec/configure/nfm-event

group latency-events

[no] group latency-events

Syntax Description

group

Group for which the events need to be set

latency-events

Set events for latency events

Command Mode

  • /exec/configure/config-fte-event

group latency-events

[no] group latency-events

Syntax Description

group

Group for which the events need to be set

latency-events

Set events for latency events

Command Mode

  • /exec/configure/analytics/event

group packet-events

[no] group packet-events

Syntax Description

group

Group for which the events need to be set

packet-events

Set events for packet events

Command Mode

  • /exec/configure/nfm-event

group packet-events

[no] group packet-events

Syntax Description

group

Group for which the events need to be set

packet-events

Set events for packet events

Command Mode

  • /exec/configure/analytics/event

grpc-async

[no] grpc-async

Syntax Description

no

(Optional) Negate a command or set its defaults

grpc-async

Enable gRPC asynchronous mode

Command Mode

  • /exec/configure/telemetry/destination-group/host

grpc deadline

grpc deadline <timeout> | no grpc deadline

Syntax Description

no

Negate a command or set its defaults

grpc

Specify grpc details

deadline

Specify deadline timeout

timeout

Set deadline timeout in seconds

Command Mode

  • /exec/configure/telemetry/destination-profile

guest-ipaddress

{ guest-ipaddress <ip-prefix> | no guest-ipaddress [ <ip-prefix> ] }

Syntax Description

no

Negate a command or set its defaults

guest-ipaddress

guest-ipaddress and netmask length

ip-prefix

guest-ipaddress and netmask length

Command Mode

  • /exec/configure/app-hosting-app-vnic

guest-ipv6address

{ guest-ipv6address <ipv6-prefix> | no guest-ipv6address [ <ipv6-prefix> ] }

Syntax Description

no

Negate a command or set its defaults

guest-ipv6address

guest-ipv6address and netmask length

Command Mode

  • /exec/configure/app-hosting-app-vnic

guestshell

guestshell [ { enable [ { package <enable_uri> } ] } | { upgrade [ { package <upgrade_uri> } ] } | { export { rootfs package <export_uri> } } | { disable } | { destroy } | { reboot } | <sync_cmd_name> | { resize { rootfs <gsh_rootfs> | cpu <gsh_cpu> | memory <gsh_memory> } } | { run { <cmd_args> } } ]

Syntax Description

guestshell

Request a guest shell

enable

(Optional) Enable the guest shell service

upgrade

(Optional) Upgrade the guest shell service package to a different version

export

(Optional) Export the guest shell

export_uri

(Optional) Destination file or directory path

disable

(Optional) Disable the guest shell service package

destroy

(Optional) Disable and uninstall the guest shell service package

sync_cmd_name

(Optional) Synchronize the contents of the guest shell to standby supervisor

reboot

(Optional) Deactivate and reactivate the guest shell service

resize

(Optional) Resize the existing/default guest shell parameters

rootfs

(Optional) Guest shell root filesystem disk image

gsh_rootfs

(Optional) New root filesystem size (in MB)

cpu

(Optional) System CPU share allocated to guest shell

gsh_cpu

(Optional) New CPU share allocation (as % of system CPU)

memory

(Optional) System memory allocated to guest shell

gsh_memory

(Optional) New memory size (in MB)

package

(Optional) Package location

enable_uri

(Optional) File name for the virtual service

upgrade_uri

(Optional) File name for the virtual service

run

(Optional) Execute/run program in the guest shell

cmd_args

(Optional) Executable with optional arguments

Command Mode

  • /exec

gunzip

gunzip <uri0>

Syntax Description

gunzip

Uncompresses LZ77 coded files

uri0

Enter filename (filename must have .gz extension)

Command Mode

  • /exec

gzip

gzip <uri0>

Syntax Description

gzip

Compresses file using LZ77 coding

uri0

Enter filename

Command Mode

  • /exec