G Commands

generate type7_encrypted_secret

generate type7_encrypted_secret

Syntax Description

Syntax Description

generate

generate

type7_encrypted_secret

Type 7 Encrypted Secret

Command Mode
  • /exec

getnext

| getnext

Syntax Description

Syntax Description

|

Pipe command output to filter

getnext

return next instance instead of specified one, or first instance if none specified (if supported by feature)

Command Mode
  • /output

global-block

[no] global-block <min-srgb-label> <max-srgb-label>

Syntax Description

Syntax Description

no

(Optional) 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/ulib

graceful-restart-helper

[no] graceful-restart-helper

Syntax Description

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

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

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 [ planned-only ]

Syntax Description

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

planned-only

(Optional) Enable graceful restart only for a planned 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

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

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 [ planned-only ]

Syntax Description

Syntax Description

no

(Optional) Negate a command or set its defaults

graceful-restart

Configure graceful restart

planned-only

(Optional) Enable graceful restart only for a planned restart

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

graceful-restart

{ { [ no ] [ eigrp ] graceful-restart } | { [ no ] nsf } }

Syntax Description

Syntax Description

no

(Optional) Negate a command or set its defaults

eigrp

(Optional) EIGRP router configuration commands

graceful-restart

Peer resync without adjancency reset

nsf

Non-stop forwarding

Command Mode
  • /exec/configure/router-eigrp/router-eigrp-vrf-common /exec/configure/router-eigrp/router-eigrp-af-common

graceful-restart grace-period

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

Syntax Description

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 grace-period

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

Syntax Description

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 helper-disable

[no] graceful-restart helper-disable

Syntax Description

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

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 restart-time

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

Syntax Description

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

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

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

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 consistency-check

[no] graceful consistency-check

Syntax Description

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 } [ count | ignore-case | line-number | invert-match | word-exp | line-exp | <ctx> | next <num> | prev <num> ] + <expr>

Syntax Description

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

Syntax Description

|

Pipe command output to filter

grep

Grep - print lines matching a pattern

egrep

Egrep - print lines matching a pattern

-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

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

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

--

(Optional) --

expr

Search for the expression

Command Mode
  • /output

guestshell

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

Syntax Description

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

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) Resize the guest shell root filesystem to a larger value

gsh_rootfs

(Optional) New root filesystem size (in MB)

cpu

(Optional) Resize the system CPU share allocated to guest shell

gsh_cpu

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

memory

(Optional) Resize the system memory allocated to guest shell

gsh_memory

(Optional) New memory size (in MB)

package

(Optional) Package location

enable_uri

(Optional) File name (with .ova extension) for the virtual service

upgrade_uri

(Optional) File name (with .ova extension) 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

Syntax Description

gunzip

Uncompresses LZ77 coded files

uri0

Enter filename (filename must have .gz extension)

Command Mode
  • /exec

gzip

gzip <uri0>

Syntax Description

Syntax Description

gzip

Compresses file using LZ77 coding

uri0

Enter filename

Command Mode
  • /exec