思科Nexus交换机开局脚本

! 设置主机名
hostname NX1

! 配置密码和登录设置
username <your_username> password <your_user_password>
ip domain-name <your_domain_name>
feature telnet
feature ssh

! 配置管理VLAN
vlan configuration 99
vlan name Management_VLAN
state active
exit
interface vlan99
description Management_VLAN
ip address <your_management_ip>/<your_management_subnet_mask>
no shutdown
exit

! 配置交换机端口
interface Ethernet1/1 ! 请根据您的实际设备接口进行修改
description Access_Port
switchport mode access
switchport access vlan <your_access_vlan>
spanning-tree port type edge
no shutdown
exit

! 配置上行链路端口
interface Ethernet1/10 ! 请根据您的实际设备接口进行修改
description Trunk_Port
switchport mode trunk
switchport trunk allowed vlan <your_allowed_vlans>
spanning-tree port type edge trunk
no shutdown
exit

! 保存配置
copy running-config startup-config

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇