
xStack
create access_profile (IP)
| mask for the destination port. |
| • protocol_id − Specifies that the Switch will examine each |
| frame’s Protocol ID field. |
| • user_define <hex |
| that will identify the protocol to be discovered in the packet |
| header. |
Restrictions | Only |
|
|
Example usage:
To configure a rule for the Ethernet access profile:
Command: create access_profile ip protocol_id profile_id 2
Success.
config access_profile profile_id (IP)
Purpose | Used to configure the IP access profile on the Switch and to define |
| specific values for the rules that will be used to by the Switch to |
| determine if a given packet should be forwarded or filtered. Masks |
| entered using the create access_profile command will be |
| combined, using a logical AND operational method, with the values |
| the Switch finds in the specified frame header fields. |
Syntax | config access_profile profile_id <value |
| <value |
| destination_ip <ipaddr> dscp <value |
| |
| {src_port <value |
| psh rst syn fin} udp {src_port <value |
| <value |
| <hex |
| {replace_priority} replace_dscp <value |
| <value |
Description | This command is used to define the rules used by the Switch to |
| either filter or forward packets based on the IP part of each packet |
| header. |
Parameters | profile_id <value |
| used to identify the access profile that will be configured with this |
| command. This value is assigned to the access profile when it is |
| created with the create access_profile command. The lower the |
| profile ID, the higher the priority the rule will be given. |
| add access_id <value |
| above specified access profile. The value specifies the relative |
| priority of the additional rule. Up to 65535 different rules may be |
| configured for the IP access profile. |
| ip − Specifies that the Switch will look into the IP fields in each |
217