Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Configuring ANCP
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • Access Node Control Protocol Overview
  • Configuring ANCP Interfaces
  • Configuring ANCP Neighbors
  • gsmp-syn-timeout
  • l2c
  • l2c ip listen
  • session-timeout
  • wait-for-gsmp-syn
 

Configuring ANCP

ANCP uses several global-level configuration commands to enable ANCP to function on the router. Tasks to configure ANCP are:

  • Creating a Listening TCP Socket for ANCP
  • Accessing L2C Configuration Mode for ANCP
  • Defining the ANCP Session Timeout
  • Learning the Access Node Partition ID

Creating a Listening TCP Socket for ANCP

You can create a listening TCP socket for ANCP. ANCP monitors port 6068 for ANCP TCP connection requests.

To create a listening TCP socket in the current virtual router context:

  • Issue the l2c ip listen command in Global Configuration mode.
    host1(config)#l2c ip listen

You can use the no version to remove the listening TCP socket and stop any new sessions from being established. The no version does not terminate any existing GSMP sessions.

Accessing L2C Configuration Mode for ANCP

You can launch the L2C Configuration (config-l2c) mode for ANCP. In this mode, you can define session timeout values and access the L2C Neighbor Configuration mode to configure an ANCP neighbor.

To launch the L2C Configuration (config-l2c) mode for ANCP:

  • Issue the l2c command in Global Configuration mode.
    host1(config)#l2c host1(config-l2c)#

You can use the no version to remove all ANCP configurations.

Defining the ANCP Session Timeout

You can specify the ANCP session timeout value in L2C Configuration (config-l2c) mode. The timer range is 1–25 seconds with a default value of 25 seconds.

To define the ANCP session timeout value (in seconds):

  • Issue the session-timeout command in L2C Configuration (config-l2c) mode.
    host1(config-l2c)#session-timeout 10

You can use the no version to revert the session timeout to its default setting, 25 seconds.

Learning the Access Node Partition ID

You can enable the learning option in L2C Configuration (config-l2c) mode. This learning option in the virtual router enables network access server to learn the partition ID from all the access nodes.

To enable the learning option in ANCP:

  • Issue the wait-for-gsmp-syn command in L2C Configuration (config-l2c) mode.
    (config-l2c)# wait-for-gsmp-syn

You can use the no version to disable the learning option in ANCP.

If the access node does not send the GSMP_SYN message after initiating the TCP session, the connection is lost because the session timer expires. To avoid this, you can use the gsmp-syn-timeout command to specify the timeout value in L2C Configuration (config-l2c) mode. The timer value cannot be more than the ANCP session timeout value with a default value of 60 seconds.

  • Issue the gsmp-syn-timeout command in L2C Configuration (config-l2c) mode.
    (config-l2c)# gsmp-syn-timeout 10

You can use the no version to revert the session timeout to its default setting, 60 seconds.

 

Related Documentation

  • Access Node Control Protocol Overview
  • Configuring ANCP Interfaces
  • Configuring ANCP Neighbors
  • gsmp-syn-timeout
  • l2c
  • l2c ip listen
  • session-timeout
  • wait-for-gsmp-syn
 

Published: 2012-06-22

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out