- 经验
- 14
- 分贝
- 0
- 家园分
- 62
- 在线时间:
- 6 小时
- 最后登录:
- 2018-5-5
- 帖子:
- 8
- 精华:
- 0
- 注册时间:
- 2013-12-20
- UID:
- 976263
注册:2013-12-20
|
锐捷8***换机脚本
config vlan default delete 1-10
config vlan default advertisement enable
create vlan vlanid 60
config vlan vlanid 60 add untagged 1-8
config vlan vlanid 60 add tagged 9-10
create vlan vlanid 1868
config vlan vlanid 1868 add tagged 1-10
create vlan vlanid 2868
config vlan vlanid 2868 add tagged 1-10
create vlan vlanid 100
config vlan vlanid 100 add tagged 9-10
config ipif System vlan VLAN100 ipaddress 10.67.59.81/22 state enable
create iproute default 10.67.22.1
create account admin ruijie
ruijie
ruijie
save
常用命令
show fdb 看MAC
show vlan 看VLAN
开供电 config poe ports 1-8 state enable
其中红色字体按照移动非GPON资源表单对应VLAN 与IP地址段更改
锐捷交换机3760配置脚本
en
con
hostname WLAN_sdzy_4 (可以自己取相应站点名字区分交换机)
vlan 100
ex
vlan 22
ex
vlan 1656
ex
vlan 2656
ex
no service password-encryption
enable password ruijie
int vlan 100
ip add 10.67.51.211 255.255.252.0
int range fa 0/1-24
poe enable
switchport protected
switchport mode trunk
switchport trunk native vlan 22
switchport trunk allowed vlan remove 1-4094
switchport trunk allowed vlan add 22,1656,2656
ex
interface range g0/25-26
switchport mode trunk
medium-type fiber
switchport trunk allowed vlan remove 1-4094
switchport trunk allowed vlan add 22,100,1656,2656
ex
line vty 0 4
login
password ruijie
exit
ip route 0.0.0.0 0.0.0.0 10.67.51.1 ( ip route 0.0.0.0 0.0.0.0 10.67.48.1 ip route 0.0.0.0 0.0.0.0 10.67.49.1)
end
wr
其中红色字体按照移动非GPON资源表单对应VLAN 与IP地址段更改
常用命令
查看MAC enable模式下 show mac
查看MAC enable模式下 show vlan
查看数据 enable模式下 show run
删除数据 enable模式下 del config.text(回复出厂状态)
补充内容 (2014-4-23 17:55):
锐捷八口POE(RG-S2312G-P)
|
|