Ticker

6/recent/ticker-posts

Juniper Switch useful show commands | vQFX | EVE-NG

show interfaces terse
Displays interface summary.
root@JN-SW-01> show interfaces terse
Interface               Admin Link Proto    Local                 Remote
xe-0/0/5                up    up
xe-0/0/5.0              up    up   eth-switch

show system uptime
Displays the current time and information about how long the switch is being online.
root@JN-SW-01> show system uptime 
fpc0:
--------------------------------------------------------------------------
Current time: 2023-05-17 03:35:02 UTC
Time Source:  LOCAL CLOCK 
System booted: 2023-05-17 03:22:32 UTC (00:12:30 ago)
Protocols started: 2023-05-17 03:23:48 UTC (00:11:14 ago)
Last configured: 2023-05-17 03:26:31 UTC (00:08:31 ago) by root
3:35AM  up 13 mins, 1 user, load averages: 0.79, 1.32, 1.19

show system information
Displays High level system information.
root@JN-SW-01> show system information 
Model: vqfx-10000
Family: junos-qfx
Junos: 19.4R1.10
Hostname: JN-SW-01

show ethernet-switching table
Displays the ethernet switching table. (Displays L2 MAC information)
root@JN-SW-01> show ethernet-switching table 
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
           SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 1 entries, 1 learned
Routing instance : default-switch
    Vlan                MAC                 MAC         Age    Logical                NH        RTR 
    name                address             flags              interface              Index     ID
    vlan10              c8:e7:f0:4b:d1:00   D             -    xe-0/0/5.0             0         0       

show vlans
Displays information about the VLANs configured on bridged ethernet interfaces. This command displays the interfaces associated with both tagged and untagged VLANs.
root@JN-SW-02> show vlans    
Routing instance        VLAN name             Tag          Interfaces
default-switch          vlan10                10           xe-0/0/11.0*
                                                           xe-0/0/5.0*
default-switch          vlan20                20           xe-0/0/11.0*
                                                           xe-0/0/6.0*
show route
Displays the active routing table entries.
root@JN-SW-01> show route 
inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
172.17.10.0/24         *[Direct/0] 00:47:08
                        >  via irb.10
172.17.20.0/24         *[Direct/0] 00:47:08
                        >  via irb.20

show system users
Displays the information about the current users logged into the Switch.
root@JN-SW-01> show system users 
fpc0:
 3:33AM  up 1:03, 1 user, load averages: 0.81, 0.82, 0.73
USER     TTY      FROM                              LOGIN@  IDLE WHAT
root     d0       -                                 2:34AM     - cli

Show version
Displays the host name and version information about the software running on the switch
root@vqfx-re> show version 
fpc0:
Hostname: vqfx-re
Model: vqfx-10000
Junos: 19.4R1.10 limited
JUNOS Base OS boot [19.4R1.10]

Post a Comment

0 Comments