Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

show ancp cos

Syntax

show ancp cos<identifier identifier><last-update><pending-update>

Release Information

Command introduced in Junos OS Release 9.4.

Description

Display information about the CoS state for subscriber traffic.

Options

identifier identifier

(Optional) Display information about the local loops for the specified access identifier.

last-update

(Optional) Display the most recently updated CoS information.

pending-update

(Optional) Display the pending update of CoS information.

Required Privilege Level

view

List of Sample Output

show ancp cos
show ancp cos last-update
show ancp cos pending-update

Output Fields

Table 1 lists the output fields for the show ancp cos command. Output fields are listed in the approximate order in which they appear.

Table 1: show ancp cos Output Fields

Field Name

Field Description

QoS Adjust Flag

State of QoS adjust: TRUE (configured) or FALSE (not configured).

The adjustment factor (percentage) is displayed for each line type: ADSL, ADSL2, ADSL2+, VDSL, VDSL2, SDSL.

Keepalive Timer

Interval between the keepalive messages that ANCP sends to CoS.

Cos State

State of the ANCP-CoS interaction:

  • ANCPD_COS_CONNECT_NEEDED
  • ANCPD_COS_CONNECT_PENDING
  • ANCPD_COS_CONNECT_DONE
  • ANCPD_COS_SESSION_SENT
  • ANCPD_COS_WRITE_READY

Connect Time

Time at which ANCP connected to CoS; useful for debugging.

Session Time

Time at which ANCP sent a session connect message to CoS; useful for debugging.

Routing Instance Time

Time at which ANCP sent the routing instance to CoS; useful for debugging.

Keepalive Time

Time at which the last keepalive message was sent.

Update Time

Time at which the shaping rate was last updated.

Type

Subscriber access type: ifl indicates that a single VLAN carries subscriber traffic and iflset indicates that a set of VLANs carries subscriber traffic.

Name

System-wide name of the particular subscriber access.

Index

Access identifier.

Pending Update

Actual downstream data rate to be applied next to this local loop, in Kbps.

Last Update

Actual downstream data rate last applied to this local loop, in Kbps.

Sample Output

show ancp cos

user@host> show ancp cos
Qos Adjust Flag:         TRUE
ADSL adjustment factor:  95
ADSL2 adjustment factor: 90
ADSL2+ adjustment factor:85
VDSL adjustment factor:  80
VDSL2 adjustment factor: 75
SDSL adjustment factor:  70
Keepalive Timer:         45 secs
Cos State:               WRITE_READY
Connect Time:            Not Set
Session Time:            Not Set
Routing Instance Time:   Not Set
Keepalive Time:          Not Set
Update Time:             Not Set


Type      Name             Index         Pending Update      Last Update
iflset    set-ge-10410       1             None                    64 Kbps
iflset    set-ge-10411       2             None                    64 Kbps
ifl       ge-1/0/4.2        71             None                    64 Kbps
ifl       ge-1/0/4.3        72             None                    64 Kbps

show ancp cos last-update

user@host> show ancp cos last-update
Qos Adjust Flag:         TRUE
ADSL adjustment factor:  95
ADSL2 adjustment factor: 90
ADSL2+ adjustment factor:85
VDSL adjustment factor:  80
VDSL2 adjustment factor: 75
SDSL adjustment factor:  70
Keepalive Timer:         45 secs
Cos State:               WRITE_READY
Connect Time:            Mon Nov 17 15:03:01 2008
Session Time:            Mon Nov 17 15:03:13 2008
Routing Instance Time:   Mon Nov 17 15:03:14 2008
Keepalive Time:          Wed Nov 19 15:32:14 2008
Update Time:        Mon Nov 17 15:03:15 2008


Type      Name             Index         Pending Update      Last Update
iflset    iflset0          1             None                    64 Kbps
iflset    iflset1          2             None                    64 Kbps

show ancp cos pending-update

user@host> show ancp cos pending-update
Qos Adjust Flag:         TRUE
ADSL adjustment factor:  95
ADSL2 adjustment factor: 90
ADSL2+ adjustment factor:85
VDSL adjustment factor:  80
VDSL2 adjustment factor: 75
SDSL adjustment factor:  70
Keepalive Timer:         45 secs
Cos State:               WRITE_READY
Connect Time:            Not Set
Session Time:            Not Set
Routing Instance Time:   Not Set
Keepalive Time:          Not Set
Update Time:             Not Set
Keepalive Timer:         45 secs
Connect Time:            Mon Nov 17 15:03:01 2008
Session Time:            Mon Nov 17 15:03:13 2008
Routing Instance Time:   Mon Nov 17 15:03:14 2008
Keepalive Time:          Wed Nov 19 15:32:29 2008
Rate Update Time:        Mon Nov 17 15:03:15 2008

Published: 2013-07-31

Supported Platforms

Published: 2013-07-31