Cisco Catalist 3850 Series Konfigurieren der Netzwerkeinstellungen - Seite 18

Blättern Sie online oder laden Sie pdf Konfigurieren der Netzwerkeinstellungen für Schalter Cisco Catalist 3850 Series herunter. Cisco Catalist 3850 Series 32 Seiten. Vlan

How to Configure Normal-Range VLANs
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. switchport mode access
4. switchport access vlan vlan-id
5. end
6. show running-config interface interface-id
7. show interfaces interface-id switchport
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface-id
Example:
Switch(config)# interface gigabitethernet2/0/1
Step 3
switchport mode access
Example:
Switch(config-if)# switchport mode access
Step 4
switchport access vlan vlan-id
Example:
Switch(config-if)# switchport access vlan 2
Step 5
end
Example:
Switch(config-if)# end
Step 6
show running-config interface interface-id
Example:
Switch# copy running-config startup-config
Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
18
Purpose
Enters global configuration mode
Enters the interface to be added to the VLAN.
Defines the VLAN membership mode for the port
(Layer 2 access port).
Assigns the port to a VLAN. Valid VLAN IDs are 1
to 4094.
Returns to privileged EXEC mode.
Verifies the VLAN membership mode of the interface.
Configuring VLANs
OL-29322-01