Difference between revisions of "VLAN Switch"
From Tardis
(backup of config) |
|||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
+ | Current configuration: | ||
+ | ! | ||
+ | version 12.0 | ||
+ | no service pad | ||
+ | service timestamps debug uptime | ||
+ | service timestamps log uptime | ||
+ | service password-encryption | ||
+ | ! | ||
+ | hostname Switch | ||
+ | ! | ||
+ | enable password 7 ##################### | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | no spanning-tree vlan 1 | ||
+ | ip subnet-zero | ||
+ | no ip domain-lookup | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
interface FastEthernet0/1 | interface FastEthernet0/1 | ||
− | description | + | description router (ace) |
switchport trunk encapsulation dot1q | switchport trunk encapsulation dot1q | ||
switchport trunk allowed vlan 1-6,1002-1005 | switchport trunk allowed vlan 1-6,1002-1005 | ||
Line 18: | Line 41: | ||
! | ! | ||
interface FastEthernet0/3 | interface FastEthernet0/3 | ||
− | description | + | description none |
+ | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
! | ! | ||
interface FastEthernet0/4 | interface FastEthernet0/4 | ||
+ | description wotan | ||
+ | switchport access vlan 3 | ||
+ | spanning-tree portfast | ||
! | ! | ||
interface FastEthernet0/5 | interface FastEthernet0/5 | ||
− | description | + | description oracle |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
! | ! | ||
interface FastEthernet0/6 | interface FastEthernet0/6 | ||
− | description | + | description mantis |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/7 | interface FastEthernet0/7 | ||
− | ! | + | description none |
+ | switchport access vlan 4 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
interface FastEthernet0/8 | interface FastEthernet0/8 | ||
− | description | + | description none |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/9 | interface FastEthernet0/9 | ||
− | description | + | description one |
− | switchport access vlan | + | switchport access vlan 4 |
− | ! | + | spanning-tree portfast |
+ | ! | ||
interface FastEthernet0/10 | interface FastEthernet0/10 | ||
− | description | + | description delphon |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/11 | interface FastEthernet0/11 | ||
− | description | + | description orgi |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/12 | interface FastEthernet0/12 | ||
− | ! | + | description cluster |
+ | switchport access vlan 4 | ||
+ | ! | ||
interface FastEthernet0/13 | interface FastEthernet0/13 | ||
− | description | + | description skaro |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/14 | interface FastEthernet0/14 | ||
− | description | + | description none |
− | switchport | + | switchport access vlan 3 |
− | + | spanning-tree portfast | |
− | + | ! | |
− | |||
− | ! | ||
interface FastEthernet0/15 | interface FastEthernet0/15 | ||
description mara | description mara | ||
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/16 | interface FastEthernet0/16 | ||
− | ! | + | description adric |
+ | switchport access vlan 3 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
interface FastEthernet0/17 | interface FastEthernet0/17 | ||
− | description | + | description leela |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/18 | interface FastEthernet0/18 | ||
description adric | description adric | ||
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/19 | interface FastEthernet0/19 | ||
− | description | + | description none |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/20 | interface FastEthernet0/20 | ||
− | description | + | description none |
switchport access vlan 3 | switchport access vlan 3 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/21 | interface FastEthernet0/21 | ||
− | description | + | description spiderport |
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/22 | interface FastEthernet0/22 | ||
− | description trogdor | + | description trogdor |
switchport access vlan 5 | switchport access vlan 5 | ||
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/23 | interface FastEthernet0/23 | ||
− | description | + | description none |
− | switchport access vlan | + | switchport access vlan 3 |
spanning-tree portfast | spanning-tree portfast | ||
− | ! | + | ! |
interface FastEthernet0/24 | interface FastEthernet0/24 | ||
− | description | + | description none |
switchport trunk encapsulation dot1q | switchport trunk encapsulation dot1q | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
Revision as of 19:58, 7 December 2009
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]. Cisco have a configuration guide and command reference online.
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:
Current configuration: ! version 12.0 no service pad service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname Switch ! enable password 7 ##################### ! ! ! ! ! ! no spanning-tree vlan 1 ip subnet-zero no ip domain-lookup ! ! ! interface FastEthernet0/1 description router (ace) 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 none switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/4 description wotan switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/5 description oracle switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/6 description mantis switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/7 description none switchport access vlan 4 spanning-tree portfast ! interface FastEthernet0/8 description none switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/9 description one switchport access vlan 4 spanning-tree portfast ! interface FastEthernet0/10 description delphon switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/11 description orgi switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/12 description cluster switchport access vlan 4 ! interface FastEthernet0/13 description skaro switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/14 description none switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/15 description mara switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/16 description adric switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/17 description leela switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/18 description adric switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/19 description none switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/20 description none switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/21 description spiderport spanning-tree portfast ! interface FastEthernet0/22 description trogdor switchport access vlan 5 spanning-tree portfast ! interface FastEthernet0/23 description none switchport access vlan 3 spanning-tree portfast ! interface FastEthernet0/24 description none switchport trunk encapsulation dot1q
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#
Use write memory
to save your changes to the flash memory once you are happy with the new configuration.
The old 3com switch is also kicking around.