3.2.1.9 show environment
该命令用于显示系统物理环境的信息,例如电压,温度等。系统在电压或温度超过阈值时会显示信息。命令的输出包括:
? chassis – 槽位数,中置背板标示和硬件修订号码 ? fabric – 交换单元的容量和硬件版本 ? fans – 风扇状态
? nvs – NVS的容量和已用空间 ? power – 馈电状态
? srp redundancy – 冗余SRP模块的可用性 ? slots: cards missing or offline – 每个槽位的状态
? online ? standby ? offline ? empty
? line redundancy – 已安装的冗余槽位组数量
? width – 冗余中置背板覆盖的槽位数量 ? spare – 放置冗余线路模块的槽位 ? primary – 放置主用线路模块的槽位 ? temperature – 系统温度状态 ? timing – 时钟信号源
? primary – 主时钟信号的类型和状态 ? secondary –次时钟信号的类型和状态 ? tertiary –第三时钟信号的类型和状态 ? auto-upgrade – auto-upgrade参数状态 ? system operational – 系统状态
? 示例:
ERX#show environment Please wait...
chassis: 14 slot (id 0x3, rev. 0x0) fabric: 10 Gbps (rev. 8) fans: fanSubsystemOk
nvs: ok (488MB flash disk, 74% full), matches running config power: A ok, B ok
srp redundancy: switch-on-error enabled, auto-sync enabled, in sync slots: ok
online: 0 3 5 6 9 12 standby: 7
empty: 1 2 4 8 10 11 13 line redundancy: none temperature: ok timing: primary
primary: internal SC oscillator (ok) secondary: internal SC oscillator (ok) tertiary: internal SC oscillator (ok) auto-upgrade enabled system operational: yes
3.2.1.10 show utilization
该命令用于显示有关模块消耗资源的信息。包括: ? slot – 模块所在的槽位 ? type – 模块的类型
? heap % – 在模块上运行的软件当前使用的RAM百分比 ? cpu % – 当前使用的CPU利用率百分比
? bw exceed – 该槽位带宽超订(bandwidth oversubscription)的状态(这个字段只有在带宽超订被
配置后才出现)
? Y 表示该槽位位于发生带宽超订的slot group中 ? --- 表示未安装模块或没有带宽超订 示例:
ERX#show utilization
System Resource Utilization --------------------------- heap cpu bw slot type (%) (%) exceed ---- -------- ---- --- ------ 0 GE 54 8 --- 1 --- --- --- --- 2 --- --- --- --- 3 OC3-4A 69 12 --- 4 --- --- --- --- 5 OC3-4A 69 12 --- 6 SRP-10Ge 21 0 --- 7 SRP-10Ge 5 1 --- 8 --- --- --- --- 9 OC3-4A 69 12 --- 10 --- --- --- --- 11 --- --- --- --- 12 GE 54 8 --- 13 --- --- --- ---
3.2.1.11 baseline interface
Description: Sets a statistics baseline for an interface or a specific ATM virtual circuit. The system implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
Syntax: baseline interfaceType interfaceSpecifier [ vcd ]
? interfaceType – interface type; see Interface Types and Specifiers in About This Guide
? interfaceSpecifier – a particular interface; format varies according to interface type; see
Interface Types and Specifiers in About This Guide
? vcd – virtual circuit descriptor; number in the range 1–4294967295; an identifier for the VC in
other commands (ATM interfaces only)
Mode(s): Privileged Exec 3.2.1.12 log iptraffic
这个日志分类用于记录IP包接收和发送的事件,其severity有: ? Warning: Data errors detected in frames ? Notice: Dropped frames—no error ? Debug: Normal data events
可以设置两个filter:
Filter 1: interface – see description of the ipGeneral interface filter for information on this filter Filter 2: router – see description of the ipGeneral router filter for information on this filter
3.2.1.13 log icmptraffic
这个日志分类用于记录ICMP包接收和发送的事件,其severity只有debug,即记录所有的ICMP包。
可以设置两个filter:
Filter 1: remote-ip-address ipAddress [ ipAddressMask ] ? remote-ip-address – log events for a remote address
? ipAddress – address of remote system for which you want to log messages ? ipAddressMask – optionally supply a mask for the remote address
Filter 2: router virtualRouterName [ remote-ip-address ipAddress [ ipAddressMask ] ] ? router – log events on a specific virtual router
? virtualRouterName – name of virtual router for which you want to log events ? remote-ip-address – log events for a remote address
? ipAddress – address of remote system for which you want to log messages ? ipAddressMask – optionally supply a mask for the remote address
3.2.1.14 show pppoe interface
? Use to display parameters on a PPPoE interface or a PPPoE subinterface.
? If you do not specify an interface and subinterface, the system displays the PPPoEinterface and
Status parameters for all configured interfaces.
? If you specify an interface with no subinterface, the system displays the PPPoE interface and
Status parameters for that interface.
? If you specify an interface and subinterface, the system displays detailed parameters available for
that subinterface.
? Field descriptions
? PPPoE interface – interface identifier in slot/port.subinterface format ? Status – operational status of the interface. Possible values are: ? operStatusUP – the interface or subinterface is operational ? Down – the interface or subinterface is not operational
? LowerLayerDown – the subinterface is not operational, because an underlying interface is down ? max sessions – number of maximum allowable PPP sessions configured ? active connections – number of live PPP connections
? configured subinterfaces – PPPoE subinterfaces you configured on an interface ? PADI-rx/PADI-tx – initiation control packets received/transmitted ? PADO-rx/PADO-tx – offer control packets received/transmitted ? PADR-rx/PADR-tx – response control packets received/transmitted
? PADS-rx/PADS-tx – session confirm control packets received/transmitted ? PADT-rx/PADT-tx – termination control packets received/transmitted
? PADM-rx/PADM-tx – message control packets received/transmitted on the interface ? BadPackets – number of defective packets received on the interface
? Insufficient resources – requests denied because of an inadequate number of sessions; check the
number of active clients
? Example
host1:v1#show pppoe interface atm 3/0.1 PPPoE interface 3/0.1 is operStatusUp
PPPoE interface 3/0.1 has max sessions = 256
PPPoE interface 3/0.1 has 1 active connections, out of 2 configured subinterfaces PPPoE Statistics PADI-rx 3 PADI-tx 0 PADO-rx 0 PADO-tx 3 PADR-rx 3 PADR-tx 0 PADS-rx 0 PADS-tx 3 PADT-rx 0 PADT-tx 0