beautypg.com

7 ingress-check, 8 vlan-trunking, 7 ingress-check 33.8.8 vlan-trunking – ZyXEL Communications GS-3012F Series User Manual

Page 252

background image

Chapter 33 Command Examples

GS-3012/GS-3012F User’s Guide

252

GVRP (GARP VLAN Registration Protocol) is a registration protocol that defines a way for
switches to register necessary VLAN members on ports across the network. Enable this
function to permit VLANs groups beyond the local switch.
An example is shown next.

• Enable the IEEE 802.1Q tagged VLAN command to configure tagged VLAN for the

switch.

• Enable ports one, three, four and five for configuration.
• Enable GVRP on the interface.

Figure 150 gvrp Command Example

33.8.7 ingress-check

Syntax:

ingress-check

Enables the device to discard incoming frames for VLANs that are not included in a port
member set.
An example is shown next.

• Enable ports one, three, four and five for configuration.
• Enable ingress checking on the interface.

Figure 151 ingress-check Command Example

33.8.8 vlan-trunking

Syntax:

vlan-trunking

Enable VLAN Trunking on ports connected to other switches or routers (but not ports directly
connected to end users) to allow frames belonging to unknown VLAN groups to pass through
the switch.
An example is shown next.

• Enable ports one, three, four and five for configuration.
• Enable VLAN Trunking on the interface.

Figure 152 vlan-trunking Command Example

sysname(config)# vlan1q gvrp
sysname(config)# interface port-channel 1,3-5
sysname(config-interface)# gvrp

sysname(config)# interface port-channel 1,3-5
sysname(config-interface)# ingress-check

sysname(config)# interface port-channel 1,3-5
sysname(config-interface)# vlan-trunking