듀얼 스택 가입자 모니터링 및 관리
활성 가입자 세션 모니터링
목적
활성 가입자 세션의 요약을 봅니다.
행동
운영 모드에서 명령을 입력합니다 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
출력은 유형별 활성 세션 수를 보여줍니다. 위의 두 가입자 세션은 PPPoE 액세스 네트워크의 DHCPv6 가입자를 나타냅니다. DHCPv6가 PPPoE를 통해 계층화되면 한 가입자에 대해 두 개의 개별 가입자 세션이 생성됩니다.
올바른 라우팅 인스턴스에서 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
동일한 인터페이스에서 실행되는 두 개의 가입자 세션이 있음을 보여줍니다. 필드는 IP Address
하나의 세션에 IPv4 주소가 할당되고 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