10.
SNMP Server Configuration
MN700004 Rev 01
89
•
Telnet access to the switch. For the use of named access list by telnet see
"Configuring a Telnet Connection".
•
Access of the SNMP users. For the use of named access list by SNMP see "SNMP
Server Configuration".
Table 10-2 Access List Commands
C o m m a n d D e s c r i p t i o n
access-list
Creates an access list that controls inbound and/or outbound
data traffic according to specified criteria.
show access-lists
Displays the access lists of the routing protocols.
Default Access List Configuration
Table 10-3 shows the default parameters for the access list.
Table 10-3 Access List Default Configuration
P a r a m e t e r D e f a u l t
V a l u e
Named access list
Not created
Exact match
Disabled
Creating a Named Access List
The
access-list
command, in Global Configuration mode, configures an access list that
controls the inbound and/or outbound data traffic according to criteria specified in the
command arguments. The
no
form of this command removes the specified access list.
The access list defaults to an implicit deny statement for any condition that has not been
permitted.
Command Syntax
device-name
(config)#
access-list
NAME
{
permit
|
deny
}
{
A.B.C.D/M
[
exact-match
]
|
any
}
device-name
(config)#
no access-list
NAME
[{
permit
|
deny
}
{
A.B.C.D/M
}
Argument Description
NAME
The access list name (spaces are not allowed and the first character must be a
letter).
permit
Permits access for matching conditions.
deny
Denies access to matching conditions.
A.B.C.D/M
Source IP address and mask.
any
Any IP address.