
f0/23为trunk port,sw2的f 0/10为remote destination port,f0/23为trunk port
SW1
conf t
monitor session 1 source interface f 0/7 both
monitor session 1 destination interface f 0/8 encapsulation dot1q
SW1
conf t
vtp mode server
vtp domain ccie
vlan 2
remote-span
exit
int f 0/23
switchport trunk encap dot1q
switchport mode trunk
exit
monitor session 2 source interface 0/7 both
monitor session 2 destination remote vlan 2 reflector-port f 0/9
conf t
vtp domain ccie
vtp mode client
int f 0/23
switchport trunk encap dot1q
switchport mode trunk
exit
monitor session 2 source remote vlan 2
monitor session 2 destination interface f0/10 encap dot1q
校验
sw1#sh monitor session all d
Session 1
---------
Type : Local Session
Source Ports :
RX Only : None
TX Only : None
Both : Fa0/1
Source VLANs :
RX Only : None
TX Only : None
Both : None
Source RSPAN VLAN : None
Destination Ports : Fa0/8
Encapsulation : DOT1Q
Ingress: Disabled
Reflector Port : None
Filter VLANs : None
Dest RSPAN VLAN : None
Session 2
---------
Type : Remote Source Session
Source Ports :
RX Only : None
TX Only : None
Both : Fa0/1
Source VLANs :
RX Only : None
TX Only : None
Both : None
Source RSPAN VLAN : None
Destination Ports : None
Reflector Port : Fa0/9
Filter VLANs : None
Dest RSPAN VLAN : 2
sw2#sh monitor session all d
Session 2
---------
Type : Remote Destination Session
Source Ports :
RX Only : None
TX Only : None
Both : None
Source VLANs :
RX Only : None
TX Only : None
Both : None
Source RSPAN VLAN : 2
Destination Ports : Fa0/10
Encapsulation : DOT1Q
Ingress: Disabled
Reflector Port : None
Filter VLANs : None
Dest RSPAN VLAN : None
做RSPAN时候,3560不支持反射端口的,源交换机上应该这样:
monitor session 1 source int <id>
monitor session 1 destination remote vlan <id>
目标交换机配置是一样的