451
mac mac-acl-number:
Specifies a Layer 2 ACL by its number in the range of 4000 to 4999.
Usage guidelines
The ACL specified in this command filters IPv6 SSH clients' connection requests. Only the IPv6 SSH
clients that the ACL permits can access the device. If the specified ACL does not exist or contains no
rules, all IPv6 SSH clients can access the device.
The ACL takes effect only on SSH connections that are initiated after the ACL configuration.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Configure ACL 2001 and permit only the users on the subnet 1::1/64 to initiate SSH connections to
the server.
<Sysname> system-view
[Sysname] acl ipv6 basic 2001
[Sysname-acl6-ipv6-basic-2001] rule permit source 1::1 64
[Sysname-acl6-ipv6-basic-2001] quit
[Sysname] ssh server ipv6 acl ipv6 2001
Related commands
display ssh server
ssh server ipv6 dscp
Use
ssh server ipv6 dscp
to set the DSCP value in the IPv6 SSH packets that the SSH server
sends to SSH clients.
Use
undo
ssh server ipv6 dscp
to restore the default.
Syntax
ssh server ipv6 dscp dscp-value
undo ssh server ipv6 dscp
Default
The DSCP value is 48 in IPv6 SSH packets.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
dscp-value
: Specifies the DSCP value in the IPv6 SSH packets, in the range of 0 to 63. A bigger
DSCP value represents a higher priority.
Usage guidelines
The DSCP value of an IPv6 packet specifies the priority of the packet and affects the transmission
priority of the packet.
Examples
# Set the DSCP value to 30 for IPv6 SSH packets.
<Sysname> system-view
[Sysname] ssh server ipv6 dscp 30
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...