traffic-filter acl AL-Standard inbound华三对应命令
时间: 2024-02-24 15:59:49 浏览: 36
在华三设备上, traffic-filter acl AL-Standard inbound 对应的命令为:
```bash
traffic-filter acl AL-Standard inbound interface <interface-name>
```
其中, `<interface-name>` 是应用此 ACL 规则的接口名称。例如,假设你要在 GigabitEthernet 0/0/1 接口上应用 ACL 规则 AL-Standard,那么命令如下:
```bash
traffic-filter acl AL-Standard inbound interface GigabitEthernet 0/0/1
```
相关问题
traffic-filter acl AL-Standard inbound转化为华三s3100对应命令
在华三S3100交换机上, traffic-filter acl AL-Standard inbound 对应的命令为:
```bash
filter-field inbound ip-group acl AL-Standard
```
其中,`ip-group` 表示对IP数据包进行过滤,`acl AL-Standard` 表示应用名为 AL-Standard 的ACL规则,`inbound` 表示对入站数据包进行过滤。假设你要在端口 GigabitEthernet 1/0/1 上应用此命令,那么完整命令如下:
```bash
interface GigabitEthernet 1/0/1
filter-field inbound ip-group acl AL-Standard
```
需要注意,华三S3100交换机的命令语法与华三路由器略有不同,因此与华三路由器的命令并不完全一致。
H3C traffic-filter
以下是H3C traffic-filter的两种配置方法:
1. 通过vlan ACL 包过滤
```shell
[Huawei]
acl 3000
[Huawei-acl-adv-3000]
rule 5 deny ip source 192.168.10.0 0.0.0.255 destination 192.168.20.0 0.0.0.255
[Huawei-acl-adv-3000]
rule 100 permit ip
[Huawei-acl-adv-3000]
quit
[Huawei]
traffic-filter vlan 10 inbound acl 3000
```
2. 通过接口配置包过滤
```shell
[RH-N-LAB-SWT-01-GigabitEthernet0/0/4]
traffic-filter inbound acl 2007
```
相关推荐
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)