Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring Layer 3 Protocols

 
Note

This section applies only to the J-Web Application package.

Configuring BGP Sessions (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

You can use the J-Web interface to create BGP peering sessions on a routing device.

Note

To configure BGP sessions, you must have a license for BGP installed on the EX Series switch.

To configure a BGP peering session:

  1. Select Configure > Routing > BGP.Note

    After you make changes to the configuration on this page, you must commit the changes 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. Click one of the following options:

    • Add—Adds a BGP group. Enter information into the configuration page as described in Table 66.

    • Edit—Modifies an existing BGP group. Enter information into the configuration page as described in Table 66.

    • Delete—Deletes an existing BGP group.

    • Disable—Disables BGP configuration.

  3. To modify BGP global settings, click Edit in the Global Information section. Enter information as described in Table 67.

Table 66: BGP Routing Configuration Summary

Field

Function

Your Action

General tab 

Group Type

Specifies whether the group is an internal BGP (IBGP) group or an external BGP (EBGP) group.

Select the option: Internal or External.

Group Name

Specifies the name for the group.

Type a new name or select and edit the name.

ASN

Sets the unique numeric identifier of the AS in which the routing device is configured.

Type the routing device’s 32-bit AS number, in dotted decimal notation.

If you enter an integer, the value is converted to a 32-bit equivalent. For example, if you enter 3, the value assigned to the AS is 0.0.0.3.

Preference

Specifies the degree of preference for an external route. The route with the highest local preference value is preferred.

Type or select and edit the value.

Cluster Id

Specifies the cluster identifier to be used by the route reflector cluster in an internal BGP group.

Type or select and edit the IPv6 or IPv4 address to be used as the identifier.

Description

Specifies the text description of the global, group, or neighbor configuration.

Type or select and edit the description.

Damping

Specifies whether route flap damping is enabled or not.

To enable route flap damping, select the check box.

To disable route flap damping do not select the check box.

Advertise Inactive Routes

Specifies whether BGP advertises the best route even if the routing table did not select it to be an active route.

To enable advertising inactive routes, select the check box.

To disable advertising inactive routes, do not select the check box.

Advertise Peer AS Routes

Specifies whether to disable the default behavior of suppressing AS routes.

To enable advertising peer AS routes, select the check box.

To disable advertising peer AS routes, do not select the check box.

Neighbors tab

Dynamic Neighbors

Configures a neighbor (peer).

Type the IPv4 address of the peer.

Static Neighbors

Configures the system’s peers statically.

To configure a static neighbor:

  1. Specify the IP address.
  2. Specify the address of the local end of a BGP session.
  3. Specify the degree of preference for an external route.
  4. Enter a description.
  5. Specify the hold-time value to use when negotiating a connection with the peer.
  6. Specify how long a route must be present in the routing table before it is exported to BGP. Use this time delay to help bundle routing updates.
  7. Select Passive if you do not want to send active open messages to the peer.
  8. Select the option to compare the AS path of an incoming advertised route with the AS number of the BGP peer under the group and replace all occurrences of the peer AS number in the AS path with its own AS number before advertising the route to the peer.
  9. Specify an import policy and export policy.
  10. Click OK.
Policies tab

Import Policy

Specifies one or more routing policies to routes being imported into the routing table from BGP.

Click Add to add an import policy. Select the policy and click OK.

Click Move up or Move down to move the selected policy up or down the list of policies.

Select the policy and click Remove.

Export Policy

Specifies one or more policies to routes being exported from the routing table into BGP.

Click Add to add an export policy. Select the policy and click OK.

Click Move up or Move down to move the selected policy up or down the list of policies.

Select the policy and click Remove.

Table 67: BGP Global Settings

FieldFunctionYour Action
General tab

Router ASN

Specifies the routing device’s AS number.

Type or select and edit the value.

Router Identifier

Specify the routing device’s IP address.

Type or select and edit the IP address.

BGP Status

Enables or disables BGP.

  • To enable BGP, select Enabled.

  • To disable BGP, select Disabled.

Description

Describes of the global, group, or neighbor configuration.

Type or select and edit the description.

Confederation Number

Specifies the routing device’s confederation AS number.

Type or select and edit the value.

Confederation Members

Specifies the AS numbers for the confederation members.

To add a member AS number, click Add and enter the number in the Member ASN box. Click OK.

To modify a confederation member’s AS number, select the member click Edit and, enter the number and click OK.

To delete a confederation member, select the member and click Remove.

Advance Options

You can configure the following:

  • Keep routes—Specifies whether routes learned from a BGP peer must be retained in the routing table even if they contain an AS number that was exported from the local AS.

  • TCP MSS—Configures the maximum segment size (MSS) for the TCP connection for BGP neighbors.

  • MTU Discovery—Select to configure MTU discovery.

  • Remove Private ASN—Select to have the local system strip private AS numbers from the AS path when advertising AS paths to remote systems.

  • Graceful Restart—Specifies the time period when the restart is expected to be complete. Specify the maximum time that stale routes are kept during restart.

  • Multihop—Configures the maximum time-to-live (TTL) value for the TTL in the IP header of BGP packets.

  • Authentication Type—Select the authentication algorithm: None, MD5, SHA1, AES.

Select All or None to configure Keep Routes.

Enter a value in the TCP MSS box.

Click to enable MTU Discovery.

Click to enable Remove Private ASN.

Enter the time period for a graceful restart and the maximum time that stale routes must be kept.

To configure Multihop, select Nexthop Change to allow unconnected third-party next hops. Enter a TTL value.

Select the authentication algorithm. If you select None, specify an authentication key (password).

Policies tab

Import Policy

Specifies one or more routing policies to routes being imported into the routing table from BGP.

Click Add to add an import policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an import policy.

Export Policy

Specifies one or more policies to routes being exported from the routing table into BGP.

Click Add to add an export policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an export policy.

Trace Options tab

File Name

Specifies the name of the file to receive the output of the tracing operation.

Type or select and edit the name.

Number of Files

Specifies the maximum number of trace files.

Type or select and edit the value.

File Size

Specifies the maximum size for each trace file.

Type or select and edit the value.

World Readable

Specifies whether the trace file can be read by any user or not.

Select True to allow any user to read the file.

Select False to disallow all users being able to read the file.

Flags

Specifies the tracing operation to perform.

Select a value from the list.

Configuring an OSPF Network (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

You can use the J-Web interface to create multiarea OSPF networks on an EX Series switch.

To configure a multiarea OSPF network:

  1. Select Configure > Routing > OSPF.Note

    After you make changes to the configuration on this page, you must commit the changes 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. Click one of the following options:

    • Add—Adds an OSPF area. Enter information into the configuration page as described in Table 68.

    • Edit—Modifies an existing OSPF area. Enter information into the configuration page as described in Table 68.

    • Delete—Deletes an existing OSPF area.

  3. To modify OSPF global settings, click Edit. Enter information as described in Table 69.
  4. To disable OSPF, click Disable.

Table 68: OSPF Routing Configuration Summary

Field

Function

Your Action

General tab

Area Id

Uniquely identifies the area within its AS.

Type a 32-bit numeric identifier for the area. Type an integer or select and edit the value.

If you enter an integer, the value is converted to a 32-bit equivalent. For example, if you enter 3, the value assigned to the area is 0.0.0.3.

Area Ranges

Specifies a range of IP addresses for an area when sending summary link advertisements (within an area).

To add a range:

  1. Click Add.
  2. Type the area range.
  3. Specify the subnet mask.
  4. To override the metric for the IP address range, type a specific metric value.
  5. If you do not want to display the routes that are contained within a summary, select Restrict advertisements of this area range.
  6. If you want a summary of a route to be advertised only when an exact match is made with the configured summary range, select Enforce exact match for advertisement of this area range.
  7. Click OK.

To modify an existing area range, select the area range, click Edit, and edit the value. Click OK.

To delete an area range, select the area range and click Delete.

Area Type

Designates the type of OSPF area.

  • regular—A regular OSPF area, including the backbone area

  • stub—A stub area

  • nssa—A not-so-stubby area (NSSA)

Select the type of OSPF area you are creating from the list.

If you select stub:

  1. Enter the default metric.
  2. To flood summary LSAs into the stub area, select the check box.

If you select nssa:

  1. Specify the metric type.
  2. Enter the default metric.
  3. To flood summary LSAs into the nssa area, select the check box.
  4. To flood Type-7 LSAs into the nssa area, select the check box.
Interfaces tab

Interfaces

Specifies the interfaces to be associated with the OSPF configuration

To associate an interface with the configuration, select the interface from the list, select Associate and click OK.

To edit an interface’s configuration:

  1. Select the interface from the list and click Edit.
  2. Specify the cost of an OSPF interface.
  3. Specify the traffic engineering metric.
  4. Specify how often the routing device sends hello packets from the interface.
  5. Specify how long the routing device waits to receive a link-state acknowledgment packet before retransmitting link-state advertisements to an interface’s neighbors.
  6. To enable OSPF on the interface, select the check box.
  7. To inform other protocols about neighbor down events, select the check box.
  8. To treat the interface as a secondary interface, select the check box.
  9. To only advertise OSPF, select the check box.
  10. Click OK.
Policies tab

Import Policy

Specifies one or more policies to control which routes learned from an area are used to generate summary link-state advertisements (LSAs) into other areas.

Click Add to add an import policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an import policy.

Export Policy

Specifies one or more policies to control which summary LSAs are flooded into an area.

Click Add to add an export policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an export policy.

Table 69: Edit OSPF Global Settings

FieldFunctionYour Action
General tab

Router Id

Specifies the ID for the routing device.

Type or select and edit the value.

RIB Group

Installs the routes learned from OSPF routing instances into routing tables in the OSPF routing table group.

Select a value.

Internal Route Preference

Specifies the route preference for internal groups.

Type or select and edit the value.

External Route Preference

Specifies the route preference for external groups.

Type or select and edit the value.

Graceful Restart

Configures graceful restart for OSPF.

To configure graceful restart:

  1. Specify the estimated time to send out purged grace LSAs over all the interfaces.
  2. Specified the estimated time to reacquire a full OSPF neighbor from each area.
  3. To disable No Strict LSA Checking, select the check box.
  4. To disable graceful restart helper capability, select the check box. Helper mode is enabled by default.
  5. Click OK.

SPF Options

Configure options for running the shortest-path-first (SPF) algorithm. You can configure a delay for when to run the SPF algorithm after a network topology change is detected, the maximum number of times the SPF algorithm can run in succession, and a hold-down interval after the SPF algorithm runs the maximum number of times.

To configure SPF:

  1. Specify the time interval between the detection of a topology change and when the SPF algorithm runs.
  2. Specify the time interval to hold down, or wait before a subsequent SPF algorithm runs after the SPF algorithm has run the configured maximum number of times in succession.
  3. Specify the maximum number of times the SPF algorithm can run in succession. After the maximum is reached, the hold-down interval begins.
Policies tab

Import Policy

Specifies one or more policies to control which routes learned from an area are used to generate summary link-state advertisements (LSAs) into other areas.

Click Add to add an import policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an import policy.

Export Policy

Specifies one or more policies to control which summary LSAs are flooded into an area.

Click Add to add an export policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an export policy.

Trace Options tab

File Name

Specifies the name of the file to receive the output of the tracing operation.

Type or select and edit the name.

Number of Files

Specifies the maximum number of trace files.

Type or select and edit the name.

File Size

Specifies the maximum size for each trace file.

Type or select and edit the name.

World Readable

Specifies whether the trace file can be read by any user or not.

Select True to allow any user to read the file.

Select False to disallow all users being able to read the file.

Flags

Specifies the tracing operation to perform.

Select a value from the list.

Configuring a RIP Network for EX Series Switches (J-Web Procedure)

Note

This topic applies only to the J-Web Application package.

You can use the J-Web interface to create RIP networks.

To configure a RIP network:

  1. Select Configure > Routing > RIP.Note

    After you make changes to the configuration on this page, you must commit the changes 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. Click one of the following options:

    • Add—Configures a RIP instance. Enter information into the RIP Configuration page as described in Table 70.

    • Edit—Modifies an existing RIP instance. Enter information into the configuration page for RIP as described in Table 70.

    • Delete—Deletes an existing RIP instance.

  3. To modify RIP global settings, click Edit. Enter information in the configuration as described in Table 71.

Table 70: RIP Routing Configuration Summary

Field

Function

Your Action

General tab 

Routing instance name

Specifies a name for the routing instance.

Type or select and edit the name.

Preference

Specifies the preference of external routes learned by RIP as compared to those learned from other routing protocols.

Type or select and edit the value.

Metric Out

Specifies the metric value to add to routes transmitted to the neighbor.

Type or select and edit the value.

Update interval

Specifies an update time interval to periodically send out routes learned by RIP to neighbors.

Type or select and edit the value.

Route timeout

Specifies the route timeout interval for RIP.

Type or select and edit the value.

Policies tab

Import Policy

Applies one or more policies to routes being imported into the local routing device from the neighbors.

Click Add to add an import policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an import policy.

Export Policy

Applies a policy to routes being exported to the neighbors.

Click Add to add an export policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an export policy.

Neighbors tab  

RIP-Enabled Interfaces

Selects the interfaces to be associated with the RIP instance.

To enable RIP on an interface, click the check box next to the interface name.

Click Edit if you want to modify an interface’s settings.

Table 71: Edit RIP Global Settings

FieldFunctionYour Action
General tab

Send

Specifies RIP send options.

Select a value.

Receive

Configure RIP receive options.

Select a value.

Route timeout (sec)

Specifies the route timeout interval for RIP.

Type a value.

Update interval (sec)

Specifies the update time interval to periodically send out routes learned by RIP to neighbors.

Type or select and edit the value.

Hold timeout (sec)

Specifies the time period the expired route is retained in the routing table before being removed.

Type or select and edit the value.

Metric in

Specifies the metric to add to incoming routes when advertising into RIP routes that were learned from other protocols.

Type or select and edit the value.

RIB Group

Specifies a routing table group to install RIP routes into multiple routing tables.

Select and edit the name of the routing table group.

Message size

Specifies the number of route entries to be included in every RIP update message.

Type or select and edit the value.

Check Zero

Specifies whether the reserved fields in a RIP packet are zero. Options are:

  • check-zero—Discard version 1 packets that have nonzero values in the reserved fields and version 2 packets that have nonzero values in the fields that must be zero. This default behavior implements the RIP version 1 and version 2 specifications.

  • no-check-zero—Receive RIP version 1 packets with nonzero values in the reserved fields or RIP version 2 packets with nonzero values in the fields that must be zero. This is in spite of the fact that they are being sent in violation of the specifications in RFC 1058 and RFC 2453.

Select a value.

Graceful switchover

Configures graceful switchover for OSPF.

To disable graceful restart, select Disable.

Type or select and edit the estimated time for the restart to finish, in seconds.

Authentication Type

Specifies the type of authentication for RIP route queries received on an interface. Options are:

  • None

  • MD5

  • Simple

Select the authentication type.

Enter the authentication key for MD5.

Policies tab

Import Policy

Applies one or more policies to routes being imported into the local routing device from the neighbors.

Click Add to add an import policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an import policy.

Export Policy

Applies a policy to routes being exported to the neighbors.

Click Add to add an export policy.

Click Move up or Move down to move the selected policy up or down the list of policies.

Click Remove to remove an export policy.

Trace Options tab

File Name

Specifies the name of the file to receive the output of the tracing operation.

Type or select and edit the name.

Number of Files

Specifies the maximum number of trace files.

Type or select and edit the name.

File Size

Specifies the maximum size for each trace file.

Type or select and edit the name.

World Readable

Specifies whether the trace file can be read by any user or not.

Select True to allow any user to read the file.

Select False to disallow all users being able to read the file.

Flags

Specifies the tracing operation to perform.

Select a value from the list.

Configuring Static Routing (J-Web Procedure)

You can use the J-Web interface to configure static routes for EX Series switches.

To configure static routes:

  1. Select Configure > Routing > Static Routing. The Static Routing page displays details of the configured routes.Note

    After you make changes to the configuration on this page, you must commit the changes 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. Click one of the following options:

    • Add—To configure a route. Enter information into the routing page as described in Table 72.

    • Edit—To modify an existing route. Enter information into the routing page as described in Table 72.

    • Delete—To delete an existing route.

Table 72: Static Routing Configuration Summary

Field

Function

Your Action

Default Route 

Default Route

Specifies the default gateway for the switch.

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

To specify an IPv4 address:

  1. Select IPv4.
  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.

To specify an IPv6 address:

  1. Select IPv6.
  2. Type an IP address—

    for example, 2001:ab8:85a3::8a2e:370:7334.
  3. Enter the subnet mask or address prefix.
Static Routes 

Nexthop

Specifies the next-hop address or addresses to be used when routing traffic to the static route.

To add an address:

  1. Click Add.
  2. In the IP address dialog, enter the IP address.

    Note: If a route has multiple next-hop addresses, traffic is routed across each address in round-robin fashion.

  3. Click OK.

To delete a next-hop address, select it from the list and click Delete.