Difference between revisions of "VLAN Switch"

From Tardis
Jump to: navigation, search
(The old switch is off now)
Line 1: Line 1:
 
== Using Tardis' VLAN switch ==
 
== Using Tardis' VLAN switch ==
  
To use Tardis' vlan switch, you must "telnet 192.168.1.2" from davison (the router) and login with the username 'manager'.
+
We have a very nice 24 port Cisco Catalyst 2900 XL switch donated by [[User:sjh]].  It runs Cisco IOS  Version 12.0(5.1)XP [c2900XL-h2s-mz-120.5.1-XP.bin].
 
 
You probably won't need the switch for anything other than adding and removing machines from vlans, so...
 
 
 
  Menu options: --------------3Com SuperStack II Switch 1100--------------
 
  bridge            - Administer bridging/VLANS
 
  ethernet          - Administer Ethernet ports
 
  feature            - Administer system features
 
  ip                - Administer IP
 
  logout            - Logout of the Command Line Interface
 
  snmp              - Administer SNMP
 
  system            - Administer system-level functions
 
 
 
Hitting 'b'
 
 
 
  Menu options: --------------3Com SuperStack II Switch 1100--------------
 
  agingTime          - Set the bridge address aging time
 
  display            - Display bridge information
 
  multicastFiltering - Administer multicast filtering
 
  port              - Administer bridge ports
 
  stpForwardDelay    - Set the bridge Spanning Tree forward delay
 
  stpHelloTime      - Set the bridge Spanning Tree hello timer
 
  stpMaxAge          - Set the bridge Spanning Tree maximum age
 
  stpPriority        - Set the Spanning Tree bridge Priority
 
  stpState          - Enable/Disable Spanning Tree on a bridge
 
  vlan              - Administer VLANs
 
 
 
and then 'v'
 
 
 
  Menu options: --------------3Com SuperStack II Switch 1100--------------
 
  addPort            - Add a port to a VLAN
 
  create            - Create a VLAN
 
  delete            - Delete a VLAN
 
  detail            - Display detail information
 
  modify            - Modify a VLAN
 
  removePort        - Remove a port from a VLAN
 
  summary            - Display summary information
 
 
 
brings you to the vlan menu. From here things are pretty obvious, 'sum all' lists descriptions of our current vlans, 'det ' then details which physical ports on the switch are enabled for that vlanID.
 
 
 
Other useful stuff on the switch includes various stat functions under 'ethernet' in the main menu, and 'password' and 'reset' under 'system' in the main menu.
 
 
 
''pasted from http://www.tardis.ed.ac.uk/admin/net/vlanswitch.html''
 
 
 
== Using Tardis' other VLAN switch ==
 
 
 
We also have a very nice 24 port Cisco Catalyst 2900 XL switch donated by [[User:sjh]].  It runs Cisco IOS  Version 12.0(5.1)XP [c2900XL-h2s-mz-120.5.1-XP.bin].
 
  
 
It runs a telnet server on the admin VLAN at 192.168.1.4 and is connected to [[Racnoss]].  Here's a dump of the switchport config:
 
It runs a telnet server on the admin VLAN at 192.168.1.4 and is connected to [[Racnoss]].  Here's a dump of the switchport config:
  
  interface FastEthernet0/1
+
<pre>
  !
+
interface FastEthernet0/1
  interface FastEthernet0/2
+
description davison router
  description piper
+
switchport trunk encapsulation dot1q
  switchport access vlan 3
+
switchport trunk allowed vlan 1-6,1002-1005
  spanning-tree portfast
+
switchport mode trunk
  !
+
!
  interface FastEthernet0/3
+
interface FastEthernet0/2
  !
+
description piper
  interface FastEthernet0/4
+
switchport access vlan 3
  !
+
spanning-tree portfast
  interface FastEthernet0/5
+
!
  description tennant
+
interface FastEthernet0/3
  switchport access vlan 3
+
description spiderport
  spanning-tree portfast
+
spanning-tree portfast
  !
+
!
  interface FastEthernet0/6
+
interface FastEthernet0/4
  description mccoy
+
!
  switchport access vlan 3
+
interface FastEthernet0/5
  spanning-tree portfast
+
description tennant
  !
+
switchport access vlan 3
  interface FastEthernet0/7
+
spanning-tree portfast
  !
+
!
  interface FastEthernet0/8
+
interface FastEthernet0/6
  description colin
+
description mccoy
  switchport access vlan 3
+
switchport access vlan 3
  spanning-tree portfast
+
spanning-tree portfast
  !
+
!
  interface FastEthernet0/9
+
interface FastEthernet0/7
  !
+
!
  interface FastEthernet0/10
+
interface FastEthernet0/8
  description peri
+
description colin
  switchport access vlan 3
+
switchport access vlan 3
  spanning-tree portfast
+
spanning-tree portfast
  !
+
!
  interface FastEthernet0/11
+
interface FastEthernet0/9
  description davros
+
description ace (router in the making)
  switchport access vlan 3
+
switchport access vlan 3
  spanning-tree portfast
+
!
  !
+
interface FastEthernet0/10
  interface FastEthernet0/12
+
description peri
  !
+
switchport access vlan 3
  interface FastEthernet0/13
+
spanning-tree portfast
  description gallifrey
+
!
  switchport access vlan 3
+
interface FastEthernet0/11
  spanning-tree portfast
+
description davros
  !
+
switchport access vlan 3
  interface FastEthernet0/14
+
spanning-tree portfast
  !
+
!
  interface FastEthernet0/15
+
interface FastEthernet0/12
  !
+
!
  interface FastEthernet0/16
+
interface FastEthernet0/13
  !
+
description gallifrey
  interface FastEthernet0/17
+
switchport access vlan 3
  description vislor
+
spanning-tree portfast
  switchport access vlan 3
+
!
  spanning-tree portfast
+
interface FastEthernet0/14
  !
+
description leela
  interface FastEthernet0/18
+
switchport trunk encapsulation dot1q
  description adric
+
switchport trunk native vlan 3
  switchport access vlan 3
+
switchport trunk allowed vlan 1,3,1002-1005
  spanning-tree portfast
+
switchport mode trunk
  !
+
!
  interface FastEthernet0/19
+
interface FastEthernet0/15
  !
+
description mara
  interface FastEthernet0/20
+
switchport access vlan 3
  !
+
spanning-tree portfast
  interface FastEthernet0/21
+
!
  description Cisco serial console box
+
interface FastEthernet0/16
  spanning-tree portfast
+
!
  !
+
interface FastEthernet0/17
  interface FastEthernet0/22
+
description vislor
  description trogdor - VLAN 5 (gamesoc)
+
switchport access vlan 3
  switchport access vlan 5
+
spanning-tree portfast
  spanning-tree portfast
+
!
  !
+
interface FastEthernet0/18
  interface FastEthernet0/23
+
description adric
  description reaper - sandboxes VLAN
+
switchport access vlan 3
  switchport access vlan 4
+
spanning-tree portfast
  spanning-tree portfast
+
!
  !
+
interface FastEthernet0/19
  interface FastEthernet0/24
+
description obelisk (gliding - see martin)
  description cross-over link to 3com switch
+
switchport access vlan 3
  switchport trunk encapsulation dot1q
+
spanning-tree portfast
  switchport mode trunk
+
!
 +
interface FastEthernet0/20
 +
description Pert's dell TEMP
 +
switchport access vlan 3
 +
spanning-tree portfast
 +
!
 +
interface FastEthernet0/21
 +
description Cisco serial console box
 +
spanning-tree portfast
 +
!
 +
interface FastEthernet0/22
 +
description trogdor - VLAN 5 (gamesoc)
 +
switchport access vlan 5
 +
spanning-tree portfast
 +
!
 +
interface FastEthernet0/23
 +
description reaper - sandboxes VLAN
 +
switchport access vlan 4
 +
spanning-tree portfast
 +
!
 +
interface FastEthernet0/24
 +
description cross-over link to 3com switch
 +
switchport trunk encapsulation dot1q
 +
switchport mode trunk
 +
!
 +
interface FastEthernet1/1
 +
!
 +
interface FastEthernet1/2
 +
!
 +
interface VLAN1
 +
ip address 192.168.1.4 255.255.255.0
 +
no ip directed-broadcast
 +
no ip route-cache
 +
</pre>
  
 
To configure another port connect to the switch via telnet or via [[Racnoss]] and do something like:
 
To configure another port connect to the switch via telnet or via [[Racnoss]] and do something like:
Line 151: Line 138:
 
   Switch#
 
   Switch#
  
 +
The [[old HP switch]] is also kicking around.
  
 
[[category:Admin_Documents]]
 
[[category:Admin_Documents]]

Revision as of 13:14, 16 March 2007

Using Tardis' VLAN switch

We have a very nice 24 port Cisco Catalyst 2900 XL switch donated by User:sjh. It runs Cisco IOS Version 12.0(5.1)XP [c2900XL-h2s-mz-120.5.1-XP.bin].

It runs a telnet server on the admin VLAN at 192.168.1.4 and is connected to Racnoss. Here's a dump of the switchport config:

interface FastEthernet0/1
 description davison router
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1-6,1002-1005
 switchport mode trunk
!
interface FastEthernet0/2
 description piper
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/3
 description spiderport
 spanning-tree portfast
!
interface FastEthernet0/4
!
interface FastEthernet0/5
 description tennant
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/6
 description mccoy
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/7
!
interface FastEthernet0/8
 description colin
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/9
 description ace (router in the making)
 switchport access vlan 3
!
interface FastEthernet0/10
 description peri
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/11
 description davros
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/12
!
interface FastEthernet0/13
 description gallifrey
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/14
 description leela
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 3
 switchport trunk allowed vlan 1,3,1002-1005
 switchport mode trunk
!
interface FastEthernet0/15
 description mara
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/16
!
interface FastEthernet0/17
 description vislor
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/18
 description adric
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/19
 description obelisk (gliding - see martin)
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/20
 description Pert's dell TEMP
 switchport access vlan 3
 spanning-tree portfast
!
interface FastEthernet0/21
 description Cisco serial console box
 spanning-tree portfast
!
interface FastEthernet0/22
 description trogdor - VLAN 5 (gamesoc)
 switchport access vlan 5
 spanning-tree portfast
!
interface FastEthernet0/23
 description reaper - sandboxes VLAN
 switchport access vlan 4
 spanning-tree portfast
!
interface FastEthernet0/24
 description cross-over link to 3com switch
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet1/1
!
interface FastEthernet1/2
!
interface VLAN1
 ip address 192.168.1.4 255.255.255.0
 no ip directed-broadcast
 no ip route-cache

To configure another port connect to the switch via telnet or via Racnoss and do something like:

 Switch>en
 Password:
 Switch#conf t
 Enter configuration commands, one per line.  End with CNTL/Z.
 Switch(config)#int fa0/16
 Switch(config-if)#description HOSTNAME
 Switch(config-if)#switchport access vlan 3
 Switch(config-if)#spanning-tree portfast
 Switch(config-if)#exit
 Switch(config)#exit
 Switch#

The old HP switch is also kicking around.