cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
229
Views
0
Helpful
1
Replies

Viewing mac-addresses on ports 1-23 so that ports 24-28 are not included.

Dreadlockno1
Level 1
Level 1

Hi, I had a search around Google and this form but couldn't find my answer. I am trying various commands very similar to this;

 

show mac address-table interface GigabitEthernet 1/1 - 1/23

 

Reason being Is I do not want to include the mac-addresses the switch see's on the trunk ports. This command works but just for individual ports; 

 

show mac address-table interface GigabitEthernet 1/1 

 

The switch in question is a 28 port SG500. If anyone could point me in the correct direction it would be appreciated! Many thanks.

1 Reply 1

Hello.

You may show all the mac addresses and then use | include ... to filter the output.