|
|
Line 132: |
Line 132: |
| = Config = | | = Config = |
| | | |
− | building running-config, please wait.....
| |
| hostname SW-FIXME-02 | | hostname SW-FIXME-02 |
| snmp-server location CH LSN FIXME SERV 1 | | snmp-server location CH LSN FIXME SERV 1 |
Line 148: |
Line 147: |
| | | |
| vlan database | | vlan database |
− | vlan 1 name DefaultVlan media ethernet state active
| + | vlan 1 name DefaultVlan media ethernet state active |
− | vlan 130 name FIXME-NAT media ethernet state active
| + | vlan 130 name FIXME-NAT media ethernet state active |
− | vlan 135 name FIXME-PUBLIC media ethernet state active
| + | vlan 135 name FIXME-PUBLIC media ethernet state active |
| | | |
| interface ethernet 1/1 | | interface ethernet 1/1 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/2 | | interface ethernet 1/2 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/3 | | interface ethernet 1/3 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/4 | | interface ethernet 1/4 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/5 | | interface ethernet 1/5 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/6 | | interface ethernet 1/6 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/7 | | interface ethernet 1/7 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/8 | | interface ethernet 1/8 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/9 | | interface ethernet 1/9 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/10 | | interface ethernet 1/10 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/11 | | interface ethernet 1/11 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/12 | | interface ethernet 1/12 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/13 | | interface ethernet 1/13 |
− | switchport allowed vlan add 130 untagged
| + | switchport allowed vlan add 130 untagged |
− | switchport native vlan 130
| + | switchport native vlan 130 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/14 | | interface ethernet 1/14 |
− | switchport allowed vlan add 130 untagged
| + | switchport allowed vlan add 130 untagged |
− | switchport native vlan 130
| + | switchport native vlan 130 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/15 | | interface ethernet 1/15 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/16 | | interface ethernet 1/16 |
− | switchport allowed vlan add 135 untagged
| + | switchport allowed vlan add 135 untagged |
− | switchport native vlan 135
| + | switchport native vlan 135 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/17 | | interface ethernet 1/17 |
− | switchport allowed vlan add 130,135 untagged
| + | switchport allowed vlan add 130,135 untagged |
− | switchport native vlan 130
| + | switchport native vlan 130 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/18 | | interface ethernet 1/18 |
− | switchport allowed vlan add 130,135 untagged
| + | switchport allowed vlan add 130,135 untagged |
− | switchport native vlan 130
| + | switchport native vlan 130 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/19 | | interface ethernet 1/19 |
− | switchport allowed vlan add 130,135 untagged
| + | switchport allowed vlan add 130,135 untagged |
− | switchport native vlan 130
| + | switchport native vlan 130 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/20 | | interface ethernet 1/20 |
− | switchport allowed vlan add 130,135 untagged
| + | switchport allowed vlan add 130,135 untagged |
− | switchport native vlan 130
| + | switchport native vlan 130 |
− | switchport allowed vlan remove 1
| + | switchport allowed vlan remove 1 |
− | spanning-tree edge-port
| + | spanning-tree edge-port |
| | | |
| | | |
| interface ethernet 1/21 | | interface ethernet 1/21 |
− | switchport allowed vlan add 1 untagged
| + | switchport allowed vlan add 1 untagged |
− | switchport native vlan 1
| + | switchport native vlan 1 |
− | switchport allowed vlan add 130,135 tagged
| + | switchport allowed vlan add 130,135 tagged |
| | | |
| | | |
| interface ethernet 1/22 | | interface ethernet 1/22 |
− | switchport allowed vlan add 1 untagged
| + | switchport allowed vlan add 1 untagged |
− | switchport native vlan 1
| + | switchport native vlan 1 |
− | switchport allowed vlan add 130,135 tagged
| + | switchport allowed vlan add 130,135 tagged |
| | | |
| | | |
| interface ethernet 1/23 | | interface ethernet 1/23 |
− | switchport allowed vlan add 1 untagged
| + | switchport allowed vlan add 1 untagged |
− | switchport native vlan 1
| + | switchport native vlan 1 |
− | switchport allowed vlan add 130,135 tagged
| + | switchport allowed vlan add 130,135 tagged |
| | | |
| | | |
| interface ethernet 1/24 | | interface ethernet 1/24 |
− | switchport allowed vlan add 1 untagged
| + | switchport allowed vlan add 1 untagged |
− | switchport native vlan 1
| + | switchport native vlan 1 |
− | switchport allowed vlan add 130,135 tagged
| + | switchport allowed vlan add 130,135 tagged |
| | | |
| | | |
| interface vlan 130 | | interface vlan 130 |
− | ip address 192.168.130.252 255.255.255.0
| + | ip address 192.168.130.252 255.255.255.0 |
| | | |
| no ip http secure-server | | no ip http secure-server |
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