vrouter-bgp-modify
This command modifies Border Gateway Protocol (BGP) to a virtual router (vRouter) service on a fabric, cluster, or standalone switch.
Syntax vrouter-bgp-modify
vrouter-name name-string |
Specify a name for the vRouter service. |
Specify the following BGP arguments: |
|
neighbor ip-address |
Specify a neighbor IP address to use for BGP filtering. |
l3-port l3port-usable-port name |
Specify the L3 port name for the BGP session. |
vrf vrouter-vrf |
Specify the name of the VRF. |
Specify any of the following BGP options: |
|
remote-as external|internal|-2..4294967295 |
Specify the remote Autonomous System (AS) number. This is a value between 1 and 4294967295. |
local-as external|internal|-2..4294967295 |
Specify the locally configured AS number. This is a value between 1 and 4294967295. |
next-hop-self|no-next-hop-self |
Specify if the next-hop is the same router or not. |
prepend|no-prepend |
Specify if you want routers to prepend the local AS to AS_PATH advertisements. |
replace-as|no-replace-as |
Specify if you want to prevent routers from appending the globally configured ASN in outbound BGP UPDATEs toward customer networks that are using the "Local AS" mechanism. This option will append the old ASN instead. |
password password-string |
Specify a password, if desired. |
ebgp-multihop number |
Specify a value for external BGP to accept or attempt BGP connections to external peers, not directly connected, on the network. This is a value between 1 and 255. |
update-source vrouter loopback-interface ip |
Specify the source IP address of BGP packets sent by the router. This parameter is required if you want BGP to perform peering over a loopback interface. |
update-source-interface update-source-interface-string |
Specify the interface name of BGP packets. This parameter is required for peering over any interface. |
prefix-list-in vrouter prefix-list name |
Specify the prefix list to filter traffic inbound. |
prefix-list-out vrouter prefix-list name |
Specify the prefix list to filter traffic outbound. |
route-reflector-client| |
Specify if a route reflector client is used. |
override-capability| |
Specify if you want to override capability. |
soft-reconfig-inbound| |
Specify if you want a soft reconfiguration of inbound routes. |
max-prefix max-prefix-number |
Specify the maximum number of prefixes. |
max-prefix-warn-only| |
Specify if you want a warning message when the maximum number of prefixes is exceeded. |
bfd|no-bfd |
Specify if you want BFD protocol support for fault detection. |
bfd-multihop|no-bfd-multihop |
Specify if you want to always use BFD multihop port for fault detection. |
multi-protocol ipv4-unicast|ipv6-unicast|l2vpn-evpn |
Specify a multi-protocol for BGP. |
weight none |
Specify a default weight value between 0 and 65535 for the neighbor routes. |
default-originate| |
Specify if you want to announce default routes to the neighbor or not. |
neighbor-keepalive-interval seconds |
Specify the BGP keepalive interval in seconds. This is a value between 0 and 65535 seconds. |
neighbor-holdtime seconds |
Specify the BGP neighbor hold time in seconds. This is a value between 0 and 65535 seconds. |
connect-retry-interval seconds |
Specify the interval between retrying a connection. The interval can be from 0 to 65535 seconds. |
unnumbered-interop|no-unnumbered-interop |
Specify to enable interoperability between different Netvisor ONE versions for unnumbered BGP neighbors. This option sends both link local address and the global next hop address even if they are the same. |
route-map-in vrouter route-map name |
Specify the name of the route map for incoming routes. |
route-map-out vrouter route-map name |
Specify the name of the route map for outgoing routes. |
interface vrouter interface nic |
Specify the interface to reach the neighbor. |
no-route-map-in |
Specify if you want to remove an ingress route-map from a BGP neighbor |
no-route-map-out |
Specify if you want to remove an egress route-map from a BGP neighbor |
advertisement-interval seconds |
Specify the minimal time between sending out BGP routing updates. This is a value between 0 and 600 seconds. The default value is zero (0) seconds. |
description description-string |
Specify a BGP neighbor description. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.2 |
Parameters next-hop-self and password added. |
Version 2.2.2 |
The parameters ebgp-multihop, and update-source vrouter added. |
Version 2.2.3 |
The parameters prefix-list-in, and prefix-list-out added. The parameters, override-capability, soft-reconfig-inbound, max-prefix, and max-prefix-warn added. |
Version 2.2.6 |
The parameter, bfd|no-bfd, added. |
Version 2.3.1 |
The parameter, multi-protocol, added. |
Version 2.4 |
The parameters weight and default-originate added. The parameters neighbor-keepalive-interval, neighbor-holdtime, route-map-in vrouter, and route-map-out vrouter added. The options ipv4-multicast|ipv6-multicast| vpnv4-unicast are deprecated for multi-protocol. |
Version 2.4.1 |
The options ipv4-multicast|ipv6-multicast| vpnv4-unicast are deprecated for multi-protocol. |
Version 2.6.2 |
The parameters bfd-multihop and interface added. |
Version 3.0.2 |
The parameter connection-retry-interval added. |
Version 3.1.0 |
The parameters advertisement-interval, no-route-map-in and no-route-map-out added. |
Version 5.1.3 |
The parameter l3-port added. |
Version 6.0.0 |
The parameter description added. |
Version 6.0.1 |
The parameter update-source-interface added. |
Version 6.1.0 |
The parameters local-as, no-prepend, and replace-as added. The option l2vpn-evpn added to the multi-protocol parameter. |
Version 6.1.1 |
The parameter unnumbered-interop|no-unnumbered-interop added. |
Usage Each fabric, cluster, standalone switch, or virtual network (VNET) can provide its tenants with a vRouter service that forwards traffic between networks and implements Layer 4 protocols. Use this command to modify BGP configurations on the vRouter service.
Examples To modify BGP to the vRouter service, BGP-vService, the neighbor IP address of 209.75.183.3, remote AS 45, and network address of 172.26.21.7/32, password, st@rsh1p, use the following command:
CLI network-admin@switch > vrouter-bgp-modify vrouter-name BGP-vService neighbor 209.75.183.3 remote-as 45 password
password:********