Difference between revisions of "SWITCH-02"

From Fixme.ch
Jump to: navigation, search
 
Line 1: Line 1:
 +
= SW-FIXME-02 =
  
= Ports / VLAN =
+
 
 +
== Ports / VLAN ==
  
 
<table cellpadding=10 cellspacing=0 border=1>
 
<table cellpadding=10 cellspacing=0 border=1>
Line 132: Line 134:
  
  
= Config =
+
== Config ==
  
 
hostname SW-FIXME-02<br>
 
hostname SW-FIXME-02<br>
Line 138: Line 140:
 
snmp-server contact FIXME<br>
 
snmp-server contact FIXME<br>
 
snmp-server community FIXME ro<br>
 
snmp-server community FIXME ro<br>
 
+
<br>
 
username admin access-level 15<br>
 
username admin access-level 15<br>
 
username admin password 7 XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
 
username admin password 7 XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
Line 144: Line 146:
 
username guest password 7 XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
 
username guest password 7 XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
 
enable password level 15 7 XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
 
enable password level 15 7 XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
 
+
<br>
 
+
<br>
 
vlan database<br>
 
vlan database<br>
 
vlan 1 name DefaultVlan media ethernet state active<br>
 
vlan 1 name DefaultVlan media ethernet state active<br>
 
vlan 130 name FIXME-NAT media ethernet state active<br>
 
vlan 130 name FIXME-NAT media ethernet state active<br>
 
vlan 135 name FIXME-PUBLIC media ethernet state active<br>
 
vlan 135 name FIXME-PUBLIC media ethernet state active<br>
 
+
<br>
 +
<br>
 
interface ethernet 1/1<br>
 
interface ethernet 1/1<br>
 
switchport allowed vlan add 135 untagged<br>
 
switchport allowed vlan add 135 untagged<br>
Line 156: Line 159:
 
switchport allowed vlan remove 1<br>
 
switchport allowed vlan remove 1<br>
 
spanning-tree edge-port<br>
 
spanning-tree edge-port<br>
 
+
<br>
 
+
<br>
 
interface ethernet 1/2<br>
 
interface ethernet 1/2<br>
 
switchport allowed vlan add 135 untagged<br>
 
switchport allowed vlan add 135 untagged<br>
Line 163: Line 166:
 
switchport allowed vlan remove 1<br>
 
switchport allowed vlan remove 1<br>
 
spanning-tree edge-port<br>
 
spanning-tree edge-port<br>
 
+
<br>
 
+
<br>
 
interface ethernet 1/3<br>
 
interface ethernet 1/3<br>
 
switchport allowed vlan add 135 untagged<br>
 
switchport allowed vlan add 135 untagged<br>
Line 170: Line 173:
 
switchport allowed vlan remove 1<br>
 
switchport allowed vlan remove 1<br>
 
spanning-tree edge-port<br>
 
spanning-tree edge-port<br>
 
+
<br>
 
+
<br>
 
interface ethernet 1/4<br>
 
interface ethernet 1/4<br>
 
switchport allowed vlan add 135 untagged<br>
 
switchport allowed vlan add 135 untagged<br>
Line 177: Line 180:
 
switchport allowed vlan remove 1<br>
 
switchport allowed vlan remove 1<br>
 
spanning-tree edge-port<br>
 
spanning-tree edge-port<br>
 
+
<br>
 
+
<br>
 
interface ethernet 1/5<br>
 
interface ethernet 1/5<br>
 
switchport allowed vlan add 135 untagged<br>
 
switchport allowed vlan add 135 untagged<br>
Line 319: Line 322:
 
<br>
 
<br>
 
no ip http secure-server<br>
 
no ip http secure-server<br>
<br>
 
<br>
 
 
spanning-tree mode stp<br>
 
spanning-tree mode stp<br>
 
line console<br>
 
line console<br>
<br>
 
 
line vty<br>
 
line vty<br>
 
end<br>
 
end<br>
 
<br>
 
<br>

Latest revision as of 01:04, 1 February 2016

SW-FIXME-02

Ports / VLAN

Port VLAN Equipement
1 FIXME-PUBLIC
2 FIXME-PUBLIC
3 FIXME-PUBLIC
4 FIXME-PUBLIC
5 FIXME-PUBLIC
6 FIXME-PUBLIC
7 FIXME-PUBLIC
8 FIXME-PUBLIC
9 FIXME-PUBLIC
10 FIXME-PUBLIC
11 FIXME-PUBLIC
12 FIXME-PUBLIC
13 FIXME-NAT
14 FIXME-NAT
15 FIXME-PUBLIC
16 FIXME-PUBLIC
17 FIXME-NAT
18 FIXME-NAT
19 FIXME-NAT
20 FIXME-NAT
21 TRUNK DON'T USE!
22 TRUNK DON'T USE!
23 TRUNK DON'T USE!
24 TRUNK


Config

hostname SW-FIXME-02
snmp-server location CH LSN FIXME SERV 1
snmp-server contact FIXME
snmp-server community FIXME ro

username admin access-level 15
username admin password 7 XXXXXXXXXXXXXXXXXXXXXXXXXX
username guest access-level 0
username guest password 7 XXXXXXXXXXXXXXXXXXXXXXXXXX
enable password level 15 7 XXXXXXXXXXXXXXXXXXXXXXXXXX


vlan database
vlan 1 name DefaultVlan media ethernet state active
vlan 130 name FIXME-NAT media ethernet state active
vlan 135 name FIXME-PUBLIC media ethernet state active


interface ethernet 1/1
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/2
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/3
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/4
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/5
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/6
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/7
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/8
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/9
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/10
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/11
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/12
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/13
switchport allowed vlan add 130 untagged
switchport native vlan 130
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/14
switchport allowed vlan add 130 untagged
switchport native vlan 130
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/15
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/16
switchport allowed vlan add 135 untagged
switchport native vlan 135
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/17
switchport allowed vlan add 130,135 untagged
switchport native vlan 130
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/18
switchport allowed vlan add 130,135 untagged
switchport native vlan 130
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/19
switchport allowed vlan add 130,135 untagged
switchport native vlan 130
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/20
switchport allowed vlan add 130,135 untagged
switchport native vlan 130
switchport allowed vlan remove 1
spanning-tree edge-port


interface ethernet 1/21
switchport allowed vlan add 1 untagged
switchport native vlan 1
switchport allowed vlan add 130,135 tagged


interface ethernet 1/22
switchport allowed vlan add 1 untagged
switchport native vlan 1
switchport allowed vlan add 130,135 tagged


interface ethernet 1/23
switchport allowed vlan add 1 untagged
switchport native vlan 1
switchport allowed vlan add 130,135 tagged


interface ethernet 1/24
switchport allowed vlan add 1 untagged
switchport native vlan 1
switchport allowed vlan add 130,135 tagged


interface vlan 130
ip address 192.168.130.252 255.255.255.0

no ip http secure-server
spanning-tree mode stp
line console
line vty
end