Ruby Tech GS-2124C Switch User Manual


 
GS-2124C User Manual
Publication date: June, 2005
Revision A1
178
<<static-mac>>
add
Syntax:
add <mac> <port> <vid> [alias]
Description:
To add the static mac entry.
Argument:
<mac> : mac address, format: 00-02-03-04-05-06
<port> : 0-24. the value zero means this entry is filtering entry
<vid> : vlan id. 0, 1-4094. vid must be zero if vlan mode is not tag-based
[alias] : mac alias name, max 15 characters
Possible value:
None
Example:
GS-2124C(mac-table-static-mac)# add 00-02-03-04-05-06 3 0 aaa
GS-2124C(mac-table-static-mac)#
del
Syntax:
del <mac> <vid>
Description:
To remove the static mac entry.
Argument:
<mac> : mac address, format: 00-02-03-04-05-06
<vid> : vlan id. 0, 1-4094. vid must be zero if vlan mode is not tag-based
Possible value:
None
Example:
GS-2124C(mac-table-static-mac)# del 00-02-03-04-05-06 0
GS-2124C(mac-table-static-mac)#
show forward
Syntax:
show forward
Description:
To display the static forward table.
Argument:
None
Possible value:
None
Example:
GS-2124C(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
GS-2124C(mac-table-static-mac)#