软件平台:
H3C设备:模拟器(Simware V5.2)
ACS: cisco acs 4.12
网络拓扑:
各个设备的IP:
SW:192.168.77.2
ACS server:192.168.77.3
User Client:192.168.77.10
我把hardcfg.tcl 贴出来。大家自由发挥。
SetSelfSlot 0
SetMainSlot 0
SetConsoleCom 2001
SetMemorySize 96
SetWVRPInstanceName RT1
SetMac 00 01
SetWinSockOffset 500
AddSerial -local 192.168.237.1 -lport 4002 -dest 192.168.237.1 -dport 4001
#AddEthernet -index 1
#AddEthernet -index 1
#BindPortWithAdaptor -port 1 -adaptor 1
#BindPortWithAdaptor -port 2 -adaptor 2
#BindPortWithAdaptor -port 3 -adaptor 3
#BindPortWithAdaptor -port 4 -adaptor 4
#BindPortWithAdaptor -port 5 -adaptor 5
AddLink -portnum 1 -localip 192.168.237.1 -localport 10140 -dstip 192.168.237.1 -dstport 10240
AddLink -portnum 2 -localip 192.168.237.1 -localport 10141 -dstip 192.168.237.1 -dstport 10641
AddLink -portnum 3 -localip 192.168.237.1 -localport 10142 -dstip 192.168.237.1 -dstport 10542
AddLink -portnum 4 -localip 192.168.237.1 -localport 10143 -dstip 192.168.237.1 -dstport 9041
AddEthNew -speed 100 Level2 -canswitch -vnet 01 -slot 0 -subslot 1 -local 192.168.237.1 -lport 10110 -dest 192.168.237.1 -dport 10210
AddEthNew -speed 100 Level2 -canswitch -vnet 02 -slot 0 -subslot 1 -local 192.168.237.1 -lport 10111 -dest 192.168.237.1 -dport 10611
AddEthNew -speed 100 Level2 -canswitch -vnet 03 -slot 0 -subslot 1 -local 192.168.237.1 -lport 10112 -dest 192.168.237.1 -dport 10512
AddEthNew -speed 100 Level2 -canswitch -vnet 05 -slot 0 -subslot 1 -local 192.168.237.1 -lport 10113 -dest 192.168.237.1 -dport 9001
这个TCL很容易看懂。
主要是addlink 表示添加链接。 比如表示sw1_eth0/1/0 —> sw2_eth0/1/0 就可以用addlink来链接。
localip 本端IP (sw1)
localport 本端交换机接口的表示(10140.这个可以自定义。 我这儿101表示有是sw1,4表示第4个slot,0表示Port0. 这个可以自定义的。建议使用本机没有使用的端口范围)
dstip 对端交换机所在的机器的IP(可以用来做分布式)
dstport 对端交换机的接口。同上面的localport
AddethNew 添加一个新驱动的以太网口。
canswitch 表示可以在二/三层之间转换。
先简单的写点。
更多的可以看simware使用详解。
本来想写很多的。但想想,写那么多的废话干嘛呢?
只要记下自己需要记住的东西就行了。
一般的GRE隧道随时都会配置。
IPSEC 的PKI/IKE也会配置。
其实GRE OVER IPSEC只有一点需要注意。
那是IPSEC的感兴趣流应该定义成 GRE Tunnel的Source address 和des address。 不要写成Tunnel的虚拟地址了。
最开始我就是写成了Tunnel的虚拟地址。才使IPSEC没有去感兴趣这玩意。
经过一段时间的摸索。终于把基于Windows Server +DNs server 的 IPV6 Rdns搭建起来了。
C:\>tracert -6 vs1.ghitr.com
Tracing route to vs1.ghitr.com [2001:470:1f05:819::2]
over a maximum of 30 hops:
1 311 ms 325 ms 301 ms 2001:5c0:1000:b::5786
2 411 ms 403 ms 399 ms ix-0-0.224.mcore4.MTT-Montreal.ipv6.as6453.net [2001:5a0:300::5]
3 597 ms 479 ms 795 ms if-12-3.mcore3.MTT-Montreal.ipv6.as6453.net [2001:5a0:300:100::21]
4 421 ms 739 ms 377 ms POS13-0.mcore4.NYY-NewYork.ipv6.as6453.net [2001:5a0:300:100::2]
5 615 ms 643 ms 603 ms POS5-0.mcore4.NJY-Newark.ipv6.as6453.net [2001:5a0:f00:100::1]
6 604 ms 585 ms 331 ms 10gigabitethernet4-2.core1.nyc4.he.net [2001:504:0:6::6939:1]
7 384 ms 399 ms 377 ms 10gigabitethernet5-3.core1.lax1.he.net [2001:470:0:10e::1]
8 565 ms 763 ms 679 ms 10gigabitethernet1-3.core1.pao1.ipv6.he.net [2001:470:0:34::1]
9 613 ms 553 ms 389 ms 10gigabitethernet1-4.core1.fmt2.ipv6.he.net [2001:470:0:30::1]
10 390 ms 392 ms 405 ms gige-gbge0.tserv3.fmt2.ipv6.he.net [2001:470:0:45::2]
11 606 ms 783 ms 577 ms yangybcy-1-pt.tunnel.tserv3.fmt2.ipv6.he.net [2001:470:1f04:819::2]
12 588 ms 609 ms 605 ms ipv6.server.ghitr.com [2001:470:1f05:819::2]
Trace complete.

最近在实施某高速公路公司关于重庆市高速公路视频联网监控的工程。 在该工程中,需要用组播将各个路段公司的路段视频监控传送到区域中心和总中心。遇到这么一个问题。 本路段中的视频数据,有时候会不固定的出现某个或者是某几个监控头的视频数据无法在本路段监控中心查看到。登陆到该监控头所在的三层交换机使用display multicast forwarding-table 可以看到在本地交换机上有该监控头所属编码器发出的组播数据。
在路段监控中心的三层交换机上 通过display multicast routing-table 却无法看到从下端转发上来的该地址的组播信息。
近来的一次工程中本来是计划在出口站做 OSPF的LSA过滤。 结果因为H3C的操作系统目前不支持LSA级过滤。所以只有起多个OSPF进程、起多个区域,再做路由引入。但在这引入过程中,需要过滤某些路由条目,使其不被引入到另一端。
(子节点1)——–(子节点中心)———总中心
在子节点网络中,使用OSPF路由协议,进程号为13,区域号也为13。 在子节点中心与总中心之间使用OSPF路由协议,进程号为3,区域号为0。 需要将ospf 13的路由信息引入到ospf 3中去。 所以子节点中心 就运行了OSPF13和OSPF3。创建一个高级ACL,并将此ACL与Route-policy关联起, 然后在路由引入时加上Route-policy。
配置方式:
现一台HuaweiS8505交换机。原有一块主控板+一块24口LC的光纤板卡。现需升级一块48口全千兆电口交换板!
原有主控软件版本为:S8500-VRP310-R1631-EI
新插上Lsb1gt48ldb0的交换机后。端口状态为Fail。且无识别交换机型号和类型!
后升级S85交换机而解决此问题!
并不是所有的Huawei交换机都可以用此法的

————————————————————————————————————————————–
Instructions
Configure the routers according to the above diagram and the requirements
below.
Requirements
• Configure the interfaces with the IP addresses shown in the diagram.
• Configure R2 and R3 to be in EIGRP AS 65100. Add the entire class B network
and disable automatic summarization.
2 – 2 CCNP: Building Scalable Internetworks v5.0 – Skills-Based Assessment 2 Copyright © 2006, Cisco Systems, Inc
• Configure OSPF area 0 on the link between R1 and R2. Also add the loopback
interfaces on R1 into area 0.
• Have R3 redistribute its connected routes into EIGRP.
• Make sure all loopback interfaces are advertised with the correct mask.
• Have R2 originate a default route into the OSPF domain.
• Redistribute OSPF into EIGRP.
• Filter out 172.16.120.0 and 172.16.121.0 from being advertised to R3.
• Configure R2 and R3 in BGP AS 65100. Configure R4 in BGP AS 65400.
• Peer R2 and R3 in BGP on their loopback interfaces.
• Peer R3 and R4 in BGP.
• Have R4 advertise its loopback interfaces into BGP.
• Configure R3 to filter out 172.31.8.0 and 172.31.12.0 on the inbound updates
from R4.
• Configure R4 with a static route to the 172.16.0.0/16 network via R3.