Question : Cisco VLAN trunks?

Hello,

New to VLANs.

I have a Cisco 4500 switch, with fiber modules that connect to smaller 2950 switches, where users connect.

In my Cisco 4500 I have lots of VLANs defined.  Each VLAN is a /24 network, and the 4500 switch has the .1 address.

For example:

interface vlan 101
   ip address 10.1.101.1 255.255.255.0
interface vlan 102
   ip address 10.1.102.1 255.255.255.0
interface vlan 103
   ip address 10.1.103.1 255.255.255.0

I want to make my first interface (GigabitEthernet1/1) a trunk, that connects down to my 2950.  Then on the 2950 I'd like to be able to assign ports to vlan101, vlan102, etc.

How would I setup GigabitEthernet1/1 on my 4500 and GigabitEthernet0/1 on the 2950

Thanks Shane

Answer : Cisco VLAN trunks?

You can go like that:

Cisco 4500:
interface GigabitEthernet1/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk allowed vlan 1,101,102,103
!

Cisco 2900:
interface GigabitEthernet0/1
 switchport mode trunk


To assign a port on the 2900 to a vlan:
interface FastEthernet0/xx
 switchport access vlan 101
 switchport mode access


maeb3

Random Solutions  
 
programming4us programming4us