Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show forwarding-options next-hop-group

    Syntax

    show forwarding-options next-hop-group <terse | brief | detail><group-name>

    Release Information

    Command introduced in Junos OS Release 9.6.

    Statement introduced in Junos OS Release 12.3R2 for EX Series switches.

    Description

    Display current state of next-hop groups.

    Options

    terse | brief | detail
    —

    (Optional) Display the specified level of output.

    group-name
    —

    (Optional) Display a single next-hop group.

    Required Privilege Level

    view

    List of Sample Output

    show forwarding-options next-hop-group terse
    show forwarding-options next-hop-group brief
    show forwarding-options next-hop-group detail

    Output Fields

    Table 1 lists the output fields for the show forwarding-options next-hop-group command. Output fields are listed in the approximate order in which they appear.

    Table 1: show forwarding-options next-hop-group Output Fields

    Field Name

    Field Description

    Level of Output

    Next-hop-group

    Name of next-hop group.

    All levels

    Type

    Next-hop group type, such as inet or layer-2.

    All levels

    State

    Next-hop group state, either up or down.

    All levels

    Members Interfaces

    Names of interfaces to which next-hop group members belong.

    brief detail

    Members Subgroup

    Names of subgroups to which next-hop group members belong.

    brief detail

    Number of members configured

    Number of next-hop group members configured.

    detail

    Number of members that are up

    Number of next-hop group members that are up.

    detail

    Number of subgroups configured

    Number of subgroups configured.

    detail

    Number of subgroups that are up

    Number of subgroups that are up.

    detail

    Sample Output

    show forwarding-options next-hop-group terse

    user@host> show forwarding-options next-hop-group terse
    Next-hop-group			     Type	     State
    inet_nhg			     inet	     up
    vpls_nhg			     layer-2	     up
    vpls_nhg_2			     layer-2	     down
    

    show forwarding-options next-hop-group brief

    user@host> show forwarding-options next-hop-group brief
    Next-hop-group: inet_nhg
    Type: inet	     State: up
    Members Interfaces:
       ge-2/0/2.101 next-hop 101.2.0.2
    
    Next-hop-group: vpls_nhg
    Type: layer-2	     State: up
    Members Interfaces:
       ge-2/0/1.100
       ge-2/2/9.0
       Members Subgroup: vpls_subg
          Members Interfaces:
             ge-2/0/1.101
    	 ge-2/2/9.1
    
    Next-hop-group: vpls_nhg_2
    Type: layer-2        State: down
    

    show forwarding-options next-hop-group detail

    user@host> show forwarding-options next-hop-group detail
    Next-hop-group: inet_nhg	     
    Type: inet	     State: up
    Number of members configured    : 2
    Number of members that are up   : 1
    Number of subgroups configured  : 0
    Number of subgroups that are up : 0
    Members Interfaces:		     State
       ge-2/0/2.101 next-hop 101.2.0.2   up
       ge-2/2/8.2   next-hop 2.8.0.2     down
    
    Next-hop-group: vpls_nhg
    Type: layer-2	     State: up
    Number of members configured    : 2
    Number of members that are up   : 2
    Number of subgroups configured  : 1
    Number of subgroups that are up : 1
    Members Interfaces:		     State
       ge-2/0/1.100			     up
       ge-2/2/9.0			     up
       Members Subgroup: vpls_subg	     up
          Number of members configured    : 2
          Number of members that are up   : 2
          Members Interfaces:
             ge-2/0/1.101		     up
    	 ge-2/2/9.1		     up
    
    Next-hop-group: vpls_nhg_2	     
    Number of members configured    : 2
    Number of members that are up   : 0
    Number of subgroups configured  : 0
    Number of subgroups that are up : 0
    Type: layer-2        State: down
    Members Interfaces:		     State
       ge-2/2/1.100			     down
       ge-2/3/9.0			     down
    

    Published: 2013-08-29