Last active
October 14, 2022 17:14
-
-
Save ericpulvino/d813d32a1892acb79b21ee258e214e93 to your computer and use it in GitHub Desktop.
Update Source working in 5.3.0_prerelease
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cumulus@cl-vx1:mgmt:~$ cat /etc/image-release | |
IMAGE_ID="Cumulus Linux" | |
IMAGE_RELEASE=5.3.0 | |
IMAGE_DESCRIPTION="Cumulus Linux 5.3.0" | |
IMAGE_SWITCH_ARCHITECTURE=vx-amd64 | |
IMAGE_BUILD_ID=18735a9z2060b1386 | |
IMAGE_BUILD_SERIAL_ID=5.dev.2418 | |
IMAGE_BUILD_DATE=2022-10-13T18:38:26+00:00 | |
IMAGE_BUILD_USER=sw-r2d2-bot | |
cumulus@cl-vx1:mgmt:~$ nv show system | |
operational applied description | |
-------- --------------------------- ------- ------------------------------ | |
hostname cl-vx1 cumulus Static hostname for the switch | |
build Cumulus Linux 5.3.0~preview system build version | |
uptime 0:01:10 system uptime | |
timezone Etc/UTC system time zone | |
cumulus@cl-vx1:mgmt:~$ nv set vrf default router bgp autonomous-system leaf | |
cumulus@cl-vx1:mgmt:~$ nv set vrf default router bgp neighbor swp1 <tab> | |
address-family local-as shutdown | |
bfd multihop-ttl timers | |
capabilities nexthop-connected-check ttl-security | |
description passive-mode type | |
enable password update-source | |
enforce-first-as peer-group | |
graceful-restart remote-as | |
cumulus@cl-vx1:mgmt:~$ nv set vrf default router bgp neighbor swp1 -h | |
usage: | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [address-family ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [bfd ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [capabilities ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [description ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [enable ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [enforce-first-as ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [graceful-restart ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [local-as ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [multihop-ttl ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [nexthop-connected-check ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [passive-mode ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [password ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [peer-group ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [remote-as ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [shutdown ...] <-- NEW | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [timers ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [ttl-security ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [type ...] | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> [update-source ...] <-- NEW | |
Description: | |
<neighbor-id> Peers | |
Identifiers: | |
<vrf-id> VRF (vrf-name) | |
<neighbor-id> Peer ID (ipv4 | ipv6 | interface-name) | |
Attributes: | |
address-family Address family specific configuration | |
bfd Specifies whether to track BGP peering sessions using thisconfiguration via BFD. | |
capabilities Capabilities | |
description neighbor description | |
enable Turn the feature 'on' or 'off'. This feature is enabled by default. | |
enforce-first-as If on, when BGP updates are received from EBGP peers with this config, check that first AS matches peer's AS | |
graceful-restart BGP Graceful restart per neighbor configuration | |
local-as Local AS feature | |
multihop-ttl Maximum hops allowed. When 'auto', the type of peer will determine the appropriate value (255 for iBGP and 1 for eBGP). This is the default. | |
nexthop-connected-check | |
If 'on', it disables the check that a non-multihop EBGP peer should be directly connected and only announce connected next hops | |
passive-mode If enabled, do not initiate the BGP connection but wait for incoming connection | |
password Password | |
peer-group Optional peer-group to which the peer is attached to inherit the group's configuration. | |
remote-as ASN for the BGP neighbor(s) using this configuration. If specified as 'external', it means an EBGP configuration but the actual ASN is immaterial. If specified as 'internal', it means an IBGP configuration. | |
shutdown Administratively shut down this neighbor | |
timers Peer peer-timerss | |
ttl-security RFC 5082 | |
type The type of peer | |
update-source Source of routing updates | |
Output Options: | |
-o <format>, --output <format> | |
Supported formats: json, yaml, auto, constable, end-table,commands (default:auto) | |
--color (on|off|auto) | |
Toggle coloring of output (default: auto) | |
--paginate (on|off|auto) | |
Whether to send output to a pager (default: off) | |
General Options: | |
-h, --help Show help. | |
cumulus@cl-vx1:mgmt:~$ nv set vrf default router bgp neighbor swp1 update-source -h | |
usage: | |
nv [options] set vrf <vrf-id> router bgp neighbor <neighbor-id> update-source <arg> | |
Description: | |
update-source Source of routing updates | |
Identifiers: | |
<vrf-id> VRF (vrf-name) | |
<neighbor-id> Peer ID (ipv4 | ipv6 | interface-name) | |
<arg> (ipv4 | ipv6 | interface-name) | |
Output Options: | |
-o <format>, --output <format> | |
Supported formats: json, yaml, auto, constable, end-table, commands (default:auto) | |
--color (on|off|auto) | |
Toggle coloring of output (default: auto) | |
--paginate (on|off|auto) | |
Whether to send output to a pager (default: off) | |
General Options: | |
-h, --help Show help. | |
cumulus@cl-vx1:mgmt:~$ nv set vrf default router bgp neighbor swp1 update-source lo | |
cumulus@cl-vx1:mgmt:~$ nv config diff | |
- set: | |
router: | |
bgp: | |
enable: on | |
vrf: | |
default: | |
router: | |
bgp: | |
autonomous-system: leaf | |
enable: on | |
neighbor: | |
swp1: | |
remote-as: external | |
type: unnumbered | |
update-source: lo | |
interface: | |
swp1: | |
type: swp | |
cumulus@cl-vx1:mgmt:~$ nv config apply -y | |
applied [rev_id: 1] | |
cumulus@cl-vx1:mgmt:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment