Skip to content

Commit

Permalink
add vrf for inband mgmt test parent2
Browse files Browse the repository at this point in the history
  • Loading branch information
emilarista committed Jan 31, 2024
1 parent 72768cc commit 4392b44
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ vlan 4094
name MLAG_PEER
trunk group MLAG
!
vrf instance INBANDMGMT
!
vrf instance MGMT
!
interface Port-Channel11
Expand Down Expand Up @@ -127,6 +129,7 @@ interface Vlan106
description Inband Management
no shutdown
mtu 1500
vrf INBANDMGMT
ipv6 enable
ipv6 address 2a00:106::3/64
ipv6 virtual-router address 2a00:106::1
Expand All @@ -136,6 +139,7 @@ interface Vlan107
description Inband Management
no shutdown
mtu 1500
vrf INBANDMGMT
ipv6 enable
ipv6 address 2a00:107::3/64
ipv6 virtual-router address 2a00:107::1
Expand Down Expand Up @@ -169,10 +173,6 @@ ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
seq 10 permit 10.0.255.0/24 eq 32
seq 20 permit 10.0.254.0/24 eq 32
!
ipv6 prefix-list IPv6-PL-L2LEAF-INBAND-MGMT
seq 10 permit 2a00:106::/64
seq 20 permit 2a00:107::/64
!
mlag configuration
domain-id inband-mgmt-parents-ipv6
local-interface Vlan4094
Expand All @@ -184,9 +184,6 @@ mlag configuration
route-map RM-CONN-2-BGP permit 10
match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY
!
route-map RM-CONN-2-BGP permit 50
match ipv6 address prefix-list IPv6-PL-L2LEAF-INBAND-MGMT
!
route-map RM-MLAG-PEER-IN permit 10
description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing
set origin incomplete
Expand Down Expand Up @@ -217,7 +214,6 @@ router bgp 65004
neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in
neighbor 100.64.1.8 peer group MLAG-IPv4-UNDERLAY-PEER
neighbor 100.64.1.8 description inband-mgmt-parent-ipv6-1
redistribute attached-host
redistribute connected route-map RM-CONN-2-BGP
!
address-family evpn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ router_bgp:
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
- source_protocol: attached-host
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
Expand All @@ -62,6 +61,7 @@ vlan_internal_order:
vrfs:
- name: MGMT
ip_routing: false
- name: INBANDMGMT
management_api_http:
enable_vrfs:
- name: MGMT
Expand Down Expand Up @@ -101,6 +101,7 @@ vlan_interfaces:
description: Inband Management
shutdown: false
mtu: 1500
vrf: INBANDMGMT
ipv6_enable: true
ipv6_address: 2a00:106::3/64
ipv6_virtual_router_addresses:
Expand All @@ -112,6 +113,7 @@ vlan_interfaces:
description: Inband Management
shutdown: false
mtu: 1500
vrf: INBANDMGMT
ipv6_enable: true
ipv6_address: 2a00:107::3/64
ipv6_virtual_router_addresses:
Expand Down Expand Up @@ -284,10 +286,6 @@ route_maps:
type: permit
match:
- ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY
- sequence: 50
type: permit
match:
- ipv6 address prefix-list IPv6-PL-L2LEAF-INBAND-MGMT
loopback_interfaces:
- name: Loopback0
description: EVPN_Overlay_Peering
Expand Down Expand Up @@ -319,10 +317,3 @@ vxlan_interface:
udp_port: 4789
source_interface: Loopback1
virtual_router_encapsulation_mac_address: mlag-system-id
ipv6_prefix_lists:
- name: IPv6-PL-L2LEAF-INBAND-MGMT
sequence_numbers:
- sequence: 10
action: permit 2a00:106::/64
- sequence: 20
action: permit 2a00:107::/64
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ l3leaf:
- name: inband-mgmt-parent-ipv6-1
id: 5
- name: inband-mgmt-parent-ipv6-2
inband_mgmt_vrf: INBANDMGMT
id: 6


Expand Down

0 comments on commit 4392b44

Please sign in to comment.