NOTE
Before an ANCP session is enabled, related parameters can be modified. After an ANCP session is enabled,
related parameters cannot be modified.
Step 9
Run the
quit
command to quit the ANCP mode.
Step 10
Run the
display ancp session
command to query the information about the ANCP session.
----End
Example
Assume that:
l
The GSMP communication IP address for an ANCP session is 10.10.10.10.
l
The interval for sending packets during the initial stage of an ANCP session is 2s.
l
The ANCP session capability set is topology-discovery.
l
The ANCP packet sending priority is 7.
l
The GSMP TCP communication port ID on the NAS side in an ANCP session is 6000.
l
The interval for sending packets during the ANCP session stage is 7s.
l
The ANCP function is enabled.
To perform the preceding configurations, do as follows:
huawei(config)#
ancp session 1
huawei(config-session-1)#
ancp ip 10.10.10.10
huawei(config-session-1)#
ancp capability topology-discovery
huawei(config-session-1)#
ancp ancp-8021p 7
huawei(config-session-1)#
ancp nas-tcp-port 6000
huawei(config-session-1)#
ancp init-interval 20
huawei(config-session-1)#
ancp keep-alive 70
huawei(config-session-1)#
ancp enable
huawei(config-session-1)#
quit
huawei(config)#
display ancp session 1
Session config status : Enable
Session running status : Before syn phase
Session diagnostic status : -
GSMP version : 3
GSMP sub version : 1
Configured AN name : -
AN name : -
NAS name : -
NAS IP : 10.10.10.10
Local IP : -
AN instance : -
NAS instance : -
Config capabilities : TopologyDiscovery
Negotiate capabilities : -
ANCP-8021P : 7
NAS TCP port : 6000
Startup time(0.01s) : -
Discontinuity time(0.01s) : -
Init interval(0.1s) : 20
Keepalive interval(0.1s) : 70
PartitionID : 0
Bandwidth CAC status : Disable
Line config roll default : Disable
OAM threshold(0.01) : 100
Topology report shaper interval(0.1s) : 10
S-VLAN : -
S-VLAN priority : 7
C-VLAN : -
C-VLAN priority : -
SmartAX MA5616 Multi-service Access Module
Configuration Guide
3 Basic Configuration
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
51