Cisco Switch RSTP 相關指令
查看STP
#sh spanning-tree
調整priority
(config)#spanning-tree vlan 1 priority xxx
啟用802.1t之priority格式
(config)#spanning-tree extend system-id
變成RSTP
(config)#spanning-tree mode rapid-pvst
跳過Listening和Learning的偵測流程
(config-if)spanning-tree portfast
2015年8月24日 星期一
LEAF bonding,VLAN 設定筆記
bonding 範例
編輯 /etc/network/interfaces
auto bond0
iface bond0 inet static
address 10.31.1.5
netmask 255.255.255.0
gateway 10.31.1.254
slaves eth0 eth1
編輯 /etc/modules 加入
bonding mode=6 downplay=200 updelay=200 miimon=100
VLAN範例
編輯 /etc/network/interfaces
auto bond0
iface bond0 inet manual
up ifconfig bond0 0.0.0.0 up
slaves eth0 eth1
auto vlan20
iface vlan20 inet static
address 10.20.1.5
netmask 255.255.255.0
vlan-raw-device bond0
編輯 /etc/modules 加入
8021q
編輯 /etc/network/interfaces
auto bond0
iface bond0 inet static
address 10.31.1.5
netmask 255.255.255.0
gateway 10.31.1.254
slaves eth0 eth1
編輯 /etc/modules 加入
bonding mode=6 downplay=200 updelay=200 miimon=100
VLAN範例
編輯 /etc/network/interfaces
auto bond0
iface bond0 inet manual
up ifconfig bond0 0.0.0.0 up
slaves eth0 eth1
auto vlan20
iface vlan20 inet static
address 10.20.1.5
netmask 255.255.255.0
vlan-raw-device bond0
編輯 /etc/modules 加入
8021q
2015年7月17日 星期五
Linux 檢查硬體是否支援 IPMI
指令:dmidecode
輸出:Handle 0x004D, DMI type 38, 18 bytes
IPMI Device Information
註:以上並不能完整的檢測出硬體是否一定有支援 IPMI
dmidecode --type 38
輸出:Handle 0x004D, DMI type 38, 18 bytes
IPMI Device Information
註:以上並不能完整的檢測出硬體是否一定有支援 IPMI
dnsmasq設定筆記
修改 /etc/dnsmasq.conf
關閉/不啟用 DNS
port=0
# 啟用 TFTP server
enable-tftp
tftp-root=/var/lib/tftp
關閉/不啟用 DNS
port=0
# 啟用 TFTP server
enable-tftp
tftp-root=/var/lib/tftp
pvdisplay 出現 Couldn't find device 處理方式
pvdisplay
Couldn't find device with uuid Lb0nk8-K7rI-1Kn0-sl1w-SHFH-e4kG-s139OL.
vgreduce --removemissing
訂閱:
文章 (Atom)