management
add
Syntax:
Usage: set [<name> <value>] [<vid> <value>] [<ip> <value>] [<port> <value>]
[<type> <value>] <action> <value>
Synopsis: set name Mary vid 20 ip 192.168.1.1-192.168.1.90 port 2–5, 8
type h, s action a
Synopsis: set name Mary vid 20 ip 192.168.1.1-192.168.1.90
Description:
Saves the adding management policy records.
When you don’t know how to set the management policy records, you can use this command as follows:
Giga Switch
(management-add)# set
This command shows an operating explanation for setting the management policy records.
Argument:
[<name> <value>] ACL entry name
[<vid> <value>] VLAN ID
[<ip> <value>] IP range
[<port> <value>] Incoming port
[<type> <value>] Access type
<action> <value> a(ccept) or d(eny)
Possible value:
[<name> <value>] No default and it must be set
[<vid> <value>] The range is 1–4095 and can be set to any
[<ip> <value>] For example, 192.168.1.90-192.168.1.90 or any
[<port> <value>] For example, 1 or 1–8 or 1, 3–5 or any
[<type> <value>] For example, h(ttp), s(nmp), t(elnet) or any
<action> <value> No default and it must be set
Example:
Giga Switch(management-add)# set name Mary vid 20 ip 192.168.1.1-192.168.1.90
port2-5,8 type h,s action a
CHAPTER 5: CLI Management
144