Skip to content

Latest commit

 

History

History
35 lines (33 loc) · 717 Bytes

route-availability-test.md

File metadata and controls

35 lines (33 loc) · 717 Bytes

Spine policy to reject DNS IP Prefix route

   enter candidate 
   /routing-policy
    prefix-set dns {
        prefix 8.8.8.8/32 mask-length-range 32..32 {
        }
    }
    policy no-dns {
        default-action {
            accept {
            }
        }
        statement 10 {
            match {
                prefix-set dns
                protocol bgp-evpn
            }
            action {
                reject {
                }
            }
        }
    }
/network-instance default protocols bgp group evpn-leaves import-policy no-dns    
commit stay

Remove policy

enter candidate
/network-instance default protocols bgp group evpn-leaves delete import-policy
commit stay