//命令历史 vlan batch 1020304071617262100200 //链路聚合 int Eth-Trunk 1 trunkport GigabitEthernet 0/0/6 trunkport GigabitEthernet 0/0/7 //接入层设置链路类型 int g0/0/2 port link-type trunk port trunk allow-pass vlan 40 int g0/0/3 port link-type trunk port trunk allow-pass vlan 40 int g0/0/1 port link-type access port default vlan 40 //汇聚层设置链路类型(注意vlan 20 和30可以互通) int g0/0/1 port link-type trunk port trunk allow-pass vlan 10 int g0/0/2 port link-type trunk port trunk allow-pass vlan 2030 //聚合链路设置 interface Eth-Trunk1 port link-type trunk port trunk allow-pass vlan 10203040200 //服务器的交换机链路状态 sw8: vlan batch 1777 port default vlan 77 int g0/0/3 port default vlan 17 int g0/0/2 port link-type access port default vlan 100
sw7: int g0/0/3 int g0/0/2 port link-type trunk port trunk allow-pass vlan 10203040200 int g0/0/1 port link-type access port default vlan 200 //stp配置 //sw5 stp region-configuration region-name monika instance 10 vlan 10 instance 20 vlan 2030 instance 40 vlan 40 instance 1 vlan 100 active region-configuration //根桥设置,sw1-4和sw7不配置 sw5: stp instance 2 root secondary stp instance 10 root primary stp instance 20 root primary stp instance 40 root secondary sw6: stp instance 2 root pri stp instance 10 root secondary stp instance 20 root secondary stp instance 40 root pri //虚拟接口设置 int vlanif 40 ip ad 192.168.40.524 dis th int vlanif 200 ip ad 192.168.200.524 int vlanif 61 ip ad 192.168.61.524 int vlanif 71 ip ad 192.168.71.524 //路由器配置ip ar7: int g0/0/0 ip ad 192.168.71.724 int g0/0/1 ip ad 192.168.72.724 int g3/0/0 ip ad 192.168.67.724 int g0/0/2 ip ad 192.168.78.724 int g4/0/0 ip ad 192.168.77.724 ar6: int g0/0/0 ip ad 192.168.62.624 int g0/0/1 ip ad 192.168.61.624 int g3/0/0 ip ad 192.168.67.624 int g0/0/2 ip ad 192.168.68.624 int g4/0/0 ip ad 192.168.17.624 //配置vrrp interface Vlanif10 vrrp vrid 10 virtual-ip 192.168.10.254 。。。。。 //配置dhcp //服务器 ip pool vlan10 gateway-list192.168.10.254 network 192.168.10.0 mask 255.255.255.0 excluded-ip-address 192.168.10.5192.168.10.6 ip pool vlan40 gateway-list192.168.40.254 network 192.168.40.0 mask 255.255.255.0 excluded-ip-address 192.168.40.5192.168.40.6 //中继 dhcp en
int vlan 10 dhcp select relay dhcp relay server-ip 192.168.200.55
int vlan 20 dhcp select relay dhcp relay server-ip 192.168.200.55 int vlan 30 dhcp select relay dhcp relay server-ip 192.168.200.55 int vlan 40 dhcp select relay dhcp relay server-ip 192.168.200.55 //ospf配置 //交换机5,6 ospf ar 0 network 192.168.62.60.0.0.0 network 192.168.72.60.0.0.0 ar 10 network 192.168.10.60.0.0.0 ar 20 network 192.168.20.60.0.0.0 ar 30 network 192.168.30.60.0.0.0 ar 40 network 192.168.40.60.0.0.0 //路由器r7 ospf ar 0 network 192.168.71.70.0.0.0 network 192.168.72.70.0.0.0 network 192.168.67.70.0.0.0 network 192.168.78.70.0.0.0 network 192.168.87.70.0.0.0 //路由器r6 ospf ar 0 network 192.168.61.60.0.0.0 network 192.168.62.60.0.0.0 network 192.168.67.60.0.0.0 network 192.168.68.60.0.0.0 network 192.168.86.60.0.0.0 //交换机8 ospf ar 0 network 192.168.87.80.0.0.0 network 192.168.86.80.0.0.0 ar 100 network 192.168.100.80.0.0.0 //ar8 ospf ar 0 network 192.168.78.80.0.0.0 network 192.168.68.80.0.0.0 ip route-static0.0.0.00114.114.114.9 preference 120 ip route-static0.0.0.00114.114.115.9 //bfd配置 //sw6 bfd tor8 bind peer-ip 8.8.8.8 source-ip 6.6.6.6 discriminator local 66 discriminator remote 68 min-tx-interval 100 min-rx-interval 100 commit //r8 bfd tosw5 bind peer-ip 5.5.5.5 source-ip 8.8.8.8 discriminator local 58 discriminator remote 55 min-tx-interval 100 min-rx-interval 100 commit
虚拟MAC地址(Virtual MAC Address):虚拟路由器根据虚拟路由器ID生成的MAC地址。一个虚拟路由器拥有一个虚拟MAC地址,格式为:00-00-5E-00-01-{VRID}(VRRP for IPv4);00-00-5E-00-02-{VRID}(VRRP for IPv6)。当虚拟路由器回应ARP请求时,使用虚拟MAC地址,而不是接口的真实MAC地址。
Dear Miss.? When i think of you'I'm reminded of the beautiful plains of Iowa.The distance between us is breaking my spirit. My time and experiences without you are meaningless to me. Falling in love with you was the easiest thing i have ever done.Nothing matters but you.