ZyXEL Communications GS-3012F Series Switch User Manual


 
Chapter 33 Command Examples
GS-3012/GS-3012F User’s Guide
251
Enable port one for configuration.
Enable bandwidth control.
Set the outgoing traffic bandwidth limit to 5000Kbps.
Set the guaranteed bandwidth allowed for incoming traffic to 4000Kbps.
Set the maximum bandwidth allowed for incoming traffic to 8000Kbps.
Figure 148 bandwidth-limit Command Example
33.8.5 mirror
Syntax:
mirror
mirror dir <ingress|egress|both>
Port mirroring copies traffic from one or all ports to another or all ports for external analysis.
An example is shown next.
Enable port mirroring.
Enable the monitor port three.
Enable ports one, four, five and six for configuration.
Enable port mirroring on the interface.
Enable port mirroring for outgoing traffic. Traffic is copied from ports one, four, five and
six to port three in order to examine it in more detail without interfering with the traffic
flow on the original port(s).
Figure 149 mirror Command Example
33.8.6 gvrp
Syntax:
gvrp
sysname(config)# interface port-channel 1
sysname(config-interface)# bandwidth-limit
sysname(config-interface)# bandwidth-limit egress 5000
sysname(config-interface)# bandwidth-limit cir 4000
sysname(config-interface)# bandwidth-limit pir 8000
where
Enables port mirroring on the interface.
<ingress|egres
s|both>
Enables port mirroring for incoming, outgoing or both
incoming and outgoing traffic.
sysname(config)# mirror-port
sysname(config)# mirror-port 3
sysname(config)# interface port-channel 1,4-6
sysname(config-interface)# mirror
sysname(config-interface)# mirror dir egress