summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-10-18 10:08:10 +0800
committerluwenpeng <[email protected]>2023-10-31 17:08:25 +0800
commit0753e8018c215ef0a055864c101eb96f2b1fbd04 (patch)
treec88b5d77c4807ed56a1f1f0f8f687ad4684fb05c /conf
parent18561bc4fe2ec08cf470599732fca1f31d41d5fa (diff)
TSG-13684 tsg-service-chaining-engine使用VLAN封装Packet并执行Traffic Mirroringv1.2.0-20231101
Diffstat (limited to 'conf')
-rw-r--r--conf/sce.conf16
1 files changed, 10 insertions, 6 deletions
diff --git a/conf/sce.conf b/conf/sce.conf
index 50ff4e7..e55c239 100644
--- a/conf/sce.conf
+++ b/conf/sce.conf
@@ -47,13 +47,17 @@ bypass_traffic=0
rx_burst_max=128
min_timeout_ms=900
app_symbol=sce
-dev_endpoint=eth_sf_endpoint
-dev_nf_interface=eth_nf_interface
-dev_endpoint_src_ip=192.168.100.1
-# If the configuration file does not set src mac, get src mac through marsio_get_device_ether_addr();
-# If the configuration file has src mac set, use the src mac in the file
-# dev_endpoint_src_mac=aa:aa:aa:aa:aa:aa
+dev_nf_name=nf_0_sce
+
+# dev_endpoint_l2 for vlan
+dev_endpoint_l2_name=endpoint_0_sce_l2
+vlan_encapsulate_replace_orig_vlan_header=0
+
+# dev_endpoint_l3 for vxlan
+dev_endpoint_l3_name=endpoint_0_sce_l3
+dev_endpoint_l3_ip=192.168.100.1
+# dev_endpoint_l3_mac=aa:aa:aa:aa:aa:aa
[stat]
output_file=log/sce.fs2