Skip to content

Instantly share code, notes, and snippets.

@StephenKing
Last active September 17, 2015 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StephenKing/2c3c4414bfe5eee6f5e4 to your computer and use it in GitHub Desktop.
Save StephenKing/2c3c4414bfe5eee6f5e4 to your computer and use it in GitHub Desktop.
NEC PF5240 MPLS pop operation results in frames lacking Ethernet header
# show openflow table detail
Date 2015/09/17 10:34:48 UTC
[OpenFlow 1]
<entry 82>
table type : expanded
forwarding state : hardware-based
matched octets : 98560
matched packets : 770
green and yellow octets : 98560
green and yellow packets : 770
red octets : -
red packets : -
idle timer(max/current) : 0 sec / 0 sec
hard timer(max/current) : 0 sec / 0 sec
priority : 25006
added command : flowmod(ver1.3.1)
flow flags : SEND_OF_FLOW_REM
added time : 2015/09/16 17:25:32 UTC
last modified time : -
flow cookie : 0x0
match
match type : OXM
input port : any
metadata : 0x0000000000000451
src mac address : any
dst mac address : any
input vlan : any
input vlan pcp : any
input inner vlan : any
input inner vlan pcp : any
ethernet type : any
Action List
action 1
type : OUTPUT
out port : 0/02 [0x00000002]
<entry 81>
table type : mpls1
forwarding state : hardware-based
matched octets : -
matched packets : -
idle timer(max/current) : 0 sec / 0 sec
hard timer(max/current) : 0 sec / 0 sec
priority : 22592
added command : flowmod(ver1.3.1)
flow flags : SEND_OF_FLOW_REM
added time : 2015/09/16 17:25:32 UTC
last modified time : -
flow cookie : 0x0
match
match type : OXM
dst mac address : any
input vlan : any
ethernet type : 0x8847 [MPLS_UC]
Action List
action 1
type : GO_TO_TABLE
table id : MPLS2
<entry 87>
table type : mpls2
forwarding state : hardware-based
matched octets : -
matched packets : -
idle timer(max/current) : 0 sec / 0 sec
hard timer(max/current) : 0 sec / 0 sec
priority : 22592
added command : flowmod(ver1.3.1)
flow flags : SEND_OF_FLOW_REM
added time : 2015/09/16 17:29:36 UTC
last modified time : -
flow cookie : 0x0
match
match type : OXM
input port : 0/01 [0x00000001]
metadata : 0x0000000000000000
ethernet type : 0x8847 [MPLS_UC]
mpls label : 0x0001d
mpls s : 1
Action List
action 1
type : POP_MPLS
ether type : 0x0000
vpn type : L2VPN
action 2
type : WRITE_METADATA
metadata : 0x0000000000000451
metadata mask : 0x00000000ffffffff
action 3
type : GO_TO_TABLE
table id : NORMAL1
# show running-config
#Last modified by nec at Wed Sep 16 17:20:47 2015 with version V6.0.0.0
!
vlan 1
name "VLAN0001"
!
vlan 4093
!
spanning-tree disable
spanning-tree mode pvst
!
interface mgmt 0
ip address 172.16.45.9 255.255.255.0
!
interface gigabitethernet 0/1
switchport mode access
switchport access vlan 4093
!
interface gigabitethernet 0/2
switchport mode access
!yte 361
interface gigabitethernet 0/3
switchport mode access
!
interface gigabitethernet 0/4
switchport mode access
!
interface gigabitethernet 0/5
switchport mode access
!
interface gigabitethernet 0/6
switchport mode access
!
interface gigabitethernet 0/7
switchport mode access
!
interface gigabitethernet 0/8
switchport mode access
!
interface gigabitethernet 0/9
switchport mode access
!
interface gigabitethernet 0/10
switchport mode access
!
interface gigabitethernet 0/11
switchport mode access
!
interface gigabitethernet 0/12
switchport mode access
!
interface gigabitethernet 0/13
switchport mode access
!
interface gigabitethernet 0/14
switchport mode access
!
interface gigabitethernet 0/15
switchport mode access
!
interface gigabitethernet 0/16
switchport mode access
!
interface gigabitethernet 0/17
switchport mode access
!
interface gigabitethernet 0/18
switchport mode access
!
interface gigabitethernet 0/19
switchport mode access
!
interface gigabitethernet 0/20
switchport mode access
!
interface gigabitethernet 0/21
switchport mode access
!yte 1456
interface gigabitethernet 0/22
switchport mode access
!
interface gigabitethernet 0/23
switchport mode access
!
interface gigabitethernet 0/24
switchport mode access
!
interface gigabitethernet 0/25
switchport mode access
!
interface gigabitethernet 0/26
switchport mode access
!
interface gigabitethernet 0/27
switchport mode access
!
interface gigabitethernet 0/28
switchport mode access
!
interface gigabitethernet 0/29
switchport mode access
!
interface gigabitethernet 0/30
switchport mode access
!
interface gigabitethernet 0/31
switchport mode access
!
interface gigabitethernet 0/32
switchport mode access
!
interface gigabitethernet 0/33
switchport mode access
!
interface gigabitethernet 0/34
switchport mode access
!
interface gigabitethernet 0/35
switchport mode access
!
interface gigabitethernet 0/36
switchport mode access
!
interface gigabitethernet 0/37
switchport mode access
!
interface gigabitethernet 0/38
switchport mode access
!
interface gigabitethernet 0/39
switchport mode access
!
interface gigabitethernet 0/40
switchport mode access
!yte 2558
interface gigabitethernet 0/41
switchport mode access
!
interface gigabitethernet 0/42
switchport mode access
!
interface gigabitethernet 0/43
switchport mode access
!
interface gigabitethernet 0/44
switchport mode access
!
interface gigabitethernet 0/45
switchport mode access
!
interface gigabitethernet 0/46
switchport mode access
!
interface gigabitethernet 0/47
switchport mode access
!
interface gigabitethernet 0/48
switchport mode access
!
interface tengigabitethernet 0/49
switchport mode access
!
interface tengigabitethernet 0/50
switchport mode access
!
interface tengigabitethernet 0/51
switchport mode access
!
interface tengigabitethernet 0/52
switchport mode access
!
interface vlan 1
!yte 3285
ip route 0.0.0.0 0.0.0.0 172.16.45.1
!
line vty 0 2
!
ip ssh
!
openflow-table-resource mode 14
!
openflow openflow-id 1
protocol-version 04
controller controller-name stefan 1 132.187.12.127 port 6633
table normal1 priority 24000
table expanded priority 23999
echo-request interval 0
openflow-interface gigabitethernet 0/1-48
emergency-mode disable
mac-learning disable
enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment