Chapter 33 Command Examples

Remove the remote host with IP address 172.165.1.9 and with an SSH-RSA encryption key from the list of known hosts.

Figure 144 no ssh Command Example

sysname(config)# no ssh key rsa1 sysname(config)# no ssh known-hosts 172.165.1.8 sysname(config)# no ssh known-hosts 172.165.1.9 ssh-rsa

33.8 interface Commands

These are some commonly used commands that belong to the interface group of commands.

33.8.1 interface port-channel

Syntax:

interface port-channel

Each interface refers to an Ethernet port on the switch. Commands configured after the interface command correspond to those ports. Type multiple ports or port ranges separated by a comma. Ranges of port numbers are typed separated by a dash.

An example is shown next.

Enter the configuration command set.

Enable ports one, three, four and five for configuration.

Begin configuring for those ports.

Figure 145 interface port-channel Command Example

sysname# config

sysname(config)# interface port-channel 1,3-5 sysname(config-interface)#

33.8.2 bpdu-control

Syntax:

bpdu-control <peertunneldiscardnetwork>

where

<peertunneld

iscardnetwork

>=

An example is shown next.

Type peer to process any BPDUs received on these ports. Type tunnel to forward BPDUs received on these ports. Type discard to drop any BPDUs received on these ports.

Type network to process a BPDU with no VLAN tag and forward a tagged BPDU.

 

249

GS-3012/GS-3012F User’s Guide