#configure terminal | Enter configure mode. |
(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge. |
(config)# vlan 101-110 bridge 1 state enable | Configure VLANs. |
(config)#interface xe10 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe20 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe5 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)#exit | Exit interface mode. |
(config)# monitor session 1 | Enter monitor session configuration mode |
(config-monitor)# destination interface xe5 | Configure the interface as destination port |
(config-monitor)# source interface xe10 both | Configure the source interface to mirror ingress as well as egress direction traffic |
(config-monitor)# no shut | Activate monitor session |
(config-monitor)#end | Exit monitor session configuration mode |
#configure terminal | Enter configure mode. |
(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge. |
(config)# vlan 101-110 bridge 1 state enable | Configure VLANs |
(config)#interface xe10 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up |
(config-if)#exit | Exit interface mode. |
(config)#interface xe20 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up |
(config-if)#exit | Exit interface mode. |
(config)#interface xe5 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)#exit | Exit interface mode. |
(config)# monitor session 1 | Enter monitor session configuration mode |
(config-monitor)# destination interface xe5 | Configure the interface as destination port |
(config-monitor)# source vlan 101 | Configure source VLAN to be mirrored |
(config-monitor)# filter src-mac host 0000.0000.0005 | Configure the rule to match the source MAC |
(config-monitor)# no shut | Activate monitor session |
(config-monitor)#end | Exit monitor session configuration mode |
#configure terminal | Enter configure mode. |
(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge. |
(config)# vlan 101-110 bridge 1 state enable | Configure VLANs. |
(config)#interface xe10 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe20 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe5 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)#exit | Exit interface mode. |
(config)# monitor session 1 type remote | Enter monitor session configuration mode. |
(config-monitor)# destination remote vlan 100 reflector-port xe5 | Configure the interface as remote destination port |
(config-monitor)# source interface xe10 both | Configure the source interface to mirror ingress as well as egress direction traffic. |
(config-monitor)# no shut | Activate monitor session. |
(config-monitor)#end | Exit monitor session configuration mode. |
#configure terminal | Enter configure mode. |
(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge. |
(config)# vlan 101-110 bridge 1 state enable | Configure VLANs. |
(config)#interface xe10 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe20 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)# bridge-group 1 | Associate bridge to an interface. |
(config-if)# switchport mode trunk | Configure port as a trunk. |
(config-if)# switchport trunk allowed vlan add 101-110 | Allow VLANs 101-110 on the interface. |
(config-if)# no shutdown | Make interface admin up. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe5 | Enter interface mode. |
(config-if)# switchport | Configure interface as a layer 2 port. |
(config-if)#exit | Exit interface mode. |
(config)# monitor session 1 type remote | Enter monitor session configuration mode. |
(config-monitor)# destination remote vlan 100 reflector-port xe5 | Configure the interface as remote destination port. |
(config-monitor)# source vlan 101 | Configure source VLAN to be mirrored. |
(config-monitor)# filter src-mac host 0000.0000.0005 | Configure the rule to match the source MAC. |
(config-monitor)# no shut | Activate monitor session. |
(config-monitor)#end | Exit monitor session configuration mode. |