Users Guide

Table Of Contents
2 Enter VTY mode using the line vty command in CONFIGURATION mode.
OS10(config)# line vty
OS10(config-line-vty)#
3 Apply the access lists to the VTY line with the {ip | ipv6} access-class access-list-name command in LINE-VTY
mode.
OS10(config-line-vty)# ip access-class permit10
View VTY ACL conguration
OS10(config-line-vty)# show configuration
!
line vty
ip access-class permit10
ipv6 access-class deny10
OS10(config-line-vty)#
Restrict SNMP access
To lter SNMP requests on the switch, assign access lists to an SNMP community. Both IPv4 and IPv6 access lists are supported.
1 Create access lists with permit or deny lters; for example:
OS10(config)# ip access-list snmp-read-only-acl
OS10(config-ipv4-acl)# permit ip 172.16.0.0 255.255.0.0 any
OS10(config-ipv4-acl)# exit
OS10(config)#
2 Apply ACLs to an SNMP community in CONFIGURATION mode.
OS10(config)# snmp-server community public ro acl snmp-read-only-acl
View SNMP ACL conguration
OS10# show snmp community
Community : public
Access : read-only
ACL : snmp-read-only-acl
Enable AAA accounting
To record information about all user-entered commands, use the AAA accounting feature — not supported for RADIUS accounting. AAA
accounting records login and command information in OS10 sessions on console connections using the console option and remote
connections using the
default option, such as Telnet and SSH.
AAA accounting sends accounting messages:
Sends a start notice when a process begins, and a stop notice when the process ends using the start-stop option
Sends only a stop notice when a process ends using the stop-only option
No accounting notices are sent using the none option
Logs all accounting notices in syslog using the logging option
Logs all accounting notices on congured TACACS+ servers using the group tacacs+ option
Enable AAA accounting
Enable AAA accounting in CONFIGURATION mode.
aaa accounting commands all {console | default} {start-stop | stop-only | none} [logging]
[group tacacs+]
The no version of this command disables AAA accounting.
940
Security