Get the App
SLTechnology News&Howtos  ›  Network Security  › 

The different usage of ip access-group and ip aceess-class under ACL

Shulou Source: shulou.com Published: 2022-06-01 03:39:06 10月06日 Update

Ip access-group is used under the interface; access-class is used under the VTY line.

The access-class command is not preceded by "ip"

Example:

Configure access-list first:

Access-list 1 permit host 192.168.1.1

Access-list 1 permit host 192.168.2.1

Case 1: line vty 0 4 (up to 5 telnet allowed)

Access-class 1 in

Case 2: int f0amp 0

Ip access-group 1 in

Tags: Case example command interface configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Huawei macOS Linux MariaDB