Cisco WS-C3550-12G Software Configuration Manual page 256

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

VLANs in the VTP Database
Command
Step 6
show running-config interface interface-id
Step 7
show interfaces interface-id switchport
Step 8
copy running-config startup-config
To return an interface to its default configuration, use the default interface interface-id interface
configuration command.
This example shows how to configure Gigabit Ethernet interface 0/1 as an access port in VLAN 2:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 2
Switch(config-if)# end
Switch#
These examples show how to verify the configuration:
Switch# show running-config interface gigabitethernet0/1
Building configuration...
Current configuration : 74 bytes
!
interface GigabitEthernet0/1
no ip address
snmp trap link-status
end
Switch# show interfaces gigabitethernet0/1 switchport
Name: Gi0/1
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Protected: false
Unknown unicast blocked: false
Unknown multicast blocked: false
Broadcast Suppression Level: 100
Multicast Suppression Level: 100
Unicast Suppression Level: 100
Catalyst 3550 Multilayer Switch Software Configuration Guide
9-20
Purpose
Verify the VLAN membership mode of the interface.
Verify your entries in the Administrative Mode and the Access Mode
VLAN fields of the display.
(Optional) Save your entries in the configuration file.
End with CNTL/Z.
Chapter 9
Creating and Maintaining VLANs
78-11194-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents