Users Guide

Table Of Contents
To display the current port profile on a switch, use the show switch-port-profile command.
To change the port profile on a switch, use the switch-port-profile command with the desired
profile, save it to the startup configuration and use the reload command to apply the change. The
switch reboots with new port configuration. The no version of the command resets to the default
profile. When a switch reloads with a new port profile, the startup configuration resets to system
defaults, except for the switch-port profile and these configured settings:
Management interface 1/1/1 configuration
Management IPv4/IPv6 static routes
System hostname
Unified Forwarding Table (UFT) mode
ECMP maximum paths
You must manually reconfigure other settings on a switch after you apply a new port profile and use
the reload command to apply the change.
Example
OS10(config)# switch-port-profile 1/1 profile-1
Warning: Switch port profile will be applied only after a save and
reload. All management port
configurations will be retained but all other configurations will be
wiped out after the reload.
OS10(config)# do write memory
OS10(config)# do reload
Supported
Releases
10.3.0E or later
switchport access vlan
Assigns access VLAN membership to a port in L2 Access or Trunk mode.
Syntax
switchport access vlan vlan-id
Parameters vlan vlan-id Enter the VLAN ID number, from 1 to 4093.
Default VLAN 1
Command Mode INTERFACE
Usage
Information
This command enables L2 switching for untagged traffic and assigns a port interface to default VLAN1.
Use this command to change the assignment of the access VLAN that carries untagged traffic. You must
create the VLAN before you can assign an access interface to it. The no version of this command resets
access VLAN membership on a L2 access or trunk port to VLAN 1.
Example
OS10(conf-if-eth1/1/3)# switchport mode access
OS10(conf-if-eth1/1/3)# switchport access vlan 100
Supported
Releases
10.2.0E or later
switchport mode
Places an interface in L2 Access or Trunk mode.
Syntax
switchport mode {access | trunk}
Parameters
access Enables L2 switching of untagged frames on a single VLAN.
trunk Enables L2 switching of untagged frames on the access VLAN, and of tagged frames on
the VLANs specified with the switchport trunk allowed vlan command.
Default
access
Command Mode INTERFACE
Interfaces 407