Example of Configuring VTY Authorization Based on Access Class Retrieved from the Line (PerNetwork Address)Dell(conf)#ip access-list standard deny10Dell(conf-ext-nacl)#permit 10.0.0.0/8Dell(conf-ext-nacl)#deny anyDell(conf)#Dell(conf)#aaa authentication login tacacsmethod tacacs+Dell(conf)#tacacs-server host 256.1.1.2 key Force10Dell(conf)#Dell(conf)#line vty 0 9Dell(config-line-vty)#login authentication tacacsmethodDell(config-line-vty)#Dell(config-line-vty)#access-class deny10Dell(config-line-vty)#end(same applies for radius and line authentication)VTY MAC-SA Filter SupportDell Networking OS supports MAC access lists which permit or deny users based on their source MACaddress.With this approach, you can implement a security policy based on the source MAC address.To apply a MAC ACL on a VTY line, use the same access-class command as IP ACLs.The following example shows how to deny incoming connections from subnet 10.0.0.0 withoutdisplaying a login prompt.Example of Configuring VTY Authorization Based on MAC ACL for the Line (Per MAC Address)Dell(conf)#mac access-list standard sourcemacDell(config-std-mac)#permit 00:00:5e:00:01:01Dell(config-std-mac)#deny anyDell(conf)#Dell(conf)#line vty 0 9Dell(config-line-vty)#access-class sourcemacDell(config-line-vty)#endRole-Based Access ControlWith Role-Based Access Control (RBAC), access and authorization is controlled based on a user’s role.Users are granted permissions based on their user roles, not on their individual user ID. User roles arecreated for job functions and through those roles they acquire the permissions to perform theirassociated job function.This chapter consists of the following sections:• Overview• Privilege-or-Role Mode Versus Role-only Mode• Configuring Role-based Only AAA Authorization• System-Defined RBAC User Roles• Creating a New User Role• Modifying Command Permissions for Roles• Adding and Deleting Users from a RoleSecurity 741