Sunfire B1600 Switch User Manual


 
Chapter 3 General Management of the Switch 3-123
3.4.5.2 Command-line Interface: Configuring Static Addresses
This example adds the same items to the static address table:
3.4.5.3 MIB Variables Associated With Static Addresses
Console(config)#interface ethernet NETP4
Console(config-if)#port security
Console(config-if)exit
Console(config)#mac-address-table static 00-80-c8-00-00-01
interface ethernet NETP4 vlan 1 permanent
Console(config)#mac-address-table static 00-80-c8-00-00-02
interface ethernet NETP4 vlan 1 delete-on-reset
Console(config)#exit
Console#show mac-address-table ethernet NETP4
Interface Mac Address Vlan Type
----------- ----------------- ---- -----------------
NETP4 00-80-C8-00-00-01 1 Permanent
NETP4 00-80-C8-00-00-02 1 Delete-on-reset
Console#
TABLE 3-37 MIB Variables Associated With Static Addresses
Field Name MIB Variable Access Value Range
Default
Value
Static Receive
Port
MIB-II.
dot1dBridge.
dot1dStatic.
dot1dStaticTable.
dot1dStaticEntry.
dot1dStaticReceiv
ePort
Read/write Integer
Port Security
Status
sun...
securityMgt.
portSecurityMgt
portSecPortTable.
portSecPortEntry.
portSecPortStatus
Read/write enabled (1),
disabled (2)
disabled
Number of
Static
Addresses
Not Defined