---
title: RPCs
slug: enterprise-v6p1/Y_7v-rpcs
createdAt: 2025-12-25T11:34:28.347Z
---

## <font color="#1d50a2">show-mac-limit</font>

| **Path**                                                       | **Access** |
| -------------------------------------------------------------- | ---------- |
| /show-mac-limit/input                                          | Read-Write |
| /show-mac-limit/input/filter                                   | Read-Write |
| /show-mac-limit/input/filter/port-name                         | Read-Write |
| /show-mac-limit/input/filter/port-name/port-name               | Read-Write |
| /show-mac-limit/input/filter/portchannel-name                  | Read-Write |
| /show-mac-limit/input/filter/portchannel-name/portchannel-name | Read-Write |
| /show-mac-limit/input/filter/vlan-id                           | Read-Write |
| /show-mac-limit/input/filter/vlan-id/vlan-id                   | Read-Write |
| /show-mac-limit/input/filter/all                               | Read-Write |
| /show-mac-limit/input/filter/all/all                           | Read-Write |
| /show-mac-limit/output                                         | Read-Write |
| /show-mac-limit/output/data                                    | Read-Write |

### <font color="#1d50a2">/show-mac-limit/input</font>

**Path**

/show-mac-limit/input

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-limit/input/filter</font>

**Path**

/show-mac-limit/input/filter

**Node Type**

choice

**Description**

specify the port or vlan to show mac limit

**Access**

Read-Write

**Mandatory**

Yes

### <font color="#1d50a2">/show-mac-limit/input/filter/port-name</font>

**Path**

/show-mac-limit/input/filter/port-name

**Node Type**

choice-case

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-limit/input/filter/port-name/port-name</font>

**Path**

/show-mac-limit/input/filter/port-name/port-name

**Node Type**

leaf

**Description**

Name of the Ethernet interface.

**Access**

Read-Write

**Data Type**

\<YANG type ethernet-port-name>

### <font color="#1d50a2">/show-mac-limit/input/filter/portchannel-name</font>

**Path**

/show-mac-limit/input/filter/portchannel-name

**Node Type**

choice-case

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-limit/input/filter/portchannel-name/portchannel-name</font>

**Path**

/show-mac-limit/input/filter/portchannel-name/portchannel-name

**Node Type**

leaf

**Description**

Name of the portchannel interface.

**Access**

Read-Write

**Data Type**

\<YANG type port-channel-name>

### <font color="#1d50a2">/show-mac-limit/input/filter/vlan-id</font>

**Path**

/show-mac-limit/input/filter/vlan-id

**Node Type**

choice-case

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-limit/input/filter/vlan-id/vlan-id</font>

**Path**

/show-mac-limit/input/filter/vlan-id/vlan-id

**Node Type**

leaf

**Description**

VLAN ID

**Access**

Read-Write

**Data Type**

\<YANG type vlan-id>

**Constraints**

Valid range: 1 to 4094

### <font color="#1d50a2">/show-mac-limit/input/filter/all</font>

**Path**

/show-mac-limit/input/filter/all

**Node Type**

choice-case

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-limit/input/filter/all/all</font>

**Path**

/show-mac-limit/input/filter/all/all

**Node Type**

leaf

**Description**

show all mac limit

**Access**

Read-Write

**Data Type**

\<YANG type empty>

**Constraints**

Empty type

### <font color="#1d50a2">/show-mac-limit/output</font>

**Path**

/show-mac-limit/output

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-limit/output/data</font>

**Path**

/show-mac-limit/output/data

**Node Type**

anydata

**Description**

A table that shows MAC address learning limit information

**Access**

Read-Write

## <font color="#1d50a2">show-mac-learning-priority</font>

| **Path**                                    | **Access** |
| ------------------------------------------- | ---------- |
| /show-mac-learning-priority/input           | Read-Write |
| /show-mac-learning-priority/input/interface | Read-Write |
| /show-mac-learning-priority/output          | Read-Write |
| /show-mac-learning-priority/output/data     | Read-Write |

### <font color="#1d50a2">/show-mac-learning-priority/input</font>

**Path**

/show-mac-learning-priority/input

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-learning-priority/input/interface</font>

**Path**

/show-mac-learning-priority/input/interface

**Node Type**

leaf

**Description**

Name of the Ethernet or PortChannel (empty for all interfaces)

**Access**

Read-Write

**Data Type**

\<YANG type union>

### <font color="#1d50a2">/show-mac-learning-priority/output</font>

**Path**

/show-mac-learning-priority/output

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-learning-priority/output/data</font>

**Path**

/show-mac-learning-priority/output/data

**Node Type**

anydata

**Description**

show port mac learning priority configurations

**Access**

Read-Write

## <font color="#1d50a2">show-mac-learning-group</font>

| **Path**                                 | **Access** |
| ---------------------------------------- | ---------- |
| /show-mac-learning-group/input           | Read-Write |
| /show-mac-learning-group/input/interface | Read-Write |
| /show-mac-learning-group/output          | Read-Write |
| /show-mac-learning-group/output/data     | Read-Write |

### <font color="#1d50a2">/show-mac-learning-group/input</font>

**Path**

/show-mac-learning-group/input

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-learning-group/input/interface</font>

**Path**

/show-mac-learning-group/input/interface

**Node Type**

leaf

**Description**

Name of the Ethernet or PortChannel (empty for all interfaces)

**Access**

Read-Write

**Data Type**

\<YANG type union>

### <font color="#1d50a2">/show-mac-learning-group/output</font>

**Path**

/show-mac-learning-group/output

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-mac-learning-group/output/data</font>

**Path**

/show-mac-learning-group/output/data

**Node Type**

anydata

**Description**

show port mac learning group id configurations

**Access**

Read-Write

## <font color="#1d50a2">show-port-security</font>

| **Path**                            | **Access** |
| ----------------------------------- | ---------- |
| /show-port-security/input           | Read-Write |
| /show-port-security/input/interface | Read-Write |
| /show-port-security/output          | Read-Write |
| /show-port-security/output/data     | Read-Write |

### <font color="#1d50a2">/show-port-security/input</font>

**Path**

/show-port-security/input

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-port-security/input/interface</font>

**Path**

/show-port-security/input/interface

**Node Type**

leaf

**Description**

Name of the Ethernet or PortChannel (empty for all interfaces)

**Access**

Read-Write

**Data Type**

\<YANG type union>

### <font color="#1d50a2">/show-port-security/output</font>

**Path**

/show-port-security/output

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-port-security/output/data</font>

**Path**

/show-port-security/output/data

**Node Type**

anydata

**Description**

show port security configurations

**Access**

Read-Write

## <font color="#1d50a2">show-port-security-address</font>

| **Path**                                    | **Access** |
| ------------------------------------------- | ---------- |
| /show-port-security-address/input           | Read-Write |
| /show-port-security-address/input/interface | Read-Write |
| /show-port-security-address/output          | Read-Write |
| /show-port-security-address/output/data     | Read-Write |

### <font color="#1d50a2">/show-port-security-address/input</font>

**Path**

/show-port-security-address/input

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-port-security-address/input/interface</font>

**Path**

/show-port-security-address/input/interface

**Node Type**

leaf

**Description**

Name of the Ethernet or PortChannel (empty for all interfaces).

**Access**

Read-Write

**Data Type**

\<YANG type union>

### <font color="#1d50a2">/show-port-security-address/output</font>

**Path**

/show-port-security-address/output

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/show-port-security-address/output/data</font>

**Path**

/show-port-security-address/output/data

**Node Type**

anydata

**Description**

show secure mac addresses

**Access**

Read-Write

## <font color="#1d50a2">clear-port-security-address</font>

| **Path**                                     | **Access** |
| -------------------------------------------- | ---------- |
| /clear-port-security-address/input           | Read-Write |
| /clear-port-security-address/input/interface | Read-Write |
| /clear-port-security-address/input/fdb-type  | Read-Write |
| /clear-port-security-address/output          | Read-Write |
| /clear-port-security-address/output/data     | Read-Write |

### <font color="#1d50a2">/clear-port-security-address/input</font>

**Path**

/clear-port-security-address/input

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/clear-port-security-address/input/interface</font>

**Path**

/clear-port-security-address/input/interface

**Node Type**

leaf

**Description**

Name of the Ethernet or PortChannel (empty for all interfaces).

**Access**

Read-Write

**Data Type**

\<YANG type union>

### <font color="#1d50a2">/clear-port-security-address/input/fdb-type</font>

**Path**

/clear-port-security-address/input/fdb-type

**Node Type**

leaf

**Description**

The type of fdb to clear (empty for all types).

**Access**

Read-Write

**Data Type**

\<YANG type enumeration>

**Constraints**

Enumeration with options:

- static
- dynamic
- sticky
- all

### <font color="#1d50a2">/clear-port-security-address/output</font>

**Path**

/clear-port-security-address/output

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/clear-port-security-address/output/data</font>

**Path**

/clear-port-security-address/output/data

**Node Type**

anydata

**Description**

The string indicates success or failure of this operation

**Access**

Read-Write
