CLI
Management Guide
TigerAccess™ EE
172
SMC7824M/VSW
To specify a packet-classifying pattern with source/destination IP address or MAC ad-
dress, use the following command.
Command Mode
Description
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
} [<0-
255>]
Classifies an IP address.
A.B.C.D: source/destination IP address
A.B.C.D/M: source/destination IP address with mask
any: any source/destination IP address
0-255: IP protocol number
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
}
icmp
Classifies an IP protocol (ICMP).
A.B.C.D: source/destination IP address
A.B.C.D/M: source/destination IP address with mask
any: any source/destination IP address
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
}
icmp
{<0-255> |
any
} {<0-255> |
any
}
Classifies an IP protocol (ICMP).
A.B.C.D: source/destination IP address
A.B.C.D/M: source/destination IP address with mask
any: any source/destination IP address
0-255: ICMP message type number
0-255: ICMP message code number
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
} {
tcp
|
udp
}
Classifies an IP protocol (TCP/UDP).
A.B.C.D: source/destination IP address
A.B.C.D/M: source/destination IP address with mask
any: any source/destination IP address
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
} {
tcp
|
udp
} {<1-65535> |
any
} {<1-
65535> |
any
}
Classifies an IP protocol (TCP/UDP).
A.B.C.D: source/destination IP address
A.B.C.D/M: source/destination IP address with mask
any: any source/destination IP address
0-65535: TCP/UDP source/destination port range
any: any TCP/UDP source/destination port
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
}
tcp
{<1-65535> |
any
} {<1-65535> |
any
} {
TCP-FLAG
|
any
}
Classifies an IP protocol (TCP).
A.B.C.D: source/destination IP address
A.B.C.D/M: source/destination IP address with mask
any: any source/destination IP address
0-65535: TCP source/destination port range
any: any TCP source/destination port
TCP-FLAG: TCP flag (e.g. S(SYN), F(FIN))
any: any TCP flag
mac
{
SRC-MAC-ADDR
|
SRC-
MAC-ADDR/M
|
any
} {
DST-MAC-
ADDR
|
DST-MAC-ADDR
/M |
any
}
Classifies MAC address.
SRC-MAC-ADDR: source MAC address
DST-MAC-ADDR: destination MAC address
SRC/DST-MAC-ADDR/M: source/destination MAC
address with mask bit
any: any source/destination MAC address (ignore)
mac da-found
Classifies destination MAC addresses learned on MAC
table.
mac da-not-found
Flow
Classifies destination MAC addresses not learned on
MAC table.
Summary of Contents for 7724M/VSW - annexe 1
Page 1: ......
Page 385: ...CLI Management Guide TigerAccess EE 384 SMC7824M VSW ...
Page 387: ......