Chapter 4: Commands for CLI configuration
speed [10 | 100 | 1000 | 10g | auto]
speed
Configures interface speed. If you use 10, 100, or 1000 keywords with
the auto keyword the port will only advertise the specified speeds.
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
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
switchport forbidden vlan add
Command:
switchport forbidden vlan add <vlan_list>
switchport
Switching mode characteristics
forbidden
Adds or removes forbidden VLANs from the current list of forbidden
VLANs
vlan
Add or modify VLAN entry in forbidden table.
add
Add to existing list.
<vlan_list>
VLAN IDs
108
NS3500-24T-4C Managed Switch Command Guide