Chapter 15: Ethernet Services and Interfaces (CLI)
Configuring Ethernet Services (CLI)
phn-3963_008v000
Page 15-26
Parameter
Input Type
Permitted Values
Description
static mac
Six groups of
two
hexadecimal
digits
The MAC address.
sp-id
Number
1-32
The Service Point ID of the service point
associated with the MAC address.
The following command adds MAC address 00:11:22:33:44:55 to the MAC address forwarding table for Service 10,
and associates the MAC address with Service Point ID 1 on Service 10:
service[10]>service mac-learning-table set-static-
mac 00:11:22:33:44:55 spid 1
The following command deletes MAC address 00:11:22:33:44:55, associated with Service Point 1, from the MAC
address forwarding table for Service 10:
service[10]>service mac-learning-table del-static-
mac 00:11:22:33:44:55 spid 1
Displaying the MAC Address Forwarding Table (CLI)
You can display the MAC address forwarding table for an interface, a service, or for the entire unit.
To display the MAC address forwarding table for a service, go to service view for the service and enter the
following command:
service[SID]>service mac-learning-table show
To display the MAC address forwarding table for an interface, go to interface view for the interface and enter the
following command:
eth type xxx[x/x]>mac-learning-table show
To display the MAC address forwarding table for the entire unit, enter the following command:
root> ethernet generalcfg mac-learning-table show
Example
To display the MAC address forwarding table for GbE 1, enter the following commands:
root> ethernet interfaces eth slot 1 port 1
eth type eth[1/1]>mac-learning-table show
Flushing the MAC Address Forwarding Table (CLI)
You can perform a global flush on the MAC address forwarding table. This erases all dynamic entries for all
services. Static entries are not erased.