Check Your Work
To verify that SCU is functioning properly, use the following commands:
show interfacesinterface-namestatisticsshow interfacesinterface-name(extensive | detail)show route (extensive | detail)show interfaces source-classsource-class-name interface-nameclear interfaceinterface-namestatisticsYou should always verify SCU statistics at the outbound SCU interface on which you configured the
outputstatement. You can follow three steps to check the functionality of SCU:
- Clear all counters on your SCU-enabled router and verify that they are empty.
- Send a ping from one edge router to another edge router to generate SCU traffic across the SCU-enabled router.
- Verify that the counters are incrementing correctly on the outbound interface.
The following section shows the output of these commands as used with the configuration example.
Step One:
Clear the Counters
user@scu>clear interfaces statistics alluser@scu>show interfaces so-0/0/1.0 statisticsLogical interface so-0/0/1.0 (Index 4) (SNMP ifIndex 119)Flags: Point-To-Point SNMP-Traps Encapsulation: PPPProtocol inet, MTU: 4470Source class Packets Bytesscu-class-a 0 0scu-class-b 0 0Addresses, Flags: Is-Preferred Is-PrimaryDestination: 10.255.50/24, Local: 10.255.50.1user@scu>show interfaces so-0/0/3.0 statisticsLogical interface so-0/0/3.0 (Index 6) (SNMP ifIndex 113)Flags: Point-To-Point SNMP-Traps Encapsulation: PPPProtocol inet, MTU: 4470Source class Packets Bytesscu-class-a 0 0scu-class-b 0 0Addresses, Flags: Is-Preferred Is-PrimaryDestination: 10.255.10/24, Local: 10.255.10.3user@scu>show interfaces source-class scu-class-a so-0/0/3.0Protocol inetSource class Packets Bytesscu-class-a0 0user@scu>show interfaces source-class scu-class-b so-0/0/1.0Protocol inetSource class Packets Bytesscu-class-b0 0Step Two:
Ping from the Edge Routers
user@routerB>ping 10.255.192.10 source 10.255.165.226 rapid 10000user@routerA>ping 10.255.165.226 source 10.255.192.10 rapid 10000Step Three:
Verify the Counters
user@scu>show interfaces source-class scu-class-a so-0/0/3.0Protocol inetSource class Packets Bytesscu-class-a 20000 1680000user@scu>show interfaces source-class scu-class-a so-0/0/1.0Protocol inetSource class Packets Bytesscu-class-b 20000 1680000user@scu>show interfaces so-0/0/3.0 statisticsLogical interface so-0/0/3.0 (Index 6) (SNMP ifIndex 113)Flags: Point-To-Point SNMP-Traps Encapsulation: PPPProtocol inet, MTU: 4470Source class Packets Bytesscu-class-a 20000 1680000scu-class-b 0 0Addresses, Flags: Is-Preferred Is-PrimaryDestination: 10.255.10/24, Local: 10.255.10.3user@scu>show interfaces so-0/0/1.0 statisticsLogical interface so-0/0/1.0 (Index 4) (SNMP ifIndex 119)Flags: Point-To-Point SNMP-Traps Encapsulation: PPPProtocol inet, MTU: 4470Source class Packets Bytesscu-class-a 0 0scu-class-b 20000 1680000Addresses, Flags: Is-Preferred Is-PrimaryDestination: 10.255.50/24, Local: 10.255.50.1user@scu>show route extensive 10.255.192.0inet.0: 26 destinations, 28 routes (25 active, 0 holddown, 1 hidden)10.255.192.0/18 (1 entry, 1 announced)TSI:KRT in-kernel 10.255.192.0/18 -> {so-0/0/1.0}Source class: scu-class-a*OSPF Preference: 150Next hop: via so-0/0/1.0, selectedState: <Active Int Ext>Age: 2:49:31 Metric: 0 Tag: 0Task: OSPFAnnouncement bits (1): 0-KRTAS path: Iuser@scu>show route extensive 10.255.165.0inet.0: 26 destinations, 28 routes (25 active, 0 holddown, 1 hidden)10.255.165.0/20 (1 entry, 1 announced)TSI:KRT in-kernel 10.255.165.0/20 -> {so-0/0/3.0}Source class: scu-class-b*OSPF Preference: 150Next hop: via so-0/0/3.0, selectedState: <Active Int Ext>Age: 2:49:31 Metric: 0 Tag: 0Task: OSPFAnnouncement bits (1): 0-KRTAS path: Iuser@scu>show interfaces so-0/0/1 detailPhysical interface: so-0/0/1, Enabled, Physical link is UpInterface index: 12, SNMP ifIndex: 17, Generation: 11Link-level type: PPP, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC3,Loopback: None, FCS: 16, Payload scrambler: EnabledDevice flags : Present RunningInterface flags: Point-To-Point SNMP-TrapsLink flags : KeepalivesHold-times : Up 0 ms, Down 0 msKeepalive settings: Interval 10 seconds, Up-count 1, Down-count 3Keepalive statistics:Input : 46 (last seen 00:00:01 ago)Output: 45 (last sent 00:00:00 ago)LCP state: OpenedNCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:Not-configuredCHAP state: Not-configuredLast flapped : 2002-04-19 11:49:22 PDT (03:10:09 ago)Statistics last cleared: 2002-04-19 14:52:04 PDT (00:07:27 ago)Traffic statistics:Input bytes : 1689276 40 bpsOutput bytes : 1689747 48 bpsInput packets: 20197 0 ppsOutput packets: 20200 0 ppsQueue counters: Queued packets Transmitted packets Dropped packets0 best-effort 20053 20053 01 expedited-fo 0 0 02 assured-forw 0 0 03 network-cont 146 146 0SONET alarms : NoneSONET defects : NoneLogical interface so-0/0/1.0 (Index 4) (SNMP ifIndex 119) (Generation 3)Flags: Point-To-Point SNMP-Traps Encapsulation: PPPProtocol inet, MTU: 4470Flags: SCU-in, SCU-outGeneration: 6 Route table: 0Source class Packets Bytesscu-class-a 0 0scu-class-b 20000 1680000Filters: Input: icmp-so-0/0/1.0-i, Output: icmp-so-0/0/1.0-oAddresses, Flags: Is-Preferred Is-PrimaryDestination: 10.255.50/24, Local: 10.255.50.1, Broadcast: Unspecified,Generation: 8user@scu>show interfaces so-0/0/1 extensivePhysical interface: so-0/0/1, Enabled, Physical link is UpInterface index: 12, SNMP ifIndex: 17, Generation: 11Link-level type: PPP, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC3,Loopback: None, FCS: 16, Payload scrambler: EnabledDevice flags : Present RunningInterface flags: Point-To-Point SNMP-TrapsLink flags : KeepalivesHold-times : Up 0 ms, Down 0 msKeepalive settings: Interval 10 seconds, Up-count 1, Down-count 3Keepalive statistics:Input : 51 (last seen 00:00:04 ago)Output: 50 (last sent 00:00:05 ago)LCP state: OpenedNCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:Not-configuredCHAP state: Not-configuredLast flapped : 2002-04-19 11:49:22 PDT (03:11:05 ago)Statistics last cleared: 2002-04-19 14:52:04 PDT (00:08:23 ago)Traffic statistics:Input bytes : 1689884 264 bpsOutput bytes : 1690388 280 bpsInput packets: 20215 0 ppsOutput packets: 20217 0 ppsInput errors:Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0,Bucket drops: 0, Policed discards: 0, L3 incompletes: 0,L2 channel errors: 0, L2 mismatch timeouts: 0, HS link CRC errors: 0,HS link FIFO overflows: 0Output errors:Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0,HS link FIFO underflows: 0Queue counters: Queued packets Transmitted packets Dropped packets0 best-effort 20053 20053 01 expedited-fo 0 0 02 assured-forw 0 0 03 network-cont 164 164 0SONET alarms : NoneSONET defects : NoneSONET PHY: Seconds Count StatePLL Lock 0 0 OKPHY Light 0 0 OKSONET section:BIP-B1 0 0SEF 0 0 OKLOS 0 0 OKLOF 0 0 OKES-S 0SES-S 0SEFS-S 0SONET line:BIP-B2 0 0REI-L 0 0RDI-L 0 0 OKAIS-L 0 0 OKBERR-SF 0 0 OKBERR-SD 0 0 OKES-L 0SES-L 0UAS-L 0ES-LFE 0SES-LFE 0UAS-LFE 0SONET path:BIP-B3 0 0REI-P 0 0LOP-P 0 0 OKAIS-P 0 0 OKRDI-P 0 0 OKUNEQ-P 0 0 OKPLM-P 0 0 OKES-P 0SES-P 0UAS-P 0ES-PFE 0SES-PFE 0UAS-PFE 0Received SONET overhead:F1 : 0x00, J0 : 0x00, K1 : 0x00, K2 : 0x00S1 : 0x00, C2 : 0xcf, C2(cmp) : 0xcf, F2 : 0x00Z3 : 0x00, Z4 : 0x00, S1(cmp) : 0x00, V5 : 0x00V5(cmp) : 0x00Transmitted SONET overhead:F1 : 0x00, J0 : 0x01, K1 : 0x00, K2 : 0x00S1 : 0x00, C2 : 0xcf, F2 : 0x00, Z3 : 0x00Z4 : 0x00, V5 : 0x00Received path trace: e so-0/0/165 20 73 6f 2d 30 2f 30 2f 31 00 00 00 00 00 00 e so-0/0/1......00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a ................Transmitted path trace: scu so-0/0/167 68 62 20 73 6f 2d 30 2f 30 2f 31 00 00 00 00 scu so-0/0/1....00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................HDLC configuration:Policing bucket: DisabledShaping bucket : DisabledGiant threshold: 4484, Runt threshold: 3Packet Forwarding Engine configuration:Destination slot: 0, PLP byte: 1 (0x00)CoS transmit queue Bandwidth Buffer Priority Limit% bps % bytes0 best-effort 0 0 0 0 low none1 expedited-forwarding 0 0 0 0 low none2 assured-forwarding 0 0 0 0 low none3 network-control 0 0 0 0 low noneLogical interface so-0/0/1.0 (Index 4) (SNMP ifIndex 119) (Generation 3)Flags: Point-To-Point SNMP-Traps Encapsulation: PPPProtocol inet, MTU: 4470Flags: SCU-in, SCU-outGeneration: 6 Route table: 0Source class Packets Bytesscu-class-a 0 0scu-class-b 20000 1680000Filters: Input: icmp-so-0/0/1.0-i, Output: icmp-so-0/0/1.0-oAddresses, Flags: Is-Preferred Is-PrimaryDestination: 10.255.50/24, Local: 10.255.50.1, Broadcast: Unspecified,Generation: 8