怎么了!还有。意味着在开关配置文件?
Current configuration: 1363 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch A
!
Command Purpose
Step 1 configure terminal Enter global configuration mode.
enable secret 5 $1$ej9.$DMUvAUnZOAmvmgqBEzIxE0
!
.
.
interface gigabitethernet0/1
ip address 172.20.137.50 255.255.255.0
!
interface gigabitethernet0/2
mvr type source
...!
interface VLAN1
ip address 172.20.137.50 255.255.255.0
no ip directed-broadcast
!
ip default-gateway 172.20.137.1 !
!
snmp-server community private RW
snmp-server community public RO
snmp-server community private@es0 RW
snmp-server community public@es0 RO
snmp-server chassis-id 0x12
!
end 发布于 2018-09-11 06:38:13
在Cisco环境中,当使用show running-config和show startup-config时,感叹号(!)仅用于帮助格式化输出,使其更具可读性,并在配置中的各节之间创建空间。
句点(.)用于截断(删除)配置的长段,这是相同的。
它们没有任何其他意义。
发布于 2020-09-21 21:26:52
嗨,我在这里谷歌了一下,因为在某些情况下,这些!绝对令人恼火.在此输出中,"aaa身份验证登录、telnet本地(和)用户名cisco密码为0 Ocsic“的分组逻辑被该逻辑撕裂!就我的逻辑而言,我不会在没有事先了解输出的情况下对这些行进行分组:
aaa new-model
aaa authentication login default none
aaa authentication login telnet local
!
username cisco password 0 Ocsic
!
line vty 0
password LetMeIn
login authentication telnet
transport input telnet
line vty 1
password LetMeIn
transport input telnethttps://networkengineering.stackexchange.com/questions/53163
复制相似问题