3.4.5.2Command-line Interface: Configuring Static Addresses

This example adds the same items to the static address table:

Console(config)#interface ethernet NETP4 Console(config-if)#port security Console(config-if)exitConsole(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#

 

 

 

3.4.5.3MIB Variables Associated With Static Addresses

TABLE 3-37MIB Variables Associated With Static Addresses

 

 

 

 

Default

Field Name

MIB Variable

Access

Value Range

Value

 

 

 

 

 

Static Receive

MIB-II.

Read/write

Integer

 

Port

dot1dBridge.

 

 

 

 

dot1dStatic.

 

 

 

 

dot1dStaticTable.

 

 

 

 

dot1dStaticEntry.

 

 

 

 

dot1dStaticReceiv

 

 

 

 

ePort

 

 

 

Port Security

sun...

Read/write

enabled (1),

disabled

Status

securityMgt.

 

disabled (2)

 

 

portSecurityMgt

 

 

 

 

portSecPortTable.

 

 

 

 

portSecPortEntry.

 

 

 

 

portSecPortStatus

 

 

 

Number of

Not Defined

 

 

 

Static

 

 

 

 

Addresses

 

 

 

 

 

 

 

 

 

Chapter 3 General Management of the Switch 3-123

Page 161
Image 161
Sunfire B1600 manual Command-line Interface Configuring Static Addresses, MIB Variables Associated With Static Addresses