cisco Catalyst 9300 — Enabling VTP Pruning

Enabling VTP Pruning Before you begin VTP pruning is not designed to function in VTP transparent mode. If one or more devices in the network are in VTP transparent mode, you should do one of these actions: • Turn off VTP pruning in the entire network. • Turn off VTP pruning by making all VLANs on the trunk of the device upstream to the VTP transparent device pruning ineligible. To configure VTP pruning on an interface, use the switchport trunk pruning vlan interface configuration command. VTP pruning operates when an interface is trunking.

You can set VLAN pruning-eligibility, whether or not VTP pruning is enabled for the VTP domain, whether or not any given VLAN exists, and whether or not the interface is currently trunking. Procedure Configuring VTP Enabling VTP Pruning Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 vtp pruning Example: Device(config)# vtp pruning Enables pruning in the VTP administrative domain. By default, pruning is disabled. You need to enable pruning on only one device in VTP server mode. Step 4 end Example:

Device(config)# end Returns to privileged EXEC mode. Step 5 show vtp status Example: Device# show vtp status Verifies your entries in the VTP Pruning Mode field of the display. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 15