aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-10-25 17:03:54 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-26 20:23:58 +0000
commitdf0191ead2cf39611714b6603cdc5bdddc445b57 (patch)
tree3fff9260a2023db6dc50266789bef8c061dfae18 /extras/libmemif/src
parent6bcc6a45573f387fa6c1682069da7ee9036cabe2 (diff)
l2: l2bd nd termination test instability
The test for ND event suppression reused the previous test run ipv6 address, and would sometimes consider that a duplicate, and therefore suppressing that one too. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1b115aa4eba9d57770fa03fcf38b7a1c251cfe88
Diffstat (limited to 'extras/libmemif/src')
0 files changed, 0 insertions, 0 deletions
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
set int ip address GigabitEthernet2/1/0 1.2.3.4/24
set int state GigabitEthernet2/1/0 up 
set int state tuntap-0 down


cre sub GigabitEthernet2/1/0 1 dot1q 1 
cre sub GigabitEthernet2/1/0 2 dot1q 2 
cre sub GigabitEthernet2/1/0 3 dot1q 3
cre sub GigabitEthernet2/2/0 1 dot1q 1 
cre sub GigabitEthernet2/2/0 100 dot1q 100 

set int l2 bridge GigabitEthernet2/1/0 0
set int l2 bridge GigabitEthernet2/1/0.1 0
set int l2 bridge GigabitEthernet2/1/0.2 0
set int l2 bridge GigabitEthernet2/1/0.3 0
set int l2 bridge GigabitEthernet2/2/0 0
set int l2 bridge GigabitEthernet2/2/0.1 0
set int l2 bridge GigabitEthernet2/2/0.100 0

set int l2 tag-rewrite GigabitEthernet2/2/0.1 push dot1q 50
set int l2 tag-rewrite GigabitEthernet2/1/0.2 translate 1-1 dot1q 100
set int l2 tag-rewrite GigabitEthernet2/1/0.3 translate 1-1 dot1q 99 

set int l2 efp-filter GigabitEthernet2/2/0
set int l2 efp-filter GigabitEthernet2/2/0.1
set int l2 efp-filter GigabitEthernet2/2/0.100


l2fib add 00:00:00:00:00:11    0  GigabitEthernet2/2/0.1 static
l2fib add 00:00:00:00:00:22    0  GigabitEthernet2/2/0.100 static

set int state GigabitEthernet2/1/0 up
set int state GigabitEthernet2/1/0.1 up
set int state GigabitEthernet2/1/0.2 up
set int state GigabitEthernet2/1/0.3 up
set int state GigabitEthernet2/2/0 up
set int state GigabitEthernet2/2/0.1 up
set int state GigabitEthernet2/2/0.100 up


trace add pg-input 6

clear error
clear run
clear int

packet-generator new {
  name pre_vtr_fail
  limit 10
  no-recycle
  node ethernet-input
  interface GigabitEthernet2/1/0
  data {
      IP4: 0050.56b7.7c83 -> 00:00:00:00:00:11 vlan 1
      GRE: 8.0.0.1 -> 1.2.3.3 mpls_unicast 
  }
}

packet-generator new {
  name post_vtr_pass
  limit 20
  no-recycle
  node ethernet-input
  interface GigabitEthernet2/1/0
  data {
      IP4: 0050.56b7.7c83 -> 00:00:00:00:00:22 vlan 2
      GRE: 8.0.0.1 -> 1.2.3.3 mpls_unicast 
  }
}

packet-generator new {
  name post_vtr_fail
  limit 50
  no-recycle
  node ethernet-input
  interface GigabitEthernet2/1/0
  data {
      IP4: 0050.56b7.7c83 -> 00:00:00:00:00:22 vlan 3
      GRE: 8.0.0.1 -> 1.2.3.3 mpls_unicast 
  }
}