Brocade Network OS NETCONF Operations Guide v4.1.1 Instrukcja Użytkownika Strona 41

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 622
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 40
Network OS NETCONF Operations Guide 9
53-1003231-02
Chapter
2
Basic NETCONF Operations
In this chapter
Establishing a NETCONF session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Retrieving configuration data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Retrieving operational data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Editing the configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Managing the configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Disconnecting from a NETCONF session . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Establishing a NETCONF session
Up to 16 concurrent sessions can be established with a NETCONF server. A session times out if it is
idle for 30 minutes.
Each NETCONF session begins with a handshake in which the NETCONF server and the client
specify the NETCONF capabilities they support. The following sections describe the message
exchange on starting a NETCONF session.
Hello messages exchange
After establishing a secure transport connection, both the NETCONF server and client send a
<hello> element simultaneously to announce their capabilities and session identifier.
The NETCONF server must include the <session-id> element in the <hello> element. The
<session-id> element contains the unique session value for the NETCONF session. If the client
receives the <hello> element without the <session-id>, the client aborts the NETCONF session by
closing the underlying SSH session.
The NETCONF client must not include the <session-id> element in the <hello> element. If the
server receives the <hello> element with the <session-id>, the server aborts the NETCONF session
by closing the underlying SSH session.
The NETCONF client must include a valid xmlns attribute in the <hello> element. If the server
receives the <hello> element without a valid xmlns attribute, the server aborts the NETCONF
session by closing the underlying SSH session.
The NETCONF client must include a base capability. The server receiving the <hello> element
without a NETCONF base capability aborts the NETCONF session by closing the underlying SSH
session.
The server receiving an <rpc> element without first receiving a <hello> element aborts the
NETCONF session by closing the underlying SSH session.
Przeglądanie stron 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 621 622

Komentarze do niniejszej Instrukcji

Brak uwag