# Configuring Egress Tagging

You can use the egress tagging functionality to add a VLAN tag to the packet transmitted from the tool port.&#x20;

#### Reference

<table data-header-hidden><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td>Command</td><td>{no} egress-tagging enable </td><td></td><td></td></tr><tr><td>Description</td><td>Egress-tagging configuration</td><td></td><td></td></tr><tr><td>Parameters</td><td>None</td><td></td><td></td></tr><tr><td>Mode</td><td>INTERFACE</td><td></td><td></td></tr></tbody></table>

{% hint style="danger" %}
This feature should only be configured on Tool ports
{% endhint %}

#### Example

```
pbnoscli# configure terminal 
pbnoscli(config)# interface ethernet Ethernet4/1
pbnoscli(config-if)# egress-        
  egress-tagging        Add egress tagging
pbnoscli(config-if)# egress-tagging enable 
pbnoscli(config-if)# 
```

You can verify the configuration by using the command(s) below:

```
pbnoscli# show interface npb Ethernet4/1

===================================
Interface : Ethernet4/1       
===================================
Type           : tool            
Mode           : vlan-aware      
Ingress-vlan   : 6               
Egress-tagging : enable          
Loopback-mode  : disable         

pbnoscli# 
```

```
pbnoscli# show running-config 
configure terminal
!
interface ethernet Ethernet4/1
type tool
egress-tagging enable
mode vlan-aware
!
interface mgmt
ip address 10.4.4.53/23 gateway 10.4.4.1
!
pbnoscli# 
```
