交换机的配置进入要监听的接口下Switch(config-if)#int f0/7Switch(config-if)#spanning-tree portfast %Warning: portfast
.
交换机的配置
进入要监听的接口下
Switch(config-if)#int f0/7
Switch(config-if)#spanning-tree portfast
%Warning: portfast enabled on FastEthernet0/7.
Usually portfast should be enabled on ports connected to a single host.
When portfast is enabled, connecting hubs, concentrators, switches, bridges,
etc. to this interface may cause temporary spanning tree loops.
Use with CAUTION.
Switch(config-if)#port monitor ?
//我们可以对vlan进入分析
FastEthernet FastEthernet IEEE 802.3
GigabitEthernet GigabitEthernet IEEE 802.3z
VLAN Switch VLAN Virtual Interface
<cr>
Switch(config-if)#port monitor f0/9
Switch(config-if)#port monitor f0/11
Switch(config-if)#
//进入目的接口下,配置要分析的接口
结果:
1.telnet流量的分析结果
2.ping流量的结果