H3C Switch
From AlphaBook
Trunk
- system-view
- interface Gigabitethernet 1/0/48
- port link-type trunk
- port trunk permit vlan all
SSH Login
- system-view
- public-key local create rsa
- ssh server enable
- vlan 10
- port Gigabitethernet 1/0/1
- interface vlan-interface 10
- ip address 192.168.10.1 255.255.255.0
- quit
- line vty 0 10
- authentication-mode scheme
- quit
- local-user admin class manage
- password simple 123.com
- service-type ssh
- authorization-attribute user-role network-admin
- quit