system-view
sysname Hexin
interface GigabitEthernet 0/0/1
port link-type trunk
port trunk allow-pass vlan10 20
quit
interface Vlanif 10
ip address 192.168.10.254 ?
ip address 192.168.10.254 24
interface Vlanif 20
ip address 192.168.20.254 ?
ip address 192.168.20.254 24
////---------------查询----------------////
display ip interface brief
////---------------开启端口----------////
undo shutdown
////--------------保存---------------////
save
////--------------重启---------------////
reboot
eNSP different network and other network operating system instructions
Guess you like
Origin www.cnblogs.com/YoLenLy/p/11725607.html
Recommended
Ranking