Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configure Serial Interfaces on SRX devices

 

In this example you learn how to complete the initial configuration on a serial interface, how to delete a serial interface and how to configure serial interface 8-Port Synchronous Serial GPIM.

For information on installation of a serial PIM in the SRX Series device, see SRX Series Services Gateways for the Branch Physical Interface Modules Hardware Guide.

In this example:

  1. Create a new interface on a serial interface, se-1/0/0.

  2. Set the encapsulation type to ppp and create the basic configuration for se-1/0/0.

  3. Set the logical interface to 0 and logical unit number can range from 0 through 16,384.

  4. Enter additional values for properties you need to configure on the logical interface, such as logical encapsulation or protocol family.

  5. Set IPv4 address 10.10.10.10/24 on se-1/0/0.

When you delete the se-1/0/0 interface, the interface is disabled and removed from the software configuration. Network interfaces remain physically present, and their identifiers continue to appear on J-Web pages.

Basic Serial Interface Configuration

In this example, you create a serial interface called se-1/0/0 and set the encapsulation type to ppp. To quickly configure this example, use CLI quick configuration at the [edit] hierarchy level, and commit from configuration mode.

To configure the serial interface, se-1/0/0:

  1. Create the interface.
  2. Set the encapsulation type for se-1/0/0.
  3. Add logical interfaces.
  4. Specify an IPv4 address for the interface.

After completing the configuration successfully, view the parameters by using the show interfaces se-1/0/0 command.

Delete the Serial Interface

In this example, you delete a serial interface se-1/0/0. No configuration beyond device initialization is required before configuring an interface.

To delete the serial interface, se-1/0/0:

  1. Specify the interface you want to delete.
  2. After you are done configuring the device, commit the configuration.

After completing the configuration successfully, to verify the configuration use the show interfaces command.

Example: Configure serial interface on 8-Port Synchronous Serial GPIM

In this example, you can perform a basic back-to-back device configuration with an 8-port synchronous serial GPIM. The devices are shown as both data communication equipment (DCE) and data terminal equipment (DTE). In certain deployment scenarios, the DTE can be a serial modem or an encryptor or decryptor.

In this scenario, you can configure serial interface using two interfaces. You can configure all ports with different encapsulations, such as Cisco High-Level Data Link Control (HDLC), Frame Relay, and Point-to-Point Protocol (PPP). When Frame Relay is set, then the data link connection identifier (in this example, 111) must also be set. All the eight ports on Device 1 (SRX650) are configured in DTE mode and their respective eight ports on Device 2 (SRX650) are configured in DCE mode.

In this example, for device 1:

  • Set the encapsulation type to ppp and the logical interface to 0. The logical unit number can range from 0 through 16,384.

  • Enter additional values for properties you need to configure on the logical interface, such as logical encapsulation or protocol family.

  • Set the IPv4 address to 10.10.10.1/24 on the serial port.

For Device 2, you follow a procedure similar to Device 1, but you set the clocking mode to dce.

Figure 1 shows the topology used in this example.

Figure 1: Basic Back-to-Back Device Configuration
Basic Back-to-Back Device
Configuration

To quickly configure this example, CLI at the [edit] hierarchy level:

Device 1

Device 2

To configure the interfaces on Device 1:

  1. Specify the maximum transmission unit (MTU) value for the interface.
  2. Set the encapsulation type.
  3. Set the serial options, such as the clocking mode.
  4. Set the IPv4 address on the serial port.
  5. Specify the static route information.

    Repeat the same configuration for the other seven ports on Device 1.

  6. After you are done configuring the device, commit the configuration.

To configure the interfaces on Device 2:

  1. Specify the MTU value for the interface.
  2. Set the encapsulation type.
  3. Set the serial options, such as the clocking mode.
  4. Set the IPv4 address on the serial port.
  5. Specify the static route information.

    Repeat the same configuration for the other seven ports on Device 2.

  6. After you are done configuring the device, commit the configuration.

Purpose

Display information about the parameters configured on the serial interfaces.

Action

  • You can use the ping tool on each peer address in the network to verify that all interfaces on the device are operational. To verify the link state of all interfaces:

    For each interface on the device:

    1. In the J-Web interface, select Troubleshoot > Ping Host.

    2. In the Remote Host box, type the address of the interface for which you want to verify the link state.

    3. Click Start. The output appears on a separate page.

    If the interface is operational, it generates an ICMP response. If this response is received, the round-trip time, in milliseconds, is listed in the time field.

  • To verify that the interface properties are correct, use the show interfaces detail command to display a summary of interface information. Verify the following information:

    • The physical interface is Enabled. If the interface is shown as Disabled, do one of the following:

      • In the CLI configuration editor, delete the disable statement at the [edit interfaces se-1/0/0] level of the configuration hierarchy.

      • In the J-Web configuration editor, clear the Disable check box on the Interfaces > se-1/0/0 page.

    • The physical link is Up. A link state of Down indicates a problem with the interface module, interface port, or physical connection (link-layer errors).

    • The Last Flapped time is an expected value. It indicates the last time the physical interface became unavailable and then available again. Unexpected flapping indicates likely link-layer errors.

    • The traffic statistics reflect expected input and output rates. Verify that the number of inbound and outbound bytes and packets matches expected throughput for the physical interface. To clear the statistics and see only new changes, use the clear interfaces statistics se-1/0/0 command.

  • To verify and that the interface link status is up, use the enter the show interface terse se-7/0/* command:

    The output displays a list of all interfaces configured. If the Link column displays up for all interfaces, the configuration is correct. This verifies that the GPIM is up and end-to-end ping is working.

  • To verify the interface statistics for DCE, use the show interface se-7/0/0 extensive | no-more command:

    The output displays a list of all DCE verification parameters and the mode configured. If the local mode displays DCE, the configuration is correct.

  • To verify the interface statistics for DTE, use the show interface se-3/0/0 extensive | no-more command:

    The output displays a list of all DTE verification parameters and the mode configured. If the local mode displays DTE, the configuration is correct.