渡人自渡 发表于 2018-7-27 11:00:32

华为5700设置某一端口组播屏蔽

  本实例中以屏蔽 GigabitEthernet0/0/6 的UDP为例,亲测通过。
  
  acl 3000
  rule 5 deny udp
  quit
  
  Oct1 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
  int GigabitEthernet 0/0/6
  traffic-filter outbound acl 3000          //使该端口GigabitEthernet0/0/6不向外传输UDP;
  traffic-filter inbound acl 3000            //使该端口GigabitEthernet0/0/6不向内传输UDP,与上一命令可以二选一;
  quit
  
  Oct1 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.
  quit
  <Quidway>save
  The current configuration will be written to the device.
  Are you sure to continue?y
  Info: Please input the file name ( *.cfg, *.zip ) :
  Oct1 2008 07:55:13-05:13 Quidway %%01CFM/4/SAVE(l):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.
页: [1]
查看完整版本: 华为5700设置某一端口组播屏蔽