EasyManua.ls Logo

TP-Link JetStream T3700G-52TQ - Match Dstip; Match Srcip

TP-Link JetStream T3700G-52TQ
493 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
T3700G-52TQ
JetStream 52-Port Gigabit Stackable L3 Managed Switch CLI Guide
25.18 match dstip
Description
The match dstip command definites a match condition based on the
destination IPv4 address of a packet. The match condition only apply to an
IPv4 class.
Syntax
match dstip
destination-ip destination-ip-mask
Parameter
destination-ip
—— The destination IP address.
destination-ip-mask
—— The destination IP address mask.
Command Mode
Class-Map Configuration Mode( IPv4)
Example
Create an IPv4 class whose name is “Market”, definites a match condition that
the packets’s destination IPv4 address should be 192.168.0.123, the mask
should be 255.255.255.0:
T3700G-52TQ(config)#class-map match-all Market ipv4
T3700G-52TQ(config-cmap)#match dstip 192.168.0.123 255.255.255.0
25.19 match srcip
Description
The match srcip command definites a match condition based on the source
IPv4 address of a packet. The match condition only apply to an IPv4 class.
Syntax
match srcip
source-ip source-ip-mask
Parameter
source-ip
—— The source IP address.
source-ip-mask
—— The source IP address mask.
Command Mode
Class-Map Configuration Mode( IPv4)
193

Table of Contents

Related product manuals