- Cheat Sheet and Example is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools






Junos Interface Configuration Examples

Check Interfaces

Confirm whether the interface is Up or Down

> show interfaces terse
Interface               Admin Link Proto    Local                 Remote
t1-0/1/0:0              up    up 
t1-0/1/0:0.0            up    up   inet
t1-0/1/0:1              up    up
t1-0/1/0:2              up    up
t1-0/1/0:3              up    up
at-1/0/0                up    up
at-1/0/1                up    up
dsc                     up    up
fxp0                    up    up
fxp0.0                  up    up   inet
fxp1                    up    up

Check Interface Configuration

show interfaces command show Speed and negotiation.

> show interfaces ge-3/0/2
Physical interface: ge-3/0/2, Enabled, Physical link is Up
  Interface index: 167, SNMP ifIndex: 35
  Link-level type: 52, MTU: 1522, Speed: 1000mbps, Loopback: Disabled,
  Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled
  Remote fault: Online
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  CoS queues     : 4 supported, 4 maximum usable queues
  Current address: 00:00:5e:00:53:7c, Hardware address: 00:00:5e:00:53:7c
  Last flapped   : 2006-08-10 17:25:10 PDT (00:01:08 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  Ingress rate at Packet Forwarding Engine      : 0 bps (0 pps)
  Ingress drop rate at Packet Forwarding Engine : 0 bps (0 pps)
  Active alarms  : None
  Active defects : None
  Logical interface ge-3/0/2.0 (Index 72) (SNMP ifIndex 69) 
    Flags: SNMP-Traps 0x4000
    VLAN-Tag [ 0x8100.512 0x8100.513 ] In(pop-swap 0x8100.530) Out(swap-push     0x8100.512 0x8100.513)
    Encapsulation: VLAN-CCC
    Egress account overhead: 100
    Ingress account overhead: 90
    Input packets : 0 
    Output packets: 0
    Protocol ccc, MTU: 1522
      Flags: Is-Primary 

# show interfaces ge-0/0/1 | display set

Configuration of Negotiation

Check Duplex and Speed

>show interfaces ge-0/0/1 media

Configuration Interface

IP address configuration

# set interfaces fe-0/0/1 unit 0 family inet address
# delete interfaces fe-0/0/1 unit 0 family inet address

Enable/Disable(like cisco's no shutdown/shutdown)

# set interfaces fe-0/0/1 disable
# delete interfaces fe-0/0/1 disable

unnumberd interface

unnumberd interface don't have ip address.

# set interfaces fe-0/0/1 unit 0 family inet

negotiation configuration

# set interfaces ge-0/0/1 ether-options auto-negotiation
# set interfaces ge-0/0/2 ether-options no-auto-negotiation
# set interfaces ge-0/0/2 ether-options speed 100m
# set interfaces ge-0/0/2 ether-options link-mode full-duplex

Permit ICMP ping with SRX

hardware/junos/interface.html.txt ยท Last modified: 2020/11/11 by admin

Page Tools