BGP Routing

Use J-Web configuration to create BGP peering sessions.

To configure a BGP peering session:

  1. In the J-Web user interface, select Configure > Routing > BGP.

    Note: After you make changes to the configuration in this window, 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 (J-Web Procedure) for details about all commit options.

  2. To manage BGP configuration, click one:

    • Add—Adds a BGP configuration instance. Enter information into the configuration page, as described in Table 26.
    • Edit—Modifies an existing BGP configuration. Enter information into the configuration page, as described in Table 26.
    • Delete—Deletes an existing BGP configuration.
    • Disable—Disables BGP configuration.
  3. To modify BGP global settings, click Edit in the Global Information section. Enter information as described in Table 27.

Table 26: 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 an option: Internal or External.

Group Name

Specifies the name for the group.

Type a group name.

ASN

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

Type the 32-bit AS number of the switch, 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 a preference value.

Cluster Id

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

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

Description

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

Enter a description.

Damping

Specifies whether route flap damping is enabled or not.

Select to enable route flap damping.

Advertise Inactive Routes

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

Select to enable the option.

Advertise Peer AS Routes

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

Select to enable the option.

Neighbors

Dynamic Neighbors

Configures a neighbor (peer).

To add a dynamic neighbor:

  1. Click Add.
  2. Select All Addresses to include all IP address or select IP Address to include a particular address.
  3. If option IP Address is selected, type an IP address and the subnet mask or address prefix. For example, 24bits represents 255.255.255.0.
  4. Click OK.

To modify an existing neighbor, select the IP address and click Edit.

To delete a neighbor, select the IP address and click Remove.

Static Neighbors

Specifies a routing policy that matches and accepts the configured static routes into BGP updates.

To add a static neighbor:

  1. Click Add.
  2. Type the IP address.
  3. Specify the IP address of the local end of a BGP session.
  4. Type a preference value. The preference is the individual preference value for the route. The route with the highest local preference value is preferred.
  5. Type a brief description of the neighbor configuration.
  6. Specify the Hold Time. The time period that the expired route is retained in the routing table before being removed.
  7. Specify the Out Delay time. The time for which a route must be present in the Junos routing table before it is exported to BGP.
  8. Select to disable active open messages being sent to the peer. Rather, wait for the peer to issue an open request.
  9. Enable to allow routes originating from an AS to be accepted by a router residing in the same AS.
  10. Click Add to and select a policy to be imported.
  11. Click Add and select a policy to be exported.
  12. Click Move up or Move down to move the selected policy up or down the list of policies.
  13. Click Remove to remove an import or export policy.

To modify an existing neighbor, select the IP address and click Edit.

To delete a neighbor, select the IP address and click Remove.

Policies

Import Policy

The import policy enables you 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

The export policy enables you to specify 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 27: BGP Global Settings

Field

Function

Your Action

General

Router ASN

Specifies the router’s AS number.

Type a value.

Router Identifier

Specifies the switch’s IP address.

Type the IP address.

BGP Status

Enables or disables BGP.

  • To enable BGP, select the option Enable.
  • To disable BGP, select the option Disable.

Preference

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

Type a preference value.

Description

Describes the global, group, or neighbor configuration.

Type a description.

Confederation Number

Specifies the router’s confederation AS number.

Type a value.

Confederation Members

Specifies the AS numbers for the confederation members.

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

Click Edit to modify a confederation member’s AS number.

Click Remove to delete a confederation member.

Advance Options

Specifies advanced options for BGP.

You can configure the following:

  • Keep routes—Specify 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—Configure 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—Specify the time period when the restart is expected to be complete. Specify the maximum time that stale routes are kept during restart.
  • Multihop— Select Nexthop Change to allow unconnected third-party next hops. Configure the maximum time-to-live (TTL) value for the TTL in the IP header of BGP packets.
  • Authentication—Select the authentication algorithm. If you select MD5, specify an MD5 authentication key (password).
Policies

Import Policy

The import policy enables you 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

The export policy enables you to specify 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

File Name

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

Enter a file name.

Number of Files

Specifies the maximum number of trace files.

Type a value.

File Size

Specifies the maximum size for each trace file.

Type a value.

World Readable

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

Select True for it to be read by any user.

Select False if you don’t want it read by any user.

Flags

Specifies the tracing operation to perform.

Specify one or multiple flags.