4-21
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 4 Configuring Ethernet, Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet Switching
Setting the Port Configuration
To configure the MTU value, perform this task:
This example shows how to set the MTU size on a VLAN interface and verify the configuration:
Router(config)#
interface vlan 111
Router(config-if)#
mtu 9216
Router(config-if)#
end
Router#
show interface vlan 111
.
.
.
MTU 9216 bytes, BW 1000000 Kbit, DLY 10 usec,
.
.
.
Router#
Checking Connectivity
Use the
ping
and
traceroute
commands to test connectivity.
To check connectivity out a port, perform this task in privileged mode:
This example shows how to ping a remote host and trace the hop-by-hop path of packets through the
network using
traceroute
:
Console> (enable)
ping somehost
somehost is alive
Console> (enable)
traceroute somehost
traceroute to somehost.company.com (10.1.2.3), 30 hops max, 40 byte packets
1 engineering-1.company.com (173.31.192.206) 2 ms 1 ms 1 ms
2 engineering-2.company.com (173.31.196.204) 2 ms 3 ms 2 ms
3 gateway_a.company.com (173.16.1.201) 6 ms 3 ms 3 ms
4 somehost.company.com (10.1.2.3) 3 ms * 2 ms
Console> (enable)
Task
Command
Step 1
Access VLAN interface configuration mode.
Router(config)#
interface vlan
vlan_ID
Step 2
Set the MTU size. The valid values are from 64 to
17952 bytes
1
.
1. Set the MTU size no larger than 9216, which is the size that is supported by the supervisor engine.
Router(config-if)#
mtu
mtu_size
Step 3
Verify the configuration.
Router#
show interface vlan 111
Task
Command
Step 1
Ping a remote host that is located out the port that
you want to test.
ping
[
-s
]
host
[
packet_size
] [
packet_count
]
Step 2
Trace the hop-by-hop route of packets from the
switch to a remote host that is located out the port
that you want to test.
traceroute
host
Step 3
If the host is unresponsive, check the IP address
and default gateway that are configured on the
switch.
show interface
show ip route