Command
Function
Command Format
Parameter
Description
3
C h a p t e r
debug
Table of Contents:
dbfake .............................................................................21
dbfilt................................................................................24
dbfake
This set of commands is used to configure virtual packet rules.
dbfake add
This command is used to add one virtual TCP/UDP packet rule.
dbfake add dev <string> smac <macaddress1> dmac <macad
dress2> sip <ipaddress1> dip <ipaddress2> ipproto [<tcp|6|u
dp|17> sport <port1> dport <port2>]|[<icmp|1> type <num
ber>]
Parameter
add
dev
<string>
smac
<macaddress1>
dmac
<macaddress2>
sip
<ipaddress1>
dip
<ipaddress2>
ipproto
Confidential and Proprietary Information of ZTE CORPORATION
Description
This adds one virtual TCP/UDP packet rule.
This specifies interface name.
This is one string, which is the name of
interface, such as eth0.
This sets source mac address.
This is one standard MAC address string.
This is destination mac address.
This is one standard MAC address string.
This specifies source IP address.
This is one standard IP address string.
This specifies destination IP address.
This is one standard IP address string.
This specifies the type of transport layer
protocol.
21