show platform forward
show platform forward
Use the show platform forward privileged EXEC command for an interface to specify how the
hardware would forward a frame that matches the specified parameters.
Syntax Description
interface-id
vlan vlan-id
src-mac
dst-mac
l3protocol-id
ipv6
sap
snap
cos cos
ip src-ip dst-ip
frag field
dscp dscp
l4protocol-id
icmp icmp-type
icmp-code
igmp igmp-version
igmp-type
sctp src-port dst-port
tcp src-port dst-port
flags
udp src-port dst-port
| begin
Catalyst 3750 Switch Command Reference
C-6
show platform forward interface-id [vlan vlan-id] src-mac dst-mac [l3protocol-id] [ipv6 | sap |
snap] [cos cos] [ip src-ip dst-ip [frag field] [dscp dscp] {l4protocol-id | icmp icmp-type
icmp-code | igmp igmp-version igmp-type | sctp src-port dst-port | tcp src-port dst-port flags |
udp src-port dst-port]} [ | {begin | exclude | include} expression]
Appendix C
The input physical interface, the port on which the packet comes in to the
switch (including type, stack member, module, and port number).
(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.
48-bit source MAC address.
48-bit destination MAC address.
(Optional) The Layer 3 protocol used in the packet. The number is a
value 0 to 65535.
(Optional) IPv6 frame. This keyword is available only if the switch stack
is running the IP services image.
(Optional) Service access point (SAP) encapsulation type.
(Optional) Subnetwork Access Protocol (SNAP) encapsulation type.
(Optional) Class of service (CoS) value of the frame. The range is 0 to 7.
(Optional, but required for IP packets) Source and destination IP
addresses in dotted decimal notation.
(Optional) The IP fragment field for a fragmented IP packet. The range
is 0 to 65535.
(Optional) Differentiated Services Code Point (DSCP) field in the IP
header. The range is 0 to 63.
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,
User Datagram Protocol (UDP), Internet Control Message Protocol
(ICMP), or Internet Group Management Protocol (IGMP), you should
use the appropriate keyword instead of a numeric value.
ICMP parameters. The icmp-type and icmp-code ranges are 0 to 255.
IGMP parameters. The igmp-version range is 1 to 15; the igmp-type
range is 0 to 15.
Stream Control Transmission Protocol (SCTP) parameters. The ranges
for the SCTP source and destination ports are 0 to 65535.
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 0 to 1024.
UDP parameters. The src-port and dst-port ranges are 0 to 65535.
(Optional) Display begins with the line that matches the expression.
Catalyst 3750 Switch Show Platform Commands
OL-8552-07