[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring and Verifying a Simple Example

To configure unidirectional mode using default settings on 10-Gigabit Ethernet interface xe-5/1/0 and confirm the configuration:

[edit]
interfaces xe-5/1/0 {
unidirectional;
}
[edit]
user@host show interfaces
xe-5/1/0 {
unidirectional;
}

The transmit-only and receive-only interfaces are created as soon as you commit the configuration. The following show command is one way to verify creation of these new interfaces:


user@host run show interfaces xe-5/1/0* terse
Interface               Admin Link Proto    Local                 Remote
xe-5/1/0                up    down
xe-5/1/0-rx             up    down
xe-5/1/0-tx             up    up

The two unidirectional physical interfaces, xe-5/1/0-rx and xe-5/1/0-tx, are now present. In this example, no fiber-optic cables are connected to the port; consequently the xe-5/1/0 and xe-5/1/0-rx link states are down. In contrast, xe-5/1/0 is in the up state, because the transmit-only link is always up.

The following sample output provides more information about each of the interfaces. Unidirectional mode has been enabled on xe-5/1/0, the transmit-only and receive-only interfaces are present, and the link state matches expectations for no fiber-optic cables connected to the physical port.


user@host run show interfaces xe-5/1/0*
Physical interface: xe-5/1/0, Enabled, Physical link is Down
  Interface index: 318, SNMP ifIndex: 118
  Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps,
  Unidirectional: Enabled, Loopback: None, Source filtering: Disabled,
  Flow control: Enabled
  Device flags   : Present Running Down
  Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Current address: 00:05:85:75:8b:62, Hardware address: 00:05:85:75:8b:62
  Last flapped   : 2007-08-10 11:45:29 PDT (01:39:47 ago)
  Active alarms  : LINK
  Active defects : LINK
  PCS statistics                      Seconds
    Bit errors                             0
    Errored blocks                         0

Physical interface: xe-5/1/0-rx, Enabled, Physical link is Down
  Interface index: 153, SNMP ifIndex: 129
  Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps,
  Unidirectional: Rx-Only
  Device flags   : Present Running Down
  Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Current address: 00:05:85:75:8b:62, Hardware address: 00:05:85:75:8b:62
  Last flapped   : 2007-08-10 11:46:29 PDT (01:38:47 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  Active alarms  : LINK
  Active defects : LINK
  PCS statistics                      Seconds
    Bit errors                             0
    Errored blocks                         0

Physical interface: xe-5/1/0-tx, Enabled, Physical link is Up
  Interface index: 158, SNMP ifIndex: 130
  Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps,
  Unidirectional: Tx-Only
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Current address: 00:05:85:75:8b:62, Hardware address: 00:05:85:75:8b:62
  Last flapped   : 2007-08-10 11:46:29 PDT (01:38:47 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)

[Contents] [Prev] [Next] [Index] [Report an Error]