ZyXEL Communications ES-315-F - V3.70 Guide de l'utilisateur Page 308

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 363
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 307
GS-4012F/4024 User’s Guide
Chapter 44 Configuration Mode Commands 307
Assigns the name “route1” to the static route.
44.6 Enabling MAC Filtering
You can create a filter to drop packets based on the MAC address of the source or the
destination.
Syntax:
mac-filter name <name> mac <mac-addr> vlan <vlan-id> drop <src/dst/both>
where
An example is shown next.
Create a filtering rule called “filter1”.
Drop packets coming from and going to MAC address 00:12:00:12:00:12 on VLAN.
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2 metric 2
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2 name route1
name <name>
= Names the filtering rule.
mac <mac-addr>
= Specifies the MAC address you want to filter.
vlan <vlan-id>
= Specifies which VLAN this rule applies to.
drop <src/dst/both>
= Selects the behavior of the rule.
src - drop packets coming from the specified
MAC address
dst- drop packets going to the specified MAC
address
both - drop packets coming from or going to the
specified MAC address
sysname(config)# mac-filter name filter 1
sysname(config)# mac-filter name filter 1 mac 00:12:00:12:00:12 vlan 1 drop
both
Vue de la page 307
1 2 ... 303 304 305 306 307 308 309 310 311 312 313 ... 362 363

Commentaires sur ces manuels

Pas de commentaire