Ok, thanks for the input.  I have it working.
vpp# create bridge-domain 1bridge-domain 1vpp# show bbfd            bier        
   bond           bridge-domain  buffersvpp# show bridge-domain 1  BD-ID   
Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  ARP-Term   
BVI-Intf    1       1      0     off        on        on       flood        on  
     off        N/A
vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1vpp# set interface l2 
bridge TenGigabitEthernet82/0/1 1
vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128
Configured link delay 10.00 ms, 20.00 ms round-tripSim uses 26304512 bytes per 
thread, 157827072 bytes total
vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1
vpp# show nsimNetwork simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1...inserting link delay of 10.00 ms, 20.00 ms round-trip

    On Wednesday, October 3, 2018, 7:19:00 AM MDT, Dave Barach via Lists.Fd.Io 
<[email protected]> wrote:  
 
  <!--#yiv5805367346 _filtered #yiv5805367346 {font-family:Helvetica;panose-1:2 
11 6 4 2 2 2 2 2 4;} _filtered #yiv5805367346 {font-family:"Cambria 
Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv5805367346 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv5805367346 
#yiv5805367346 p.yiv5805367346MsoNormal, #yiv5805367346 
li.yiv5805367346MsoNormal, #yiv5805367346 div.yiv5805367346MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", 
sans-serif;}#yiv5805367346 a:link, #yiv5805367346 
span.yiv5805367346MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv5805367346 a:visited, #yiv5805367346 
span.yiv5805367346MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv5805367346 
p.yiv5805367346msonormal0, #yiv5805367346 li.yiv5805367346msonormal0, 
#yiv5805367346 div.yiv5805367346msonormal0 
{margin-right:0in;margin-left:0in;font-size:11.0pt;font-family:"Calibri", 
sans-serif;}#yiv5805367346 span.yiv5805367346EmailStyle18 {font-family:"Courier 
New";color:windowtext;font-weight:normal;font-style:normal;}#yiv5805367346 
span.yiv5805367346EmailStyle20 {font-family:"Courier 
New";color:windowtext;font-weight:normal;font-style:normal;}#yiv5805367346 
.yiv5805367346MsoChpDefault {font-size:10.0pt;} _filtered #yiv5805367346 
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv5805367346 div.yiv5805367346WordSection1 
{}-->
It would be easy enough for the delay simulator to enable/disable promiscuous 
mode. But it’s handy to bridge the pipes: traffic flows whether or not the 
delay simulation is enabled.
 
  
 
D.
 
  
 
From: [email protected] <[email protected]> On Behalf OfDave Barach via 
Lists.Fd.Io
Sent: Wednesday, October 3, 2018 9:09 AM
To: Brendan Kelly <[email protected]>; [email protected]
Cc: [email protected]
Subject: Re: [vpp-dev] WRED
 
  
 
Put the interfaces in an L2 bridge group, or they won’t be in promiscuous 
mode...
 
  
 
Here’s a config that I use a bunch:
 
  
 
set int l2 bridge FortyGigabitEthernet86/0/1 1
 
set int state FortyGigabitEthernet86/0/1 up
 
set int l2 bridge TenGigabitEthernetd/0/0 1
 
set int state TenGigabitEthernetd/0/0 up
 
  
 
bin nsim_configure delay 10 ms bandwidth 10.1 gbit packet-size 128
 
bin nsim_enable_disable FortyGigabitEthernet86/0/1 TenGigabitEthernetd/0/0
 
  
 
HTH... Dave
 
  
 
From: Brendan Kelly <[email protected]>
Sent: Tuesday, October 2, 2018 10:03 PM
To: [email protected]; Dave Barach (dbarach) <[email protected]>
Subject: Re: [vpp-dev] WRED
 
  
 
Hello Dave, doesn't appear to forward.  My ARP packets are not being forwarded. 
 I assume in this cross connect any packet in an interface is sent out the 
other interface and vice versa?
 
  
 
Anything special needed in the startup.conf?
 
  
 
vpp# show nsim
 
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
 
...inserting link delay of 200.00 ms, 400.00 ms round-trip
 
  
 
  
 
On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
<[email protected]> wrote: 
 
  
 
  
 
With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.
 

From: <[email protected]> on behalf of "brendanakelly via Lists.Fd.Io" 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Monday, October 1, 2018 at 6:18 PM
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: [vpp-dev] WRED

I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED. 

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss.
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730
 

Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
 -=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10741): https://lists.fd.io/g/vpp-dev/message/10741
Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-  
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10742): https://lists.fd.io/g/vpp-dev/message/10742
Mute This Topic: https://lists.fd.io/mt/26596674/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to