3Com S7906E Configuration Manual page 278

S7900e family release 6600 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

[SwitchA-acl-basic-2000] quit
# Create class 1 and use basic IPv4 ACL 2000 as the match criteria.
[SwitchA] traffic classfier 1
[SwitchA-classifier-1] if-match acl 2000
[SwitchA-classifier-1] quit
# Create behavior 1 and configure the action of mirroring traffic to GigabitEthernet 2/0/1 for the
behavior.
[SwitchA] traffic behavior 1
[SwitchA-behavior-1] mirror-to interface GigabitEthernet 2/0/1
[SwitchA-behavior-1] quit
# Create QoS policy 1 and associate class 1 with behavior 1 in the QoS policy.
[SwitchA] qos policy 1
[SwitchA-policy-1] classifier 1 behavior 1
[SwitchA-policy-1] quit
# Apply QoS policy 1 to the inbound direction of GigabitEthernet 2/0/2.
[SwitchA] interface GigabitEthernet 2/0/2
[SwitchA-GigabitEthernet2/0/2] qos apply policy 1 inbound
[SwitchA-GigabitEthernet2/0/2] quit
# Create remote source mirroring group 1.
[SwitchA] mirroring-group 1 remote-source
# Create VLAN 2.
[SwitchA] vlan 2
[SwitchA-vlan2] quit
# Configure VLAN 2 as the remote probe VLAN, GigabitEthernet 2/0/48 as the mirroring port, and
GigabitEthernet 2/0/1 as the egress port for the remote source mirroring group.
[SwitchA] mirroring-group 1 remote-probe vlan 2
[SwitchA] mirroring-group 1 mirroring-port GigabitEthernet 2/0/48 inbound
[SwitchA] mirroring-group 1 monitor-egress GigabitEthernet 2/0/1
# Configure GigabitEthernet 2/0/1 as a trunk port and assign it to VLAN 2.
[SwitchA] interface GigabitEthernet 2/0/1
[SwitchA-GigabitEthernet2/0/1] port link-type trunk
[SwitchA-GigabitEthernet2/0/1] port trunk permit vlan 2
Configuration on Switch B
# Configure GigabitEthernet 2/0/1 as a trunk port and assign it to VLAN 2.
<SwitchB> system-view
[SwitchB] interface GigabitEthernet
[SwitchB-GigabitEthernet2/0/1] port link-type trunk
[SwitchB-GigabitEthernet2/0/1] port trunk permit vlan 2
[SwitchB-GigabitEthernet2/0/1] quit
# Configure GigabitEthernet 2/0/2 as a trunk port and assign it to VLAN 2.
[SwitchB] interface GigabitEthernet
[SwitchB-GigabitEthernet2/0/2] port link-type trunk
[SwitchB-GigabitEthernet2/0/2] port trunk permit vlan 2
2/0/1
2/0/2
2-5

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents