Skip to main content
Cisco SD-WAN
Product Documentation
Viptela Documentation

Switch Port

Use the Switch Port template for Cisco IOS XE routers.

To have a vEdge router act as a transparent bridge, configure bridging domains on the router. A router can have up to 16 bridging domains.

To configure the switch ports using vManage templates:

  1. Create a Switch Port feature template, as described in this article.
  2. To use the switch port for routing, associate it with an SVI. See the VPN Interface SVI help topic.

Navigate to the Template Screen and Name the Template

  1. In vManage NMS, select the Configuration ► Templates screen.
  2. In the Device tab, click Create Template.
  3. From the Create Template drop-down, select From Feature Template.
  4. From the Device Model drop-down, select the type of device for which you are creating the template.
  5. Click the Additional Templates tab located directly beneath the Description field, or scroll to the Additional Templates section.
  6. Click the plus sign (+) next to Switch Port.
  7. In the Switch Port drop-down, select the port number.
  8. From the lower Switch Port drop-down, click Create Template. The Switch Port template form is displayed. The top of the form contains fields for naming the template, and the bottom contains fields for defining switch port parameters.

  9. In the Template Name field, enter a name for the template. The name can be up to 128 characters and can contain only alphanumeric characters.
  10. In the Template Description field, enter a description of the template. The description can be up to 2048 characters and can contain only alphanumeric characters.

When you first open a feature template, for each parameter that has a default value, the scope is set to Default (indicated by a check mark), and the default setting or value is shown. To change the default or to enter a value, click the scope drop-down to the left of the parameter field and select one of the following:

Parameter Scope

Scope Description

Device Specific (indicated by a host icon)

Use a device-specific value for the parameter. For device-specific parameters, you cannot enter a value in the feature template. You enter the value when you attach a Viptela device to a device template.

When you click Device Specific, the Enter Key box opens. This box displays a key, which is a unique string that identifies the parameter in a CSV file that you create. This file is an Excel spreadsheet that contains one column for each key. The header row contains the key names (one key per column), and each row after that corresponds to a device and defines the values of the keys for that device. You upload the CSV file when you attach a Viptela device to a device template. For more information, see Create a Template Variables Spreadsheet.

To change the default key, type a new string and move the cursor out of the Enter Key box.

Examples of device-specific parameters are system IP address, hostname, GPS location, and site ID.

Global (indicated by a globe icon)

Enter a value for the parameter, and apply that value to all devices.

Examples of parameters that you might apply globally to a group of devices are DNS server, syslog server, and interface MTUs.

Configure Basic Switch Port Parameters

To configure basic switch port parameters, select the Basic Configuration tab and configure the following parameters:

Parameter Name Description
Slot Enter the number of the slot in which the Layer 2 switch port module is installed.
Module Select the switch port module type, either 4 port or 8 port.

To save the feature template, click Save.

Associate Interfaces with the Switch Port

To associate an interface with the switch port, click the Interface tab and click Add New Interface:

Parameter Name Description
Interface Name Enter the name of the interface to associate with the bridging domain, in the format geslot/port.
Shutdown Click No to enable the interface. By default, an interface is disabled.
Switch Port

Select the switch port mode:

  • Access—Configure the interface as an access port. You can configure only one VLAN on an access port, and the port can carry traffic for only one VLAN.
    • VLAN Name—Enter a description for the VLAN.
    • VLAN ID—Enter the VLAN number, which can be a value from 1 through 4094.
  • Trunk—Configure the interface as a trunk port. You can configure one or more VLANs on a trunk port, and the port can carry traffic for multiple VLAN.
    • Allowed VLANs—Enter the numbers of the VLANs for which the trunk can carry traffic.a description for the VLAN.
    • Native VLAN ID—Enter the number of the VLAN allowed to carry untagged traffic.

To save the feature template, click Save.

Configure Other Interface Properties

To configure other interface properties, select the Advanced tab and configure the following properties:

Parameter Name Description
Age-Out Time Enter how long an entry is in the MAC table before it ages out. Set the value to 0 to prevent entries from timing out.
Range: 0, 10 through 1000000 seconds
Default: 300 seconds
Static MAC Address

Click Add Static MAC Address to map a MAC address to a switch port. In the MAC Static Address field that appears, enter the following:

  • MAC Address—Enter the static MAC address to map to the switch port interface.
  • Switch Port Interface Name—Enter the name of the switch port interface.
  • VLAN ID—Enter the number of the VLAN for the switch port.

Click Add to save the static MAD accress mapping.

To save the feature template, click Save.

Release Information

Introduced in vManage NMS in Release 18.3.

  • Was this article helpful?