Настройка коммутаторов DCN - Upnet

Настройка коммутаторов DCN

Сброс коммутатора DCN

upnet>en setup
upnet#set default
Are you sure? [Y/N] = y
upnet#write
NULL(factory config) will be used as the startup-config file at the next time!
upnet#reload
Process with reboot? [Y/N] y

1) Первый вход: без пароля

2) заходим в привилигерованый режим (enable, conf t – глобальный)

DCRS-5960-28T-DC-E>en
DCRS-5960-28T-DC-E#config t

3) Задаем имя коммутатору

DCRS-5960-28T-DC-E(config)#hostname upnet
upnet(config)#

4) Создаем аунтификацию и привелегии

upnet(config)#username root privilege 15 password root

upnet(config)#service password-encryption – шифрование пароля

5) Включаем Telnet, ssh

upnet(config)#telnet-server enable
upnet(config)#ssh-server enable

6) Настройка времени

upnet(config)#clock timezone BY add 3 0

upnet(config)#ntp enable
upnet(config)#ntp server 0.0.0.0 – задаем ip сервера ntp

7) включаем DHCP если необходимо

upnet(config)#service dhcp
upnet(config)#ip dhcp pool wi-fi
upnet(dhcp-wi-fi-config)#network-address 192.168.0.0 255.255.255.0
upnet(dhcp-wi-fi-config)#default-router 192.168.0.1
upnet(config)#ip dhcp excluded-address 192.168.0.253 192.168.0.254
upnet(dhcp-wi-fi-config)#option 43 hex f1040afffe15 – (f1040afffe15 аналог 10.255.254.21) если нужен контроллер

8) Настройка VLAN

upnet(config)#vlan 2616
upnet(config-vlan2616)#exit
upnet(config)#interface vlan 2616
upnet(config-if-vlan2616)#ip address 192.168.0.254 255.255.255.0
(upnet(config)#ip dhcp relay information option subscriber-id standard) – возможно необходимо вкл. DHCP на VLAN
upnet(config-if-vlan2616)#description wi-fi

Создаем VLAN управления

upnet(config)#vlan 980
upnet(config)#interface vlan 980
upnet(config-if-vlan980)#ip address 17.10.10.55 255.255.255.0
upnet(config-if-vlan980)#exit

Задаем маршруты

upnet(config)#ip route 17.10.0.0 255.255.0.0 17.10.10.100
upnet(config)#ip route 192.168.0.0 255.255.255.0 10.66.60.254

Задаем режим и VLAN порту

upnet(config)#interface ethernet 1/0/1
upnet(config-if-ethernet1/0/1)#switchport mode access
Interface Ethernet1/0/1 is already on this mode !
upnet(config-if-ethernet1/0/1)#switchport access vlan 2616
Set the port Ethernet1/0/1 access vlan 2616 successfully
upnet(config-if-ethernet1/0/1)#

Настраиваем гигабитный порт транк по SFP (но не обязательно под SFP)

upnet(config)#interface ethernet 1/0/24
upnet(config-if-ethernet1/0/24)#switchport mode trunk
Set the port Ethernet1/0/24 mode Trunk successfully ^
upnet(config-if-ethernet1/0/24)#switchport trunk allowed vlan 980
upnet(config-if-ethernet1/0/24)#switchport trunk allowed vlan 2616

Проверяем настройки

upnet#show running-config
!
service password-encryption
!
hostname upnet
sysLocation China
sysContact 800-810-9119
!
username root privilege 15 password 7 63a9f0ea7bb98050796b649e85481845
!
authorization line vty exec local
!
!
clock timezone BLR add 3 0
!
!
ssh-server enable
!
service dhcp
!
ip dhcp excluded-address 192.168.0.250 192.168.0.251
ip dhcp excluded-address 192.168.0.253
ip dhcp excluded-address 192.168.0.254
ip dhcp excluded-address 192.168.0.255
!
ip dhcp pool wi-fi
network-address 192.168.0.0 255.255.255.0
default-router 192.168.0.1
option 43 hex F1040AFFFE15
!
!
!
!
!
!
!
vlan 1;980;2616
!
Interface Ethernet1/0/1
switchport access vlan 2616
!
Interface Ethernet1/0/2
!
Interface Ethernet1/0/3
!
Interface Ethernet1/0/4
!
Interface Ethernet1/0/5
!
Interface Ethernet1/0/6
!
Interface Ethernet1/0/7
!
Interface Ethernet1/0/8
!
Interface Ethernet1/0/9
!
Interface Ethernet1/0/10
!
Interface Ethernet1/0/11
!
Interface Ethernet1/0/12
!
Interface Ethernet1/0/13
!
Interface Ethernet1/0/14
!
Interface Ethernet1/0/15
!
Interface Ethernet1/0/16
!
Interface Ethernet1/0/17
!
Interface Ethernet1/0/18
!
Interface Ethernet1/0/19
!
Interface Ethernet1/0/20
!
Interface Ethernet1/0/21
!
Interface Ethernet1/0/22
!
Interface Ethernet1/0/23
!
Interface Ethernet1/0/24
switchport mode trunk
switchport trunk allowed vlan 2616
!
Interface Ethernet1/0/25
!
Interface Ethernet1/0/26
!
Interface Ethernet1/0/27
!
Interface Ethernet1/0/28
!
interface Vlan980
ip address 17.10.10.55 255.255.255.0
!
interface Vlan2616
description wi-fi
ip address 192.168.0.254 255.255.255.0
!
ip route 17.10.0.0/16 17.10.10.100
ip route 192.168.0.0/24 10.66.60.254
!
ntp enable
ntp server 0.0.0.0
!
!
login
!
end

Сохраняем настройки

upnet#write
Confirm to overwrite current startup-config configuration [Y/N]:y

DCRS-5960-28T-DC-E(config)#enable password 7 root
Invalid ENCRYPTED password! Please input the ENCRYPTED password with length 32

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Заказать звонок