19 switchport mode trunk ingress-filter, 20 switchport trunk allowed – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 128

Advertising
background image

CanogaOS Command Line Reference

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 128 of 855

When the mode is changed, both the mac learned dynamically and configured statically on the port will
be cleared.

Examples

This example shows how to set the switchport mode to trunk.
Switch(config-if)# switchport mode trunk

Related Commands

switchport mode access

6.19 switchport mode trunk ingress-filter

Use this command to set ingress-filter configuration of the trunk port .

Command Syntax

switchport mode trunk ingress-filter {enable |disable}
enable: enable the ingress-filter
disable: disable the ingress-filter

Command Mode

Interface configuration

Defaults

enable

Usage

The trunk port ingress-filter configuration should only be allowed on a trunk port.
When the ingress-filter is disabled, this port will not check the vlan ID of received ingress packets.

Examples

This example shows how to set the trunk port ingress-filter to disable.
Switch(config-if)# switchport mode trunk ingress-filter disable

Related Commands

switchport mode trunk

6.20 switchport trunk allowed

Use this command to allow traffic from specified vlan to transmit the trunk port.
To remove this setting, use the no form of this command.

Advertising