aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gtpu/gtpu_error.def
blob: 093a886ff33bfdaa4731b3b47718dc36f5615eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2017 Intel and/or its affiliates.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
gtpu_error (DECAPSULATED, "good packets decapsulated")
gtpu_error (NO_SUCH_TUNNEL, "no such tunnel packets")
gtpu_error (BAD_VER, "packets with bad version in gtpu header")
gtpu_error (BAD_FLAGS, "packets with bad flags field in gtpu header")
terface name destination <if-name>: monitoring interface name disable: delete mirroring #### Enable/Disabl SPAN (API) SPAN supports the following API configuration command: sw_interface_span_enable_disable src GigabitEthernet0/8/0 dst GigabitEthernet0/9/0 sw_interface_span_enable_disable src_sw_if_index 1 dst_sw_if_index 2 src/src_sw_if_index: mirrored interface name dst/dst_sw_if_index: monitoring interface name #### Remove SPAN entry (API) SPAN supports the following API configuration command: sw_interface_span_enable_disable src_sw_if_index 1 dst_sw_if_index 2 disable src_sw_if_index: mirrored interface name dst_sw_if_index: monitoring interface name ### Configuration example Mirror all packets on interface GigabitEthernet0/10/0 to interface GigabitEthernet0/11/0. Configure IPv4 addresses on mirrored interface: set interface ip address GigabitEthernet0/10/0 192.168.1.13/24 set interface state GigabitEthernet0/10/0 up Configure IPv4 addresses on monitoring interface: set interface ip address GigabitEthernet0/11/0 192.168.2.13/24 set interface state GigabitEthernet0/11/0 up Configure SPAN set span src GigabitEthernet0/10/0 dst GigabitEthernet0/11/0 ### Operational data Active SPAN mirroring CLI show command: show interfaces span Active SPAN mirroring API dump command: sw_interface_span_dump