Skip to content

Commit

Permalink
005-rare-hello-fod: : containerlab-fod-freertr.sh updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmitz2017 committed Dec 8, 2023
1 parent 90a5328 commit bd63117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lab/005-rare-hello-fod/containerlab-fod-freertr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ echo1 "$0: 3.b.2. show freertr flowspec status/statistics (before ping to be blo
echo1 "$0: 3.b.3. perform proper ping to be blocked (attacker $attacker_ip -> victim $victim_ip):" 1>&2
(set -x; ! docker exec -ti clab-rtr005-host1 ping -c 10 10.2.10.2) | output_with_specific_colormarks "packets transmitted, .* received, .* packet loss"
#(set -x; ! docker exec -ti clab-rtr005-host2 ping -c 10 10.1.10.1)
(set -x; ! docker exec -ti clab-rtr005-host1 ping -c 5 10.2.10.2) | output_with_specific_colormarks "packets transmitted, .* received, .* packet loss"
#(set -x; ! docker exec -ti clab-rtr005-host2 ping -c 5 10.1.10.1)
echo1 "$0: 3.b.4. show freertr flowspec status/statistics (after ping to be blocked):" 1>&2
(set -x; docker exec -ti clab-rtr005-rtr1 bash -c '{ echo "show ipv4 bgp 1 flowspec database"; echo "show policy-map flowspec CORE ipv4"; echo exit; } | (exec 3<>/dev/tcp/127.0.0.1/2323; cat >&3; cat <&3; exec 3<&-)') | output_with_specific_colormarks '(f01:200a:20a:202:200a:10a:103:8101)|(drp=[0-9])'
Expand Down

0 comments on commit bd63117

Please sign in to comment.