
Purpose
Command or Action
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)# commit
• Entering
no
exits the configuration session and
returns the router to XR EXEC mode without
committing the configuration changes.
• Entering
cancel
leaves the router in the current
configuration session without exiting or
committing the configuration changes.
• Use the
commit
command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Displays MAC accounting statistics for an interface.
show mac-accounting type location instance
Example:
Step 6
RP/0/RP0/CPU0:router# show mac-accounting TenGigE
location 0/2/0/4
Configuring a L2VPN Ethernet Port
Use the following procedure to configure an L2VPN Ethernet port.
The steps in this procedure configure the L2VPN Ethernet port to operate in port mode.
Note
SUMMARY STEPS
1.
configure
2.
interface
[
TenGigE
]
interface-path-id
3.
l2transport
4.
l2protocol
{
cdp
|
pvst
|
stp
|
vtp
}{[
forward
|
tunnel
][
experimental bits
]|
drop
}
5.
Do one of the following:
•
end
• or
•
commit
• or
6.
show interfaces
[
TenGigE
]
interface-path-id
DETAILED STEPS
Purpose
Command or Action
Enters XR configuration mode.
configure
Example:
Step 1
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
38
Configuring Ethernet Interfaces
Configuring a L2VPN Ethernet Port