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

Switch(config)# remote-access telnet 192.168.1.100

Switch(config)#

Defines conditions to allow a telnet connection from the host whose network address is 192.168.1.0

Switch(config)# remote-access telnet 192.168.1.0 255.255.255.0 Switch(config)#

• Defines conditions to allow all telnet connections

Switch(config)# remote-access telnet 0.0.0.0 0.0.0.0

Switch(config)#

Switch(config)# remote-access telnet all

Switch(config)#

Define conditions to allow all services for the host whose IP address is 192.168.1.100

Switch(config)# remote-access all 192.168.1.100

Switch(config)#

Delete conditions to allow a telnet connection from the host whose IP address is 192.168.1.100

Switch(config)# no remote-access telnet 192.168.1.100 Switch(config)#

• Uses the show command to check settings

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)#

8-108

C122-E003-02EN