beautypg.com

Chapter 5 - command line interface, 10 static multicast – Asus GigaX2124 User Manual

Page 93

background image

81

Chapter 5 - Command Line Interface

CLI Syntax: mirror session <1-2> source IFLIST (both | rx | tx)
mirror session <1-2> destination IFNAME
Example: (config)# mirror session 1 source gi1/0/1-4 both
(config)# mirror session 1 destination gi1/0/5

5.3.9.2 show mirror

To show current mirror features.

CLI Syntax: Show mirror session
Example: ASUS# show mirror session

5.3.9.3 no mirror

This command disables the mirror function.

CLI Syntax: no mirror session <1-2>
Example: (config)# no mirror session 1

5.3.9.4 no mirror source IFLIST

This command resets the source interfaces’ received or transmitted traffic.

CLI Syntax: no mirror session <1-2> source IFLIST
Example: (config)# no mirror session 1 source gi1/0/1-2

5.3.10 Static Multicast

5.3.10.1

mac-address-table multicast

Use the mac-address-table multicast configuration command on the switch

to add multicast static addresses to the MAC address table.

CLI Syntax: mac-address-table multicast MACADDR VLANID IFLIST
Example: (config)# mac-address-table multicast 0100.5e11.1111 2

5.3.10.2

no mac-address-table multicast

Use the no mac-address-table multicast configuration command on the

switch to remove multicast static port to the MAC address table.