18 switchport mode trunk, 19 switchport mode trunk ingress-filter – CANOGA PERKINS 9175 Command Reference User Manual

Page 101

Advertising
background image

CanogaOS Command Reference

6-11

This example shows how to set the switchport mode to access.

Switch(config-if)# switchport mode access

Related Commands

switchport mode trunk

6.18 switchport mode trunk

Use this command to set the switchport mode to trunk.

Command Syntax

switchport mode trunk

Command Mode

Interface configuration

Usage

The trunk mode is usually used to connect the port with other switch.

The trunk mode is usually used to connect the port with host device.

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

switchport mode trunk ingress-filter {enable |disable}

enable: enable the ingress-filter

disable: disable the ingress-filter

Command Mode

Interface configuration

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

Defaults

enable

Advertising