Disabling a port, Disabling a port 3, Setting storm control action: disabling a port 3 – Allied Telesis AT-8100 Series User Manual
Page 1793
AT-8100 Switch Command Line User’s Guide
1793
Disabling a Port
The following example sets the storm protection action to disable the port
assigned to the policy map named “pmap2.” The STORM-ACTION
command set to “portdisable” disables the port in software without
physically disabling the port. See Table 245.
awplus(config-cmap)# match
vlan 2
Configures the class map to include
traffic from VLAN 2.
awplus(config-cmap)# exit
Exits the Class Map mode and returns to
the Global Configuration mode.
awplus(config)# policy-map
pmap3
Creates a policy map called “pmap3” and
enters the Policy Map mode.
awplus(config-pmap)# class
cmap2
Associates class map “cmap2” to policy
map “pmap3” and enters the Policy Map
Class mode.
awplus(config-pmap-c)# storm-
protection
Enables the QSP feature.
awplus(config-pmap-c)# storm-
action vlandisable
Sets the storm action to remove a port
from VLAN 2.
awplus(config-pmap-c)# exit
Exits the Policy Map Class mode and
enters the Policy Map mode.
awplus(config-pmap)# exit
Exits the Policy Map mode and enters
the Global Configuration mode.
awplus(config)# interface
port1.0.7
Enters the Port Interface mode for port 7.
awplus(config-if)# service-
policy input pmap3
Assigns a policy map “pmap3” to port 7.
Table 244. Setting Storm Control Action: Disabling a VLAN (Continued)
Command
Description
Table 245. Setting Storm Control Action: Disabling a Port
Command
Description
awplus> enable
Enters the Privileged Executive mode
from the User Executive mode.
awplus# configure terminal
Enters the Global Configuration mode.
awplus(config)# mls qos enable
Activates the QoS feature on the switch.
awplus(config)# policy-map
pmap2
Creates a policy map called “pmap2” and
enters the Policy Map mode.