
Purpose
Command or Action
• 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.
(Optional) Displays statistics for interfaces on the router.
show interfaces
[
TenGigE
]
interface-path-id
Example:
Step 12
RP/0/RP0/CPU0:router# show interfaces TenGigE
0/3/0/0
What to Do Next
• To configure MAC Accounting on the Ethernet interface, see the
Configuring MAC Accounting on an
Ethernet Interface, on page 36
section later in this module.
• To configure an AC on the Ethernet port for Layer 2 VPN implementation, see the
section later in this module.
• To attach Layer 3 service policies, such as Multiprotocol Label Switching (MPLS) or Quality of Service
(QoS), to the Ethernet interface, refer to the appropriate Cisco IOS XR software configuration guide.
What to Do Next
• To attach Layer 3 service policies, such as Multiprotocol Label Switching (MPLS) or Quality of Service
(QoS), to the Ethernet interface, refer to the appropriate configuration guide.
Configuring MAC Accounting on an Ethernet Interface
This task explains how to configure MAC accounting on an Ethernet interface. MAC accounting has special
show commands, which are illustrated in this procedure. Otherwise, the configuration is the same as configuring
a basic Ethernet interface, and the steps can be combined in one configuration session. See “
Gigabit Ethernet Interfaces, on page 33
” in this module for information about configuring the other common
parameters for Ethernet interfaces.
SUMMARY STEPS
1.
configure
2.
interface
[
TenGigE
|
fastethernet
]
interface-path-id
3.
ipv4 address ip-address mask
4.
mac-accounting
{
egress
|
ingress
}
5.
Do one of the following:
•
end
•
•
commit
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
36
Configuring Ethernet Interfaces
What to Do Next