C-6
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Appendix C Catalyst 3750 Metro Switch Show Platform Commands
show platform forward
show platform forward
Use the
show platform forward
privileged EXEC command for a port to determine how the hardware
would forward a frame that matches the specified parameters.
show platform forward
interface-id
[
vlan
vlan-id
]
src-mac dst-mac
[
l3protocol-id
]
[
sap
|
snap
]
[
cos
cos
]
[
ip
src-ip dst-ip
[
dscp
dscp
] [
frag
field
] {
l4protocol-id |
icmp
icmp-type icmp-code |
igmp
igmp-version igmp-type |
tcp
src-port dst-port flags |
udp
src-port dst-port
}
Syntax Description
Command Modes
Privileged EXEC
interface-id
The input physical port, the port on which the packet comes in to the
switch.
vlan
vlan-id
(Optional) Input VLAN ID. The range is 1 to 4094. If not specified, and
the input interface is not a routed port, the default is 1.
src-mac
48-bit source MAC address.
dst-mac
48-bit destination MAC address.
l3protocol-id
(Optional) The Layer 3 protocol used in the packet. The number is a
value 0 to 65535.
sap
(Optional) Service access point (SAP) encapsulation type.
snap
(Optional) Subnetwork Access Protocol (SNAP) encapsulation type.
cos
cos
(Optional) Class of service (CoS) value of the frame. The range is 0 to 7.
ip
src-ip dst-ip
(Optional, but required for IP packets) Source and destination IP
addresses in dotted decimal notation.
dscp
dscp
(Optional) Differentiated Services Code Point (DSCP) field in the IP
header. The range is 0 to 63.
frag
field
(Optional) The IP fragment field for a fragmented IP packet. The range
is 0 to 65535.
l4protocol-id
The numeric value of the Layer 4 protocol field in the IP header. The
range is 0 to 255. For example, 47 is generic routing encapsulation
(GRE), and 89 is Open Shortest Path First (OSPF). If the protocol is TCP,
UDP, ICMP, or IGMP, you should use the appropriate keyword instead
of a numeric value.
icmp
icmp-type
icmp-code
Internet Control Message Protocol (ICMP) parameters. The
icmp-type
and
icmp-code
ranges are 0 to 255.
igmp
igmp-version
igmp-type
Internet Group Management Protocol (IGMP) parameters. The
igmp-version
range is 1 to 15; the
igmp-type
range is 0 to 15.
tcp
src-port
dst-port
flags
Transmission Control Protocol (TCP) parameters: TCP source port,
destination port, and the numeric value of the TCP flags byte in the
header. The
src-port
and
dst-port
ranges are 0 to 65535. The flag range
is from 0 to 1024.
udp
src-port dst-port
User Datagram Protocol (UDP) parameters. The
src-port
and
dst-port
ranges are 0 to 65535.