8-108 C122-E003-02EN
GSWB
CHAPTER 8 CLI Operations
(5) Examples
• Defines conditions to allow a telnet connection from the host whose IP address is
192.168.1.100
• Defines conditions to allow a telnet connection from the host whose network
address is 192.168.1.0
• Defines conditions to allow all telnet connections
• Define conditions to allow all services for the host whose IP address is
192.168.1.100
• Delete conditions to allow a telnet connection from the host whose IP address is
192.168.1.100
• Uses the show command to check settings
Switch(config)# remote-access telnet 192.168.1.100
Switch(config)#
Switch(config)# remote-access telnet 192.168.1.0 255.255.255.0
Switch(config)#
Switch(config)# remote-access telnet 0.0.0.0 0.0.0.0
Switch(config)#
Switch(config)# remote-access telnet all
Switch(config)#
Switch(config)# remote-access all 192.168.1.100
Switch(config)#
Switch(config)# no remote-access telnet 192.168.1.100
Switch(config)#
Switch(config)#show remote-access
Switch(config)#remote-access telnet 10.10.10.10
Switch(config)#remote-access telnet 10.10.10.11
Switch(config)#remote-access telnet 10.10.10.12
Switch(config)#show remote-access
remote-access telnet 10.10.10.10
remote-access telnet 10.10.10.11
remote-access telnet 10.10.10.12
Switch(config)#