Amer Networks SS2GD8I User Manual

Page 104

Advertising
background image

98

>> static-mac

add

Syntax: add <mac> <port> <vid> [alias]

Description: Adds a static MAC entry.

Arguments:

<mac>: MAC address, format: 00-02-03-04-05-06

<port>: Port to assign MAC address to, range from 0-8. 0 means that this entry is for filtering only.

<vid>: VLAN ID, range from 0-4094. VID must be 0 if VLAN mode is not tag-based.

[alias] (optional): MAC alias name, maximum 15 characters

Example:

SS2GD8I(mac-table-static-mac)# add 00-02-03-04-05-06 3 0 aaa

del

Syntax: del <mac> <vid>

Description: Deletes a static MAC address entry.

Arguments:

<mac>: mac address, format: 00-02-03-04-05-06

<vid>: VLAN ID, range from 0-4094. VID must be 0 if VLAN mode is not tag-based.

Example:

SS2GD8I(mac-table-static-mac)# del 00-02-03-04-05-06 0

show filter

Syntax: show filter

Description: Displays the static filter table.

Arguments: None

Example:

SS2GD8I(mac-table-static-mac)# show filter

Static Filtering Etnry: (Total 1 item(s))

1) mac: 00-33-03-04-05-06, vid: -, alias: ccc

show forward

Syntax: show forward

Description: Displays the static forwarding table.

Arguments: None

Example:

SS2GD8I(mac-table-static-mac)# show forward

Static Forwarding Etnry: (Total 1 item(s))

1) mac: 00-02-03-04-05-06, port: 3, vid: -, alias: aaa

Advertising