AT-9000 Switch Command Line User’s Guide
1221
Assigning Named
IPv4 and IPv6
ACLs to VTY
Lines
When you create a named IPv4 or IPv6 ACL, you enter the commands in
the IP ACL command mode or the Configuration IPv6 ACL command
mode, respectively. The following examples show how to assign IPv4 and
IPv6 ACLs to VTY lines. See the following:
“Assigning Named IPv4 ACLs to VTY Lines” on page 1221
“Assigning Named IPv6 ACLs to VTY Lines” on page 1222
Assigning Named IPv4 ACLs to VTY Lines
This example creates a Named IPv4 ACL, called “deny-all-but-one,” that
grants IP address 10.0.0.7 full access to the switch and then denies all IP
addresses access to the switch. Then deny-all-but-one is assigned to all
ten VTY lines with the ACCESS-CLASS command. The result of this
example is that only IP address 10.0.0.7 has remote access to the switch.
See Table 138.
awplus(config)# mac access-list
4000 permit ip host 10.0.0.5 host
10.0.0.20
Creates an ACL with an ID number of
4000 that allows IP address 10.0.0.5 full
access to the switch.
awplus(config)# mac access-list
4001 deny ip any host 10.0.0.20
Creates an ACL with an ID number of
4001 that denies all IP addresses access
to the switch.
awplus(config)# line vty 0 9
Access the LINE VTY mode for lines 0
through 9.
awplus(config-line)# access-
class 4000
Assigns ACL 4000 to VTY lines 0 through
9.
awplus(config-line)# access-
class 4001
Assigns ACL 4001 to VTY lines 0 through
9.
Table 137. Assigning MAC ACLs to VTY Lines Example (Continued)
Command
Description
Table 138. Assigning Named IPv4 ACLs to VTY Lines Example
Command
Description
awplus> enable
Enter the Privileged Executive mode from
the User Executive mode.
awplus# configure terminal
Enter the Global Configuration mode.
awplus(config)# interface vlan10
Enter the Port Interface mode for VLAN
10.
Содержание AT-9000/12PoE
Страница 4: ......
Страница 28: ...Contents 28...
Страница 36: ...Tables 36...
Страница 42: ...42...
Страница 76: ...Chapter 2 Starting a Management Session 76...
Страница 100: ...Chapter 4 Basic Command Line Management Commands 100...
Страница 112: ...112...
Страница 130: ...Chapter 7 Basic Switch Management 130...
Страница 170: ...Chapter 8 Basic Switch Management Commands 170...
Страница 284: ...Chapter 12 Power Over Ethernet Commands 284...
Страница 298: ...Chapter 13 IPv4 and IPv6 Management Addresses 298...
Страница 322: ...Chapter 14 IPv4 and IPv6 Management Address Commands 322...
Страница 342: ...Chapter 16 SNTP Client Commands 342...
Страница 371: ...AT 9000 Switch Command Line User s Guide 371 awplus write Save the configuration...
Страница 388: ...Chapter 19 Enhanced Stacking 388...
Страница 406: ...Chapter 20 Enhanced Stacking Commands 406...
Страница 414: ...Chapter 21 Port Mirror 414...
Страница 422: ...Chapter 22 Port Mirror Commands 422...
Страница 432: ...Chapter 23 Internet Group Management Protocol IGMP Snooping 432...
Страница 452: ...Chapter 25 Multicast Commands 452...
Страница 454: ...454...
Страница 462: ...Chapter 26 File System 462...
Страница 488: ...Chapter 29 Boot Configuration File Commands 488...
Страница 500: ...Chapter 30 File Transfer 500...
Страница 508: ...Chapter 31 File Transfer Commands 508...
Страница 510: ...510...
Страница 528: ...Chapter 33 Event Log Commands 528...
Страница 536: ...Chapter 34 Syslog Client 536...
Страница 544: ...544...
Страница 554: ...Chapter 36 Static Port Trunks 554...
Страница 562: ...Chapter 37 Static Port Trunk Commands 562...
Страница 574: ...Chapter 38 Link Aggregation Control Protocol LACP 574...
Страница 588: ...Chapter 39 LACP Commands 588...
Страница 590: ...590...
Страница 610: ...Chapter 40 STP RSTP and MSTP Protocols 610...
Страница 690: ...Chapter 45 Multiple Spanning Tree Protocol MSTP 690...
Страница 716: ...716...
Страница 740: ...Chapter 47 Port based and Tagged VLANs 740...
Страница 760: ...Chapter 48 Port based and Tagged VLAN Commands 760...
Страница 778: ...Chapter 49 GARP VLAN Registration Protocol 778...
Страница 800: ...Chapter 50 GARP VLAN Registration Protocol Commands 800...
Страница 816: ...Chapter 51 MAC Address based VLANs 816...
Страница 830: ...Chapter 52 MAC Address based VLAN Commands 830...
Страница 850: ...Chapter 55 Voice VLAN Commands 850...
Страница 860: ...Chapter 56 VLAN Stacking 860 Section III File System...
Страница 866: ...Chapter 57 VLAN Stacking Commands 866 Section III File System...
Страница 868: ...868...
Страница 878: ...Chapter 58 MAC Address based Port Security 878...
Страница 892: ...Chapter 59 MAC Address based Port Security Commands 892...
Страница 918: ...Chapter 60 802 1x Port based Network Access Control 918...
Страница 960: ...Chapter 61 802 1x Port based Network Access Control Commands 960...
Страница 962: ...962...
Страница 974: ...Chapter 62 SNMPv1 and SNMPv2c 974...
Страница 1024: ...1024...
Страница 1036: ...Chapter 65 sFlow Agent 1036...
Страница 1140: ...Chapter 68 LLDP and LLDP MED Commands 1140...
Страница 1146: ...Chapter 69 Address Resolution Protocol ARP 1146...
Страница 1154: ...Chapter 70 Address Resolution Protocol ARP Commands 1154...
Страница 1170: ...Chapter 71 RMON 1170 awplus show rmon alarm Use the SHOW RMON ALARM command to verify the new alarm...
Страница 1228: ...Chapter 73 Advanced Access Control Lists ACLs 1228...
Страница 1288: ...1288...
Страница 1300: ...Chapter 76 Local Manager Accounts 1300...
Страница 1310: ...Chapter 77 Local Manager Account Commands 1310...
Страница 1316: ...Chapter 78 Telnet Server 1316...
Страница 1324: ...Chapter 80 Telnet Client 1324...
Страница 1328: ...Chapter 81 Telnet Client Commands 1328...
Страница 1340: ...Chapter 82 Secure Shell SSH Server 1340...
Страница 1350: ...Chapter 83 SSH Server Commands 1350...
Страница 1362: ...Chapter 85 Non secure HTTP Web Browser Server Commands 1362...
Страница 1406: ...Chapter 88 RADIUS and TACACS Clients 1406...
Страница 1446: ...Chapter System Monitoring Commands 1446...
Страница 1476: ...Appendix B Management Software Default Settings 1476...