Comments (4)
from vpp-agent.
@bganne am I understanding correctly that you can simply create a GRE interface of type erspan and then 'span' to that interface from another interface?
from vpp-agent.
Yes, that should work, eg.
comment { create a xconnect between 2 user ports we want to span }
create packet-generator interface pg0
create packet-generator interface pg1
set int state pg0 up
set int state pg1 up
set int l2 xconnect pg0 pg1
set int l2 xconnect pg1 pg0
comment { GRE underlay }
create packet-generator interface pg2
set int ip address pg2 10.0.1.100/24
set ip arp pg2 10.0.1.22 6:5:4:3:2:1 static
set int state pg2 up
comment { GRE ERSPAN }
create gre tunnel dst 10.0.1.22 src 10.0.1.100 erspan 621
set int state gre0 up
comment { span a user interface (both directions) }
set int span pg0 destination gre0
comment { generate user traffic }
packet-generator new {
name 0-to-1
limit 1
node ethernet-input
size 64-64
interface pg0
data {
0x8881: 4:4:4:4:4:4 -> 5:5:5:5:5:5
incrementing 100
}
}
packet-generator new {
name 1-to-0
limit 1
node ethernet-input
size 64-64
interface pg1
data {
0x8881: 5:5:5:5:5:5 -> 4:4:4:4:4:4
incrementing 100
}
}
packet-generator enable
from vpp-agent.
#1445 was merged into dev branch
from vpp-agent.
Related Issues (20)
- CNAT plugin added HOT 1
- BUG: rest plugin return 500 /vpp/telemetry HOT 2
- Unable to start the `vpp-agent` Docker container in WSL
- kvscheduler internal graph bug HOT 4
- Deprecate clientv2 package
- Update k8s directory
- restful-api got configuration error. HOT 4
- BUG: srv6 ad failed to create ip neighbor HOT 1
- Is there any plan about supporting VPP 22.06 or 22.10? HOT 2
- How do I save my /confiuration interface configuration to etcd?
- Remove robot tests
- How to del some configuration by http ? HOT 1
- Unable to use REST plugin to configure vpp loopback interface
- Question: why telementry plugin use api sock to dump memory telemetry rather than stats.sock? HOT 2
- Question: does vpp-agent support linux-cp plugin? or how to send vpp cli commands through gRPC? HOT 2
- connect: No such file or directory HOT 1
- ligato Delivers the configuration of the linux host interface
- why (*InterfaceVppHandler).DumpInterfaces fail? HOT 3
- how to get interface status?
- Can we run the VPP Agent as part of the host process instead of container HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vpp-agent.