Replies: 1 comment 8 replies
-
|
@kbSean1 Netmiko will send what you specified via send_config_set(). Do you know why it didn't go into the address-family VRF? Was it because the VRF didn't exist? You can use the I don't have a document on this, but here is a video I made on this not to long ago: |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use Netmiko to ssh to a cisco router and I was trying to apply the BGP configuration using ssh_conn.send_config_set(). Below is a sample configuration to be applied. Expected behavior:
bgp router-id x.x.x.x should be configured under the vrf address family. For some reason, when I tested manually, router didn't change the prompt and hence applied all the configuration to the global mode instead of address family mode and resulted in a BGP flap. Is there any way to check the prompt before applying the configuration?
router bgp as_no
address-family ipv4 vrf {vrf_name}
bgp router-id x.x.x.x
Beta Was this translation helpful? Give feedback.
All reactions