Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Configure an attachment circuit on a VLAN

Want to summarize with AI?

Log in

This topic describes how to configure a Layer 2 attachment circuit (AC) on a VLAN on the Cisco 8000 Series Router.


Use this procedure to configure an attachment circuit on a VLAN.

Procedure

1.

Enter global configuration mode.

Example:

Router# configure terminal
2.

Enter subinterface configuration mode and specify the interface type, location, and subinterface number.

Example:

Router(config)# interface TenGigE 0/1/0/0.1 l2transport
  • Replace the argument with one of the following instances:

  • Physical Ethernet interface instance, or with an Ethernet bundle instance. Naming notation is rack/slot/module/port , and a slash between values is required as part of the notation.

  • Ethernet bundle instance. Range is from 1 through 65535.

  • Replace the subinterface argument with the subinterface value. Range is from 0 through 4095.

  • Naming notation is instance.subinterface , and a period between arguments is required as part of the notation.

  • You must include the l2transport keyword in the command string; otherwise, the configuration creates a Layer 3 subinterface rather than an AC.

3.

Set the Layer 2 encapsulation of the interface.

Example:

Router(config-subif)# encapsulation dot1q 100
4.

Save the configuration.

Example:

Router(config-if-l2)# commit

Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session. When you issue the end command, the system prompts you to commit changes.

5.

(Optional) Display statistics for interfaces on the router.

Example:

Router# show interfaces TenGigE 0/3/0/0.1