Archive for the ‘Lab 1.3’ Category

Configuring Trunk ports – Lab 1.3

Posted: February 26, 2006 by sankar in Crabs, Lab 1.3

Cat 6500

 set trunk #mod/port# dot1q on (Other options include off, negotiate etc)

 set vlan #vlanno# #mod/port# (This defines the native vlan on the trunk port)

Cat 3550

switchport trunk encapsulation dot1q (Always use this command first before configuring mode as trunk) 

switchport mode trunk

switchport trunk native vlan #vlanno#

switchport trunk allowed vlan #x,y,z#

NM-16ESW

int fa0/1

 switchport mode trunk

 no shut

 switchport trunk encap dot1q  (This command is not really needed, because nm-16esw supports only dot1q trunking)

 switchport trunk native vlan #vlanno#

Cat 6500

set vtp domain #domainname#

set vtp mode {server|transparent|client}

set vlan #vlanno# name #name# (Define two vlans one for voice and one for data)

set vlan #vlanno# #mod/port#

set port auxiliaryvlan #mod/port# #vlanno#

Cat 3550

config)#

vtp mode #server|transparent|client#

vtp domain #domainname#

vlan #vlanno#

    name #name#  (Sub-mode, define 2 vlans for voice and data)

int fa0/1

 switchport mode access (IOS defaults to Dynamic mode in some versions, so this command is necessary)

 switchport access vlan #datavlan#

 switchport voice vlan #voicevlan#

 spanning-tree portfast

NM-16ESW

Syntax is similar to 3550.

Log into the 3800/3700 router and configure vlans just like in a 3550 switch

Define vlans in vlan database mode.

vlan database

 vlan #vlanno# name #name# (Define voice and data vlans)

 vtp #server\transparent\client#

 vtp domain #domainname#

config)#int fa0/1
  
   switchport mode trunk 

   switchport trunk encap dot1q

   switchport voice vlan #vlanno#

   spanning-tree portfast
 

Cat 3524

vlan database

   vtp #server|transparent|client#

   vtp domain #domainname#

int fa0/1

switchport mode trunk

switchport trunk encapsulation dot1q

switchport trunk native vlan #vlanno#

switchport trunk allowed vlan x,y,z (only needed if asked)

switchport voice vlan #vlanno#