本實例中以屏蔽 GigabitEthernet0/0/6 的UDP爲例,親測經過。ide
[Quidway]oop
[Quidway]acl 3000 ui
[Quidway-acl-adv-3000]rule 5 deny udpspa
[Quidway-acl-adv-3000]quitip
[Quidway]ci
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 girpc
[Quidway]int GigabitEthernet 0/0/6input
[Quidway-GigabitEthernet0/0/6]traffic-filter outbound acl 3000 //使該端口GigabitEthernet0/0/6不向外傳輸UDP;it
[Quidway-GigabitEthernet0/0/6]traffic-filter inbound acl 3000 //使該端口GigabitEthernet0/0/6不向內傳輸UDP,與上一命令能夠二選一;
io
[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.