Specifications

C-8
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Appendix C Cisco ME 3400 Ethernet Access Switch Show Platform Commands
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.
show platform forward interface-id [vlan vlan-id] src-mac dst-mac [l3protocol-id] [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 | tcp src-port dst-port flags | udp src-port dst-port} [ | {begin |
exclude | include} expression]
Syntax Description interface-id The input physical interface, the port on which the packet comes in to the
switch (including type and port number).
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.
frag field (Optional) The IP fragment field for a fragmented IP packet. The range
is 0 to 65535.
dscp dscp (Optional) Differentiated Services Code Point (DSCP) field in the IP
header. The range is 0 to 63.
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
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.
| begin (Optional) Display begins with the line that matches the expression.
| exclude (Optional) Display excludes lines that match the expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.