Applying The Acl; Checking The Configuration - Huawei Quidway S9300 Configuration Manual - Network Management

Terabit routing switch
Hide thumbs Also See for Quidway S9300:
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
acl acl-number
A basic ACL is created.
Step 3 Run:
rule [ rule-id ] { deny | permit } [ fragment |
wildcard | any } | time-range time-name ]
ACL rules are defined.
----End

1.5.4 Applying the ACL

This part describes how to configure ACLs to enable a specific NM Station to access the device.
Context
Do as follows on the switch enabled with the SNMP agent.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
snmp-agent community { read | write } community-name acl acl-number
The ACL is applied.
----End

1.5.5 Checking the Configuration

After community-name-based access control in SNMPv1 is configured, you can view
configurations of SNMP and ACLs.
Prerequisite
The configurations of the Community-Name-based Access Control in SNMPv1 are complete.
Procedure
l
l
Issue 03 (2010-09-20)
Run the display acl acl-number command to view the rules of the configured ACL.
Run the display snmp-agent community command to view the community name of the
agent.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
source { source-address source-
*
1 SNMP Configuration
1-13

Advertisement

Table of Contents
loading

Table of Contents