3Com 4200G 12-Port Configuration Manual page 254

4200g series switch
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

240
C
28: C
HAPTER
ONFIGURATION FOR
M
F
IRRORING
EATURES
Configuration procedure
Table 208 Configure traffic mirroring
Operation
Enter system view
Enter Ethernet port view of
the destination port
Define the current port as
the destination port
Exit current view
Enter Ethernet port view of
traffic mirroring
configuration
Reference ACLs for
identifying traffic flows and
perform traffic mirroring
for packets that match.
Display the parameter
settings of traffic mirroring
Display all QoS settings of a
port
acl-rule: applied ACL rules, which can be the combination of different types of ACL
rules. Table 209 describes the ACL combinations.
Table 209 Combined application of ACLs
Combination mode
Apply all rules in an IP type ACL separately
Apply one rule in an IP type ACL separately
Apply all rules in a Link type ACL separately
Apply one rule in a Link type ACL separately
Apply one rule in an IP type ACL and one rule
in a Link type ACL simultaneously
Configuration example
GigabitEthernet1/0/1 on the switch is connected to the 10.1.1.1/24 network
segment.
Mirror the packets from the 10.1.1.1/24 network segment to
GigabitEthernet1/0/7, the destination port.
Configuration procedure:
<S4200G> system-view
System View: return to User View with Ctrl+Z.
[4200G] acl number 2000
[4200G-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[4200G-acl-basic-2000] rule deny source any
[4200G-acl-basic-2000] quit
[4200G] interface gigabitEthernet1/0/7
[4200G-GigabitEthernet1/0/7] monitor-port
[4200G-GigabitEthernet1/0/7] quit
[4200G] interface gigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1] mirrored-to inbound ip-group 2000
monitor-interface
Command
system-view
interface interface-type
interface-number
monitor-port
quit
interface interface-type
interface-number
mirrored-to inbound acl-rule
monitor-interface
display qos-interface
{ interface-type interface-num |
unit-id } mirrored-to
display qos-interface
{ interface-type interface-num |
unit-id } all
Form of acl-rule
ip-group acl-number
ip-group acl-number rule rule
link-group acl-number
link-group acl-number rule rule
ip-group acl-number rule rule link-group
acl-number rule rule
Description
-
-
Required
-
-
Required
Optional
The display command can be
executed in any view

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents