
C
HAPTER
29
| Port Mirroring Commands
Local Port Mirroring Commands
– 1019 –
◆
ACL-based mirroring is only used for ingress traffic. To mirror an ACL,
follow these steps:
1.
Use the
access-list
command (
page 951
) to add an ACL.
2.
Use the
access-group
command to add a mirrored port to access
control list.
3.
Use the
port monitor access-list
command to specify the
destination port to which traffic matching the ACL will be mirrored.
E
XAMPLE
The following example configures the switch to mirror all packets from port
6 to 5:
Console(config)#interface ethernet 1/5
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#
This example configures port 2 to monitor packets matching the MAC
address 00-12-CF-XX-XX-XX received by port 1:
Console(config)#access-list mac m1
Console(config-mac-acl)#permit 00-12-cf-00-00-00 ff-ff-ff-00-00-00 any
Console(config-mac-acl)#exit
Console(config)#interface ethernet 1/1
Console(config-if)#mac access-group m1 in
Console(config-if)#interface ethernet 1/2
Console(config-if)#port monitor access-list m1
Console(config-if)#
show port monitor
This command displays mirror information.
S
YNTAX
show port monitor
[
interface
|
vlan
vlan-id
|
mac-address
mac-address
]
interface
-
ethernet
unit
/
port
(source port)
unit
- Unit identifier. (Range: 1)
port
- Port number. (Range: 1-28)
vlan-id
- VLAN ID (Range: 1-4094)
mac-address
- MAC address in the form of xx-xx-xx-xx-xx-xx or
xxxxxxxxxxxx.
D
EFAULT
S
ETTING
Shows all sessions.
C
OMMAND
M
ODE
Privileged Exec
Содержание ES3528MV2
Страница 1: ...Management Guide www edge core com ES3528MV2 ES3528MV2 DC 28 Port Fast Ethernet Layer 2 Switch...
Страница 2: ......
Страница 4: ......
Страница 48: ...CONTENTS 48...
Страница 68: ...SECTION I Getting Started 68...
Страница 78: ...CHAPTER 1 Introduction System Defaults 78...
Страница 96: ...SECTION II Web Configuration 96...
Страница 116: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 116...
Страница 148: ...CHAPTER 4 Basic Management Tasks Resetting the System 148...
Страница 192: ...CHAPTER 5 Interface Configuration VLAN Trunking 192 Figure 65 Configuring VLAN Trunking...
Страница 226: ...CHAPTER 6 VLAN Configuration Configuring VLAN Translation 226...
Страница 236: ...CHAPTER 7 Address Table Settings Configuring MAC Address Mirroring 236...
Страница 270: ...CHAPTER 9 Congestion Control Automatic Traffic Control 270...
Страница 300: ...CHAPTER 11 Quality of Service Attaching a Policy Map to a Port 300...
Страница 418: ...CHAPTER 13 Security Measures DHCP Snooping 418...
Страница 588: ...CHAPTER 15 IP Configuration Setting the Switch s IP Address IP Version 6 588...
Страница 606: ...CHAPTER 16 IP Services Configuring the PPPoE Intermediate Agent 606...
Страница 676: ...CHAPTER 17 Multicast Filtering Multicast VLAN Registration for IPv6 676...
Страница 772: ...CHAPTER 20 System Management Commands Switch Clustering 772...
Страница 802: ...CHAPTER 22 Remote Monitoring Commands 802...
Страница 808: ...CHAPTER 23 Flow Sampling Commands 808...
Страница 872: ...CHAPTER 24 Authentication Commands PPPoE Intermediate Agent 872...
Страница 950: ...CHAPTER 25 General Security Measures Port based Traffic Segmentation 950...
Страница 1002: ...CHAPTER 27 Interface Commands Power Savings 1002...
Страница 1016: ...CHAPTER 28 Link Aggregation Commands Trunk Status Display Commands 1016...
Страница 1046: ...CHAPTER 30 Congestion Control Commands Automatic Traffic Control Commands 1046...
Страница 1058: ...CHAPTER 32 UniDirectional Link Detection Commands 1058...
Страница 1064: ...CHAPTER 33 Address Table Commands 1064...
Страница 1124: ...CHAPTER 35 ERPS Commands 1124...
Страница 1168: ...CHAPTER 36 VLAN Commands Configuring Voice VLANs 1168...
Страница 1182: ...CHAPTER 37 Class of Service Commands Priority Commands Layer 3 and 4 1182...
Страница 1202: ...CHAPTER 38 Quality of Service Commands 1202...
Страница 1360: ...CHAPTER 41 CFM Commands Delay Measure Operations 1360...
Страница 1382: ...CHAPTER 43 Domain Name Service Commands 1382...
Страница 1440: ...SECTION IV Appendices 1440...
Страница 1468: ...COMMAND LIST 1468...
Страница 1479: ......
Страница 1480: ...ES3528MV2 ES3528MV2 DC E112013 ST R03...