EasyManua.ls Logo

Cisco MWR 2941 - Page 676

Cisco MWR 2941
708 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
switchport mode
658
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
OL-23890-01
If you enter trunk mode, the interface goes into permanent trunking mode and negotiates to convert the
link into a trunk link even if the neighboring interface does not agree to the change.
If you enter dynamic auto mode, the interface converts the link to a trunk link if the neighboring
interface is set to trunk or desirable mode.
If you enter dynamic desirable mode, the interface becomes a trunk interface if the neighboring
interface is set to trunk, desirable, or auto mode.
If you configure a port as a promiscuous or host-PVLAN port and one of the following applies, the port
becomes inactive:
• The port does not have a valid PVLAN association or mapping configured.
• The port is a SPAN destination.
If you delete a private-port PVLAN association or mapping, or if you configure a private port as a SPAN
destination, the deleted private-port PVLAN association or mapping or the private port that is configured
as a SPAN destination becomes inactive.
If you enter dot1q-tunnel mode, PortFast Bridge Protocol Data Unit (BPDU) filtering is enabled and
Cisco Discovery Protocol (CDP) is disabled on protocol-tunneled interfaces.
Examples The following example shows how to set the interface to access desirable mode:
Router(config-if)# switchport mode access
The following example shows how to set the interface to trunk mode:
Router(config-if)# switchport mode trunk
The following example shows how to set the interface to dynamic desirable mode:
Router(config-if)# switchport mode dynamic desirable
Related Commands Command Description
show dot1q-tunnel Displays a list of 802.1Q tunnel-enabled ports.
show interfaces switchport Displays administrative and operational status of a switching
(nonrouting) port.
show interfaces trunk Displays trunk information.
switchport Modifies the switching characteristics of the Layer 2-switched
interface.
switchport private-vlan
host-association
Defines a PVLAN association for an isolated or community port.
switchport private-vlan
mapping
Defines the PVLAN mapping for a promiscuous port.
switchport trunk Sets trunk characteristics when the interface is in trunking mode.

Table of Contents