運用コマンドレファレンス Vol.2
[機能]
DHCP/BOOTPリレーエージェントプログラムの各種統計情報を表示します。
[入力形式]
show dhcp traffic { rm | rp | rp <RP No.> }
[パラメータ]
- rm
- RMの統計情報を表示します。
- rp
- RPの統計情報を表示します。<RP No.>を省略した場合は全RPの統計情報を表示します。
- <RP No.>
- RPの番号を指定します。
[使用者レベル]
一般ユーザ
[実行例]
指定RPの統計情報を表示します。
図1-47 DHCP/BOOTP統計情報表示
>show dhcp traffic rp 0 <<RP 0>> <Number of Receive Packets> <Number of Send Packets> request packets :5234 request packets :1764 reply packets :8234 reply packets :1233 request packet from RM :5234 request packet to RM :1764 <Number of Discard Packets> udp port number error :3 ip header error :3 giaddr error packets :4 yiaddr error packets :4 hops over packets :4 not dhcp/bootp packets :6 >
[実行例]
全RPの統計情報を表示します。
図1-48 DHCP/BOOTP統計情報表示
>show dhcp traffic rp <<RP 0>> <Number of Receive Packets> <Number of Send Packets> request packets :5234 request packets :1764 reply packets :8234 reply packets :1233 request packet from RM :5234 request packet to RM :1764 <Number of Discard Packets> udp port number error :3 ip header error :3 giaddr error packets :4 yiaddr error packets :4 hops over packets :4 not dhcp/bootp packets :6 <<RP 1>> <Number of Receive Packets> <Number of Send Packets> request packets :1234 request packets :876 reply packets :784 reply packets :123 request packet from RM :1234 request packet to RM :876 <Number of Discard Packets> udp port number error :18 ip header error :1 giaddr error packets :2 yiaddr error packets :4 hops over packets :6 not dhcp/bootp packets :8 >
[表示説明]
表示大項目 表示小項目 意味 表示詳細情報 RP No. − RP番号 − Receive
Packetsrequest packets 受信した正常bootp requestパケット数 − reply packets 受信した正常bootp replyパケット数 − request packet from RM RMから受信したbootp requestパケット数 − Send
Packetsrequest packets ポートへ送信したbootp requestパケット数 − reply packets ポートへ送信したbootp replyパケット数 − request packet to RM RMへ送信したbootp requestパケット数 − Discard
Packetsudp port number error
上記パケットの統計数
- UDPポート番号が67または68でないパケット数
- 送信元IPアドレスが0.0.0.0時UDPポート番号68のため,廃棄されたパケット数
− ip header error
上記パケットの統計数
- TTLが1より小さいパケット数
- IPアドレスが不正であるパケット数
- ルートがわからないパケット数
− giaddr error packets DHCPヘッダ内giaddr情報不正によって廃棄されたパケット数 − yiaddr error packets DHCPヘッダ内yiaddr情報不正によって廃棄されたパケット数 − hops over packets hops値が設定されたhops値よりも大きいため,廃棄されたパケット数 − not dhcp/bootp packets
上記パケット統計数
- DHCP/BOOTPパケット受信インタフェースにDHCP/BOOTPの構成定義が設定されていないのでDHCP/BOOTPパケットとして処理しなかったパケット数。
- 非DHCP/BOOTPパケット受信数
−
[実行例]
RMの統計情報を表示します。
図1-49 DHCP/BOOTP統計情報表示
>show dhcp traffic rm <Nmber of Receive Packets> <Number of Send Packets> RP No. Receive Packets Relay Address Send Packets Error Packets 0 : 1600 172.16.11.2 : 190 190 1 : 60 172.8.14.4 : 1598 0 2 : 104 200.10.10.10: 3756 0 172.17.19.10: 20 0 Total 1764 5564 190 >
[表示説明]
表示項目 意味 表示詳細情報 RP No. RP番号 − Relay Address DHCP構成定義で設定されたrelay-address情報 − Receive packets RPからRMへ送信されたbootp requestパケット数 − Send packets RMから表示リレーアドレス宛に送信されたbootp requestパケット数 − Error Packets RMから表示リレーアドレス宛に送信したが送信エラーとなったbootp requestパケット数 −
[ユーザ通信への影響]
なし
[応答メッセージ]
メッセージ 内容
- <show traffic>:
- Can't execute.
- RP<RP No.> don't get traffic data.
RPが障害中などの理由でサブコマンドが正常に実行されませんでした。<RP No.>RP番号 <show traffic>:No enough memory. コマンドを実行するための十分なメモリがありません。 <show traffic>:No such RP No.--<RP No.> 入力されたRP番号に誤りがあります。<RP No.>RP番号 Can't execute this command in standby rm. 待機系RMではこのコマンドは実行できません。 For the feature to be stopping, it isn't possible to use this command. DHCP/BOOTPリレーエージェント機能が停止しているため,このコマンドは使用することができません。 No such dhcp sub_command. DHCPサーバ機能が有効になっており,DHCP/BOOTPリレーエージェント機能が停止しているため,このコマンドは使用することができません。
[注意事項]
なし
Copyright (c)2005 ALAXALA Networks Corporation. All rights reserved.