10
10Mbps
100
100Mbps
1000
1Gbps
10g
10Gbps
auto
Auto negotiation
Default:
Auto
Usage Guide:
To configure line speed for specific interface
Example:
To configure line speed (1Gbps) for GigabitEthernet X/X
Switch# configure terminal
Switch (config)# interface GigabitEthernet X/X
Switch (config-if) # speed 1000
4.2.65.122 switchport access vlan
Command:
switchport access vlan <vlan_id>
switchport
Switching mode characteristics
access
Set access mode characteristics of the interface
vlan
Set VLAN when interface is in access mode
<vlan_id>
VLAN ID of the VLAN when this port is in access mode
Default:
1
Usage Guide:
To configure access VLAN ID for specific interface
Example:
To configure access VLAN ID (5) for GigabitEthernet X/X
Switch# configure terminal
Switch (config)# interface GigabitEthernet X/X
Switch (config-if) # switchport access vlan 5
-161-
Command Guide