D-Link DGS-3130 Emulator - Page 544
monitor session source acl
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 544 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Example This example shows how to create a port monitor session with session number 1. It assigns a physical port Ethernet 1/0/1 as a destination port and three source physical ports (ethernet 1/0/2 to ethernet 1/0/4) as monitor source ports. Switch# configure terminal Switch(config)# monitor session 1 destination interface ethernet 1/0/1 Switch(config)# monitor session 1 source interface ethernet 1/0/2-4 Switch(config)# 51-4 monitor session source acl This command is used to configure an access list for flow-based monitoring. Use the no form of this command to remove an access list for flow-based monitoring. monitor session SESSION-NUMBER source acl ACCESS-LIST-NAME no monitor session SESSION-NUMBER source acl ACCESS-LIST-NAME Parameters SESSION-NUMBER ACCESS-LIST-NAME Specifies the session number for the monitor session. The valid range is 1 to 4. Specifies the flow-based mirror. Only the ingress mirror is supported and only MAC, IP, or IPv6 access lists can be monitored. Even if the access list does not exist, the flow-based mirror can still be configured. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Only one access list can be monitored on a session at a time (One access list can include multiple flows). When an access list is monitored, the packet filtered by the access list that is applied to the hardware via the access-group or vlan map command will be monitored. Example This example shows how to create a monitor session with the session number 2. It assigns the MAC access list "MAC-Monitored-flow" as the monitor source. Switch# configure terminal Switch(config)# monitor session 2 destination interface ethernet 1/0/1 Switch(config)# monitor session 2 source acl MAC-Monitored-flow Switch(config)# 540