Technical Documentation

Configuring Gigabit Ethernet Interfaces (J-Web Procedure)

An Ethernet interface must be configured for optimal performance in a high-traffic network.

To configure properties on a Gigabit Ethernet interface or a 10-Gigabit Ethernet interface on an EX Series switch:

  1. Select Interfaces > Ports.

    The page lists Gigabit Ethernet and 10-Gigabit Ethernet interfaces and their link status.

    Note: After you make changes to the configuration in this page, you must commit the changes immediately for them to take effect. To commit all changes to the active configuration, select Commit Options > Commit. See Using the Commit Options to Commit Configuration Changes for details about all commit options.

  2. Select the interface you want to configure. If the interface you want to configure is not listed under Ports in the top table on the page, select the FPC (the FPC is the line card on an EX8200 switch or the member switch in a Virtual Chassis configuration) that includes that interface from the List Ports for FPC list.

    Details for the selected interface such as administrative status, link status, speed, duplex, and flow control are displayed in the bottom table on the page.

    Note: You can select multiple interfaces and modify their settings at the same time. When you do this, you cannot modify the IP address or enable or disable the administrative status of the selected interface.

  3. Click Edit and select the set of options you want to configure first:
    • Port Role—Enables you to assign a profile for the selected interface.

      Note: When you select a particular port role, pre-configured port security parameters are set for the VLAN that the interface belongs to. For example, if you select the port role Desktop, the port security options examine-dhcp and arp-inspection are enabled on the VLAN that the interface belongs to. If there are interfaces in the VLAN that have static IP addresses, those interfaces might lose connectivity because those static IP addresses might not be present in the DHCP pool. Therefore, when you are selecting a port role, ensure that the corresponding port security settings for the VLAN are applicable to the interface.

      For basic information on port security features such as DHCP snooping (CLI option examine-dhcp) or dynamic ARP inspection (DAI) (CLI option arp-inspection), see Configuring Port Security (J-Web Procedure). For detailed descriptions of port security features, see the Port Security topics in the EX Series documentation at https://www.juniper.net/techpubs/.

      Click Details to view the configuration parameters for the selected port role.

    • VLAN Options—Enables you to configure VLAN options for the selected interface.
    • Link Options—Enables you to modify the following link options for the selected interface:
      • Speed
      • MTU
      • Autonegotiation
      • Flow Control
      • Duplex
    • IP Options—Enables you to configure an IP address for the interface.
  4. Configure the interface by configuring options in the selected option set. See Table 1 for details on options.
  5. Repeat steps 3 and 4 for the remaining option sets that you want to configure for the interface.

    Note: To enable or disable the administrative status for a selected interface, click Enable Port or Disable Port.

Table 1: Port Edit Options

Field

Function

Your Action

Port Role

Specifies a profile (role) to assign to the interface.

Note: Once a port role is configured on the interface, you cannot specify VLAN options or IP options.

Note: Only the following port roles can be applied on EX8200 switch interfaces:

  • Default
  • Layer 2 uplink
  • Routed uplink
 

Default

Applies the default role.

The interface family is set to ethernet-switching, port mode is set to access, and RSTP is enabled.

  1. Click Details to view CLI commands for this role.
  2. Click OK.

Desktop

Applies the desktop role.

The interface family is set to ethernet-switching, port mode is set to access, RSTP is enabled with the edge and point-to-point options, and port security parameters (MAC limit =1; dynamic ARP inspection and DHCP snooping enabled) are set.

  1. Select an existing VLAN configuration or type the name of a new VLAN configuration to be associated with the interface.
  2. Click Details to view CLI commands for this role.
  3. Click OK.

Desktop and Phone

Applies the desktop and phone role.

The interface family is set to ethernet-switching, port mode is set to access, port security parameters (MAC limit =1; dynamic ARP Inspection and DHCP snooping enabled) are set, and recommended CoS parameters are specified for forwarding classes, schedulers, and classifiers. See Table 2 for more CoS information.

  1. Select an existing VLAN configuration or type the name of a new VLAN configuration to be associated with the interface.

    You can also select an existing VoIP VLAN configuration or a new VoIP VLAN configuration to be associated with the interface.

    Note: VoIP is not supported on EX8200 switches.

  2. Click Details to view CLI commands for this role.
  3. Click OK.

Wireless Access Point

Applies the wireless access point role.

The interface family is set to ethernet-switching, port mode is set to access, and RSTP is enabled with the edge and point-to-point options.

  1. Select an existing VLAN configuration or type the name of a new VLAN configuration to be associated with the interface. Type the VLAN ID for a new VLAN.
  2. Click Details to view CLI commands for this role.
  3. Click OK.

Routed Uplink

Applies the routed uplink role.

The interface family is set to inet, and recommended CoS parameters are set for schedulers and classifiers. See Table 2 for more CoS information.

To specify an IPv4 address:

  1. Select the check box IPv4 address.
  2. Type an IP address—for example: 10.10.10.10.
  3. Enter the subnet mask or address prefix. For example, 24 bits represents 255.255.255.0.
  4. Click OK.

To specify an IPv6 address:

  1. Select the check box IPv6 address.
  2. Type an IP address—for example: 2001:ab8:85a3::8a2e:370:7334.
  3. Enter the subnet mask or address prefix.
  4. Click OK.

    Note: Ipv6 is not supported on EX2200 and EX4500 switches.

Layer 2 Uplink

Applies the Layer 2 uplink role.

The interface family is set to ethernet-switching, port mode is set to trunk, RSTP is enabled with the point-to-point option, and port security is set to dhcp-trusted.

  1. For this port role you can select a VLAN member and associate a native VLAN with the interface.
  2. Click Details to view CLI commands for this role.
  3. Click OK.

None

Specifies that no port role is configured for the selected interface.

 

Note: See Port Role Configuration with the J-Web Interface (with CLI References) for details on the CLI commands that are associated with each port role.

Note: For an EX8200 switch, dynamic ARP inspection and DHCP snooping parameters are not configured.

VLAN Options

Port Mode

Specifies the mode of operation for the interface: trunk or access.

If you select Trunk, you can:

  1. Click Add to add a VLAN member.
  2. Select the VLAN and click OK.
  3. (Optional) Associate a native VLAN with the interface.

If you select Access, you can:

  1. Select the VLAN member to be associated with the interface.
  2. (Optional) Associate a VoIP VLAN with the interface. Only a VLAN with a VLAN ID can be associated as a VoIP VLAN.

    Note: VoIP is not supported on EX8200 switches.

Click OK.

Link Options

MTU (bytes)

Specifies the maximum transmission unit size for the interface.

Type a value from 256 through 9216. The default MTU for Gigabit Ethernet interfaces is 1514.

Speed

Specifies the speed for the mode.

Select one of the following values: 10 Mbps, 100 Mbps, 1000 Mbps, or Auto-Negotiation.

Duplex

Specifies the link mode.

Select one: automatic, half, or full.

Description

Describes the link.

Note: If the interface is part of a link aggregation group (LAG), only the option Description is enabled.

Enter a brief description for the link.

Enable Auto Negotiation

Enables or disables autonegotiation.

Select the check box to enable autonegotiation, or clear the check box to disable it. By default, autonegotiation is enabled.

Enable Flow Control

Enables or disables flow control.

Select the check box to enable flow control to regulate the amount of traffic sent out of the interface, or clear the check box to disable flow control and permit unrestricted traffic. Flow control is enabled by default.

IP Options

IPv4 Address

Specifies an IPv4 address for the interface.

Note: If the IP address is cleared, the interface still belongs to the inet family.

  1. To specify an IPv4 address, select the check box IPv4 address.
  2. Type an IP address—for example: 10.10.10.10.
  3. Enter the subnet mask or address prefix. For example, 24 bits represents 255.255.255.0.
  4. Click OK.

IPv6 Address

Specifies an IPv6 address for the interface.

Note: If the IP address is cleared, the interface still belongs to the inet family.

  1. To specify an IPv6 address, select the check box IPv6 address.
  2. Type an IP address—for example: 2001:ab8:85a3::8a2e:370:7334.
  3. Enter the subnet mask or address prefix.
  4. Click OK.

    Note: Ipv6 is not supported on EX2200 and EX4500 switches.

Table 2: Recommended CoS Settings for Port Roles

CoS Parameter

Recommended Settings

Forwarding Classes

There are four forwarding classes:

  • voice—Queue number is set to 7.
  • expedited-forwarding—Queue number is set to 5.
  • assured-forwarding—Queue number is set to 1.
  • best-effort—Queue number is set to 0.

Schedulers

The schedulers and their settings are:

  • Strict-priority—Transmission rate is set to 10 percent and buffer size to 5 percent.
  • Expedited-scheduler—Transmission rate is set to 30 percent, buffer size to 30 percent, and priority to low.
  • Assured-scheduler—Transmission rate is set to 25 percent, buffer size to 25 percent, and priority to low.
  • Best-effort scheduler—Transmission rate is set to 35 percent, buffer size to 40 percent, and priority to low.

Scheduler maps

When a desktop and phone, routed uplink, or layer 2 uplink role is applied on an interface, the forwarding classes and schedulers are mapped using the scheduler map.

ieee-802.1 classifier

Imports the default ieee-802.1 classifier configuration and sets the loss priority to low for the code point 101 for the voice forwarding class.

dscp classifier

Imports the default dscp classifier configuration and sets the loss priority to low for the code point 101110 for the voice forwarding class.


Published: 2010-05-03