Show, Clear, Debug Commands
Page 1758 7750 SR OS Services Guide
sessions
Syntax sessions [group name] neighbor ip-address] [port port-number] [association] [statistics]
Context show>service>id>gsmp
Description This command displays GSMP sessions information.
Parameters group — A GSMP group defines a set of GSMP neighbors which have the same properties.
name — Specifies a GSMP group name is unique only within the scope of the service in which it is
defined.
ip-address — Specifies the ip-address of the neighbor.
port — Specifies the neighbor TCP port number use for this ANCP session.
Values 0 — 65535
association — Displays to what object the ANCP-string is associated.
statistics — Displays statistics information about an ANCP session known to the system.
Sample Output
This show command gives information about the open TCP connections with DSLAMs.
A:active>show>service>id>gsmp# sessions
=======================================================
GSMP sessions for service 999 (VPRN)
=======================================================
Port Ngbr-IpAddr Gsmp-Group
-------------------------------------------------------
40590 192.168.1.2 dslam1
-------------------------------------------------------
Number of GSMP sessions : 1
=======================================================
A:active>show>service>id>gsmp#
A:active>show>service>id>gsmp# sessions neighbor 192.168.1.2 port 40590
=========================================================================
GSMP sessions for service 999 (VPRN), neighbor 192.168.1.2, Port 40590
=========================================================================
State : Established
Peer Instance : 1 Sender Instance : a3cf58
Peer Port : 0 Sender Port : 0
Peer Name : 12:12:12:12:12:12 Sender Name : 00:00:00:00:00:00
timeouts : 0 Max. Timeouts : 3
Peer Timer : 100 Sender Timer : 100
Capabilities : DTD OAM
Conf Capabilities : DTD OAM
Priority Marking : dscp nc2
Local Addr. : 192.168.1.4
Conf Local Addr. : N/A
=========================================================================
A:active>show>service>id>gsmp#
A:active>show>service>id>gsmp# sessions neighbor 192.168.1.2 port 40590 association