華爲5700設置某一端口組播屏蔽

本實例中以屏蔽 GigabitEthernet0/0/6 的UDP爲例,親測通過。

[Quidway]
[Quidway]acl 3000      
[Quidway-acl-adv-3000]rule 5 deny udp
[Quidway-acl-adv-3000]quit
[Quidway]
Oct  1 2008 07:54:02-05:13 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 3, the change loop count is 0, and the maximum number of records is 4095.int gi
[Quidway]int GigabitEthernet 0/0/6
[Quidway-GigabitEthernet0/0/6]traffic-filter outbound acl 3000          //使該端口GigabitEthernet0/0/6不向外傳輸UDP;
[Quidway-GigabitEthernet0/0/6]traffic-filter inbound acl 3000            //使該端口GigabitEthernet0/0/6不向內傳輸UDP,與上一命令可以二選一;
[Quidway-GigabitEthernet0/0/6]quit
[Quidway]
Oct  1 2008 07:54:52-05:13 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 4, the change loop count is 0, and the maximum number of records is 4095.
[Quidway]quit
<Quidway>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Oct  1 2008 07:55:13-05:13 Quidway %%01CFM/4/SAVE(l)[2]:The user chose Y when deciding whether to save the configuration to the device.
Warning: AutoConfig will stop in the next phase for the manual intervention.
Now saving the current configuration to the slot 0.
Save the configuration successfully.

注:紅色部分爲需要輸入;
描述不清楚的地方希望各位直言指正。
發佈了22 篇原創文章 · 獲贊 9 · 訪問量 13萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章