Monitoring ANCP
You can display ANCP information with the following commands.
show adjustment-factor
- Use to display the configured values for the adjustment factor applied to the upstream data rate and downstream data rate reported by ANCP for each DSL type. The adjustment factor is used to generate an accurate QoS shaping rate.
- Field descriptions
- L2C QoS Adjustment RatesList of all DSL types and the corresponding adjustment factor for each
- ADSL1Adjustment factor for the ADSL1 DSL type
- ADSL2Adjustment factor for the ADSL2 DSL type
- ADSL2+Adjustment factor for the ADSL2+ DSL type
- VDSLAdjustment factor for the VDSL DSL type
- VDSL2Adjustment factor for the VDSL2 DSL type
- SDSAdjustment factor for the SDS DSL type
host1(config-l2c)#show adjustment-factorL2C QoS Adjustment Rates:ADSL1: 45ADSL2: 55ADSL2+: 100VDSL: 100VDSL2: 55SDS: 100Example 2Displays the adjustment factor for a specific DSL type verification criteria host1(config-l2c)#show adjustment-factor vdsl2VDSL2:11show l2c
- Current timeoutConfigured session timeout (in seconds)
- Qos adaptive modeWhether QoS adaptive mode is enabled (true) or disabled (false)
host1#show l2cL2C:Current session timeout: 25 secondsQos adaptive mode: falseshow l2c discovery-table
- Use to display ANCP discovery table entries.
- Use the optional delta keyword to display baseline statistics.
- Field descriptions
- NeighborNeighbor name
- Access-Loop-IdAccess loop identifier
- Down/Upstream (kbps)Downstream and upstream rates, in Kbps
- StateState of the access loop, UP or DOWN
- Actual-Data-Rate-UpstreamActual upstream data rate, in Kbps
- Actual-Data-Rate-DownstreamActual downstream data rate, in Kbps
- Attainable-Data-Rate-UpstreamAttainable upstream data rate for this line, in Kbps
- Attainable-Data-Rate-DownstreamAttainable downstream data rate for this line, in Kbps
- Line-StateState of the access loop (SHOWTIME or IDLE)
- Dsl-TypeType of DSL
- Total Line AttributesTotal number of line attributes reported
host1#show l2c discovery-table briefNeighbor Access-Loop-Id Down/UpStream(kbps) State--------------- ------------------------------ ------------------- -----ACCESSNODE_10 Accessnode_10 atm 2/2:0.0 8064/1184 UPACCESSNODE_10 Accessnode_10 atm 2/32:0.0 8064/1184 UPACCESSNODE_10 Accessnode_10 atm 2/33:0.0 8064/1184 DOWNACCESSNODE_10 Accessnode_10 atm 2/34:0.0 8064/1184 DOWNhost1#show l2c discovery-table end-user-id "Accessnode_10 atm 2/3:0.0"Access-Loop-Id: Dslam_10 atm 2/3:0.0 UPNeighbor: ACCESSNODE_10Actual-Data-Rate-Upstream: 1152(kbps)Actual-Data-Rate-Downstream: 8064(kbps)Attainable-Data-Rate-Upstream: 1176(kbps)Attainable-Data-Rate-Downstream: 9376(kbps)Line-State: 1(SHOWTIME)Dsl-Type: 0(Invalid transmission type)Total Line Attributes: 6host1#show l2c discovery-table neighbor "Accessnode_10"Access-Loop-Id: Dslam_10 atm 10/5:0.0 DOWNNeighbor: DSLAM_10Line-State: 2(IDLE)Dsl-Type: 0(Invalid transmission type)Total Line Attributes: 2Access-Loop-Id: Dslam_10 atm 10/6:0.0 DOWNNeighbor: DSLAM_10Line-State: 2(IDLE)Dsl-Type: 0(Invalid transmission type)Total Line Attributes: 2Access-Loop-Id: Dslam_10 atm 10/7:0.0 DOWNNeighbor: DSLAM_10Line-State: 2(IDLE)Dsl-Type: 0(Invalid transmission type)Total Line Attributes: 2Access-Loop-Id: Dslam_10 atm 2/0:0.0 UPNeighbor: DSLAM_10Actual-Data-Rate-Upstream: 1184(kbps)Actual-Data-Rate-Downstream: 8064(kbps)Attainable-Data-Rate-Upstream: 1184(kbps)Attainable-Data-Rate-Downstream: 9408(kbps)Line-State: 1(SHOWTIME)Dsl-Type: 0(Invalid transmission type)Total Line Attributes: 6show l2c label
- Use to display information about known ANCP labels on the router.
- Use the neighbor-input keyword to display labels for input ports.
- Use the neighbor-output keyword to display labels for output ports.
- Use the brief keyword to show limited information.
- Field descriptions
- InterfaceInterface on which ANCP is configured
- End-User-IdOutput label associated with the interface
- NeighborNeighbor associated with the interface
- Max-BranchesMaximum number of branches to which the ANCP interface can subscribe
- Peer-Attach-IdInput label associated with the interface
host1#show l2c labelInterface: ATM2/0.300End-User-Id: Accessnode_10 atm2/2:0.0Neighbor: accessnode _1002Max-Branches: 5Interface: ATM2/0.301End-User-Id: Accessnode_10 atm2/3:0.0Neighbor: accessnode_1002Max-Branches: 5Interface: ATM2/0.302End-User-Id: Accessnode_10 atm2/4:0.0Neighbor: accessnode _1002Max-Branches: 5Interface: ATM2/0.303End-User-Id: Accessnode_10 atm2/5:0.0Neighbor: accessnode _1004Max-Branches: 5Interface: ATM2/0.304End-User-Id: Accessnode_10 atm2/6:0.0Neighbor: accessnode _1004Max-Branches: 5host1#show l2c label briefInterface End-User-Id Neighbor------------------------- ------------------------- ----------------ATM4/0.300 Accessnode_10 atm2/2:0.0 accessnode_1002ATM4/0.301 Accessnode_10 atm2/3:0.0 accessnode_1002ATM4/0.302 Accessnode_10 atm2/4:0.0 accessnode_1002ATM4/0.303 Accessnode_10 atm2/5:0.0 accessnode_1004ATM4/0.304 Accessnode_10 atm2/6:0.0 accessnode_1004Interface Peer-Attach-Id------------------------- -------------------------ATM4/0.11 Accessnode_10 atm3/2:0.10ATM4/0.12 Accessnode_10 atm3/3:0.10ATM4/0.13 Accessnode_10 atm3/4:0.10ATM4/0.14 Accessnode_10 atm3/5:0.10host1#show l2c label neighbor-input briefInterface Peer-Attach-Id------------------------- -------------------------ATM4/0.11 Accessnode_10 atm3/2:0.10ATM4/0.12 Accessnode_10 atm3/3:0.10ATM4/0.13 Accessnode_10 atm3/4:0.10ATM4/0.14 Accessnode_10 atm3/5:0.10show l2c neighbor
- Use to display information about all known ANCP neighbors or specified ANCP neighbors on the router along with their configurations.
- Use the brief keyword to display limited information.
- Use the summary keyword to display the number of active neighbors.
- Field descriptions
- Neighbor NameName associated with the neighbor
- Neighbor IdID associated with the neighbor
- Maximum BranchesMaximum number of branches this neighbor can have
- Topology DiscoveryWhether topology discovery is enabled (true) or disabled (false)
- Maximum Discovery EntriesMaximum number of discovery table entries allowed
- Ip addressIP address of the neighbor
- TCP portTCP port associated with this neighbor
- Connection TimeDate and time at which this neighbor was connected
- Add Branches SentNumber of add branch messages sent to this neighbor
- Delete Branches SentNumber of delete branch messages sent to this neighbor
- Line-configurationsNumber of line configurations sent to this neighbor
- OAM Loopback Requests SentNumber of OAM loopback requests sent to this neighbor
- OAM Loopback Responses ReceivedNumber of OAM loopback responses received from this neighbor
- Protocol StateProtocol state of this neighbor
- Number of configured neighborsNumber of configured ANCP neighbors
- Number of Neighbors in GSMP_ESTAB stateNumber of ANCP neighbors that are in an established GSMP state
- Number of neighbors in GSMP_EMPTY stateNumber of ANCP neighbors that are in an unestablished GSMP state
host1#show l2c neighbor name accessnode_1002Neighbor Name: accessnode_1002Neighbor Id: 0abc.0abc.1002Maximum Branches: 10Topology Discovery: trueMaximum Discovery Entries: 10000Ip address: 1.1.1.2TCP port: 1025Connection Time: 03/02/2006 11:06:16Add Branches Sent: 0Delete Branches Sent: 0Line-configurations: 0OAM Loopback Requests Sent: 0OAM Loopback Responses Received: 0Protocol State: GSMP_ESTABExample 2 host1#show l2c neighbor briefName Mac Address Remote Address Protocol State-------------------- ---------------- ---------------- ----------------accessnode1 0abc.0abc.0abc null EMPTYExample 3 host1(config)#show l2c neighbor summaryL2C:Number of configured Neighbors: 1Number of Neighbors in GSMP_ESTAB state: 1Number of neighbors in GSMP_EMPTY state: 0show l2c statistics
- Current session timeoutConfigured session timeout (in seconds)
- DiscoveryState of topology discovery (Enabled or Disabled)
- Number of configured routersNumber of ANCP configured routers
- Number of neighborsNumber of ANCP neighbors
- Number of active neighborsNumber of active ANCP neighbors
- Number of end-user-idsNumber of ANCP end user IDs (output labels)
- Number of peer-attachment-idsNumber of ANCP peer attachment IDs (input labels)
- Number of add-branchesNumber of ANCP branches added
- Number of delete-branchesNumber of ANCP branches deleted
host1#show l2c statisticsL2C:Current session timeout: 25 secondsDiscovery: EnabledNumber of configured routers: 1Number of neigbhors: 5Number of active neighbors: 1Number of end-user-ids: 25Number of peer-attachment-ids: 39Number of add-branches: 0Number of delete-branches: 0