NE20E cannot login through MGMT interface with SSH after configure ACL to limit login source IP address

Created Jul 06, 2018 14:48:22 383 0 0 0
Issue Description

NE20E cannot login through MGMT interface with SSH after configure ACL to limit login source IP address.

c0a0e24a6de24a57b34bde78e78b8ba8

#

ip vpn-instance mgt

 ipv4-family

#

#

acl name ssh advance

 rule 5 permit ip source 10.0.0.0 0.255.255.255

#

#

interface GigabitEthernet0/0/0

 speed auto

 duplex auto

  undo shutdown

 ip binding vpn-instance mgt

 ip address 192.168.1.1 255.255.255.0

#

#

user-interface vty 0 4

 acl ssh inbound

 authentication-mode aaa

 protocol inbound ssh

#


transparent.gif Alarm Information

[~IDN-DMZ-EDG-H6855-66-5U-JD-1]stelnet 192.168.1.1 -vpn-instance mgt 

Trying 192.168.1.1 ...

Press CTRL + K to abort

Connected to 192.168.1.1 ...

The server is not authenticated. Continue to access it? [Y/N]: y

Save the server's public key? [Y/N]: n


Please input the username: test

Enter password: 


Info: The connection was closed by the remote host.


transparent.gif Handling Process

1. Checking the source IP address, it is matched by ACL ssh.

2.Ping the destination IP address, it can access. 

3. Checking the inbound interface, the inbound is from GigabitEthernet0/0/0.

4. Checking the ACL and find out it doesn't configure VPN instance mgt. 

#

acl name ssh advance

 rule 5 permit ip source 10.0.0.0 0.255.255.255

#

transparent.gif Root Cause

The ACL use to limit login source doesn't configure VPN mgt

transparent.gif Solution

Add vpn-instance mgt when configure acl.

#

acl name ssh advance

 rule 5 permit ip vpn-instance mgt source 10.0.0.0 0.255.255.255

#

  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top