Specifications
Command Line Interface
3-92
3
Example
show access-group
This command shows the port assignments of ACLs.
Command Mode
Privileged Executive
Example
SNMP Commands
Controls access to this switch from management stations using the Simple Network
Management Protocol (SNMP), as well as the error types sent to trap managers.
Console#show access-list
IP standard access-list david:
permit host 10.1.1.21
permit 168.92.0.0 0.0.15.255
IP extended access-list bob:
permit 10.7.1.1 0.0.0.255 any
permit 192.168.1.0 0.0.0.255 any dport 80
permit 192.168.1.0 0.0.0.255 any protocol tcp control-code 2 2
MAC access-list jerry:
permit any 00-30-29-94-34-de ethertype 800
IP extended access-list A6:
deny tcp any any control-flag 2 2
permit any any
IP ingress mask ACL:
mask protocol any any control-flag 2
Console#
Console#show access-group
Interface ethernet 1/2
IP standard access-list david
MAC access-list jerry
Console#
Table 3-40 SNMP Command Syntax
Command Function Mode Page
snmp-server community Sets up the community access string to permit access to
SNMP commands
GC 3-93
snmp-server contact Sets the system contact string GC 3-93
snmp-server location Sets the system location string GC 3-94
snmp-server host Specifies the recipient of an SNMP notification operation GC 3-94
snmp-server enable traps Enables the device to send SNMP traps (i.e., SNMP
notifications)
GC 3-95
snmp ip filter Sets IP addresses of clients allowed management access to
the switch via SNMP
GC 3-97
show snmp Displays the status of SNMP communications NE, PE 3-98










