1、Document identification Version Page Alcatel Shanghai Bell I P=MAC is protected2、 查看 LT IHUB 端口状态及计数typ:isadmin# show port lt:1/1/3 =Ethernet Interface=Description : 1/2.5/10 Gig Ethernet LTInterface : lt:1/1/3 Oper Speed : 10 GbpsLink-level : Ethernet Config Speed : N/AAdmin State : up Oper Duplex
2、: fullOper State : up Config Duplex : N/APhysical Link : Yes MTU : 2048IfIndex : 36208640 Hold time up : 0 secondsLast State Change : 07/04/2012 18:38:47 Hold time down : 0 secondsLast Cleared Time : N/A Configured Mode : access Encap Type : 802.1qDot1Q Ethertype : 0x8100 Auto-negotiate : N/A MDI/MD
3、X : unknownEgress Rate : Default Egress Burst : Default Configured Address : 18:80:f5:54:bc:48Hardware Address : 18:80:f5:54:bc:48Cfg Alarm : Alarm Status : Category : residential LoopbackMode : none LoopbackVlan : 0Remark : disbled State Change Count : 7 =Traffic Statistics=Input Output-Octets 1210
4、3478 4281832296Packets 36877 8299422Errors 0 0=Port Statistics=Input Output-Unicast Packets 36877 8268487Multicast Packets 0 30935Broadcast Packets 0 0Discards 61020 0Unknown Proto Discards 0 Document identification Version Page Alcatel Shanghai Bell I&S Central PM Alcatel CIT 2001 TBA UAZZA2.22.1 2
5、8All rights reserved. Passing on and copying of this document, use and communication of its contents not permitted without written authorization3、 查看 IHUB 上联口状态及计数typ:isadmin# show port nt-a:xfp:1 detail =Ethernet InterfaceDescription : SFP Plus PortInterface : nt-a:xfp:1 Oper Speed : 0 mbpsLink-lev
6、el : Ethernet Config Speed : 1 GbpsAdmin State : up Oper Duplex : fullOper State : down Config Duplex : N/APhysical Link : No MTU : 2048IfIndex : 35848192 Hold time up : 0 secondsLast State Change : 07/05/2012 22:37:14 Hold time down : 0 secondsLast Cleared Time : N/A Configured Mode : access Encap
7、Type : 802.1qDot1Q Ethertype : 0x8100 Auto-negotiate : false MDI/MDX : unknownEgress Rate : Default Egress Burst : Default Configured Address : 18:80:f5:54:bc:4aHardware Address : 18:80:f5:54:bc:4aCfg Alarm : Alarm Status : Category : regular LoopbackMode : none LoopbackVlan : 0Remark : disbled Stat
8、e Change Count : 18 =Traffic Statistics=Input Output-Octets 4259264252 5100728Packets 8238799 7447Errors 15551 0=Ethernet Statistics=Broadcast Pckts : 0 Drop Events : 0Multicast Pckts : 0 CRC/Align Errors : 15550Undersize Pckts : 0 Fragments : 1Oversize Pckts : 0 Jabbers : 0Collisions : 0Octets : 42
9、64364980Packets : 8261884Packets of 64 Octets : 0Packets of 65 to 127 Octets : 0Document identification Version Page Alcatel Shanghai Bell I&S Central PM Alcatel CIT 2001 TBA UAZZA2.22.1 29All rights reserved. Passing on and copying of this document, use and communication of its contents not permitt
10、ed without written authorizationPackets of 128 to 255 Octets : 0Packets of 256 to 511 Octets : 1Packets of 512 to 1023 Octets : 8259399Packets of 1024 to 1518 Octets : 2407Packets of 1519 or more Octets : 0=Port Statistics=Input Output-Unicast Packets 8238799 7447Multicast Packets 0 0Broadcast Packe
11、ts 0 0Discards 0 0Unknown Proto Discards 0 6 上联设备6.1 检查上联交换机、路由器、BRAS 状态6.2 抓包当故障难以定位或无法确认上联设备问题时,就需要使用抓包工具分析定位问题1、上联端口镜像配置打开镜像端口configure port nt-a:eth:1 no shutdown configure port nt-a:eth:1 ethernet speed 1000 根据实际配置configure port nt-a:eth:1 ethernet autonegotiate 电口可配置成 autonegotiate,光口不支持设置镜像 I
12、D 并绑定镜像端口configure mirror mirror-dest 200 createconfigure mirror mirror-dest 200 sap nt-a: eth:1:0 createconfigure mirror mirror-dest 200 no shutdown 设置镜像源端口debug mirror-source 200 port nt-a:xfp:1 ingress egress 源端口 为上联口debug mirror-source 200 port lt:1/1/3 ingress egress 源端口 为 LT 板 显示镜像状态show mirro
13、r mirror-dest show mirror 200 mirror-destDocument identification Version Page Alcatel Shanghai Bell I&S Central PM Alcatel CIT 2001 TBA UAZZA2.22.1 30All rights reserved. Passing on and copying of this document, use and communication of its contents not permitted without written authorization2、VLAN
14、镜像配置 (用于抓取 ONU OLT 之间的报文)创建镜像 VLANconfigure vlan id 666 mode mirror把镜像 VLAN 绑定到需要抓包的 bridge port 上,并配置镜像模式为 overwrite-outer-vlanconfigure bridge port 1/1/4/2/1/1/1 mirror-vlan 666 mirror-mode overwrite-outer-vlan 在 IHUB 上创建镜像 VLAN,并绑定相应的 LT 和用于抓包的上联口configure service vpls 666 customer 1 v-vpls vlan 666 createconfigure service vpls 666 sap nt-a:eth:1:666 create configure service vpls 666 sap lt:1/1/1:666 createconfigure service vpls 666 no shutdown抓完报文后请及时关闭镜像 VLANconfigure bridge port 1/1/4/2/1/1/1 no mirror-vlan configure bridge port 1/1/4/2/1/1/1 no mirror-mode