mirror of
https://bitbucket.org/mangelo/snippets.git
synced 2024-11-21 18:31:00 +02:00
41 lines
806 B
Plaintext
41 lines
806 B
Plaintext
Cisco XRv - Management with telnet and ssh
|
|
--------------------------------------------
|
|
!
|
|
hostname <HOSTNAME>
|
|
!
|
|
clock timezone ARBUE -3
|
|
!
|
|
logging buffered 2097152
|
|
logging buffered informational
|
|
!
|
|
service timestamps log datetime localtime msec
|
|
service timestamps debug datetime localtime msec
|
|
!
|
|
telnet vrf default ipv4 server max-servers 5
|
|
telnet vrf MANAGEMENT ipv4 server max-servers 5
|
|
!
|
|
aaa authentication login default local
|
|
!
|
|
vrf MANAGEMENT
|
|
!
|
|
line template VTY
|
|
login authentication default
|
|
exec-timeout 15 0
|
|
transport input all
|
|
!
|
|
line console
|
|
exec-timeout 0 0
|
|
!
|
|
vty-pool default 0 4 line-template VTY
|
|
!
|
|
interface MgmtEth0/0/CPU0/0
|
|
vrf MANAGEMENT
|
|
ipv4 address 10.0.0.1 255.255.255.0
|
|
!
|
|
ssh server v2
|
|
ssh server vrf default
|
|
ssh server vrf MANAGEMENT
|
|
!
|
|
|
|
Generate the SSH key: crypto key generate dsa
|