Monitoring Subscriber Information
Purpose
Display the active subscribers on the router. If you specify a username, the router displays only the users that match. When you issue the command in the default VR, all users are displayed. When you issue the command in a nondefault VR, only those users attached to that VR are displayed. The following list describes keywords that you can use with the show subscribers command:
- You can use the domain, interface, port, slot, username, or virtual-router keywords on all routers to filter the results. If you do not use a keyword, all active users are displayed.
- When you use the interface keyword to display detailed subscriber information by interface, you must also specify either the atm or ethernet keyword, an interface specifier, and optionally a subinterface specifier.
- The output displayed in the interface field depends on the configuration of two commands at the time the subscriber logs in: aaa intf-desc-format include sub-intf and aaa intf-desc-format include adapter (for the E120 and E320 routers).
- When the aaa intf-desc-format include sub-intf disable command has been issued, the subinterface is stripped from the subscriber's interface field at login and is not displayed in the output. In the default state, or when the aaa intf-desc-format include sub-intf enable command has been issued, the subinterface is included in the subscriber's interface field at login, and is displayed in the output.
- When the aaa intf-desc-format include adapter disable command has been issued, the adapter is stripped from the subscriber's interface field at login and is not displayed in the output. In the default state, or when the aaa intf-desc-format include adapter enable command has been issued, the adapter is included in the subscriber's interface field at login and is displayed in the output.
- Even when the subinterface has been stripped from the subscriber's interface field, you can still include the subinterface specifier in the show subscribers interface command. Even though the subinterface itself is not displayed, only subscribers on the specified subinterface are displayed.
- These considerations do not apply when you issue the summary keyword. The output displayed in the Interface field of summary versions is not affected by the state of either the aaa intf-desc-format include sub-intf command or the aaa intf-desc-format include adapter command when the subscriber logs in.
- You can use the ipv6 keyword to display all IPv6 subscribers or include the IPv6 prefix to limit the display to only IPv6 subscribers on a specific network.
- You can use the summary keyword to display only summary information about active subscribers.
Action
To display general subscriber information:
host1#show subscribersSubscriber List----------------VirtualUser Name Type Addr|Endpt Router----------------------- ----- -------------------- ------------fred tst 10.10.65.86/radius defaultbert tst 192.168.10.3/user defaultUser Name Interface----------------------- --------------------------------fred atm 2/1.42:100.104bert FastEthernet 5/2.4User Name Login Time Circuit Id----------------------- ------------------- ----------------fred 06/05/12 10:58:42 atm 5/1.3bert 06/05/12 10:59:08User Name Remote Id----------------------- ----------------fredbert (800) 555-1212To display detailed information for subscribers on the specified interface:
host1#show subscribers interface ethernet 5/2Subscriber List---------------VirtualUser Name Type Addr|Endpt Router------------------------ ----- -------------------- ------------bert tst 192.168.10.3/user defaultUser Name Interface------------------------ --------------------------------bert FastEthernet 5/2.4User Name Login Time Circuit Id------------------------ ------------------- ----------------bert 06/05/12 10:59:08User Name Remote Id----------------------- ----------------bert (800) 555-0000To display detailed information for subscribers on the specified slot:
host1#show subscribers slot 5Subscriber List---------------VirtualUser Name Type Addr|Endpt Router------------------------ ----- -------------------- ------------fred tst 10.10.65.86/radius defaultUser Name Interface------------------------ --------------------------------fred atm 5/1.42:100.104User Name Login Time Circuit Id------------------------ ------------------- ----------------fred 06/05/12 10:58:42 atm 5/1.3User Name Remote Id----------------------- ----------------fredTo display the number of subscribers on each virtual router, as well as the total and peak subscribers for the chassis:
host1#show subscribers summaryVirtualRouter Subscribers Ppp Ip Tnl Total------------ ------------ ------ ------ ------ ------default 1 1 0 0 1Total Subscribers : 10 (chassis-wide total)Peak Subscribers : 15 (chassis-wide total)To display the number of subscribers on each port:
host1#show subscribers summary portInterface Count------------ ------3/1 52/1 5Total Subscribers : 10 (chassis-wide total)Peak Subscribers : 15 (chassis-wide total)To display the number of subscribers by domain name:
host1#show subscribers summary domainDomain Name Count-------------------------------- ------abc.com 5iii.com 5Total Subscribers : 10 (chassis-wide total)Peak Subscribers : 15 (chassis-wide total)To display the number of subscribers by interface:
host1#show subscribers summary interfaceInterface Count-------------------- ------ATM 3/2.1 1ETHERNET 5/2.1 2Total Subscribers : 3 (chassis-wide total)Peak Subscribers : 6 (chassis-wide total)To display the number of subscribers by slot:
host1#show subscribers summary slotSlot Count-------- -----3 15 4Total Subscribers : 5 (chassis-wide total)Peak Subscribers : 8 (chassis-wide total)Meaning
Table 32 lists the show subscribers command output fields.