C-5
Catalyst 2350 Switch Command Reference
OL-19055-01
Appendix C Catalyst 2350 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
] [
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
]
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.
ipv6
(Optional) IPv6 frame.
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,
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
icmp-type
icmp-code
ICMP parameters. The
icmp-type
and
icmp-code
ranges are 0 to 255.
igmp
igmp-version
igmp-type
IGMP parameters. The
igmp-version
range is 1 to 15; the
igmp-type
range is 0 to 15.
sctp
src-port dst-port
Stream Control Transmission Protocol (SCTP) parameters. The ranges
for the SCTP source and destination ports are 0 to 65535.
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 0 to 1024.
udp
src-port dst-port
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
.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...