
Purpose
Command or Action
RP/0/RP0/CPU0:router# configure
Enters interface configuration mode and specifies the
Ethernet interface name and notation
rack/slot/module/port
. Possible interface types for this procedure are:
interface
[
TenGigE
]
interface-path-id
Example:
RP/0/RP0/CPU0:router(config)# interfaceTenGigE
0/1/0/0
Step 2
• TenGigE
Enables Layer 2 transport mode on a port and enter Layer
2 transport configuration mode.
l2transport
Example:
Step 3
RP/0/RP0/CPU0:router(config-if)# l2transport
Configures Layer 2 protocol tunneling and protocol data
unit (PDU) filtering on an interface.
l2protocol
{
cdp
|
pvst
|
stp
|
vtp
}{[
forward
|
tunnel
][
experimental bits
]|
drop
}
Step 4
Example:
Possible protocols and options are:
RP/0/RP0/CPU0:router(config-if-l2)# l2protocol stp
tunnel
•
cdp
—Cisco Discovery Protocol (CDP) tunneling and
data unit parameters.
•
pvst
—Configures VLAN spanning tree protocol
tunneling and data unit parameters.
Example:
•
stp
—spanning tree protocol tunneling and data unit
parameters.
•
vtp
—VLAN trunk protocol tunneling and data unit
parameters.
•
tunnel
—(Optional) Tunnels the packets associated
with the specified protocol.
•
experimental bits
—(Optional) Modifies the MPLS
experimental bits for the specified protocol.
•
drop
—(Optional) Drop packets associated with the
specified protocol.
Saves configuration changes.
Do one of the following:
Step 5
•
end
• When you issue the
end
command, the system prompts
you to commit changes:
• or
•
commit
Uncommitted changes found, commit them before
• or
exiting(yes/no/cancel)?
[cancel]:
Example:
•
• Entering
yes
saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to XR EXEC mode.
RP/0/RP0/CPU0:router(config-if-l2)# end
Example:
• Entering
no
exits the configuration session and
returns the router to XR EXEC mode without
committing the configuration changes.
RP/0/RP0/CPU0:router(config-if-l2)# commit
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
39
Configuring Ethernet Interfaces
Configuring a L2VPN Ethernet Port