---
title: ipsg
slug: enterprise-v6p1/ipsg
createdAt: 2025-12-18T07:20:25.015Z
---

AsterNOS YANG Model for IPSG.

# <font color="#1d50a2">YANG Tree Diagram</font>

```none
module: asternos-ipsg
  +--rw ipsg
     +--rw interfaces
        +--rw interface* [name ip-type]
           +--rw name                  union
           +--rw ip-type               enumeration
           +--rw enable?               boolean
           +--rw trust-enable?         boolean
           +--rw trusted-interfaces*   cmn:ethernet-port-name
```

# <font color="#1d50a2">Resources</font>

## <font color="#1d50a2">Resource List</font>

| **Path**                                      | **Access** |
| --------------------------------------------- | ---------- |
| /ipsg                                         | Read-Write |
| /ipsg/interfaces                              | Read-Write |
| /ipsg/interfaces/interface                    | Read-Write |
| /ipsg/interfaces/interface/name               | Read-Write |
| /ipsg/interfaces/interface/ip-type            | Read-Write |
| /ipsg/interfaces/interface/enable             | Read-Write |
| /ipsg/interfaces/interface/trust-enable       | Read-Write |
| /ipsg/interfaces/interface/trusted-interfaces | Read-Write |

## <font color="#1d50a2">Detailed Nodes</font>

### <font color="#1d50a2">/ipsg</font>

**Path**

/ipsg

**Node Type**

container

**Description**

Container for IPSG configurations.

**Access**

Read-Write

### <font color="#1d50a2">/ipsg/interfaces</font>

**Path**

/ipsg/interfaces

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/ipsg/interfaces/interface</font>

**Path**

/ipsg/interfaces/interface

**Node Type**

list

**Description**

Configure IPSG interfaces based on VLAN or PORT.

Note: 'enable' and 'trust-enable' cannot be configured as true at the same time

**Access**

Read-Write

### <font color="#1d50a2">/ipsg/interfaces/interface/name</font>

**Path**

/ipsg/interfaces/interface/name

**Node Type**

leaf

**Description**

Name of the interface.

**Access**

Read-Write

**Data Type**

\<YANG type union>

### <font color="#1d50a2">/ipsg/interfaces/interface/ip-type</font>

**Path**

/ipsg/interfaces/interface/ip-type

**Node Type**

leaf

**Access**

Read-Write

**Data Type**

\<YANG type enumeration>

**Constraints**

Enumeration with options:

- v4
- v6

### <font color="#1d50a2">/ipsg/interfaces/interface/enable</font>

**Path**

/ipsg/interfaces/interface/enable

**Node Type**

leaf

**Description**

Enable or disable the configuration for interface.

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/ipsg/interfaces/interface/trust-enable</font>

**Path**

/ipsg/interfaces/interface/trust-enable

**Node Type**

leaf

**Description**

Enable or disable the trust for ethernet interface.

Only valid for ethernet interface, not VLAN interface.

Suitable for configuration scenarios with multiple VLANs on the interface.

When configured as true, trust any VLAN on the interface

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/ipsg/interfaces/interface/trusted-interfaces</font>

**Path**

/ipsg/interfaces/interface/trusted-interfaces

**Node Type**

leaf-list

**Description**

List of trusted ethernet port or sub-ethernet interfaces for VLAN.

Only valid for VLAN interface.

**Access**

Read-Write

**Data Type**

\<YANG type ethernet-port-name>
