Download Troubleshooting Campus Networks

Transcript
1013-7 Ch02.F
26
6/7/02
2:31 PM
Page 26
Chapter 2
N OT E Some Cisco switches disable the forwarding of unknown (flooded)
unicast traffic and unregistered multicast traffic to the monitor port. The goal is
to protect the network from problems associated with this traffic exiting an
additional port. For example, a Cisco Catalyst 1900 switch automatically adds
the port block unicast and port block multicast commands to the
monitor port. This can make troubleshooting difficult. The workaround is to
upgrade to a higher-end switch.
The following output shows a common mistake that is made with the monitorport command. The user assumed that port monitoring was working, but in fact it
was not working because only the parameters had been configured. The port monitoring feature had not been enabled. The user had a protocol analyzer connected to switch
port 0/11. The user expected the analyzer to see the ping packets that traveled from
switch port 0/12 to an external network, but the analyzer did not see the packets.
(config)#monitor-port ?
monitored Set monitored port
port
Set monitor port
<cr>
(config)#monitor-port monitored 0/12
(config)#monitor-port port 0/11
(config)#exit
#ping 172.16.50.1
Sending 5, 100-byte ICMP Echos to 172.16.50.1, time out is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max 40/40/40/ ms
The analyzer did not see the five ping packets that the switch sent when the ping
172.16.50.1 command was entered. Using the show port monitor command
(note that the show command reverses the words port and monitor and leaves out the
hyphen), the user discovered that port monitoring was not enabled. After enabling the
feature, the analyzer did see the ping commands.
#show port monitor
Port monitoring state: Disabled
Monitor port: Ethernet 0/11
Ports being monitored: Ethernet 0/12
#config t
Enter configuration commands, one per line. End with CNTL/Z
(config)#monitor-port
(config)#exit
#ping 172.16.50.1
Sending 5, 100-byte ICMP Echos to 172.16.50.1, time out is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max 40/42/50/ ms
#