【網路管理】D-Link DGS-3324SR Switch設定 - Rafael Lab

Breaking

BANNER 728X90

2018年3月13日 星期二

【網路管理】D-Link DGS-3324SR Switch設定


這台機器在早期曾是學校的Core Switch ,現在位於A棟作為班級電腦的交換器。由於dlink的vlan設定和其他廠牌有些差異,花了兩個下午的時間,才設定完成。

設定重點如下:

# BASIC

config serial_port baud_rate 115200 auto_logout 10_minutes
enable telnet 23
enable web 80

enable clipaging

...


# MANAGEMENT



create trusted_host 192.168.30.120
create trusted_host 192.168.10.1
create trusted_host 192.168.10.100
create trusted_host 172.16.254.1

enable snmp traps
enable snmp authenticate_traps
config snmp system_name DGS3324SR-ip244
config snmp system_location AVR-3F

disable rmon



# VLAN



config vlan default delete 1:1-1:24
config vlan default add tagged 1:1-1:22
config vlan default add untagged 1:23-1:24
config vlan default advertisement enable
create vlan classroom tag 30 type 1q_vlan
config vlan classroom add tagged 1:23-1:24
config vlan classroom add untagged 1:1-1:22 advertisement enable


disable gvrp

config gvrp 1:1-1:20,1:22 state disable ingress_checking enable acceptable_frame admit_all pvid 30
config gvrp 1:21 state disable ingress_checking disable acceptable_frame admit_all pvid 30
config gvrp 1:23-1:24 state disable ingress_checking enable acceptable_frame admit_all pvid 1

...



# ROUTE



config route preference static 60


config route preference rip 100
config route preference ospfIntra 80
config route preference ospfInter 90
config route preference ospfExt1 110
config route preference ospfExt2 115                                           


create iproute default 192.168.1.254 1
create iproute 192.168.1.0/255.255.255.0 192.168.1.254 1 primary
create iproute 192.168.30.0/255.255.255.0 192.168.30.254 1 primary
...

沒有留言:

張貼留言