邁普交換機 配置手冊 IS420

2021-10-19 13:30:01 字數 1318 閱讀 9553

1.配置交換機名稱、時間、特權模式密碼和console密碼

#clock 2021 2 19 8 52 0 //2023年2月19日 8:52

(config)# hostname ***x //設定主機名為***x

(config)# enable password ***x //指定特權模式密碼

(config)# line con 0

(config-line)# password 0 ***x //設定console密碼

(config-line)# login

(config)# line vty 0 4

(config-line)# password 0 ***x //配置虛擬終端登陸數和登陸密碼

(config-line)# login

(config)# telnet server enable //開啟telnet服務

(config)# vlan *** //建立管理vlan

(config)# int vlan ***

(config-if-vlan***)# ip address 192.168.254.254 //配置管理位址

(config)#ip route 0.0.0.0 0.0.0.0 x.x.x.x //配置預設路由,x.x.x.x是閘道器

(config)int tengigabitethernet 0/36

(config-if-tengigabitethernet0/36)#switchport mode trunk

(config-if-tengigabitethernet0/36)#switchport trunk allowed vlan all //允許所有vlan通過

(config)# vlan aaa

(config-vlanaaa)# name *** //建立vlan,新增描述

(config)# int gigabitethernet 0/1

(config-if-gigabitethernet0/1)#switchport mode access

(config-if-gigabitethernet0/1)#switchport access vlan aaa //埠配置access模式,並加入vlan

華為交換機配置時區 華為交換機配置命令

文件大全 華為交換機的基本操作命令 設定日期和時間 時間對於交換機來說非常重要,時間不對很多功能無法實現 clock timezone bj add 08 00 00 在使用者檢視下輸入此命令 clock datetime 13 45 30 2017 09 20 設定當前時間和日期,小時制syste...

思科交換機配置試題 思科交換機配置命令

思科交換機配置命令 簡寫命令 完整命令 使用者模式 使用者模式 switch switch 特權模式 特權模式 switch en switch enable switch switch 全域性配置模式 全域性配置模式 switch conf t switch config terminal swi...

交換機配置 模式

交換機有4種主要配置模式 四種配置模式,每一種模式,都對應不同的配置許可權。使用者模式 特權模式 全域性模式 介面模式 那麼乙個最顯然的問題就是 如何在幾個模式間相互轉化?1.利用 enable configure terminal inte ce等命令進入相應的模式。如何從乙個模式退出呢?每進入一...