MX960运维命令汇总手册V2(6)

2020-05-05 16:45

JUNOS Base OS Software Suite [11.4X27.35] JUNOS 64-bit Kernel Software Suite [11.4X27.35] JUNOS Crypto Software Suite [11.4X27.35]

JUNOS Packet Forwarding Engine Support (M/T Common) [11.4X27.35] JUNOS Packet Forwarding Engine Support (MX Common) [11.4X27.35] JUNOS Online Documentation [11.4X27.35]

JUNOS Voice Services Container package [11.4X27.35] JUNOS Border Gateway Function package [11.4X27.35] JUNOS Services AACL Container package [11.4X27.35] JUNOS Services LL-PDF Container package [11.4X27.35] JUNOS Services PTSP Container package [11.4X27.35] JUNOS Services Stateful Firewall [11.4X27.35] JUNOS Services NAT [11.4X27.35]

JUNOS Services Application Level Gateways [11.4X27.35]

JUNOS Services Captive Portal and Content Delivery Container package [11.4X27.35] JUNOS Services RPM [11.4X27.35]

JUNOS Services HTTP Content Management package [11.4X27.35] JUNOS AppId Services [11.4X27.35] JUNOS IDP Services [11.4X27.35] JUNOS Services Crypto [11.4X27.35] JUNOS Services SSL [11.4X27.35] JUNOS Services IPSec [11.4X27.35]

JUNOS Runtime Software Suite [11.4X27.35] JUNOS Routing Software Suite [11.4X27.35]

【说明】

本命令可以查看系统运行的软件版本号及该版本所支持的特性集。

二、接口相关

1.

查看接口的详细信息

user@MX960>show interfaces extensive

Physical interface: ge-0/0/0, Enabled, Physical link is Up Interface index: 153, SNMP ifIndex: 596, Generation: 243 Description: SNNU-CA-Jiao11Lou

Link-level type: Ethernet-Bridge, MTU: 1514, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled,

Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online

Device flags : Present Running

Interface flags: SNMP-Traps Internal: 0x20004000

Link flags : None

CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms

Current address: a8:d0:e5:f5:a8:00, Hardware address: a8:d0:e5:f5:a8:00 Last flapped : 2012-11-03 10:37:34 CST (2w6d 05:50 ago) Statistics last cleared: Never Traffic statistics:

Input bytes : 3475908979241 6745888 bps Output bytes : 3401541976098 1378400 bps Input packets: 4412354900 783 pps Output packets: 4166125749 515 pps IPv6 transit statistics:

Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Dropped traffic statistics due to STP State: Input bytes : 2784 Output bytes : 40319 Input packets: 40 Output packets: 43 Input errors:

Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, FIFO errors: 0, Resource errors: 0 Output errors:

Carrier transitions: 5, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0, FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use

Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 4157224115 4157224115 1 expedited-fo 0 0 2 assured-forw 0 0 3 network-cont 10124427 10124427 Queue number: Mapped forwarding classes 0 best-effort

1 expedited-forwarding 2 assured-forwarding 3 network-control Active alarms : None Active defects : None

MAC statistics: Receive Transmit Total octets 3493558984138 3477772788721 Total packets 4412355387 4167348690

0 0 0 0 Unicast packets 4410292132 4160756726 Broadcast packets 8009 190 Multicast packets 2055246 6591774 CRC/Align errors 0 0 FIFO errors 0 0 MAC control frames 0 0 MAC pause frames 0 0 Oversized frames 0 Jabber frames 0 Fragment frames 0 VLAN tagged frames 0 Code violations 0 Filter statistics:

Input packet count 4412354589 Input packet rejects 0 Input DA rejects 0 Input SA rejects 0

Output packet count 4167348267 Output packet pad count 0 Output packet error count 0 CAM destination filters: 0, CAM source filters: 0 Autonegotiation information: Negotiation status: Complete Link partner:

Link mode: Full-duplex, Flow control: Symmetric, Remote fault: OK Local resolution:

Flow control: Symmetric, Remote fault: Link OK Packet Forwarding Engine configuration: Destination slot: 0 CoS information:

Direction : Output

CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec

0 best-effort 95 950000000 95 0 low none

3 network-control 5 50000000 5 0 low none

Interface transmit statistics: Disabled

【说明】

本命令输出的信息很多,平时故障排查时,主要观察接口下是否有error报文,接口状态是否up,有没有载波丢失,双工、速率、MTU等信息是否正常。

2. 查看接口的概要信息

user@MX960> show interfaces terse

Interface Admin Link Proto Local Remote ge-0/0/0 up up

ge-0/0/0.0 up up bridge ge-0/0/1 up up

ge-0/0/1.0 up up bridge ge-0/0/2 up down

ge-0/0/2.0 up down multiservice ---(more 19%)---[abort]

【说明】

本命令可以检查接口的状态,以及该接口工作在二层(bridge)还是三层(inet/inet6)。

3. 实时监控接口报文转发状态

user@MX960> monitor interface ge-0/0/0

re0-SNNU-CA-CORE-2 Seconds: 18 Time: 18:22:29 Delay: 5/0/5 Interface: ge-0/0/0, Enabled, Link is Up Encapsulation: Ethernet, Speed: 1000mbps

Traffic statistics: Current delta Input bytes: 145213786382 (2605032 bps) [8202565] Output bytes: 57042305177 (167296 bps) [2271679] Input packets: 150728829 (288 pps) [7993] Output packets: 112576312 (209 pps) [6570] Error statistics:

Input errors: 0 [0] Input drops: 0 [0] Input framing errors: 0 [0] Policed discards: 0 [0] L3 incompletes: 0 [0] L2 channel errors: 0 [0] L2 mismatch timeouts: 0 [0] Carrier transitions: 5 [0] Output errors: 0 [0] Output drops: 0 [0] Aged packets: 0 [0] Active alarms : None Active defects: None

Input MAC/Filter statistics:

Unicast packets 186056424 [7750] Broadcast packets 820253 [27]

Multicast packets 774591 [41] Oversized frames 0 [0] Packet reject count 409324 [51] DA rejects 0 [0] SA rejects 0 [0] Output MAC/Filter Statistics:

Unicast packets 150677786 [6170] Broadcast packets 2457091 [82] Multicast packets 1557774 [50] Packet pad count 0 [0] Packet error count 0 [0] 【说明】

本命令可以实时查看接口的报文转发流量。

4. 清除动态生成的vlan接口

user@MX960>clear auto-configuration interfaces xe-0/2/1

【说明】

本命令可以手动清除动态生成的VLAN接口,慎用!

如接口下有分配的DHCP地址,则接口无法清除。可用如下方法清除 set interfaces ge-4/0/2 disable commit

run clear dhcp server binding interface ge-4/0/2.1073892537 run clear dhcpv6 server binding interface ge-4/0/2.1073892537 run clear auto-configuration interfaces ge-4/0/2 delete interfaces ge-4/0/2 disable commit

三、用户相关

1.

查看用户信息

user@MX960> show subscribers

Interface IP Address/VLAN ID User Name LS:RI xe-0/2/1.10737420200x8100.11590x8100.315default:default

pp0.1073749744 10.155.2.99 bigang default:default

pp0.1073749746 10.155.2.101 ttyqqq default:default demux0.10737424702001:da8:4001:3:5a2d:78ca:542f:71f8snnu default:default demux0.1073750284 10.143.0.154 Juniper default:default ---(more)--- 【说明】


MX960运维命令汇总手册V2(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:风冷型磁力偶合器使用说明

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: