[ovs-discuss] Question about ovs-ofctl otp-print action

txfh2007 txfh2007 at aliyun.com
Thu Feb 6 10:14:43 UTC 2020


Hi all:
    Here is a question about ofp-print command. I have found after running the same ovs-ofctl ofp-print <pkt raw data> command for multiple times, the output would be strange. like below(dl_vlan has been changed), Could anyone tell me the reason ? 

#ovs-ofctl ofp-print " 01 04 0098 00000000 00002320 0000001e 0000 0034 82 82 82 82 82 82 80 81 81 81 81 81 81 00 00 50 08 00 45 00 00 28 00 00 00 00 00 06 32 05 53 53 53 53 54 54 54 54 00 55 00 56 00 00 00 00 00 00   00000000 0001 0008 00000040 0002 0008 00000114 0003 0005 07   000000 0004 0010 00000000   fedcba9876543210 0005 0005 01   000000 0006 0010 80000408 5a5a5a5a5a5a5a5a 0007 0009 0102030405  00000000000000 "

NXT_PACKET_IN2 (xid=0x0): table_id=7 cookie=0xfedcba9876543210 total_len=64 metadata=0x5a5a5a5a5a5a5a5a (via action) data_len=48 buffer=0x00000114
 userdata=01.02.03.04.05
ip,dl_vlan=80,dl_vlan_pcp=0,vlan_tci1=0x0000,dl_src=80:81:81:81:81:81,dl_dst=82:82:82:82:82:82,nw_src=0.0.0.0,nw_dst=0.0.0.0,nw_proto=0,nw_tos=0,nw_ecn=0,nw_ttl=0

#  ovs-ofctl ofp-print " 01 04 0098 00000000 00002320 0000001e 0000 0034 82 82 82 82 82 82 80 81 81 81 81 81 81 00 00 50 08 00 45 00 00 28 00 00 00 00 00 06 32 05 53 53 53 53 54 54 54 54 00 55 00 56 00 00 00 00 00 00   00000000 0001 0008 00000040 0002 0008 00000114 0003 0005 07   000000 0004 0010 00000000   fedcba9876543210 0005 0005 01   000000 0006 0010 80000408 5a5a5a5a5a5a5a5a 0007 0009 0102030405  00000000000000 "

NXT_PACKET_IN2 (xid=0x0): table_id=7 cookie=0xfedcba9876543210 total_len=64 metadata=0x5a5a5a5a5a5a5a5a (via action) data_len=48 buffer=0x00000114
 userdata=01.02.03.04.05
dl_vlan=2500,dl_vlan_pcp=6,vlan_tci1=0x0000,dl_src=80:81:81:81:81:81,dl_dst=82:82:82:82:82:82,dl_type=0x8100


Thanks!
Timo


More information about the discuss mailing list