show forwarding-options next-hop-group
Syntax
show forwarding-options next-hop-group
<terse | brief | detail>
<group-name>
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
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.
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, inet6 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 |
Member 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
- show forwarding-options next-hop-group brief
- show forwarding-options next-hop-group detail
show forwarding-options next-hop-group terse
user@host> show forwarding-options next-hop-group terse Next-hop-group Type State nhg inet up nhg6 inet6 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: nhg Type: inet State: up Members Interfaces: ge-0/2/8.0 next-hop 192.0.2.10 ge-5/1/8.0 next-hop 198.51.100.10 ge-5/1/9.0 next-hop 203.0.113.10 Next-hop-group: nhg6 Type: inet6 State: up Members Interfaces: ge-5/1/5.0 next-hop 2001:db8::1:10 ge-5/1/6.0 next-hop 2001:db8::20:10 Member Subgroup: nhsg6 Members Interfaces: ge-5/0/4.0 next-hop 2001:db8::3:1 ge-5/1/4.0 next-hop 2001:db8::4: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: nhg Type: inet State: up Number of members configured : 3 Number of members that are up : 3 Number of subgroups configured : 0 Number of subgroups that are up : 0 Members Interfaces: State ge-0/2/8.0 next-hop 192.0.2.10 up ge-5/1/8.0 next-hop 203.0.113.10 up ge-5/1/9.0 next-hop 198.51.100.10.10 up Next-hop-group: nhg6 Type: inet6 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-5/1/5.0 next-hop 2001:db8::1:10 up ge-5/1/6.0 next-hop 2001:db8::20:10 up Member Subgroup: nhsg6 up Number of members configured : 2 Number of members that are up : 2 Members Interfaces: State ge-5/0/4.0 next-hop 2001:db8::3:1 up ge-5/1/4.0 next-hop 2001:db8::4: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
Release Information
Command introduced in Junos OS Release 9.6.
Support for IPv6 introduced in Junos OS Release 14.2 for the MX Series routers.