Description

 When OAM is configured but in MX304 will display that OAMD subsystem is not running

root> show interfaces gr-0/0/0 
Physical interface: gr-0/0/0, Enabled, Physical link is Up
  Interface index: 171, SNMP ifIndex: 663
  Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 400000mbps
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
 
  Logical interface gr-0/0/0.0 (Index 349) (SNMP ifIndex 664)
    Description: GRE Tunnel to dmilton
    Flags: Up Point-To-Point SNMP-Traps 0x4000
    IP-Header <IPv4>:<IPv6> Encapsulation: GRE-NULL
    Copy-tos-to-outer-ip-header: Off, Copy-tos-to-outer-ip-header-transit: Off
    force-control-packets-on-transit-path: Off
    Gre keepalives configured: Off, Gre keepalives adjacency state: down
    Input packets : 356600
    Output packets: 418092
    Protocol inet, MTU: 9174
    Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
      Flags: Sendbcast-pkt-to-re
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: <IPv4>, Local: <IPv4>, Broadcast: <IPv4>
    Protocol iso, MTU: 1492
      Flags: User-MTU                  
    Protocol inet6, MTU: 9174
    Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: <IPv6>, Local: <IPv6>
      Addresses, Flags: Is-Preferred
        Destination: <IPv6> Local: <IPv6>
 
  Logical interface gr-0/0/0.1 (Index 354) (SNMP ifIndex 665)
    Description: GRE Tunnel to Charter
    Flags: Up Point-To-Point SNMP-Traps 0x4000
    IP-Header <IPv4>:<IPv6> Encapsulation: GRE-NULL
    Copy-tos-to-outer-ip-header: Off, Copy-tos-to-outer-ip-header-transit: Off
    force-control-packets-on-transit-path: Off
    Gre keepalives configured: Off, Gre keepalives adjacency state: down
    Input packets : 43135
    Output packets: 59670
    Protocol inet, MTU: 9174
    Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
      Flags: Sendbcast-pkt-to-re
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: <IPv4>, Local: <IPv4>, Broadcast: <IPv4>
    Protocol iso, MTU: 1492
      Flags: User-MTU                  
 
root > show oam gre-keepalive interface-name gr-0/0/0.0
error: the tunnel-oamd subsystem is not running

Symptoms

The show interfaces gr-X/X/X will show that GRE keepalive configured is OFF even though OAM is configured.

 

root > show interfaces gr-0/0/0.0
Logical interface gr-0/0/0.0 (Index 349) (SNMP ifIndex 664)
Gre keepalives configured: Off,
Gre keepalives adjacency state: down

root > show oam gre-keepalive interface-name gr-0/0/0.0
error: the tunnel-oamd subsystem is not running



root > show configuration protocols oam
gre-tunnel {
interface gr-0/0/0 {
keepalive-time 5;
hold-time 10;
}
}

Solution

Matching PR https://prsearch.juniper.net/problemreport/PR1690440

Workaround :

root@router> start shell user root
Password:
root@router: /var/home/labroot # cd /usr/sbin/
root@router: /usr/sbin # ./oamd

Note: This restoration step may need to be re-applied after every router reboot.

RESOLVED IN

Junos
21.4R3-S2
22.1R3
22.1R3-S5
22.2R2
22.2R3
22.2R3-S3
22.3R2
22.4R1
23.1R1

Modification History

2023-11-30 : Article Created