Rule Add Action L2Protocol Arp - Zte ZXR10 8900 Series Command Manual

10g routing switch
Hide thumbs Also See for ZXR10 8900 Series:
Table of Contents

Advertisement

Example
Command
Function
Command Format
Parameter
Description
Parameter
<string2>
dmac
<string3>
l3protocol
all|0|tcp|6|udp|17|i
cmp|1|igmp|2|num
ber
sip
<string4>
dip
<string5>
sport
<number1>
sport_end
<number2>
dport
<number3>
dport_end
<number4>
To
permit
the
device
00:50:04:C3:B0:31 to access the device whose destination ip is
doc_server and destination port id is 8000, execute the following
command,
# rule add action accept smac 00:50:04:C3:B0:31 dip
doc_server dport 8000

rule add action l2protocol arp

This command is used to add one ARP/RARP/IPX packet filtering
rule.
rule add action <accept|reject> l2protocol <arp|0806|ra
rp|8035|ipx|8137>[log<yes|no>][area
string 2>][dmac < string 3>]
Parameter
add
action
accept|reject
Confidential and Proprietary Information of ZTE CORPORATION
Description
This is one standard mac address string.
This sets destination mac address.
This is one standard mac address string.
This is the L3 protocol type used by packet.
All protocols/all protocols/TCP protocol/TCP
protocol/UDP protocol/UDP protocol/ICMP
protocol/ICMP protocol/IGMP protocol/User
inputs specified protocol number
This specifies source address, which must be
one predefined address.
This is one string.
This specifies destination address, which must
be one predefined address.
This is one string.
This specifies source start port id.
This is one number.
This specifies source end port id.
This is one number.
This specifies destination start port id.
This is one number.
This specifies destination end port id.
This is one number.
whose
source
Description
This adds one packet filtering rule.
This is the action to packet meeting rules:
permit or deny.
permit|deny
Chapter 11 pf
MAC
address
is
<string>][smac
<
121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents