Rule Add Action L3Protocol - Zte ZXR10 8900 Series Command Manual

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

Advertisement

ZXR10 8900 Series Command Manual (FW Volume)
Example
Command
Function
Command Format
Parameter
Description
122
Confidential and Proprietary Information of ZTE CORPORATION
Parameter
l2protocol
arp|0806|rarp|8035
|ipx|8137
log
yes|no
area
<string1>
smac
<string2>
dmac
<string3>
To add arp accept rule to area_gei_5/4 and record it into log, ex-
ecute the following command:
# rule add action accept l2protocol arp log yes area
area_gei_5/4

rule add action l3protocol

This command is used to add one L3 protocol packet filtering rule.
rule add action <accept|reject> l3protocol <number>[log<y
es|no>][area <string1>][smac < string2 >][dmac < string3>]
Parameter
add
action
accept|reject
l3protocol
<number>
log
yes|no
area
<string1>
smac
<string2>
dmac
<string3>
Description
This is the L2 protocol type used by packet.
ARP| ARP|RARP| RARP|IPX|IPX protocols
This specifies whether to record it into log.
Yes|No
This specifies area resource.
This is one string, which must be one
predefined area resource.
This sets source mac address.
This is one standard mac address string.
This sets destination mac address.
This is one standard mac address string.
Description
This adds one packet filtering rule.
This is the action to packet meeting rules:
permit or deny.
permit|deny
This is the L3 protocol type used by packet.
This is the protocol number.
This specifies whether to record it into log.
Yes|No
This specifies area resource.
This is one string, which must be one
predefined area resource.
This sets source mac address.
This is one standard mac address string.
This sets destination mac address.
This is one standard mac address string.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents