Command Modes 71
rmon collection history Enables a Remote Monitoring (RMON) MIB history statistics group on
an interface.
service-acl Sets the default ace action to permit or deny.
show ports monitor Transmits tagged ingress mirrored packets.
shutdown Disables interfaces.
sntp client enable (Interface) Enables the Simple Network Time Protocol (SNTP) client on an
interface.
clear spanning-tree detected-
protocols
Shutsdown an interface when it receives a bridge protocol data unit
(BPDU).
spanning-tree cost Configures the Spanning Tree path cost for a port.
spanning-tree disable Disables Spanning Tree on a specific port.
spanning-tree guard root Enables root guard on all the Spanning Tree instances in the interface.
spanning-tree link-type Overrides the default link-type setting.
spanning-tree mst cost Configures the path cost for multiple Spanning Tree (MST)
calculations.
spanning-tree mst port-priority Configures the priority of a port.
spanning-tree portfast Enables PortFast mode.
spanning-tree port-priority Configures port priority.
speed Configures the speed of a given Ethernet interface when not using auto-
negotiation.
switchport access vlan Configures the VLAN ID when the interface is in access mode.
switchport access vlan Defines the primary PVLAN.
switchport customer vlan Set the port’s VLAN when the interface is in customer mode.
switchport forbidden vlan Forbids adding specific VLANs to a port.
switchport general acceptable-
frame-type tagged-only
Discards untagged frames at ingress.
switchport general allowed vlan Adds or removes VLANs from a general port.
switchport general ingress-
filtering disable
Disables port ingress filtering.
switchport general map
protocols-group vlan
Sets a protocol-based classification rule.
switchport general pvid Configures the PVID when the interface is in general mode.
switchport mode Configures the VLAN membership mode of a port
switchport protected Overrides the FDB (Forwarding Database)decision, and sends all the
Unicast, Multicast and Broadcast traffic to an uplink port.
book.book Page 71 Thursday, December 18, 2008 7:40 PM