From: nhatphuc (nhatphuc@gmail.com)
Date: Tue Feb 06 2007 - 09:55:20 ART
Thanks all for replying,
I put it there and do another lab. Then I try again and It's ok now.
On 2/6/07, Ivan Kuchin <ivan@iip.net> wrote:
>
>
> You have mac-address security in mac-address table.
> sh mac- int f0/6
> default max count for mac-address is 1.
> you can do it such way (for example)
>
> conf t
> int f0/6
> shut
> do clear mac- int f0/6
> no swi port-sec maximum
> no shut
>
>
> On Tuesday 06 February 2007 12:07, nhatphuc wrote:
> > Hi Group
> >
> > How can I set the port-security maximum secure mac of an interface to
> > default value?
> >
> > This is what I do and unsuccessful:
> >
> > SW2#sh run int f0/6
> > Building configuration...
> >
> > Current configuration : 143 bytes
> > !
> > interface FastEthernet0/6
> > switchport mode access
> > switchport port-security maximum 2
> > switchport port-security
> > spanning-tree portfast
> > end
> >
> > SW2(config)#int f0/6
> > SW2(config-if)#no switchport port-security maximum 2
> > Maximum is less than number of currently secured mac-addresses.
> >
> >
> > SW2#sh port-security address
> > Secure Mac Address Table
> > ------------------------------------------------------------------------
> > Vlan Mac Address Type Ports Remaining Age
> > (mins)
> > ---- ----------- ---- ----- -------------
> > ------------------------------------------------------------------------
> > Total Addresses in System (excluding one mac per port) : 3
> > Max Addresses limit in System (excluding one mac per port) : 6272
> >
> > SW2#show port-security
> > Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security
> Action
> > (Count) (Count) (Count)
> >
> ---------------------------------------------------------------------------
> > Fa0/4 1 0 1
> Shutdown
> > Fa0/6 2 2 1
> Shutdown
> >
> ---------------------------------------------------------------------------
> > Total Addresses in System (excluding one mac per port) : 3
> > Max Addresses limit in System (excluding one mac per port) : 6272
> >
> > SW2#clear port-security all
> > SW2#show port-security
> > Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security
> Action
> > (Count) (Count) (Count)
> >
> ---------------------------------------------------------------------------
> > Fa0/4 1 0 1
> Shutdown
> > Fa0/6 2 2 1
> Shutdown
> >
> ---------------------------------------------------------------------------
> > Total Addresses in System (excluding one mac per port) : 3
> > Max Addresses limit in System (excluding one mac per port) : 6272
> >
> > SW2(config)#int range f0/4,f0/6
> > SW2(config-if-range)#no switchport port-security max 2
> > Maximum is less than number of currently secured mac-addresses.
> >
> > % Interface range command failed for FastEthernet0/6
> >
> > SW2(config-if-range)#no switchport port-security
> > SW2(config-if-range)#no switchport port-security max 2
> > Maximum is less than number of currently secured mac-addresses.
> >
> > % Interface range command failed for FastEthernet0/6
> > SW2(config-if-range)#shut
> > SW2(config-if-range)#no switchport port-security max 2
> > Maximum is less than number of currently secured mac-addresses.
> >
> > % Interface range command failed for FastEthernet0/6
> > SW2(config-if-range)#
> >
> > SW2(config-if)#int f0/6
> > SW2(config-if)#no switchport port-security maximum 2
> > Maximum is less than number of currently secured mac-addresses.
> >
> > Thanks
> >
> > Phuc
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> --
> iWAN kU^IN (mail to: ivan@iip.net)
> NOC iip.net
> 137-31-04
This archive was generated by hypermail 2.1.4 : Thu Mar 01 2007 - 07:38:46 ART