show route snooping
Syntax
show route snooping <brief | detail | extensive | terse> <all> <best address/prefix> <exact address> <instance instance-name> <logical-system logical-system-name> <range prefix-range> <summary> <table table-name>
Description
Display the entries in the routing table that were learned from snooping.
Options
| none |
Display the entries in the routing table that were learned from snooping. |
| brief | detail | extensive | terse |
(Optional) Display the specified level of output. If you do not specify a level of output, the system defaults to brief. |
| all |
(Optional) Display all entries, including hidden entries. |
| best address/prefix |
(Optional) Display the longest match for the provided address and optional prefix. |
| exact address/prefix |
(Optional) Display exact matches for the provided address and optional prefix. |
| instance instance-name | (Optional) Display details of all routing instances from snooping when issued without the instance name. Display details of a specific routing instance from snooping when specified with the instance name. |
| logical-system logical-system-name |
(Optional) Display information about a particular logical system, or type ’all’. |
| range prefix-range |
(Optional) Display information for the provided address range. |
| summary |
(Optional) Display route snooping summary statisitics. |
| table table-name |
(Optional) Display information for the named table. |
Required Privilege Level
view
Output Fields
For information about output fields, see the output field tables for the show route command, the show route detail command, the show route extensive command, or the show route terse command.
Sample Output
show route snooping detail
user@host> show route snooping detail
__+domainAll__.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
224.0.0.2/32 (1 entry, 1 announced)
*IGMP Preference: 0
Next hop type: MultiRecv
Next-hop reference count: 4
State: <Active NoReadvrt Int>
Age: 2:24
Task: IGMP
Announcement bits (1): 0-KRT
AS path: I
224.0.0.22/32 (1 entry, 1 announced)
*IGMP Preference: 0
Next hop type: MultiRecv
Next-hop reference count: 4
State: <Active NoReadvrt Int>
Age: 2:24
Task: IGMP
Announcement bits (1): 0-KRT
AS path: I
__+domainAll__.inet.1: 36 destinations, 36 routes (36 active, 0 holddown, 0 hidden)
224.0.0.0.0.0.0.0/24 (1 entry, 1 announced)
*Multicast Preference: 180
Next hop type: Multicast (IPv4), Next hop index: 1048584
Next-hop reference count: 4
State: <Active Int>
Age: 2:24
Task: MC
Announcement bits (1): 0-KRT
AS path: I
<snip>show route snooping logical-system all
user@host> show route snooping logical-system all
logical-system: default
inet.1: 20 destinations, 20 routes (20 active, 0 holddown, 0 hidden)
Restart Unsupported
+ = Active Route, - = Last Active, * = Both
0.0,0.1,0.0,232.1.1.65,100.1.1.2/112*[Multicast/180] 00:07:36
Multicast (IPv4) Composite
0.0,0.1,0.0,232.1.1.66,100.1.1.2/112*[Multicast/180] 00:07:36
Multicast (IPv4) Composite
0.0,0.1,0.0,232.1.1.67,100.1.1.2/112*[Multicast/180] 00:07:36
<snip>
default-switch.inet.1: 237 dest, 237 rts (237 active, 0 holddown, 0 hidden)
Restart Complete
+ = Active Route, - = Last Active, * = Both
0.15,0.1,0.0,0.0.0.0,0.0.0.0,2/120*[Multicast/180] 00:08:21
Multicast (IPv4) Composite
0.15,0.1,0.0,0.0.0.0,0.0.0.0,2,17/128*[Multicast/180] 00:08:21
Multicast (IPv4) Composite
<snip>
show route snooping instance
user@host> show route snooping instance
Instance Type
Primary RIB Active/holddown/hidden
primary forwarding
instance-sample forwarding
instance-sample.inet.1 6/0/0
instance-sample.inet6.1 3/0/0
instance-sample.vpls.0 2/0/0
user@host> show route snooping instance instance-sample
Instance Type
Primary RIB Active/holddown/hidden
instance-sample forwarding
instance-sample.inet.1 6/0/0
instance-sample.inet6.1 3/0/0
instance-sample.vpls.0 2/0/0
Release Information
Command introduced in Junos OS Release 8.5.
instance instance-name option introduced in Junos OS Release 24.4R1 on QFX5110 and QFX5120-32C devices.