最近几天调试设备使用的命令

锐捷:
换端口到VLAN
inter g 0/5
switch acc vlan 101

int g 0/20
switchport mode trunk

VLAN 102
no interface vlan 20
no vlan 20
int vlan 102
ip add 192.168.102.1 255.255.255.0

ip dhcp pool 101
lease 0 1 0
network 192.168.101.0 255.255.255.0
dns-server 61.134.1.5 218.30.19.50
defvult-router 192.168.101.1

ip dhcp excluded-address X.X.X.X

H3C:
sysname H3C-001

配置管理IP
int vlan 1
ip address 192.168.0.204 255.255.255.0

VLAN
VLAN 125
port eth 1/0/1
undo vlan 1 to 4096

interface GigabitEthernet 1/1/2
port link-type trunk
port trunk permit vlan all

local-user admin
password simple 280i.com

发表回复

登录... 后才能评论