当前位置:首页 > C220常用命令
gei_0/14/1
NJ-A-FengShengShangHui-C220-1#show interface gei_0/14/1 (查看上联口状态,端口是UP还是DOWN的,以及上下行数据包) gei_0/14/1 is up, line protocol is up Description is NJ-A-ZHL-HW9306-1 Keepalive set:10 sec
The port flowControl is disable The port negotiation is disable The port is optical
The optical Module Information :
RxPower : -20.026(dbm) TxPower : -5.791 (dbm) Bias-Current : 20.536 (mA) Laser-Rate : 13(100Mb/s) Supply-Vol : 3.252 (v) Wavelength : 1310(nm)
Temperature : 42.313 (c) Vender-PN : MXPD-243S Vender-Name : HG GENUINE Loopback status is disable Reset number is 0 Duplex full
scramble payload-enable
VLAN mode is hybrid, pvid 1 BW 1000000 Kbits Last clearing of \
120 seconds input rate : 521 Bps, 6 pps 120 seconds output rate: 0 Bps, 0 pps Interface peak rate :
input 431397 Bps, output 14671 Bps Interface utilization: input 0.000%, output 0.000% Input:
Packets : 17536623 Bytes : 1426488286 Unicasts : 2908681 Multicasts: 1202667 Broadcasts : 13425275 Undersize : 0 Oversize : 0 CRC-ERROR : 0 Dropped : 5 Fragments : 0 Jabber : 0 MacRxErr : 0 Output:
Packets : 86859 Bytes : 12503595 Unicasts : 86855 Multicasts: 0 Broadcasts : 4 Collision : 0 LateCollision: 0 Input detail:
64B : 1 65-127B : 17109624 128-255B : 71150 256-511B : 196096 512-1023B : 159740 1024-2047B: 12
NJ-A-FengShengShangHui-C220-1#show interface gei_0/14/3(查看上联口状态,端口是UP还是DOWN的,以及上下行数据包)(此处是对比0/14/1) gei_0/14/3 is administratively down, line protocol is down Description is none Keepalive set:10 sec
The port flowControl is disable The port negotiation is enable The port is electric
Loopback status is disable Reset number is 0 Duplex full
VLAN mode is hybrid, pvid 1 BW 1000000 Kbits Last clearing of \
120 seconds input rate : 0 Bps, 0 pps 120 seconds output rate: 0 Bps, 0 pps Interface peak rate :
input 0 Bps, output 0 Bps Interface utilization: input 0.000%, output 0.000% Input:
Packets : 0 Bytes : 0 Unicasts : 0 Multicasts: 0 Broadcasts : 0 Undersize : 0 Oversize : 0 CRC-ERROR : 0 Dropped : 0 Fragments : 0 Jabber : 0 MacRxErr : 0 Output:
Packets : 0 Bytes : 0 Unicasts : 0 Multicasts: 0 Broadcasts : 0 Collision : 0 LateCollision: 0 Input detail:
64B : 0 65-127B : 0 128-255B : 0 256-511B : 0 512-1023B : 0 1024-2047B: 0
NJ-A-FengShengShangHui-C220-1#show ip ? (在碰到忘记命令时可以打?回车,查找相应命令单词)
arp Arp configuration as-path-access-list List AS path access lists bgp BGP information community-list List community-list
dhcp Show global configure of DHCP server or relay forwarding IP forwarding unicast routing table
igmp Show IGMP information
interface Interface status and configuration local IP local options
mforwarding IP forwarding multicast routing table mroute IP multicast routing table
msdp Multicast source discovery protocol (MSDP) ospf OSPF information pim PIM information
pimdm PIM-DM information pimsm PIM-SM information
prefix-list Displays the information about a prefix list or prefix list entries protocol Routing protocol rip RIP information route IP routing table
rpf Show RPF information for multicast source source-guard show ip source-guard config traffic IP protocol statistics
NJ-A-FengShengShangHui-C220-1#show ip route (查看OLT上路由配置情况) IPv4 Routing Table:
Dest Mask Gw Interface Owner pri metric 0.0.0.0 0.0.0.0 192.168.108.209 vlan99 static 1 0 136.1.1.0 255.255.255.0 136.1.1.100 mng1 direct 0 0 136.1.1.100 255.255.255.255 136.1.1.100 mng1 address 0 0 192.168.108.208 255.255.255.240 192.168.108.218 vlan99 direct 0 0 192.168.108.218 255.255.255.255 192.168.108.218 vlan99 address 0 0
NJ-A-FengShengShangHui-C220-1#ping 192.168.108.218 (ping网关,出现!证明和上层设备对通,出现 ..... 则是不通,需要检查数据)
sending 5,100-byte ICMP echos to 192.168.108.218,timeout is 2 seconds. !!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 40/40/40 ms. NJ-A-FengShengShangHui-C220-1#ping 192.168.108.218 option 100 36 1 (ping网关100次1S一次每个包36byte)
sending 100,36-byte ICMP echos to 192.168.108.218,timeout is 1 seconds.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Success rate is 100 percent(100/100),round-trip min/avg/max= 40/40/40 ms.
NJ-A-FengShengShangHui-C220-1#ping 10.10.22.26 (ping下挂ONU的管理地址,ping通了才可以通过OLT跳转登录ONU)
sending 5,100-byte ICMP echos to 10.10.22.26,timeout is 2 seconds. !!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 0/0/0 ms.
NJ-A-FengShengShangHui-C220-1#telnet 10.10.22.26 (登录OLT下挂ONU) Trying 10.10.22.26 ...Open
Attention: Telnet Escape character is ctrl+']'
************************************************ Welcome to ZXAN product of ZTE Corporation
************************************************
Username:zte Password: zte
NJ-A-FengShengShangHui-C220-1#show running-config interface vlan 99 (查看OLT管理地址)
Building configuration... !
interface vlan 99
ip address 192.168.108.218 255.255.255.240 ! end
NJ-A-FengShengShangHui-C220-1#? (在碰到忘记命令时可以打?回车,查找相应命令单词) Exec commands:
cd Change current working directory clear Reset functions
clock Manage the system clock configure Enter configuration mode
copy Copy from one file to another debug Debugging functions delete Delete a file
diagnose Enter diagnosis mode dir List files on a filesystem
disable Turn off privileged commands enable Turn on privileged commands exit Exit from the EXEC
login Login as a particular user logout Exit from the EXEC mkdir Create a directory
no Negate a command or set its defaults onu-script Save onu config script
patch Patch load or unload to version ping Send echo messages
protection Pon protection group operation pwd Show current working directory quit Quit from the EXEC reboot Reboot a shelf
rename Rename a file or a directory name reset-card Reset a card
共分享92篇相关文档