D-Link DGS-1210-52/ME rev.A [439/457] Config access_profile

D-Link DGS-1210-52/ME rev.A [439/457] Config access_profile
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
421
src_port_mask <hex 0x0-0xffff> Specifies a UDP port
mask for the source port.
dst_port_mask <hex 0x0-0xffff> Specifies a UDP port
mask for the destination port.
icmp Specifies that the Switch examines the Protocol field in
each frame’s IP header , and that the value must be 1 (Internet
Control Message Protocol- ICMP) for the action to take place.
type Specifies that the Switch examines each frame’s
ICMP Type field.
code Specifies that the Switch examines each frame’s
ICMP Code field.
profile_id <value 1-6> Specifies an index number between 1 and 6
that identifies the access profile being created with this command.
Restrictions
Only administrator or operate-level users can issue this command.
Example usage:
To create an Ethernet access profile:
DGS-1210-28P/ME:5# create access_profile ethernet vlan 802.1p profile_id 1
Command: create access_profile ethernet vlan 802.1p profile_id 1
Success.
DGS-1210-28P/ME:5#
To create an IPv6 access profile:
DGS-1210-28P/ME:5# create access_profile ipv6 source_ipv6_mask
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff profile_id 1
Command: create access_profile ipv6 source_ipv6_mask ffff:ffff:ffff:ffff:ffff:ff
ff:ffff:ffff profile_id 1
Success.
DGS-1210-28P/ME:5#
config access_profile
Purpose
To create an access profile on the Switch by examining the Ethernet
part of the packet header. Masks entered are combined with the
values the Switch finds in the specified frame header fields. Specific
values for the rules are entered using the config access_profile
command, below.
Syntax
config access_profile profile_id [value <1-6>] [add access_id
[auto_assign | <value (1-250)>] [ ethernet {vlan <vlanid (1-
4094)> | source_mac <macaddr> | destination_mac <macaddr> |
802.1p <value (0-7)> | ethernet_type <hex (0x0-0xffff)> } | ip
{source_ip <ipaddr> | destination_ip <ipaddr> | dscp <value (0-
63)> | icmp {type <value (0-255)> code <value (0-255)>} | igmp
{type <value (0-255)>} | tcp {src_port <value (0-65535)> |
dst_port <value (0-65535)> | urg | ack | psh | rst | syn | fin} | udp

Содержание

Похожие устройства

Скачать