Table of Contents

Настройка коммутатора в классе

Cisco

hostname valswitch
!
vtp mode transparent
!
service password-encryption
!
enable secret ...
!
spanning-tree portfast default
!
interface Vlan1
 ip address 172.16.1.253 255.255.255.0
 no shutdown

line vty 0 15
 password ...
 login
!
end

HP ProCurve

hostname "ProCurve"
vlan 1
   name "DEFAULT_VLAN"
   untagged 8-10
   ip address 172.16.1.250 255.255.255.0
   no untagged 1-7
   exit
vlan 106
   name "corp6"
   untagged 6
   tagged 9-10
   no ip address
   exit
vlan 101
   name "corp1"
   untagged 1
   tagged 9-10
   no ip address
   exit
vlan 102
   name "corp2"
   untagged 2
   tagged 9-10
   no ip address
   exit
vlan 103
   name "corp3"
   untagged 3
   tagged 9-10
   no ip address
   exit
vlan 104
   name "corp4"
   untagged 4
   tagged 9-10
   no ip address
   exit
vlan 105
   name "corp5"
   untagged 5
   tagged 9-10
   no ip address
   exit