Creating BGP Parameters
This page explains how to use the Create BGP Parameter function on the OCX Portal.
The BGP Parameter feature enables dynamic routing control via iBGP or eBGP connections using the Border Gateway Protocol (BGP).
Notes on BGP Parameters
When a BGP Parameter is created, the following BGP attribute values are set for each Peer:
- Primary Router
- MED: 100 (This value cannot be changed)
- Local Preference: Can be set between 50 and 1000 in increments of 50 (20 levels). (The default value is 200)
- Secondary Router
- MED: 200 (This value cannot be changed)
- Local Preference: Can be set between 50 and 1000 in increments of 50 (20 levels). (The default value is 200)
Remarks
- The maximum number of routes that can be handled per router instance is 10,000.
- If the Peer ASN is the same as the Local ASN, it operates as iBGP; if different, it operates as eBGP.
- Setting a Local Preference for iBGP will not actually be reflected in operation.
- The eBGP Multihop feature cannot be used for iBGP.
- The Holdtimer value is fixed at 90 seconds and cannot be changed.
- The following ASNs cannot be used as they are reserved by RFC:
- 0
- 23456
- 65535
- 4294967295
- When OCX-Router(v1) receives a PATH Attribute from a BGP Peer, it uses it for best path selection. (Note: We do not perform modification of priorities or filtering for these attributes.)
Preparation
Before creating a BGP Parameter, please confirm the following:
- Your User Role is either
adminoruser. - The status of the target Interface is
activated. - Have the following information ready:
- Source (Local) IP address and Destination (Remote) IP address.
- Destination AS Number (Remote ASN).
Procedure for Creating BGP Parameters
-
Log in to the OCX Portal.
-
Click [OCX-Router(v1)] from the left navigation bar.
-
On the OCX-Router(v1) page, click the specific Interface within the relevant OCX-Router(v1) resource.
-
Switch to the [BGP Parameters] tab in the details panel at the bottom and click the [Create BGP Parameter] button.
-
Configure the following items and click [Create]:
- Local Address: Enter the IP address of the source Interface.
- Remote Address: Enter the Peer's IP address.
- Duplicate addresses cannot be used within a router instance.
- When eBGP Multihop is OFF, you must use a host address in the same subnet as the Local Address.
- When eBGP Multihop is ON, you must use an address in a different subnet from the Local Address that can be specified for an Interface. For details about addresses that can be specified for an Interface, see the [Remarks] section of Creating an Interface.
- Remote ASN: Enter the Peer's AS Number (4-byte ASNs supported).
- MD5 Authentication Key: Optional. (6–80 alphanumeric characters).
- BFD: Toggle ON/OFF to enable rapid failure detection.
- AS Path Prepend: Enter 0–8 to add your own AS number to the AS-PATH.
- BGP Communities: Optional. Enter in
AA:NNformat or use Well-known values:Well-known community Value Behavior NO_EXPORT 0xFFFFFF01 Do not advertise to eBGP neighbors. NO_ADVERTISE 0xFFFFFF02 Do not advertise to any BGP neighbor. NO_EXPORT_SUBCONFED 0xFFFFFF03 Do not advertise to different sub-ASs. - Local Preference: Select a value from 50 to 1000. (eBGP only).
- Redistribution of Connected and Static Routes: Select ON to advertise all Static and Connected routes on this router via BGP.
- Aggregate RFC1918 Routes: When ON, specific private routes (longer masks) are summarized into
10.0.0.0/8,172.16.0.0/12, or192.168.0.0/16before being advertised. - Advertise Default Route: When ON, advertises
0.0.0.0/0via BGP (requires at least one non-connected route in the table). - Global Route Filter: When ON, filters out everything except RFC1918 private ranges.
- eBGP Multihop
- This feature allows you to establish an eBGP session between OCX-Router(v1) and a CPE through one L3 device. If you use OCX Hikari Private for the CPE access line and establish an eBGP session between OCX-Router(v1) and the CPE through an L3 device such as a Tunnel Gateway, turn this feature ON.
- A route to the Remote Address can be configured by creating a Static Route.
- For the eBGP session, OCX-Router(v1) sends BGP packets with a TTL of 2 when this feature is ON.
-
Review the settings in the confirmation pop-up and click [Create].
-
The created BGP Parameter will appear in the list at the bottom of the screen.
This completes the creation of the BGP Parameter.