Saturday, August 6, 2011

Misc Commands and Notes

The response to an invalid keyword, the command returns to the cursor will include all valid content up to where the error was made.

The prompt will only delete the invalid keyword “proc” and return to a prompt with the command 

Brocade# show 

This will allow the user to continue typing from the point of failure, rather than having to type out the entire command again.
_______________


When creating a LAG name, you can use spaces in a file or subdirectory name if you enclose the name in double quotes.

For example:  “a long subdirectory name”. 

The maximum length for a string is 64 characters.

The following characters are valid in file names:
• All upper and lowercase letters
• All digits

Any of the following special characters are valid:

•$ •% •' •- •_ •@ •~ •` •! •( •) •{ •} •^ •# •&

ACL to Restrict Telnet, SSH and Web access

Brocade(config)# access-list 10 deny 209.157.24.0 0.0.0.255
Brocade(config)# access-list 10 deny 209.157.25.0/24 
Brocade(config)# access-list 10 permit any
Brocade(config)# telnet access-group 10

You would just create ACLs like the one's just above but just wanted to show the command for SSH / Web access.

Brocade(config)# ssh access-group 12

Brocade(config)# web access-group 12

The <num> variable specifies the number of a standard IPv4 ACL, 1 – 99

Note: Use the ipv6 parameter if you are applying an IPv6 access list. 

SNMP -


Brocade(config)# access-list 25 deny 209.157.24.0 0.0.0.255 
Brocade(config)# access-list 25 permit any

Brocade(config)# access-list 30 deny 209.157.26.0/24 
Brocade(config)# access-list 30 permit any

Brocade(config)# snmp-server community public ro 25 
Brocade(config)# snmp-server community private rw 30
_______________

By default, a Brocade device does not time out serial console sessions. 

Brocade(config)# console timeout 120

Possible values: 0 – 240 minutes 

Default value: 0 minutes (no timeout)






No comments:

Post a Comment