中兴交换机基础配置(备份、dhcp中继、monitor)

 

 

1. 备份配置

格式:
    copy tftp/sftp/ftp [vrf mng] root: 本地文件 远端文件

1. 通过tftp进行备份,vrf mng表示指定使用管理口链路连接
copy tftp vrf mng root: /flash/DATA0/startrun.dat //192.168.1.73/abc.dat

2. 通过ftp进行备份
copy ftp vrf mng root: /flash/DATA0/startrun.dat //192.168.1.73/abc.dat@username:password

 

2. 配置dhcp中继

注意,以下配置都在config模式下进行

# 创建一个中继服务组,指定dhcp server ip
ip dhcp relay server group 1
server 1 192.168.11.251
description dhcp-to-192.168.11.251
exit

# 基于vlan绑定dhcp中继组,使其生效
dhcp
interface vlan1
relay server group 1
exit
interface vlan8
relay server group 1
exit

 

3. 配置monitor镜像

# 创建monitor流量出口session,指定其流量出口
span session 1
default destination interface gei-0/1/1/27

# 应用session,使其流量复制一份到流量出口进行监控
span apply session 1 source interface gei-0/1/1/5 direction rx
span apply session 1 source interface gei-0/1/1/19 direction both

 

posted @ 2019-03-07 15:21  糕事情  阅读(3571)  评论(0编辑  收藏  举报