跳转到内容
Ask AI

l2pt

此内容尚不支持你的语言。

AsterNOS YANG Model for Layer 2 Protocol Tunneling on Ports.

module: asternos-l2pt
+--rw l2pts
+--rw l2pt* [ifname protocol-type]
+--rw ifname if:interface-ref
+--rw protocol-type enumeration
+--rw enable? boolean
PathAccess
/l2ptsRead-Write
/l2pts/l2ptRead-Write
/l2pts/l2pt/ifnameRead-Write
/l2pts/l2pt/protocol-typeRead-Write
/l2pts/l2pt/enableRead-Write

Path

/l2pts

Node Type

container

Description

Configuration of the Layer 2 Protocol Tunneling.

Access

Read-Write

Path

/l2pts/l2pt

Node Type

list

Description

Layer 2 Protocol Tunneling.

Access

Read-Write

Path

/l2pts/l2pt/ifname

Node Type

leaf

Description

The name of the interface.

Access

Read-Write

Data Type

Constraints

Multiple constraints:

  • LeafRef pointing to: asternos-interfaces:interface-ref
  • Must condition: starts-with(., ‘Ethernet’)

Path

/l2pts/l2pt/protocol-type

Node Type

leaf

Description

l2 protocol type.

Access

Read-Write

Data Type

Constraints

Enumeration with options:

  • stp
  • lacp
  • cdp
  • pvstp

Path

/l2pts/l2pt/enable

Node Type

leaf

Description

Enable Layer 2 protocol tunneling.

Access

Read-Write

Data Type

Constraints

Valid in [true, false]