本实例中以屏蔽 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.