CISCO Nexus 系列交换机配置命令
1、保存
C系列交换机 write保存,但Nexus 系列不支持此命令,(write erase 为擦除永久介质上的配置,初始化交换机)
正确的保存配置到启动文件:copy running-config startup-config
copy running-config startup-config=write
write network = copy running-config tftp
2、镜像
①进入观察口,将观察口模式修改为 switchport mode trunk
switchport monitor ,并启动端口。
interface Ethernet1/4
switchport mode trunk
switchport monitor
no shutdown
②CISCO Nexus 交换机 monitor session 需要进入monitor session模式下指定源 和观察口,
③启动monitor session ,输入no shut ,否则 show monitor session 状态为 down。
monitor session 1
source interface Ethernet1/1 both
source interface Ethernet1/2 both
…
source interface Ethernet1/48 both
destination interface Ethernet1/45
no shut
monitor session 2
source vlan 2-5
destination interface Ethernet1/4
no shut