4-13
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 4 Configuring Ethernet, Fast Ethernet, and Gigabit Ethernet Switching
Setting the Port Configuration
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
<...Output Truncated...>
MTU 9216 bytes, BW 1000000 Kbit, DLY 10 usec,
<...Output Truncated...>
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 how to 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
Ping a remote host that is located out the port 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 located out the port you
want to test.
traceroute
host
Step 3
If the host is unresponsive, check the IP address
and default gateway configured on the switch.
show interface
show ip route