デュアルスタック加入者の監視と管理
アクティブな加入者セッションの監視
目的
アクティブな加入者セッションの概要を表示します。
アクション
動作モードから、 show subscribers summary
コマンドを入力します。
user@host>show subscribers summary Subscribers by State Active: 2 Total: 2 Subscribers by Client Type DHCP: 1 PPPoE: 1 Total: 2
意味
Subscribers by State
の出力は、アクティブな加入者セッションの数を示しています。
Subscribers by Client Type
の下の出力は、タイプ別のアクティブなセッションの数を示しています。上記の 2 つの加入者セッションは、PPPoE アクセス ネットワーク上の DHCPv6 加入者を表しています。DHCPv6 が PPPoE 上に階層化されている場合、加入者に対して 2 つの個別の加入者セッションが作成されます。
正しいルーティングインスタンスでのIPv4とIPv6アドレスの両方を監視する
目的
加入者がIPv4とIPv6の両方のアドレスを持ち、正しいルーティングインスタンスに配置されていることを確認します。
アクション
動作モードから、 show subscribers
コマンドを入力します。
user@host>show subscribers Interface IP Address/VLAN ID User Name LS:RI pp0.1073741825 203.0.113.162 ipv4-v6-subscriber default:default pp0.1073741825 2001:DB8::1 default:default
意味
Interface
フィールドは、同じインターフェイス上で 2 つの加入者セッションが実行されていることを示しています。IP Address
フィールドは、1 つのセッションに IPv4 アドレスが割り当てられ、1 つのセッションが IPv6 アドレスに割り当てられていることを示しています。
LS:RI
フィールドは、加入者が正しいルーティング インスタンスに配置され、トラフィックを送受信できることを示しています。
動的加入者セッションの監視
目的
動的PPPoEおよびDHCPv6加入者セッションを表示します。
アクション
動作モードから、 show subscribers detail
コマンドを入力します。
user@host>show subscribers detail Type: PPPoE User Name: SBRSTATICUSER IP Address: 203.0.113.162 IP Netmask: 255.0.0.0 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Dynamic Dynamic Profile Name: pppoe-subscriber-profile MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 2 Session ID: 2 Login Time: 2011-12-08 09:11:41 PST Type: DHCP IPv6 Address: 2001:DB8::1 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Static MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 3 Session ID: 3 Underlying Session ID: 2 Login Time: 2011-12-08 09:12:11 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 01 02 00 00 01 00 06 00 02 00 03 00 03 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
意味
PPPoE アクセス ネットワーク上で DHCPv6 を使用している場合、出力は DHCPv6 加入者セッションとその基礎となる PPPoE 加入者セッションの関係を示します。PPPoE セッションの出力では、 Session ID
は 2 です。DHCP セッションの出力は、 Underlying Session ID
が 2 であることを示しています。
加入者に使用されるアドレスプールの監視
目的
NDRA に使用されるプール、DHCPv6 プレフィックス委任に使用される委任されたアドレス プール、および CPE に委任された IPv6 プレフィックスの長さを確認します。
アクション
動作モードから、 show subscribers extensive
コマンドを入力します。
user@host>show subscribers extensive Type: PPPoE User Name: dual-stack-v4v6-pd IP Address: 203.0.113.5 IP Netmask: 255.255.0.0 IPv6 User Prefix: 2001:db8:2010:0:0:8::/64 Logical System: default Routing Instance: default Interface: pp0.1073741864 Interface type: Dynamic Dynamic Profile Name: DS-dyn-ipv4v6-ra MAC Address: 00:00:5E:00:53:02 State: Active Radius Accounting ID: 87 Session ID: 87 Login Time: 2012-01-17 14:45:30 PST IPv6 Delegated Address Pool: dhcpv6-pd-pool IPv6 Delegated Address Pool: ndra-2010 IPv6 Delegated Network Prefix Length: 48 IPv6 Interface Address: 2001:db8:2010:0:0:8::1/64 Type: DHCP IPv6 Prefix: 2001:db8:2040:2000:2000:5::/64 Logical System: default Routing Instance: default Interface: pp0.1073741864 Interface type: Static MAC Address: 00:00:5E:00:53:02 State: Active Radius Accounting ID: 88 Session ID: 88 Underlying Session ID: 87 Login Time: 2012-01-17 14:46:00 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 07 64 11 07 02 00 06 00 02 00 19 00 19 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 IPv6 Delegated Address Pool: dhcpv6-pd-pool IPv6 Delegated Network Prefix Length: 64 IPv6 Delegated Network Prefix Length: 48
意味
PPPoE セッションでは、 IPv6 Delegated Address Pool
フィールドには、DHCPv6 プレフィックス委任と NDRA プレフィックスに使用されるプールの名前が表示されます。 IPv6 Delegated Network Prefix Length
フィールドは、この加入者セッションにIPv6アドレスを割り当てるために使用されるプレフィックスの長さを示しています。 IPv6 Interface Address
フィールドには、NDRAプールからCPEインターフェイスに割り当てられたIPv6アドレスが表示されます。
DHCP セッションでは、 IPv6 Delegated Address Pool
フィールドに DHCPv6 プレフィックス委任に使用されるプールの名前が表示されます。 IPv6 Delegated Network Prefix Length
フィールドは、DHCPv6 プレフィックス委任で使用されるプレフィックスの長さを示しています。
特定の加入者セッションの監視
目的
特定の加入者セッションに関する情報を表示します。実行中の加入者セッションが多数ある場合は、このコマンドを使用して特定のセッションを表示できます。
アクション
動作モードから、 show subscribers extensive id
コマンドを入力します。
user@host>show subscribers extensive id 2 Type: PPPoE User Name: SBRSTATICUSER IP Address: 203.0.113.162 IP Netmask: 255.0.0.0 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Dynamic Dynamic Profile Name: pppoe-subscriber-profile MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 2 Session ID: 2 Login Time: 2011-12-08 09:11:41 PST user@host> show subscribers extensive id 3 Type: DHCP IPv6 Address: 2001:DB8::1 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Static MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 3 Session ID: 3 Underlying Session ID: 2 Login Time: 2011-12-08 09:12:11 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 01 02 00 00 01 00 06 00 02 00 03 00 03 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
意味
出力には、特定の加入者セッションに関する詳細が表示されます。
PPPoE 論理インターフェースのステータスの監視
目的
PPPoE論理インターフェイスに関するステータス情報を表示します。
アクション
user@host> show interfaces pp0.1073741888 Logical interface pp0.1073741888 (Index 123) (SNMP ifIndex 707) Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 16, Session AC name: centaurus, Remote MAC address: 00:00:5E:00:53:02, Underlying interface: ge-1/0/0.1104 (Index 95) Input packets : 8 Output packets: 51816 LCP state: Opened NCP state: inet: Opened, inet6: Opened, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Protocol inet, MTU: 1500 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Primary Local: 192.0.2.77 Protocol inet6, MTU: 1500 Addresses, Flags: Is-Preferred Is-Primary Destination: 2001:DB8:0:21::/64, Local: 2001:DB8:0:21::1 Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::2a0:a50f:fc61:6d0
意味
ppp0 インターフェイスに関するセッション情報を表示します。
サブスクライバーのサービスセッションの監視
目的
デュアルスタック加入者セッションに関する詳細を表示します。
アクション
user@host> show subscribers interface pp0.1073741888 extensive Type: PPPoE User Name: dual-stack-v4v6-2svc-good IP Address: 203.0.113.140 Logical System: default Routing Instance: default Interface: pp0.1073741888 Interface type: Dynamic Dynamic Profile Name: DS-dyn-ipv4v6-ra MAC Address: 00:00:5E:00:53:02 State: Active Radius Accounting ID: 155 Session ID: 155 Login Time: 2011-01-30 20:36:53 PST Service Sessions: 2 Service Session ID: 174 Service Session Name: l3-v4-service State: Active IPv4 Input Filter Name: upstrm-filter-ge-1/0/0.1104-in IPv4 Output Filter Name: dwnstrm-filter-ge-1/0/0.1104-out Service Session ID: 175 Service Session Name: l3-v6-service State: Active IPv6 Input Filter Name: v6-up-filter-ge-1/0/0.1104-in IPv6 Output Filter Name: v6-dn-filter-ge-1/0/0.1104-out
意味
強調表示された出力には、加入者のサービスセッションに関する詳細が含まれます。
リモートピアとネゴシエートされたPPPオプションの監視
目的
CPE とネゴシエートされた PPP オプションを表示します。また、リモートピアとネゴシエートされたIPv4アドレスを表示することもできます。このアドレスは、AAA から返されたアドレスと一致します。このアドレスは、 show subscribers
コマンドを使用して確認することもできます。
これは、ネゴシエートされたインターフェイスIDの詳細を提供する唯一のコマンドであることに注意してください。
アクション
user@host> show ppp interface pp0.1073741888 extensive Session pp0.1073741888, Type: PPP, Phase: Network LCP State: Opened Last started: 2011-01-30 20:36:53 PST Last completed: 2011-01-30 20:36:53 PST Negotiated options: Authentication protocol: pap, Magic number: 1174596353, MRU: 1492 Authentication: PAP State: Grant Last started: 2011-01-30 20:36:53 PST Last completed: 2011-01-30 20:36:53 PST IPCP State: Opened Last started: 2011-01-30 20:36:54 PST Last completed: 2011-01-30 20:36:54 PST Negotiated options: Local address: 192.0.2.77, Remote address: 192.0.2.140 IPV6CP State: Opened Last started: 2011-01-30 20:36:54 PST Last completed: 2011-01-30 20:36:54 PST Negotiated options: Local interface identifier: 2a0:a50f:fc61:6d0, Remote interface identifier: 200:64ff:fe01:602