cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13075
Views
0
Helpful
0
Comments
TCC_2
Level 10
Level 10

Resolution

Create a VLAN, and configure a Layer 3 (L3) VLAN interface. Assign an IP address for this interface, as shown:

Switch(config)# vlan vlan_ID
Switch(config)# interface vlan vlan_ID
Switch(config-if)# ip address ip_address subnet_mask 

Configure the switch port as a Layer 2 (L2) access port, and associate the access port to a VLAN, as shown:

Switch(config)# interface {fastethernet | gigabitethernet} slot/port 
Switch(config-if)# switchport mode access 
Switch(config-if)# switchport access vlan vlan_num

You can also assign multiple interfaces into a VLAN, as shown:

Switch(config)# interface range {vlan vlan_ID} {{fastethernet | gigabitethernet | macro macro_name} slot/interface-interface} 
Switch(config-if-range)# switchport access vlan vlan-id
Switch(config-if-range)# switchport mode access

For more information on creating a new VLAN and assigning interfaces to a Catalyst 4500 series switch running Cisco IOS  Software, refer to these documents:


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: