#eth-trunk配置:
sw1 :
int eth-trunk 2
mode lacp-static
trunkport gi 0/0/2
trunkport gi 0/0/3
sw2 :
int eth-trunk 2
mode lacp-static
trunkport gi 0/0/1
trunkport gi 0/0/2
sw3 :
int eth-trunk 1
mode lacp-static
trunkport Ethernet 0/0/4
trunkport Ethernet 0/0/5
sw6 :
int eth-trunk 1
mode lacp-static
trunkport Ethernet 0/0/1
trunkport Ethernet 0/0/3
sw5:
vlan batch 2 to 5999
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2999#
interface Ethernet0/0/2
port link-type access
port default vlan 2
sw6:
vlan batch 2 to 5999
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 3999#
interface Ethernet0/0/2
port link-type access
port default vlan 3
sw3:
vlan batch 2 to 5999
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 3999
mode lacp-static
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2999
sw7:
vlan batch 2 to 5999
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface Ethernet0/0/2
port link-type access
port default vlan 4#
interface Ethernet0/0/3
port link-type access
port default vlan 5
sw4:
vlan batch 2 to 5999
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4 to 5999
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 4 to 5999
sw8:
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 200999#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 200999#
interface Ethernet0/0/3
port link-type access
port default vlan 200#
interface Ethernet0/0/4
port link-type access
port default vlan 200
sw1:
vlan batch 2 to 5200800999
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 5200999
mode lacp-static
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 200999#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 800
sw2:
vlan batch 2 to 5200801999
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 5200999
mode lacp-static
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 200999#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 4 to 5999#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 2 to 3999#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 801
1、需求
老项目,实时数据还是用mysql去存储的,而且又没有定时去清理数据的程序。目前这些实时数据只需保留近半年的即可。 其他几张实时表数据量没有这么夸张。
我随即用
delete from table_name where id < 39000000 limit 10000
但是几亿条记录…
Lesson 77 Terrible toothache
词汇
appointment n. 预约 构成:point v. 指,指向 用法:point to 人 / 物 指着,指向…… point out 指出(问题) 相关:game point 局点 matc…