Chapter 33 Command Examples

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

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

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

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

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)# interface port-channel 1,3-5 sysname(config-interface)# vlan-trunking

252

 

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