550 CHAPTER 51: T RAFFIC ACCOUNTING CONFIGURATIONTraffic AccountingConfigurationExampleNetwork requirements■ A user running 802.1x authentication client accesses the Internet through aswitch. The user can access external networks after passing the authentication.The accounting mode is traffic accounting. When the user accesses thenetworks 11.127.1.0/24 and 12.127.1.0/24, the accounting server CAMScharges the user according to the user’s online traffic. When the user accessesother networks, however, the user is not charged.Network diagramFigure 140 Network diagram for traffic accountingConfiguration procedure# Configure a traffic accounting group named somegroup. system-view[SW7750] traffic-accounting traffic-group somegroup# Configure the following two destination network IP addresses for the trafficaccounting group.[SW7750-traffic-group-somegroup] network 11.127.1.0 24[SW7750-traffic-group-somegroup] network 12.127.1.0 24[SW7750-traffic-group-somegroup] quit# Enter the user’s domain view (suppose the user belongs to domain aaa), set theaccounting mode to traffic accounting and configure the domain to use the trafficgroup.[SW7750] domain aaa[SW7750-isp-aaa] accounting-mode trafficTable 432 Display traffic accountingOperation Command DescriptionDisplay traffic groupinformationdisplay traffic-accountingtraffic-group [ group-name ]You can execute the displaycommand in any view.Display traffic accountingconfigurationdisplay traffic-accountingaccounting-slot [ slot-num ]Display traffic accountingstatistics of one or all onlineusersdisplay traffic-accountingstatistics [ ip-address ]InternetSwitchUserCAMS