17 switchport mode access, 18 switchport mode trunk – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 127

Advertising
background image

CanogaOS Command Line Reference

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 127 of 855

Related Commands

switchport mode access

6.17 switchport mode access

Use this command to set the switchport mode to access.

Command Syntax

switchport mode access
access
: set the switchport mode to access

Command Mode

Interface configuration

Usage

The access mode is usually used to connect the port to a terminal device, for example a PC.
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 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.

Advertising