RE: Static CAM entry

From: Senthil Kumar (senthil.kumar@intechnology.co.uk)
Date: Wed Sep 18 2002 - 08:00:23 GMT-3


cw2k-sw1(config)#mac-address-table static 0010.2222.3333 f0/4

this puts this static route entry for into the vlan port f0/4 belongs to.

cw2k-sw1#sh mac static

Static Address Table:
Destination Address VLAN Input Port Output Ports
------------------- ---- ---------- -----------------------
0010.2222.3333 1 Fa0/3
                         1 Fa0/4
                         1 Fa0/5
                         1 Fa0/6
                         1 Fa0/7
                         1 Fa0/8
                         1 Fa0/9
                         1 Fa0/11
                         1 Fa0/12
                         1 Fa0/13
                         1 Fa0/14
                         1 Fa0/15
                         1 Fa0/16
                         1 Fa0/17
                         1 Fa0/18
                         1 Fa0/19
                         1 Fa0/20
                         1 Fa0/21
                         1 Fa0/22
                         1 Fa0/23
                         1 Fa0/24

cw2k-sw1#sh mac int f0/4

Static Address Table:
Destination Address VLAN Input Port Output Ports
------------------- ---- ---------- -----------------------
0010.2222.3333 1 Fa0/4

to assign a single mac to a port do this..

cw2k-sw1(config)#mac-address-table secure 0010.5555.6666 f0/5
cw2k-sw1(config)#^Z
cw2k-sw1#sh mac ?
  address mac address name
  aging-time Show address aging time
  count Show address count
  dynamic Show 802.1d dynamic addresses
  interface interface name
  notification MAC notification parameters and history table
  secure Show secure addresses
  self Show system self addresses
  static Show static addresses
  vlan vlan name
  | Output modifiers
  <cr>

cw2k-sw1#sh mac secure
Non-static Address Table:
Destination Address Address Type VLAN Destination Port
------------------- ------------ ---- --------------------
0010.5555.6666 Secure 1 FastEthernet0/5
cw2k-sw1#sh mac static

Static Address Table:
Destination Address VLAN Input Port Output Ports
------------------- ---- ---------- -----------------------
0010.2222.3333 1 Fa0/3
                         1 Fa0/4
                         1 Fa0/5
                         1 Fa0/6
                         1 Fa0/7
                         1 Fa0/8
                         1 Fa0/9
                         1 Fa0/11
                         1 Fa0/12
                         1 Fa0/13
                         1 Fa0/14
                         1 Fa0/15
                         1 Fa0/16
                         1 Fa0/17
                         1 Fa0/18
                         1 Fa0/19
                         1 Fa0/20
                         1 Fa0/21
                         1 Fa0/22
                         1 Fa0/23
                         1 Fa0/24
cw2k-sw1#sh mac int f0/5
Non-static Address Table:
Destination Address Address Type VLAN Destination Port
------------------- ------------ ---- -------------------- * here the
secure mac is mapped to port f0/5 only
0010.5555.6666 Secure 1 FastEthernet0/5

Static Address Table:
Destination Address VLAN Input Port Output Ports
------------------- ---- ---------- ----------------------- * the
previous static mac
0010.2222.3333 1 Fa0/5

* a static mac entry is not port specific but vlan specific
* a secure mac entry can be port specific
* you could also put a limit on the number of macs per port

i did this in a 2900 xl switch, might do good for 3550 aswell..

switchport port-security maximum number of addresses

cheers, sen

-----Original Message-----
From: Raj Thava[IPC_Head Office] [mailto:traj@ipcc.ca]
Sent: 17 September 2002 16:34
To: Groupstudy (E-mail)
Subject: Static CAM entry

Hi

can anyone tell me how to enter a static mac address into the 3550 switch
CAM table

Thank you



This archive was generated by hypermail 2.1.4 : Mon Oct 07 2002 - 07:43:55 GMT-3