-
Notifications
You must be signed in to change notification settings - Fork 0
static_route_bgp_redistribution_test
- Static routes selected for redistribution base on combination of: prefix-set, set-tag
- MED set to value of metric of static route (metric propagation)
- AS-Path prepend to contain AS with value provided in configuration (repeat prepend 'n' times)
- Local-Preference to a value provided in configuration
- Community list set to defined community set
- BGP protocol next-hop set to value provided in configuration
- Redstribute static-route with "DROP" as the next-hop
-
Connect DUT port-1, 2 and 3 to ATE port-1, 2 and 3 respectively
-
Configure IPv4 and IPv6 addresses on DUT and ATE ports as shown below
-
DUT port-1 IPv4 address
dp1-v4 = 192.168.1.1/30
-
ATE port-1 IPv4 address
ap1-v4 = 192.168.1.2/30
-
DUT port-2 IPv4 address
dp2-v4 = 192.168.1.5/30
-
ATE port-2 IPv4 address
ap2-v4 = 192.168.1.6/30
-
DUT port-3 IPv4 address
dp3-v4 = 192.168.1.9/30
-
ATE port-3 IPv4 address
ap3-v4 = 192.168.1.10/30
-
DUT port-1 IPv6 address
dp1-v6 = 2001:DB8::1/126
-
ATE port-1 IPv6 address
ap1-v6 = 2001:DB8::2/126
-
DUT port-2 IPv6 address
dp2-v6 = 2001:DB8::5/126
-
ATE port-2 IPv6 address
ap2-v6 = 2001:DB8::6/126
-
DUT port-3 IPv6 address
dp3-v6 = 2001:DB8::9/126
-
ATE port-3 IPv6 address
ap3-v6 = 2001:DB8::10/126
-
-
Create two IPv4 networks i.e.
ipv4-network = 192.168.10.0/24
andipv4-drop-network = 192.168.20.0/24
attached to ATE port-2 -
Create two IPv6 networks i.e.
ipv6-network = 2024:db8:128:128::/64
andipv6-drop-network = 2024:db8:64:64::/64
attached to ATE port-2 -
Configure IPv4 and IPv6 eBGP session between ATE port-1 and DUT port-1
- ATE ASN = 64511
- DUT ASN = 64512
- /network-instances/network-instance/protocols/protocol/bgp/global/config
- /network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/config/
- /network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/config/send-community-type =
STANDARD
-
Configure IPv4 and IPv6 iBGP session between ATE port-3 and DUT port-3
- ATE ASN = 64512
- DUT ASN = 64512
- /network-instances/network-instance/protocols/protocol/bgp/global/config
- /network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/config/
- /network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/config/send-community-type =
STANDARD
-
On the DUT advertise networks of
dp2-v4
i.e.192.168.1.4/30
anddp2-v6
i.e.2001:DB8::0/126
through the BGP session between DUT port-1 and ATE port-1- Do not configure BGP between DUT port-2 and ATE port-2
- Do not advertise
ipv4-network 192.168.10.0/24
oripv6-network 2024:db8:128:128::/64
-
Configure an IPv4 static route
ipv4-route
on DUT destined to theipv4-network
i.e.192.168.10.0/24
with the next hop set to the IPv4 address of ATE port-2ap2-v4
i.e.192.168.1.6/30
- /network-instances/network-instance/protocols/protocol/static-routes/static/config/prefix
- /network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/next-hop
- Set the metric of the
ipv4-route
to 104- /network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/metric
- Set a tag on the
ipv4-route
to 40- /network-instances/network-instance/protocols/protocol/static-routes/static/config/set-tag
-
Configure an IPv6 static route on DUT destined to the
ipv6-network
i.e.2024:db8:128:128::/64
with the next hop set to the IPv6 address of ATE port-2ap2-v6
i.e.2001:DB8::5/126
- /network-instances/network-instance/protocols/protocol/static-routes/static/config/prefix
- /network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/next-hop
- Set the metric of the
ipv6-route
to 106- /network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/metric
- Set a tag on the
ipv6-route
to 60- /network-instances/network-instance/protocols/protocol/static-routes/static/config/set-tag
- Redistribute
ipv4-route
to BGP - Set address-family to
IPV4
- /network-instances/network-instance/table-connections/table-connection/config/address-family
- Configure source protocol to
STATIC
- /network-instances/network-instance/table-connections/table-connection/config/src-protocol
- Configure destination protocol to
BGP
- /network-instances/network-instance/table-connections/table-connection/config/dst-protocol
- Configure default import policy to
ACCEPT_ROUTE
- /network-instances/network-instance/table-connections/table-connection/config/default-import-policy
- Disable metric propogation by setting it to
true
- /network-instances/network-instance/table-connections/table-connection/config/disable-metric-propagation
- Verify the address-family is set to
IPV4
- /network-instances/network-instance/table-connections/table-connection/state/address-family
- Verify source protocol is set to
STATIC
- /network-instances/network-instance/table-connections/table-connection/state/src-protocol
- Verify destination protocol is set to
BGP
- /network-instances/network-instance/table-connections/table-connection/state/dst-protocol
- Verify default import policy is set to
ACCEPT_ROUTE
- /network-instances/network-instance/table-connections/table-connection/state/default-import-policy
- Verify disable metric propogation is set to
true
- /network-instances/network-instance/table-connections/table-connection/state/disable-metric-propagation
- Validate that the ATE receives the redistributed static route
ipv4-route
with MED either having no value (missing) or0
but not104
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- Enable metric propogation by setting disable-metric-propagation to
false
- /network-instances/network-instance/table-connections/table-connection/config/disable-metric-propagation
- Verify disable metric propogation is now
false
- /network-instances/network-instance/table-connections/table-connection/state/disable-metric-propagation
- Validate that the ATE receives the redistributed static route
ipv4-route
with MED of104
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- Set address-family to
IPV6
- /network-instances/network-instance/table-connections/table-connection/config/address-family
- Configure source protocol to
STATIC
- /network-instances/network-instance/table-connections/table-connection/config/src-protocol
- Configure destination protocol to
BGP
- /network-instances/network-instance/table-connections/table-connection/config/dst-protocol
- Configure default import policy to
ACCEPT_ROUTE
- /network-instances/network-instance/table-connections/table-connection/config/default-import-policy
- Disable metric propogation by setting it to
true
- /network-instances/network-instance/table-connections/table-connection/config/disable-metric-propagation
- Verify the address-family is set to
IPV6
- /network-instances/network-instance/table-connections/table-connection/state/address-family
- Verify source protocol is set to
STATIC
- /network-instances/network-instance/table-connections/table-connection/state/src-protocol
- Verify destination protocol is set to
BGP
- /network-instances/network-instance/table-connections/table-connection/state/dst-protocol
- Verify default import policy is set to
ACCEPT_ROUTE
- /network-instances/network-instance/table-connections/table-connection/state/default-import-policy
- Verify disable metric propogation is set to
true
- /network-instances/network-instance/table-connections/table-connection/state/disable-metric-propagation
- Validate that the ATE receives the redistributed static route
ipv6-route
with MED either having no value (missing) or0
but not106
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- Enable metric propogation by setting it to
false
- /network-instances/network-instance/table-connections/table-connection/config/disable-metric-propagation
- Verify disable metric propogation is now
false
- /network-instances/network-instance/table-connections/table-connection/state/disable-metric-propagation
- Validate that the ATE receives the redistributed static route
ipv6-route
with MED106
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- Configure default import policy to
REJECT_ROUTE
- /network-instances/network-instance/table-connections/table-connection/config/default-import-policy
- Verify default import policy is set to
REJECT_ROUTE
- /network-instances/network-instance/table-connections/table-connection/state/default-import-policy
- Validate that the ATE does not receives the redistributed static route
ipv4-route
andipv6-route
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- Configure an IPv4 route-policy definition with the name
route-policy-v4
- /routing-policy/policy-definitions/policy-definition/config/name
- For routing-policy
route-policy-v4
configure a statement with the namestatement-v4
- /routing-policy/policy-definitions/policy-definition/statements/statement/config/name
- For routing-policy
route-policy-v4
statementstatement-v4
set policy-result asACCEPT_ROUTE
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/config/policy-result
- Configure a prefix-set with the name
prefix-set-v4
and modeIPV4
- /routing-policy/defined-sets/prefix-sets/prefix-set/config/name
- /routing-policy/defined-sets/prefix-sets/prefix-set/config/mode
- For prefix-set
prefix-set-v4
set the ip-prefix toipv4-network
i.e.192.168.10.0/24
and masklength toexact
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/ip-prefix
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/masklength-range
- For prefix-set
prefix-set-v4
set another ip-prefix toipv4-drop-network
i.e.192.168.20.0/24
and masklength toexact
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/ip-prefix
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/masklength-range
- For routing-policy
route-policy-v4
statementstatement-v4
set match options toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/match-set-options
- For routing-policy
route-policy-v4
statementstatement-v4
set prefix set toprefix-set-v4
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/prefix-set
- Apply routing policy
route-policy-v4
for redistribution to BGP- /network-instances/network-instance/table-connections/table-connection/config/import-policy
- Verify IPv4 route-policy definition is configured with the name
route-policy-v4
- /routing-policy/policy-definitions/policy-definition/state/name
- Verify for routing-policy
route-policy-v4
a statement with the namestatement-v4
is configured- /routing-policy/policy-definitions/policy-definition/statements/statement/state/name
- Verify for routing-policy
route-policy-v4
statementstatement-v4
policy-result is set toACCEPT_ROUTE
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/state/policy-result
- Verify prefix-set with the name
prefix-set-v4
and modeIPV4
is configured- /routing-policy/defined-sets/prefix-sets/prefix-set/state/name
- /routing-policy/defined-sets/prefix-sets/prefix-set/state/mode
- Verify for prefix-set
prefix-set-v4
the ip-prefix is set to192.168.10.0/24
and masklength is set toexact
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/ip-prefix
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/masklength-range
- Verify for routing-policy
route-policy-v4
statementstatement-v4
match options is set toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/match-set-options
- Verify for routing-policy
route-policy-v4
statementstatement-v4
prefix-set is set toprefix-set-v4
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/prefix-set
- Verify routing policy
route-policy-v4
is applied as import policy for redistribution to BGP- /network-instances/network-instance/table-connections/table-connection/state/import-policy
- Validate that the ATE receives the redistributed static route
ipv4-route
with MED of104
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- Initiate traffic from ATE port-1 to the DUT and destined to
ipv4-network
i.e.192.168.10.0/24
- Validate that the traffic is received on ATE port-2
- For routing-policy
route-policy-v4
statementstatement-v4
set AS-PATH prepend to the ASN64599
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/asn
- For routing-policy
route-policy-v4
statementstatement-v4
set the prepended ASN to repeat3
times- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/repeat-n
- Verify for routing-policy
route-policy-v4
statementstatement-v4
AS-PATH prepend is set to the ASN64599
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/asn
- Verify for routing-policy
route-policy-v4
statementstatement-v4
the prepended ASN64599
repeats3
times- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/repeat-n
- Validate that the ATE receives the redistributed static route
ipv4-route
with AS-PATH of64599 64599 64599 64512
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/as-path/as-segment/state/member
- For routing-policy
route-policy-v4
statementstatement-v4
set MED to1000
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-med
- Verify for routing-policy
route-policy-v4
statementstatement-v4
MED is set to1000
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-med
- validate that the ATE receives the redistributed static route
ipv4-route
with MED of1000
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- For routing-policy
route-policy-v4
statementstatement-v4
set local-preference to100
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-local-pref
- Verify for routing-policy
route-policy-v4
statementstatement-v4
local-preference is set to100
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-local-pref
- Validate that the ATE receives the redistributed static route
ipv4-route
with MED of1000
on the iBGP session between DUT-ATE port 3- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/local-pref
- Configure a community set with name
community-set-v4
- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/community-set-name
- For community set
community-set-v4
configure a community member value to64512:100
- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/community-member
- For routing-policy
route-policy-v4
statementstatement-v4
reference the community setcommunity-set-v4
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/config/community-set-ref
- Verify a community set with name
community-set-v4
exists- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/community-set-name
- Verify for community set
community-set-v4
a community member value of64512:100
is configured- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/community-member
- Validate that the ATE receives the redistributed static route
ipv4-route
with a community value of64512:100
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/communities/community/state/index
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/state/community-index
- Configure a tag-set with name
tag-set-v4
- /routing-policy/defined-sets/tag-sets/tag-set/config/name
- Configure tag-set
tag-set-v4
with a tag value of100
- /routing-policy/defined-sets/tag-sets/tag-set/config/tag-value
- For routing-policy
route-policy-v4
statementstatement-v4
configure match-set-tag condition totag-set-v4
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/tag-set
- For routing-policy
route-policy-v4
statementstatement-v4
configure match options toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/match-set-options
- Verify a tag-set with name
tag-set-v4
is configured- /routing-policy/defined-sets/tag-sets/tag-set/state/name
- Verify tag-set
tag-set-v4
with a tag value of100
is configured- /routing-policy/defined-sets/tag-sets/tag-set/state/tag-value
- Verify for routing-policy
route-policy-v4
statementstatement-v4
tag-set is set totag-set-v4
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/tag-set
- Verify for routing-policy
route-policy-v4
statementstatement-v4
match-set-options is set toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/match-set-options
- Verify that the ATE does not receives the redistributed static route
ipv4-route
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- Configure tag-set
tag-set-v4
with a tag value of40
- /routing-policy/defined-sets/tag-sets/tag-set/config/tag-value
- Verify tag-set
tag-set-v4
with a tag value of40
is configured- /routing-policy/defined-sets/tag-sets/tag-set/state/tag-value
- Verify that the ATE receives the redistributed static route
ipv4-route
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- Initiate traffic from ATE port-1 to the DUT and destined to
ipv4-network
i.e.192.168.10.0/24
- Validate that the traffic is received on ATE port-2
- Configure an IPv4 static route
ipv4-drop-route
on DUT destined toipv4-drop-network
i.e.192.168.20.0/24
with the next hop set toDROP
- /network-instances/network-instance/protocols/protocol/static-routes/static/config/prefix
- /network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/next-hop
- Set a tag on the
ipv4-drop-route
to40
* /network-instances/network-instance/protocols/protocol/static-routes/static/config/set-tag
- For routing-policy
route-policy-v4
statementstatement-v4
set next-hop to192.168.1.9
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-next-hop
- Verify for routing-policy
route-policy-v4
statementstatement-v4
next-hop is set to192.168.1.9
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-next-hop
- Validate that the ATE receives the redistributed static route
ipv4-drop-route
on the iBGP session between DUT-ATE port 3- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
- Initiate traffic from ATE port-3 to the DUT and destined to
ipv4-drop-network
i.e.192.168.20.0/24
- Validate that the traffic is received on ATE port-2
- Configure an IPv6 route-policy definition with the name
route-policy-v6
- /routing-policy/policy-definitions/policy-definition/config/name
- For routing-policy
route-policy-v6
configure a statement with the namestatement-v6
- /routing-policy/policy-definitions/policy-definition/statements/statement/config/name
- For routing-policy
route-policy-v6
statementstatement-v6
set policy-result asACCEPT_ROUTE
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/config/policy-result
- Configure a prefix-set with the name
prefix-set-v6
and modeIPV6
for the routing policyroute-policy-v6
- /routing-policy/defined-sets/prefix-sets/prefix-set/config/name
- /routing-policy/defined-sets/prefix-sets/prefix-set/config/mode
- For prefix-set
prefix-set-v6
set the ip-prefix toipv6-network
i.e.2024:db8:128:128::/64
and masklength toexact
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/ip-prefix
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/masklength-range
- For prefix-set
prefix-set-v6
set another ip-prefix toipv6-drop-network
i.e.2024:db8:64:64::/64
and masklength toexact
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/ip-prefix
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/masklength-range
- For routing-policy
route-policy-v6
statementstatement-v6
set match options toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/match-set-options
- For routing-policy
route-policy-v6
statementstatement-v6
set prefix set toprefix-set-v6
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/prefix-set
- Apply routing policy
route-policy-v6
for redistribution to BGP- /network-instances/network-instance/table-connections/table-connection/config/import-policy
- Verify for routing-policy
route-policy-v6
a statement with the namestatement-v6
is configured- /routing-policy/policy-definitions/policy-definition/statements/statement/state/name
- Verify for routing-policy
route-policy-v6
statementstatement-v6
policy-result is set toACCEPT_ROUTE
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/state/policy-result
- Verify for routing-policy
route-policy-v6
statementstatement-v6
AS-PATH prepend is set to the ASN64512
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/asn
- Verify prefix-set with the name
prefix-set-v6
and modeIPV6
is configured- /routing-policy/defined-sets/prefix-sets/prefix-set/state/name
- /routing-policy/defined-sets/prefix-sets/prefix-set/state/mode
- Verify for prefix-set
prefix-set-v6
the ip-prefix is set to2024:db8:128:128::/64
and masklength is set toexact
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/ip-prefix
- /routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/masklength-range
- Verify for routing-policy
route-policy-v6
statementstatement-v6
match options is set toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/match-set-options
- Verify for routing-policy
route-policy-v6
statementstatement-v6
prefix-set is set toprefix-set-v6
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/prefix-set
- Verify routing policy
route-policy-v6
is applied as import policy for redistribution to BGP- /network-instances/network-instance/table-connections/table-connection/state/import-policy
- Validate that the ATE receives the redistributed static route
ipv6-route
with MED of1000
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- Initiate traffic from ATE port-1 to the DUT and destined to
ipv6-network
i.e.2024:db8:128:128::/64
- Validate that the traffic is received on ATE port-2
- For routing-policy
route-policy-v6
statementstatement-v6
set AS-PATH prepend to the ASN64512
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/asn
- Verify for routing-policy
route-policy-v6
statementstatement-v6
AS-PATH prepend is set to the ASN64512
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/asn
- Validate that the ATE receives the redistributed static route
ipv6-route
with AS-PATH of64512 64512
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/as-path/as-segment/state/member
- For routing-policy
route-policy-v6
statementstatement-v6
set MED to1000
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-med
- Verify for routing-policy
route-policy-v6
statementstatement-v6
MED is set to1000
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-med
- Validate that the ATE receives the redistributed static route
ipv6-route
with MED of1000
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
- For routing-policy
route-policy-v4
statementstatement-v4
set local-preference to100
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-local-pref
- Verify for routing-policy
route-policy-v4
statementstatement-v4
local-preference is set to100
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-local-pref
- Validate that the ATE receives the redistributed static route
ipv4-route
with MED of1000
on the iBGP session between DUT-ATE port 3- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/local-pref
- Configure a community set with name
community-set-v6
- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/community-set-name
- For community set
community-set-v6
configure a community member value to64512:100
- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/community-member
- For routing-policy
route-policy-v6
statementstatement-v6
reference the community setcommunity-set-v6
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/config/community-set-ref
- Verity a community set with name
community-set-v6
exists- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/community-set-name
- Verify for community set
community-set-v6
a community member value of64512:100
is configured- /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/community-member
- Validate that the ATE receives the redistributed static route
ipv6-route
with a community value of64512:100
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- /network-instances/network-instance/protocols/protocol/bgp/rib/communities/community/state/index
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/state/community-index
- Configure a tag-set with name
tag-set-v6
- /routing-policy/defined-sets/tag-sets/tag-set/config/name
- Configure tag-set
tag-set-v6
with a tag value of100
- /routing-policy/defined-sets/tag-sets/tag-set/config/tag-value
- For routing-policy
route-policy-v6
statementstatement-v6
configure tag-set totag-set-v6
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/tag-set
- For routing-policy
route-policy-v6
statementstatement-v6
configure match options toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/match-set-options
- Verify a tag-set with name
tag-set-v6
is configured- /routing-policy/defined-sets/tag-sets/tag-set/state/name
- Verify tag-set
tag-set-v6
with a tag value of100
is configured- /routing-policy/defined-sets/tag-sets/tag-set/state/tag-value
- Verify for routing-policy
route-policy-v6
statementstatement-v6
match-set-tag is set totag-set-v6
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/tag-set
- Verify for routing-policy
route-policy-v6
statementstatement-v6
match-set-options is set toANY
- /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/match-set-options
- Verify that the ATE does not receives the redistributed static route
ipv6-route
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- Configure tag-set
tag-set-v6
with a tag value of60
- /routing-policy/defined-sets/tag-sets/tag-set/config/tag-value
- here we are setting correct tag value of 60, as defined in initial setup of this test, to validate that the route is now redistributed
- Verify tag-set
tag-set-v6
with a tag value of60
is configured- /routing-policy/defined-sets/tag-sets/tag-set/state/tag-value
- Verify that the ATE receives the redistributed static route
ipv6-route
- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- Initiate traffic from ATE port-1 to the DUT and destined to
ipv6-network
i.e.2024:db8:128:128::/64
- Validate that the traffic is received on ATE port-2
- Configure an IPv6 static route
ipv6-drop-route
on DUT destined toipv6-drop-network
i.e.2024:db8:64:64::/64
with the next hop set toDROP
- /network-instances/network-instance/protocols/protocol/static-routes/static/config/prefix
- /network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/next-hop
- Set a tag on the
ipv6-drop-route
to 60 * /network-instances/network-instance/protocols/protocol/static-routes/static/config/set-tag
- For routing-policy
route-policy-v6
statementstatement-v6
set next-hop to2001:DB8::9
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-next-hop
- Verify for routing-policy
route-policy-v4
statementstatement-v4
next-hop is set to2001:DB8::9
- /routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-next-hop
- Validate that the ATE receives the redistributed static route
ipv4-drop-route
on the iBGP session between DUT-ATE port 3- /network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
- Initiate traffic from ATE port-3 to the DUT and destined to
ipv4-drop-network
i.e.2024:db8:64:64::/64
- Validate that the traffic is received on ATE port-2
-
/network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/config/
-
/network-instances/network-instance/protocols/protocol/bgp/global/afi-safis/afi-safi/config/send-community-type
-
/network-instances/network-instance/protocols/protocol/bgp/global/config
-
/network-instances/network-instance/protocols/protocol/static-routes/static/config/prefix
-
/network-instances/network-instance/protocols/protocol/static-routes/static/config/set-tag
-
/network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/metric
-
/network-instances/network-instance/protocols/protocol/static-routes/static/next-hops/next-hop/config/next-hop
-
/network-instances/network-instance/table-connections/table-connection/config/address-family
-
/network-instances/network-instance/table-connections/table-connection/config/default-import-policy
-
/network-instances/network-instance/table-connections/table-connection/config/disable-metric-propagation
-
/network-instances/network-instance/table-connections/table-connection/config/dst-protocol
-
/network-instances/network-instance/table-connections/table-connection/config/import-policy
-
/network-instances/network-instance/table-connections/table-connection/config/src-protocol
-
/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/community-member
-
/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/community-set-name
-
/routing-policy/defined-sets/prefix-sets/prefix-set/config/mode
-
/routing-policy/defined-sets/prefix-sets/prefix-set/config/name
-
/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/ip-prefix
-
/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/masklength-range
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/repeat-n
-
/routing-policy/defined-sets/tag-sets/tag-set/config/name
-
/routing-policy/defined-sets/tag-sets/tag-set/config/tag-value
-
/routing-policy/policy-definitions/policy-definition/config/name
-
/routing-policy/policy-definitions/policy-definition/statements/statement/config/name
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/config/policy-result
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-local-pref
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-med
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/set-next-hop
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/asn
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/config/community-set-ref
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/match-set-options
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/prefix-set
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/match-set-options
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/tag-set
-
/network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/prefix
-
/network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/prefix
-
/network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv4-unicast/loc-rib/routes/route/state/community-index
-
/network-instances/network-instance/protocols/protocol/bgp/rib/afi-safis/afi-safi/ipv6-unicast/loc-rib/routes/route/state/community-index
-
/network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/as-path/as-segment/state/member
-
/network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/local-pref
-
/network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/state/med
-
/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/community-member
-
/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/community-set-name
-
/network-instances/network-instance/protocols/protocol/bgp/rib/communities/community/state/index
-
/network-instances/network-instance/table-connections/table-connection/state/address-family
-
/network-instances/network-instance/table-connections/table-connection/state/default-import-policy
-
/network-instances/network-instance/table-connections/table-connection/state/disable-metric-propagation
-
/network-instances/network-instance/table-connections/table-connection/state/dst-protocol
-
/network-instances/network-instance/table-connections/table-connection/state/import-policy
-
/network-instances/network-instance/table-connections/table-connection/state/src-protocol
-
/routing-policy/defined-sets/prefix-sets/prefix-set/state/mode
-
/routing-policy/defined-sets/prefix-sets/prefix-set/state/name
-
/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/ip-prefix
-
/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/masklength-range
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/repeat-n
-
/routing-policy/defined-sets/tag-sets/tag-set/state/name
-
/routing-policy/defined-sets/tag-sets/tag-set/state/tag-value
-
/routing-policy/policy-definitions/policy-definition/state/name
-
/routing-policy/policy-definitions/policy-definition/statements/statement/state/name
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/state/policy-result
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/asn
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-local-pref
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-med
-
/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/set-next-hop
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/match-set-options
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/prefix-set
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/match-set-options
-
/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/tag-set
rpcs:
gnmi:
gNMI.Get:
gNMI.Set:
- FFF
-
Home
- Test Plans
- Authz: General Authz (1-4) tests
- CNTR-2: Container network connectivity tests
- DP-1.2: QoS policy feature config
- DP-1.3: QoS ECN feature config
- DP-1.4: QoS Interface Output Queue Counters
- DP-1.7: One strict priority queue traffic test
- DP-1.8: Two strict priority queue traffic test
- DP-1.9: WRR traffic test
- DP-1.10: Mixed strict priority and WRR traffic test
- DP-1.11: Bursty traffic test
- DP-1.14: QoS basic test
- example-0.1: Topology Test
- FP-1.1: Power admin DOWN/UP Test
- gNMI-1.1: cli Origin
- gNMI-1.2: Benchmarking: Full Configuration Replace
- gNMI-1.3: Benchmarking: Drained Configuration Convergence Time
- gNMI-1.4: Telemetry: Inventory
- gNMI-1.5: Telemetry: Port Speed Test
- gNMI-1.8: Configuration Metadata-only Retrieve and Replace
- gNMI-1.9: Get requests
- gNMI-1.10: Telemetry: Basic Check
- gNMI-1.11: Telemetry: Interface Packet Counters
- gNMI-1.12: Mixed OpenConfig/CLI Origin
- gNMI-1.13: Optics Telemetry, Instant, threshold, and miscellaneous static info
- gNMI-1.14: OpenConfig metadata consistency during large config push
- gNMI-1.15: Set Requests
- gNMI-1.16: fabric redundancy test
- gNMI-1.17: Controller Card redundancy test
- gNMI-1.18: gNMI subscribe with sample mode for backplane capacity counters
- gNMI-1.19: ConfigPush after Control Card switchover
- gNMI-1.20: Telemetry: Optics Thresholds
- gNMI-1.21: Integrated Circuit Hardware Resource Utilization Test
- gNMI-1.22: Controller card port attributes
- gNMI-1.27: gNMI Sample Mode Test
- gNOI-2.1: Packet-based Link Qualification
- gNOI-3.1: Complete Chassis Reboot
- gNOI-3.2: Per-Component Reboot
- gNOI-3.3: Supervisor Switchover
- gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
- gNOI-4.1: Software Upgrade
- gNOI-5.1: Ping Test
- gNOI-5.2: Traceroute Test
- gNOI-5.3: Copying Debug Files
- gNOI-6.1: Factory Reset
- Health-1.1: Generic Health Check
- Health-1.2: Healthz component status paths
- MGT-1: Management HA solution test
- MTU-1.3: Large IP Packet Transmission
- OC-1.2: Default Address Families
- OC-26.1: Network Time Protocol (NTP)
- P4RT-1.1: Base P4RT Functionality
- P4RT-1.2: P4RT Daemon Failure
- P4RT-2.1: P4RT Election
- P4RT-2.2: P4RT Metadata Validation
- P4RT-3.1: Google Discovery Protocol: PacketIn
- P4RT-3.2: Google Discovery Protocol: PacketOut
- P4RT-5.1: Traceroute: PacketIn
- P4RT-5.2: Traceroute Packetout
- P4RT-6.1: Required Packet I/O rate: Performance
- P4RT-7.1: LLDP: PacketIn
- P4RT-7.2: LLDP: PacketOut
- Replay-1.0: Record/replay presession test
- Replay-1.1: Record/replay diff command trees test
- Replay-1.2: P4RT Replay Test
- RT-1.1: Base BGP Session Parameters
- RT-1.2: BGP Policy & Route Installation
- RT-1.3: BGP Route Propagation
- RT-1.4: BGP Graceful Restart
- RT-1.5: BGP Prefix Limit
- RT-1.7: Local BGP Test
- RT-1.10: BGP Keepalive and HoldTimer Configuration Test
- RT-1.11: BGP remove private AS
- RT-1.12: BGP always compare MED
- RT-1.14: BGP Long-Lived Graceful Restart
- RT-1.19: BGP 2-Byte and 4-Byte ASN support
- RT-1.21: BGP TCP MSS and PMTUD
- RT-1.23: BGP AFI SAFI OC DEFAULTS
- RT-1.24: BGP 2-Byte and 4-Byte ASN support with policy
- RT-1.25: Management network-instance default static route
- RT-1.26: Basic static route support
- RT-1.27: Static route to BGP redistribution
- RT-1.28: BGP to IS-IS redistribution
- RT-1.29: BGP chained import/export policy attachment
- RT-1.30: BGP nested import/export policy attachment
- RT-1.32: BGP policy actions - MED, LocPref, prepend, flow-control
- RT-1.33: BGP Policy with prefix-set matching
- RT-1.51: BGP multipath ECMP
- RT-1.52: BGP multipath UCMP support with Link Bandwidth Community
- RT-2.1: Base IS-IS Process and Adjacencies
- RT-2.2: IS-IS LSP Updates
- RT-2.6: IS-IS Hello-Padding enabled at interface level
- RT-2.7: IS-IS Passive is enabled at interface level
- RT-2.8: IS-IS metric style wide not enabled
- RT-2.9: IS-IS metric style wide enabled
- RT-2.10: IS-IS change LSP lifetime
- RT-2.11: IS-IS Passive is enabled at the area level
- RT-2.12: Static route to IS-IS redistribution
- RT-2.13: Weighted-ECMP for IS-IS
- RT-2.14: IS-IS Drain Test
- RT-3.1: Policy based VRF selection
- RT-3.2: Multiple <Protocol, DSCP> Rules for VRF Selection
- RT-4.10: AFTs Route Summary
- RT-5.1: Singleton Interface
- RT-5.2: Aggregate Interfaces
- RT-5.3: Aggregate Balancing
- RT-5.4: Aggregate Forwarding Viable
- RT-5.5: Interface hold-time
- RT-5.6: Interface Loopback mode
- RT-5.8: IPv6 Link Local
- RT-5.9: Disable IPv6 ND Router Arvetisment
- RT-5.10: IPv6 Link Local generated by SLAAC
- RT-6.1: Core LLDP TLV Population
- RT-7.1: BGP default policies
- RT-7.2: BGP Policy Community Set
- RT-7.3: BGP Policy AS Path Set
- RT-7.4: BGP Policy AS Path Set and Community Set
- RT-7.5: BGP Policy - Match and Set Link Bandwidth Community
- RT-7.8: BGP Policy Match Standard Community and Add Community Import/Export Policy
- RT-7.11: BGP Policy - Import/Export Policy Action Using Multiple Criteria
- SEC-3.1: Authentication
- SFLOW-1: sFlow Configuration and Sampling
- System-1: System testing
- TE-1.1: Static ARP
- TE-1.2: My Station MAC
- TE-2.1: gRIBI IPv4 Entry
- TE-2.2: gRIBI IPv4 Entry With Aggregate Ports
- TE-3.1: Base Hierarchical Route Installation
- TE-3.2: Traffic Balancing According to Weights
- TE-3.3: Hierarchical weight resolution
- TE-3.5: Ordering: ACK Received
- TE-3.6: ACK in the Presence of Other Routes
- TE-3.7: Base Hierarchical NHG Update
- TE-3.31: Hierarchical weight resolution with PBF
- TE-4.1: Base Leader Election
- TE-4.2: Persistence Mode
- TE-5.1: gRIBI Get RPC
- TE-6.1: Route Removal via Flush
- TE-6.2: Route Removal In Non Default VRF
- TE-8.1: DUT Daemon Failure
- TE-8.2: Supervisor Failure
- TE-9.1: FIB FAILURE DUE TO HARDWARE RESOURCE EXHAUST
- TE-9.2: MPLS based forwarding Static LSP
- TE-9: gRIBI MPLS Compliance
- TE-10: gRIBI MPLS Forwarding
- TE-11.1: Backup NHG: Single NH
- TE-11.2: Backup NHG: Multiple NH
- TE-11.3: Backup NHG: Actions
- TE-11.21: Backup NHG: Multiple NH with PBF
- TE-11.31: Backup NHG: Actions with PBF
- TE-13.1: gRIBI route ADD during Failover
- TE-13.2: gRIBI route DELETE during Failover
- TE-14.1: gRIBI Scaling
- TE-14.2: encap and decap scale
- TE-15.1: gRIBI Compliance
- TE-16.1: basic encapsulation tests
- TE-16.2: encapsulation FRR scenarios
- TE-17.1: VRF selection policy driven TE
- TR-6.1: Remote Syslog feature config
- TRANSCEIVER-1: Telemetry: 400ZR Chromatic Dispersion(CD) telemetry values streaming
- TRANSCEIVER-3: Telemetry: 400ZR Optics firmware version streaming
- TRANSCEIVER-4: Telemetry: 400ZR RX input and TX output power telemetry values streaming.
- TRANSCEIVER-5: Configuration: 400ZR channel frequency, output TX launch power and operational mode setting.
- TRANSCEIVER-6: Telemetry: 400ZR Optics performance metrics (pm) streaming.
- TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streaming
- TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.
- TRANSCEIVER-9: Telemetry: 400ZR TX laser bias current telemetry values streaming.
- TRANSCEIVER-10: Telemetry: 400ZR Optics FEC(Forward Error Correction) Uncorrectable Frames Streaming.
- TRANSCEIVER-11: Telemetry: 400ZR Optics logical channels provisioning and related telemetry.
- TRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.
- TRANSCEIVER-13: Configuration: 400ZR Transceiver Low Power Mode Setting.
- TUN-1.4: Interface based IPv6 GRE Encapsulation
- TUN-1.9: GRE inner packet DSCP
- Test Plans