Tp-Link T1700X-16TS V2 [551/764] Switch configure

Tp-Link T1700X-16TS V2 [551/764] Switch configure
Configuration Guide 526
Configuring ACL ACL Configurations
Step 3 access-list ipv6
acl-id
rule
rule-id
{permit | deny}[dscp dscp-value] [flow-label
flow-label-
value
] [sip
source-ip-address
sip-mask
source-ip-mask
] [dip
destination-ip-address
dip-mask
destination-ip-mask
] [s-port
source-port-number
] [d-port
destination-port-number
]
Add a rule to the ACL.
acl-id:
The ID number of the ACL you have created.
rule-id:
Specify the rule ID, which ranges from 0 to 999. It should not be the same as any
existing
IPv6 ACL IDs
permit|deny
: Specify the operation to be performed with the packets that match the rule. Deny means
to discard; permit means to forward. By default, it is permit.
dscp-value
: Specify a DSCP value to be matched.
flow-label-value
: Specify a Flow Label value to be matched.
source-ip-address:
Enter the source IP address. Enter the destination IPv6 address to be matched. All
types of IPv6 address will be checked. You may enter a complete 128-bit IPv6 address but only the first
64 bits will be valid.
source-ip-mask:
Enter the source IP address mask. The mask is required if the source IPv6 address is
entered. Enter the mask in complete format (for example, ffff:ffff:0000:ffff). The mask specifies which
bits in the source IPv6 address to match the rule.
destination-ip-address
: Enter the destination IPv6 address to be matched. All types of IPv6 address will
be checked. You may enter a complete 128-bit IPv6 addresses but only the first 64 bits will be valid.
destination-ip-mask:
Enter the source IP address mask. The mask is required if the source IPv6 address
is entered. Enter the mask in complete format (for example, ffff:ffff:0000:ffff). The mask specifies which
bits in the source IPv6 address to match the rule.
source-port-number
: Enter the TCP/UDP source port if TCP/UDP protocol is selected.
destination-port-number
: Enter the TCP/UDP destination port if TCP/UDP protocol is selected.
Step 4 show access-list [
access-list-num
]
(Optional) View the current ACL configuration.
access-list-num
: The ID number of the ACL.
Step 5 end
Return to privileged EXEC mode.
Step 6 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to create IPv6 ACL 3600 and configure Rule 1 to deny
packets with source IPv6 address CDCD:910A:2222:5498:8475:1111:3900:2020:
Switch#configure
Switch(config)#access-list create 3600
Switch(config)#access-list ipv6 3600 Rule 1 deny sip
CDCD:910A:2222:5498:8475:1111:3900:2020 sip-mask ffff:ffff:ffff:ffff

Содержание

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

Скачать