beautypg.com

Introduction, Restrict internet access, Introduction restrict internet access – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2008

background image

Triggers Configuration

Software Reference for x310 Series Switches

76.2

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Introduction

The chapter describes how to configure triggers to:

Restrict Internet Access

Capture Unusual CPU and RAM Activity

See Daily Statistics

Turn Off Power to Port LEDs

Capture Show Output and Save to a USB Storage Device

For more information about triggers, see

Chapter 75, Triggers Introduction

. For detailed

descriptions of the commands used to configure triggers, see

Chapter 77, Trigger

Commands

.

Restrict Internet Access

In the following configuration the ACME company wants to restrict its employees from
accessing popular video sharing websites as this is causing bandwidth problems during
work hours. The ACME company is happy for workers to access the site after work hours.

Employee PCs at ACME are on vlan2. Two triggers with associated scripts are needed:

Trigger 1 activates at 8.30am and runs a script called shutdown.scp. This script adds
commands to restrict access to the specified sites

Trigger 2 activates at 5.30pm and runs the script called open.scp. This script removes
the configuration specified by shutdown.scp

1.

Create the shutdown.scp script

Create a configuration script using Access Control List commands to restrict users on
vlan2 from accessing the specific sites.

2.

Create the open.scp script

Create a script to remove the ACL configuration specified in the shutdown.scp file.

3.

Configure trigger 1

To create trigger 1, use the commands:

Set the trigger to activate at 8:30am, by using the command:

Set the trigger to activate on Monday, Tuesday, Wednesday, Thursday and Friday:

Add the script shutdown.scp to the trigger:

awplus#

configure terminal

awplus(config)#

trigger 1

awplus(config-trigger)#

type time 08:30

awplus(config-trigger)#

day mon tue wed thur fri

awplus(config-trigger)#

script 1 shutdown.scp